Page 1 of 1

Convert to image doesnt work on one of the page

Posted: 2017-10-25T22:45:42-07:00
by txt23
We are trying to convert a PDF into image and first page looked like this

https://i.imgur.com/vV9Z2QH.png

But remaining pages looked just fine. WHat could have caused this?

Re: Convert to image doesnt work on one of the page

Posted: 2017-10-25T22:50:31-07:00
by fmw42
Please provide your input PDF and which version of Ghostscript you are using.

Please, always provide your IM version and platform when asking questions, since syntax may differ. Also provide your exact command line and if possible your images.

See the top-most post in this forum "IMPORTANT: Please Read This FIRST Before Posting" at viewtopic.php?f=1&t=9620

For novices, see

viewtopic.php?f=1&t=9620
http://http://www.imagemagick.org/scrip ... essing.php
http://www.imagemagick.org/Usage/reference.html
http://www.imagemagick.org/Usage/

Re: Convert to image doesnt work on one of the page

Posted: 2017-10-25T22:51:37-07:00
by snibgo
Perhaps the PDF uses a font that isn't embedded in the document, and isn't installed on your computer. Perhaps Adobe Reader will show the problem.

Re: Convert to image doesnt work on one of the page

Posted: 2017-10-25T22:52:31-07:00
by fmw42
Does it work if you use plain ImageMagick in command line mode and not Imagick?

Re: Convert to image doesnt work on one of the page

Posted: 2017-10-25T22:55:21-07:00
by txt23
Im thinking its the fonts but let me check both if it works on the command line and also will check with Adobe Reader to check on it as well.

Thanks for the quick response guys!

Re: Convert to image doesnt work on one of the page

Posted: 2017-10-25T23:00:58-07:00
by txt23
Hey guys. Turns out issue is related to fonts. If those fonts do not exist in our system, I am assuming ImageMagick would never be able to do convert it correctly. In this case, should I try to load as many fonts as possible in imagemagick (not sure actually how to do this!) and hope for the best or is there any work-around to this?

Re: Convert to image doesnt work on one of the page

Posted: 2017-10-25T23:38:18-07:00
by snibgo
Doesn't Adobe Reader tell you what fonts are needed?