[ITK Community] [Insight-users] Compressing Tif files

Fethallah Benmansour fethallah at gmail.com
Mon Dec 23 07:58:43 EST 2013


So, we need to figure out what is the difference between your current
working setup and mine.
First, In my current version of ITK, that is 4.4.2, the following piece of
code:
 if ( compression == COMPRESSION_JPEG )
      {
      TIFFSetField(tif, TIFFTAG_JPEGQUALITY, 75); // Parameter
      TIFFSetField(tif, TIFFTAG_JPEGCOLORMODE, JPEGCOLORMODE_RGB);
      //photometric = PHOTOMETRIC_YCBCR;
      }

is between 1876 and 1881. Which different from yours apparently.

Are you sure that we are using the same version ?

Have you made any customized configuration with ccmake of your ITK build?
In my case, I only changed the INSTALL_PREFIX.
I'm working under a 64-bits Windows 7, and using VS8 (2005) 64-bits.

Kind regards,

--
Fethallah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20131223/f32ea390/attachment.htm>
-------------- next part --------------
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-users


More information about the Community mailing list