Hide Forgot
Description of problem: In new libtiff packages (unreleased) there libtiff utilities can not read palette images due to missing bits per sample tag. It works on other arches as well as on rhel7 varient. Version-Release number of selected component (if applicable): libtiff-3.9.4-10.el6_7.x86_64 How reproducible: 100% Steps to Reproduce: # tiffmedian test.tiff output_new.tiff # tiffinfo output_new.tiff TIFFReadDirectory: Warning, Ignoring ColorMap since BitsPerSample tag not found. MissingRequired: output_new.tiff: TIFF directory is missing required "Colormap" field. Expected results: # tiffinfo output_old.tiff TIFF Directory at offset 0x9cc (2508) Subfile Type: (0 = 0x0) Image Width: 50 Image Length: 50 Resolution: 72, 72 pixels/inch Bits/Sample: 8 Compression Scheme: None Photometric Interpretation: palette color (RGB from colormap) Orientation: row 0 top, col 0 lhs Samples/Pixel: 1 Rows/Strip: 163 Planar Configuration: single image plane Color Map: (present)
I can confirm that this no longer reproduces on the mentioned build libtiff-3.9.4-18 # rpm -q libtiff libtiff-3.9.4-18.el6_8.x86_64 # tiffmedian test.tiff output_new.tiff # tiffinfo output_new.tiff TIFF Directory at offset 0x9cc (2508) Subfile Type: (0 = 0x0) Image Width: 50 Image Length: 50 Resolution: 72, 72 pixels/inch Bits/Sample: 8 Compression Scheme: None Photometric Interpretation: palette color (RGB from colormap) Orientation: row 0 top, col 0 lhs Samples/Pixel: 1 Rows/Strip: 163 Planar Configuration: single image plane Color Map: (present) Closing.