> A quick check tells me tiffcp does suffer from this bug:
I don't think so. tiffcp's default is YCbCr and the "r" option specifies RGB,
which is exactly what 'tiffinfo' is showing.
-c jpeg[:opts] compress output with JPEG encoding
# set compression quality level (0-100, default 75)
r output color image as RGB rather than YCbCr
> ❯ tiffcp -c jpeg -r 16 ./libtiff/test/images/quad-lzw-compat.tiff
> /tmp/test.tif
> ❯ tiffinfo /tmp/test.tif
> Compression Scheme: JPEG
> Photometric Interpretation: YCbCr
> ❯ tiffcp -c jpeg:r -r 16 ./libtiff/test/images/quad-lzw-compat.tiff
> /tmp/test.tif
>
> ❯ tiffinfo /tmp/test.tif
> Compression Scheme: JPEG
> Photometric Interpretation: RGB color
_______________________________________________
Tiff mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/tiff