PDF to JPG not working from php front end

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Posts: 23
Joined: 2014-12-08T08:22:45-07:00
Authentication code: 6789

Re: PDF to JPG not working from php front end

Post by danfar » 2014-12-12T11:09:45-07:00

it was basically libraries and pre IM/ GS installs which the server didnt have e.g. i have to update autoconf cause the IM was packed with latest but im still testing my system

one thing i notices if the PDF has white background it makes it black and the sizes are squished what could be the fix?

will post my findings

User avatar
Posts: 24581
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: PDF to JPG not working from php front end

Post by fmw42 » 2014-12-12T11:17:37-07:00

You would have to upload the PDF to some place like dropbox.com and put the URL here for us to examine it. It is possible that it has transparency which is not supported by JPG. The size issue is very odd, but PDFs are vectors. If the PDF has a raster imbedded in the vector cover, then the raster image may have a different density and characteristics than is specified by the PDF. So again one would need to inspect the PDF.

Post Reply