[Gdal-dev] Writing 8-bit TIFFs using JPEG compression

Ray Gardener rayg at daylongraphics.com
Fri May 18 04:50:00 EDT 2007


Has anyone been able to write 8-bit grayscale TIFFs using JPEG 
compression? I'm running into an issue where libtiff aborts because the 
photometric interpretation is invalid, even if min_is_black is used. 
Seems the JCS_GRAYSCALE flag never gets set by the driver. Using the 
JPEG driver itself is okay.

Ray



More information about the Gdal-dev mailing list