Bug 2513 - TIFFTAG_CFAPATTERN should be variable count
: TIFFTAG_CFAPATTERN should be variable count
Status: RESOLVED LATER
: libtiff
default
: unspecified
: PC Linux
: P2 enhancement
: ---
Assigned To:
:
:
: migrated_to_gitlab
:
:
  Show dependency treegraph
 
Reported: 2015-07-13 15:39 by
Modified: 2019-10-01 14:20 (History)


Attachments
Patch to make TIFFTAG_CFAPATTERN variable count (1.48 KB, patch)
2015-07-13 15:40, Sam Hasinoff
Details | Diff


Note

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


Description From 2015-07-13 15:39:25
The TIFFTAG_CFAPATTERN tag (33422) from TIFF/EP, recently introduced in libtiff
[*], is described as having a fixed count of 4. But the TIFF/EP spec says this
should support a variable count (= CFARepeatRows * CFARepeatCols):

http://www.awaresystems.be/imaging/tiff/tifftags/privateifd/exif/cfapattern.html
http://standardsproposals.bsigroup.com/Home/getPDF/567

Attached is a patch to make this tag variable size.

Sam

[*] http://bugzilla.maptools.org/show_bug.cgi?id=2457
------- Comment #1 From 2015-07-13 15:40:00 -------
Created an attachment (id=628) [details]
Patch to make TIFFTAG_CFAPATTERN variable count
------- Comment #2 From 2019-10-01 14:20:03 -------
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.