Page 1 of 1

Cannot convert to PNG using PDF from InDesign

Posted: 2010-12-14T05:58:14-07:00
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