<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="-1"><font face="Arial">Hi,<br>
<br>
I try to convert RGB tiff file (300 Mo) into ECW ( libecw 3.3
and gdal 1.8.1 that I have compiled) using this gdal_translate
command, on a Debian Squeeze : gdal_translate -of "ECW" -co
LARGE_OK="YES" -co TARGET="90" -co DATUM="RGF93" -co
PROJ="LMFRAN93" file_in.tif file_out.ecw, and I get strange
results.<br>
<br>
When I compare this results with ECW images that I get with the
same command and the same source image with Windows binaries
obtained here : <i><a class="moz-txt-link-freetext"
href="http://www.gisinternals.com/sdk/">http://www.gisinternals.com/sdk/</a></i>,
MacOSX binaries obtained here : <i><a
class="moz-txt-link-freetext"
href="http://www.kyngchaos.com/software:">http://www.kyngchaos.com/software:</a>
frameworks</i> and translation with ErMapper with the same
target, I note some differences between Linux results and other
platforms results. <br>
</font></font><br>
<font face="Arial"><small>The result on Linux seems to be fuzzy,
with poorer quality and a comparison with gdalinfo –mm –checksum
confirm that fact (<b>images – comparative tables downloadable
here :</b></small></font><b><font face="Arial"><a
class="moz-txt-link-freetext"
href="http://dl.free.fr/mkXpXahz3"> <small>http://dl.free.fr/mkXpXahz3</small></a></font></b><font
face="Arial"><small> - link "Télécharger ce fichier"). I also used
this command with Linux binaries (FWTOOLS Linux 2.0.6) and the
same differences are appearing. I try with Windows binaries 64
bits and the result is comparable to the linux one (Nevertheless
it’s perfect with 32 bits binaries).</small></font><br>
<small><br>
I tried with “libecwj2-3.3-2006-09-06.zip” and
“ImageCompressionSDKSourceCode3.3Setup_20070509.zip” source code,
I have as well tried to apply all the patches I found on the web.
It doesn’t change anything. I also tried to compile libECW 3.3 on
FreeBSD (which is quite same as MacOSX), without best results…<br>
<br>
I posted this question on a French forum (<a
class="moz-txt-link-freetext"
href="http://www.forumsig.org/showthread.php?p=286890#post286890">http://www.forumsig.org/showthread.php?p=286890#post286890</a>)
and others users do the same observations.<br>
<br>
With the decompression process (ECW to Tiff with GDAL_TRANSLATE),
I have the same and good result on each platform.<br>
<br>
It’s seems that the only problem relies on the ECW compression on
Linux, with 3.3 SDK version (I compiled examples in source tree of
SDK 3.3 and I have done some tests: it seems that the ECW
compression with SDK is bad too. That would mean this problem not
appears with GDAL…?).<br>
<br>
Does anybody know this problem ? If not, it would maybe be
interesting to add this information in GDAL WIKI in order to
prevent users of lib 3.3 (I don’t have an account to edit this
page).<br>
<br>
All ideas and remarks are welcome. I’m not C/C++ developer and
it’s very difficult for me to find an issue…<br>
<br>
Best regards,<br>
<br>
Sylvain</small><br>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="ProgId" content="Word.Document">
<meta name="Generator" content="Microsoft Word 11">
<meta name="Originator" content="Microsoft Word 11">
<link rel="File-List"
href="signature_crige_sm_fichiers/filelist.xml">
<title>-------------------------------------</title>
<!--[if gte mso 9]><xml>
<o:DocumentProperties>
<o:Author>Sylvain Maffren</o:Author>
<o:LastAuthor>Sylvain Maffren</o:LastAuthor>
<o:Revision>4</o:Revision>
<o:TotalTime>5</o:TotalTime>
<o:Created>2011-04-18T07:04:00Z</o:Created>
<o:LastSaved>2011-04-19T14:20:00Z</o:LastSaved>
<o:Pages>1</o:Pages>
<o:Words>47</o:Words>
<o:Characters>259</o:Characters>
<o:Company>CRIGE PACA</o:Company>
<o:Lines>2</o:Lines>
<o:Paragraphs>1</o:Paragraphs>
<o:CharactersWithSpaces>305</o:CharactersWithSpaces>
<o:Version>11.9999</o:Version>
</o:DocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:Zoom>120</w:Zoom>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:HyphenationZone>21</w:HyphenationZone>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" LatentStyleCount="156">
</w:LatentStyles>
</xml><![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;
        text-underline:single;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
span.SpellE
        {mso-style-name:"";
        mso-spl-e:yes;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;
        mso-header-margin:35.4pt;
        mso-footer-margin:35.4pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
        {mso-style-name:"Tableau Normal";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";
        mso-ansi-language:#0400;
        mso-fareast-language:#0400;
        mso-bidi-language:#0400;}
</style>
<![endif]-->
<div class="Section1">
<p style="margin:0cm;margin-bottom:.0001pt"><b><span
style="font-size:10.0pt;
font-family:Tahoma;color:black">Sylvain MAFFREN</span></b><span
style="color:black"><br>
</span><span class="SpellE"><b><span
style="font-size:7.5pt;font-family:Tahoma;
color:black">Géomaticien</span></b></span><span
style="font-size:7.5pt;
font-family:Tahoma;color:black"><br>
<br>
<b>Tél</b> : 04 42 90 71 22<br>
<b>Fax</b> : 04 42 97 11 56 </span><span
style="color:black"><br>
<br>
</span><b><span
style="font-size:7.5pt;font-family:Tahoma;color:black">CRIGE
PACA</span></b><span
style="font-size:7.5pt;font-family:Tahoma;color:black"><br>
Domaine du Petit Arbois - Avenue Louis Philibert<br>
BP 10019 - 13 545 Aix-en-Provence cedex 4</span><span
style="font-size:7.5pt;
font-family:Tahoma;color:navy"><br>
<a href="http://www.crige-paca.org/"
title="http://www.crige-paca.org/
blocked::http://www.crige-paca.org/">www.crige-paca.org</a></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>