Set default font when converting from PDF to JPG

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
InvisibleUn1corn
Posts: 1
Joined: 2016-02-16T06:19:29-07:00
Authentication code: 1151

Set default font when converting from PDF to JPG

Post by InvisibleUn1corn »

Hi, I have an upload page in my website and I need to convert documents to JPG but when someone upload a file with an unknown font the program is killed without converting to JPG, how can I set default font for converting from PDF to JPG?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Set default font when converting from PDF to JPG

Post by fmw42 »

Do you have Ghostscript and the Ghostscript fonts installed? IM uses Ghostscript to read PDF files.

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

See viewtopic.php?f=1&t=9620
Post Reply