<div dir="ltr">So, we need to figure out what is the difference between your current working setup and mine.<div>First, In my current version of ITK, that is 4.4.2, the following piece of code:</div><div><div> if ( compression == COMPRESSION_JPEG )</div>
<div>      {</div><div>      TIFFSetField(tif, TIFFTAG_JPEGQUALITY, 75); // Parameter</div><div>      TIFFSetField(tif, TIFFTAG_JPEGCOLORMODE, JPEGCOLORMODE_RGB);</div><div>      //photometric = PHOTOMETRIC_YCBCR;</div><div>
      }</div></div><div><br></div><div>is between 1876 and 1881. Which different from yours apparently. </div><div><br></div><div>Are you sure that we are using the same version ?</div><div><br></div><div>Have you made any customized configuration with ccmake of your ITK build?</div>
<div>In my case, I only changed the INSTALL_PREFIX.</div><div>I&#39;m working under a 64-bits Windows 7, and using VS8 (2005) 64-bits.</div><div><br></div><div>Kind regards,</div><div><br></div><div>--</div><div>Fethallah</div>
</div>