Page 1 of 1

Corruption in pdf to tif conversion

Posted: 2019-02-06T08:52:22-07:00
by rexmism
I've been using ImageMagick to convert pdfs created by Access to tifs. This has been working fine for several months, but the other day, a different user created a pdf file of many pages, and when converted, they are all corrupt:
Image
The command I'm running to convert them is:
C:\Program Files\ImageMagick-6.8.9-Q16\convert" -density 150 -quality 100 -sharpen 0x1.0 -resample 300x300 -compress group4 -type bilevel -monochrome "%%~nxI" "%%~nI@%%02d.tif"

Any thoughts on what might be causing this?

Re: Corruption in pdf to tif conversion

Posted: 2019-02-06T08:57:27-07:00
by snibgo
rexmism wrote:Any thoughts on what might be causing this?
As you haven't linked to the PDF, we can only guess. Perhaps the PDF uses a font that isn't embedded in the file or available on the computer.

Re: Corruption in pdf to tif conversion

Posted: 2019-02-06T09:36:51-07:00
by rexmism
Unfortunately I can't provide the PDF because it's sensitive information. Thanks for the idea, but I don't know why that would be the case when the files generated by Access have been working fine previously.

Re: Corruption in pdf to tif conversion

Posted: 2019-02-06T11:09:18-07:00
by fmw42
Has your version of Ghostscript changed? What is the version? I have heard problems with GS 9.26. If so, back off to 9.23 or 9.24

Re: Corruption in pdf to tif conversion

Posted: 2019-02-06T12:40:19-07:00
by rexmism
The Ghostscript version hasn't changed for me. I did get a piece of compelling evidence, though. To create the PDFs, they use print to PDF, and I found that the user creating the trouble file is using a different printer - Microsoft Print to PDF, instead of the usual Adobe PDF printer. Is it possible this could be the problem? It's the only difference I can find.

Re: Corruption in pdf to tif conversion

Posted: 2019-02-06T17:48:40-07:00
by fmw42
I do not understand how a printer can create a PDF? Please clarify?