uncaught exception error?

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
silversun
Posts: 7
Joined: 2013-09-13T06:59:00-07:00
Authentication code: 6789

uncaught exception error?

Post by silversun »

When i load up an Imagick object with too many images I get an uncaught exception:

Code: Select all

    $pdf = new Imagick($pages); 
    $pdf->setImageFormat('pdf');
    $pdf->writeImages($temp_path.'/offer2.pdf', true);
If the $pages array has less than 6 images which total less than 1.3M then this works fine

OTHERWISE I GET THIS ERROR:

Fatal error: Uncaught exception 'ImagickException' with message 'unable to load module `/usr/lib64/ImageMagick-6.7.6/modules-Q16/coders/pdf.la':

file not found @ error/module.c/OpenModule/1278' in /home/nclos2/public_html/testing/itp.php:47

Stack trace: 0 /home/nclos2/public_html/testing/itp.php(47): Imagick->setimageformat('pdf')

1 /home/nclos2/public_html/testingblast_01.php(170): ImgToPdf->addTextToImage(Array, '520a7262da638', NULL)

2 {main} thrown in /home/nclos2/public_html/testing/itp.php on line 47

Hoping someone has dealt with this before.
Post Reply