Forums / Developer / Image magic can't convert pdf->images .But works fine with filters in the case of image formats.
Romeo Antony
Saturday 15 January 2011 1:56:18 am
Hi,
I have tried image magic to convert pdf to image format by changing following configuartion in image.ini.append.php
# MIME types that the converter can generate
OutputMIMEList[] OutputMIMEList[]=image/jpeg OutputMIMEList[]=image/gifOutputMIMEList[]=image/png
InputMIMEList[]InputMIMEList[]=*
ConversionRules[] ConversionRules[]=application/pdf;image/jpeg ConversionRules[]=image/gif;image/png ConversionRules[]=image/x-xpixmap;image/pngConversionRules[]=*;image/jpeg
But uploaded pdfs using multiupload or datatype file type , not converts pdfs to jpeg.
Image magic is working fine with all other jpeg,png,gif in resizing . Any ideas or insights will be help.
Regards
Nicolas Pastorino
Monday 17 January 2011 2:13:50 am
From the top of my head, i would be surprised if PDF to image conversion could be handled by the image management backends like imagemagick or GD. Did you see this mentioned somewhere Romeo (disclaimer : i am not an expert of the two aforementioned tools).
Cheers,
-- Nicolas Pastorino Director Community - eZ Member of the Community Project Board eZ Publish Community on twitter: http://twitter.com/ezcommunity t : http://twitter.com/jeanvoye G+ : http://plus.tl/jeanvoye