php - 'NoDecodeDelegateForThisImageFormat `PDF' -
i trying convert pdf png or jpeg creating thumbnail, have downloaded , installed imagemagick , tried install ghostscript(ghostscript9.20) installed in "c:\program files(x86)\gs.."
then getting error
fatal error: uncaught exception 'imagickexception' message 'nodecodedelegateforthisimageformat `pdf' @ error/constitute.c/readimage/501' in c:\xampp\htdocs\pdf\imagik.php:5 stack trace: #0 c:\xampp\htdocs\pdf\imagik.php(5): imagick->__construct('c:\xampp\htdocs...') #1 {main} thrown in c:\xampp\htdocs\pdf\imagik.php on line 5
i new imagemagick , ghostscript, have searched lot solving problem , found simmiler solution,
need happen in
windows 7
xampp 5.5.19. here php code
<? php $im = new imagick( 'c:\xampp\htdocs\pdf\db-intro.pdf[1]' ); // convert jpg $im->setimagecolorspace(255); $im->setcompression(imagick::compression_png); $im->setcompressionquality(60); $im->setimageformat('png'); //resize $im->resizeimage(290, 375, imagick::filter_lanczos, 1); //write image on server $im->writeimage('thumb.png'); $im->clear(); $im->destroy(); ?>
Php - Nodecodedelegateforthisimageformat `Pdf - >>>>> Download Now
ReplyDelete>>>>> Download Full
Php - Nodecodedelegateforthisimageformat `Pdf - >>>>> Download LINK
>>>>> Download Now
Php - Nodecodedelegateforthisimageformat `Pdf - >>>>> Download Full
>>>>> Download LINK I2