<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content=1 name=qrichtext>
<STYLE type=text/css>
p, li { white-space: pre-wrap; }
</STYLE>

<META content="MSHTML 6.00.6000.17080" name=GENERATOR></HEAD>
<BODY style="FONT-WEIGHT: 400; FONT-SIZE: 12pt; FONT-STYLE: normal; FONT-FAMILY: 'DejaVu Sans'" bgcolor=#ffffff>
<DIV id=idOWAReplyText61513>
<DIV><FONT face="Times New Roman" color=#000000 size=3>Hello, Simon:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>- If I remember it well, the gdal you get by using apt-get or similar does not include the ECW compressor, but I think the binaries from the FWTools website do, though I cannot test it right now:</DIV>
<DIV>&nbsp;</DIV>
<DIV><A href="http://home.gdal.org/fwtools/FWTools-linux-2.0.6.tar.gz">http://home.gdal.org/fwtools/FWTools-linux-2.0.6.tar.gz</A></DIV>
<DIV>&nbsp;</DIV>
<DIV>Your experience&nbsp;suggests otherwise? Which error message do you get when trying to create a ECW?</DIV>
<DIV>&nbsp;</DIV>
<DIV>-&nbsp;Your JPG files should come with a WLD or JPW (or similar) text file with at least six lines. If the second and third lines&nbsp;are NOT zero, you need to convert them in two steps:</DIV>
<DIV>&nbsp;</DIV>
<DIV>gdalwarp -r cubic image.jpg image.tif<BR>gdal_translate -of ecw image.tif image.ecw</DIV>
<DIV>&nbsp;</DIV>
<DIV>If they are zero, you only need one step:</DIV>
<DIV>&nbsp;</DIV>
<DIV>gdal_translate -of ecw image.jpg image.ecw</DIV>
<DIV>&nbsp;</DIV>
<DIV>- Have you tried compressed TIF?</DIV>
<DIV>&nbsp;</DIV>
<DIV>gdal_translate -co "COMPRESS=JPEG" image.jpg image.tif</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Regards,</DIV>
<DIV><FONT face="Courier New" size=2><FONT face="Times New Roman" size=3>Juan Lucas Domínguez Rubio<BR></FONT>---</FONT></DIV></DIV>
<DIV id=idSignature55355>
<DIV><FONT face="Courier New" size=2><FONT face="Courier New" size=2><FONT face="Courier New" size=2>Prodevelop SL, Valencia (España)</FONT></DIV>
<DIV>
<DIV><FONT face="Courier New" size=2>Tlf.: 96.351.06.12 -- Fax: 96.351.09.68<BR></FONT><A href="http://www.prodevelop.es/"><FONT face="Courier New" size=2>http://www.prodevelop.es</FONT></A><BR><FONT face="Courier New" size=2>---</FONT></DIV></FONT></DIV></FONT></DIV>
<DIV><BR>
<HR>
<FONT face=Tahoma size=2><B>De:</B> gvsig_internacional-bounces@listserv.gva.es en nombre de Simon Cropper (Botanicus Australia Pty Ltd)<BR><B>Enviado el:</B> mar 14/09/2010 9:07<BR><B>Para:</B> Users and Developers mailing list<BR><B>Asunto:</B> [Gvsig_english] QUESTION gvSIG -- Image files with fast rewrites<BR></FONT><BR></DIV>
<DIV>
<P style="MARGIN: 0px; TEXT-INDENT: 0px">Hi,<BR><BR>Most of my clients provide aerial photography in ECW format. These images provide high resolution, are relatively small and quickly rewrite on the screen when panning.</P>
<P style="MARGIN: 0px; TEXT-INDENT: 0px"></P>
<P style="MARGIN: 0px; TEXT-INDENT: 0px">Lately I have been getting JPG files. These files however are quite big and take significantly longer time to rewrite.</P>
<P style="MARGIN: 0px; TEXT-INDENT: 0px"></P>
<P style="MARGIN: 0px; TEXT-INDENT: 0px">What is an alternative image format to ECW in the 'open free' environment? Something GDAL can be used to convert from JPG without jumping through hoops.</P>
<P style="MARGIN: 0px; TEXT-INDENT: 0px"></P>
<P style="MARGIN: 0px; TEXT-INDENT: 0px">Ideally the file sizes should be low despite the high resolution, gvSIG able to read it natively and is quick to rewrite when panning.</P>
<P style="MARGIN: 0px; TEXT-INDENT: 0px"></P>
<P style="MARGIN: 0px; TEXT-INDENT: 0px">Any suggestions would be appreciated.</P>
<P style="MARGIN: 0px; TEXT-INDENT: 0px"></P>
<P style="MARGIN: 0px; TEXT-INDENT: 0px">PS. I know gdal_translate can, supposedly convert between JPG and ECW, but despite many attempts I have been unable to get this to work. I am looking for something else, if possible, that has the same intrinsic properties but is recognized by default in the gdal libraries so that every time I get an update of the 'free' Ubuntu version the FWTools or alternative 'commercially enabled' version is not replaced.<BR></P>
<P style="MARGIN: 0px; TEXT-INDENT: 0px">-- <BR>Cheers Simon</P>
<P style="MARGIN: 12px 0px; TEXT-INDENT: 0px">Simon Cropper <BR>Botanicus Australia Pty Ltd<BR>PO Box 160, Sunshine, Victoria 3020.<BR>P: 9311 5822. M: 041 830 3437.<BR><A href="mailto:scropper@botanicusaustralia.com.au"><SPAN style="COLOR: #0057ae; TEXT-DECORATION: underline">mailto: scropper@botanicusaustralia.com.au</SPAN></A> <BR><A href="http://www.botanicusaustralia.com.au/"><SPAN style="COLOR: #0057ae; TEXT-DECORATION: underline">web: www.botanicusaustralia.com.au</SPAN></A> </P>
<P style="MARGIN: 12px 0px; TEXT-INDENT: 0px"></P>
<P style="MARGIN: 12px 0px; TEXT-INDENT: 0px">(C) Simon Cropper 2010. Creative Commons Attribution-ShareAlike 3.0 Australia<BR></P></DIV></BODY></HTML>