#779386 libtiff-tools: tiff2pdf is generating corrupted pdf files

Package:
libtiff-tools
Source:
tiff
Description:
TIFF manipulation and conversion tools
Submitter:
E Harris
Date:
2015-02-27 23:45:06 UTC
Severity:
important
#779386#5
Date:
2015-02-27 23:38:00 UTC
From:
To:
When converting tiff files that contain a jpeg image to pdf using tiff2pdf, the output pdf
seems to be corrupted and incomplete.

$> tiff2pdf Page0001.tif > Page0001.pdf
$>

No errors are produced from the tiff2pdf program.

When using xpdf to view the corrupted pdf, it reports:
"Corrupt JPEG data: 3549610 extraneous bytes before marker 0xd9"
And only displays part of the image.

Viewing the tiff in gimp or other tools it appears just fine.

I was having this problem with the wheezy version (4.0.2-6+deb7u3)
which is why I updated to the version in testing (4.0.3-12.1) but it is
showing the same behavior.