class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
You may upload your file through the upload class, as a regular file, and store it on the server. Then, you use GS or IM to transform that file from PDF to JPEG. Eventually, you can work on the resulting image with the class again, as the class can work on local files, and process the JPEG image you created from the PDF.Reply
PDFs upload fine, but the conversion attempt is failing, producing a jpg of 0 dimensions.
So, alternatively, how would I integrate the ImageMagick/GhostScript process into a script which is otherwise based on Verot's upload class?
i.e. Between…
Many thanks for any help.
Again, many thanks for any info.