Ticket #471 (closed defect: fixed)
Opened 2010-02-03T14:44:25-06:00
Last modified 2010-07-13T16:58:43-05:00
1-bit TIFF data has incorrect valid bits per pixel
Reported by: | curtis | Owned by: | melissa |
---|---|---|---|
Priority: | minor | Milestone: |
|
Component: | bio-formats | Severity: | serious |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
TIFF files with 1 bit per sample (i.e., an IFD entry with BitsPerSample equal to 1) still report 8 valid bits per pixel (FormatReader.getBitsPerPixel() returns 8). We may want TiffReader.getBitsPerPixel() to simply report the value of the BitsPerSample IFD entry directly.
(In [5884]) Correctly set valid bits per pixel for TIFF files. Closes #471.