John Davidson

php - $imagick->readImage() timeout error for large pdf

0 comments
Message:


I am trying to read a pdf file with imagick and split it into images. The program is stopping its execution due to a timeout error. The pdf is quite large - over 600MB. is there a workaround to this?


$imagick->readImage($pdfFile);


My Answer:
> setImageFormat("jpeg");

This code sets the image format of the Imagick object to JPEG.

Rate this post

5 of 5 based on 1667 votes

Comments




© 2024 Hayatsk.info - Personal Blogs Platform. All Rights Reserved.
Create blog  |  Privacy Policy  |  Terms & Conditions  |  Contact Us