Page 1 of 1

Scanned Tiff to PDF with Multiple Formats inside.

Posted: 2015-10-14T11:07:37-07:00
by moocows42
Hello,

I'm trying to take a merged tiff from a scanner and turn it into a PDF.

This works great with mono (fax) formats, however when I have a merged multi page tiff which has some color (Group 4) scanned pages, and some mono (fax) pages inside, I am receiving HUGE pdfs.

A 2.6mb tif becomes nearly 7mb.

I've tried a convert while reducing the quality with jpg compression (down to 65%), but of course this is very lossy.

Is there any way to keep the size roughly the same while converting to PDF?

Thanks for any help in advance.

Re: Scanned Tiff to PDF with Multiple Formats inside.

Posted: 2015-10-14T11:20:50-07:00
by moocows42
If helpful, here's one of the many, many offending files: http://www.terravexo.com/x.rar

Also, as per the "Read me first" article, version is: Version: ImageMagick 6.8.9-9 Q16 x86_64 2015-01-05

I'm on Linux (Debian)

Re: Scanned Tiff to PDF with Multiple Formats inside.

Posted: 2015-10-14T11:59:16-07:00
by snibgo
Your supplied tiff contains images compressed with either JPEG or Group4. I don't know what compression options IM has for writing PDF files, but I don't think it allows different images to have different compression methods.

Re: Scanned Tiff to PDF with Multiple Formats inside.

Posted: 2015-10-14T12:05:15-07:00
by moocows42
Thanks snibgo,

I did suspect this was the real issue.

Does anyone know of any kind of workaround?

I know it doesn't compare, but Adobe Pro is generating PDFs at the same size as the tiff. While I understand that's propitiatory software, and they own the PDF format, I was kinda hoping someone else might have had the same issue and found a viable workaround.

Re: Scanned Tiff to PDF with Multiple Formats inside.

Posted: 2015-10-14T12:26:30-07:00
by snibgo
A utility such as tiff2pdf may simply put a pdf wrapper around the images.