Bug 2533 - tix_aux TIFFVGetFieldDefaulted supplies no default value for TIFFTAG_PHOTOMETRIC
: tix_aux TIFFVGetFieldDefaulted supplies no default value for TIFFTAG_PHOTOMETRIC
Status: RESOLVED LATER
: libtiff
default
: 4.0.1
: All Linux
: P2 normal
: ---
Assigned To:
:
:
: migrated_to_gitlab
:
:
  Show dependency treegraph
 
Reported: 2016-01-07 14:58 by
Modified: 2019-10-01 14:20 (History)


Attachments


Note

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


Description From 2016-01-07 14:58:15
TIFFTAG_PHOTOMETRIC is a required tag, however many graphic files are missing
this entry.
TIFFVGetFieldDefaulted shows  Like TIFFGetField, but return any default value
if the tag is not present in the directory.
There is no case for TIFFTAG_PHOTOMETRIC, therefore requesting default value
results in an error.
Please provide default value, perhaps PHOTOMETRIC_MINISWHITE is appropriate
regardless of the image color type.
------- Comment #1 From 2019-10-01 14:20:12 -------
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.