2018.01.29 18:15 "[Tiff] LZW images & tiff2pdf black images", by Chris Geen

Summary: When converting color LZW compressed tiff images to pdf with tiff2pdf, the resulting pdf is all black.

System: HP-UX 11i

Tiff 4.0.8 http://hpux.connect.org.uk/hppd/hpux/X11/Graphics/tiff-4.0.8/

Source image tiffinfo details...

tiffinfo 1464.8767.tif.1.tmp

TIFF Directory at offset 0x5457c (345468)
    Image Width: 1695 Image Length: 2338
    Resolution: 200, 200 pixels/inch
    Bits/Sample: 8
    Compression Scheme: LZW
    Photometric Interpretation: palette color (RGB from colormap)
    Samples/Pixel: 1
    Rows/Strip: 2338
    Planar Configuration: single image plane
    Color Map: (present)

  Software: ImageMan by Data Techniques, Inc.
  DateTime: 2017:08:29 11:14:27

Command line: tiff2pdf -n -z -o 1464.8767.tif.1.tmp.pdf 1464.8767.tif.1.tmp

I'm successfully converting single and multi-page tiff images with tiff2pdf using jpg compression. When I attempt with LZW compression, the resulting image is all black. My libtiff dependencies are all up to date.

gettext-0.19.8.1
jpeg-9.2.0
lcms-1.19
libiconv-1.15
libunistring-0.9.8
xz-5.2.3
zlib-1.2.11
tiff-4.0.8

Is there anything I need to do to configure support for LZW compression when using tiff2pdf?

Thanks,

cgeen
Dept of Judicial Information Technology (DJIT)
Office of the Executive Secretary
Supreme Court of Virginia