[BZ#1893] tiff2pdf produce unreadable file if TIFF is compressed with JPEG
Submitted by Jay Berkenbilt (ejb at ql dot org) on 2008-06-07 21:40
Description
This bug had been in the previous bugzilla. I'm resubmitting it here.
This is debian bug 425778. For the original bug report, please see http://bugs.debian.org/425778. It is a complete and well-written bug report.
In this bug report, the user has a specific jpeg-compressed tiff which when converted to a PDF results in a PDF with a bad image. I was trying to create a smaller tiff file with interesting results. The first one was just an 8x8 gray square. Running this through tiff2pdf resulted in a core dump.
tiff2pdf -o gray-8x8.pdf gray-8x8.tiff
The second one was a 200x200 gray square. This one displays properly in acrobat reader with warnings, but the PDF file is invalid. I'm attaching my two tiff files and the broken PDF. For the original file, please see the debian bug report or grab the tiff file from
http://eppesuigoccas.homedns.org/~giuseppe/libtiff-tools.tiff2pdf.bug.tar.bz2
Attachment 232, "8x8 grayscale jpeg-compressed tiff":
Attachment 233, "200x200 grayscale jpeg-compressed tiff":
Attachment 234, "PDf generated from gray-200x200.tiff":
gray-200x200.pdf
Attachment 235, "debian user's original tiff file from debian bug report":
Attachment 236, "PDF generated from gray-200x200.tiff -- updated to 4.0.0 beta 2":
gray-200x200.pdf