While trying to compress any TIFF with JPEG compression, using either tiffcp or 
tiffcrop, the following error messages appear:

 

JPEGSetupEncode: RowsPerStrip must be multiple of 8 for JPEG

JPEGSetupEncode: RowsPerStrip must be multiple of 16 for JPEG

 

(this depends on whether we want a RGB or YCbCr file)

 

Unable to write contiguous strip data for page 0. (tiffcrop)

Error, can't write strip 0. (tiffcp)

 

I tried all kinds of tiffs from several origins and the result is the same, I 
cannot use JPEG compression. Does anyone have any clues on why this is 
happening?

 

I am doing a cmake build of libtiff, using turbojpeg as the jpeg lib, and 
everything goes perfectly except for this result.

 

Thank you.

 

_______________________________________________
Tiff mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/tiff

Reply via email to