Cannot convert to PNG using PDF from InDesign

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
skywalker826

Cannot convert to PNG using PDF from InDesign

Post by skywalker826 »

Dear Guru,

I encountered a strange scenario where the PDF file that generated from InDesign CS5 could not be converted to PNG preview file properly.
Following command is used in my php code. I tested with other PDF files (i.e using CUtePDF to generate), it work fines that a preview PNG file can be generated fine.

$command = 'convert '.$product_filename.'[0] -colorspace RGB -geometry 400 -quality 80 ' . $preview_filename . '.png';

Only the PDF created from InDesign CS5 having issue (either PDF with graphic pixel image or pure text only).

Is there a known issue with ImageMagick with regard to PDF from InDesign CS5 ? Or do I require to modify/add other parameter options for convert command ?

Please advise. Thanks.

Regards,
Sky
Post Reply