Bug 2403 - Problem decoding subsampled ITULAB TIFF_JPEG images
: Problem decoding subsampled ITULAB TIFF_JPEG images
Status: RESOLVED LATER
: libtiff
default
: unspecified
: PC Windows XP
: P2 normal
: ---
Assigned To:
:
:
: migrated_to_gitlab
:
:
  Show dependency treegraph
 
Reported: 2012-06-22 09:35 by
Modified: 2019-10-01 14:19 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2012-06-22 09:35:58
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
------- Comment #1 From 2019-10-01 14:19:37 -------
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.