You need to log in before you can comment on or make changes to this bug.
In V 4.0.2, tif_jpeg.c “auto-corrects” the subsampling factors from [2, 2] to [1, 1] for PHOTOMETRIC_ITULAB images, even when, of course, the subsampling factors are indeed meant to be [2, 2]. The following error message is generated: Improper JPEG sampling factors 2,2 Apparently should be 1,1 A TIFF test file that uses PHOTOMETRIC_ITULAB, COMPRESSION_JPEG, and TIFFTAG_YCBCRSUBSAMPLING = [2, 2] can be downloaded here: http://www.itu.int/itudoc/itu-t/com16/tiff-fx/t-cases/c03x_02x.html
Bugzilla is no longer used for tracking libtiff issues. Remaining open tickets, such as this one, have been migrated to the libtiff GitLab instance at https://gitlab.com/libtiff/libtiff/issues . The migrated tickets have their summary prefixed with [BZ#XXXX] where XXXX is the initial Bugzilla issue number.