Jump to content

Need advise with Imagick

Recommended Posts


I want to use Imagick to resize images. I have one problem. Script finishes immediately despite of fact that original file is about 10 MB which should take some time to process. An other thing is that no errors or warnings are printed. So  for debugging purposes I printed version number but it also didnt show anything.


$im = new Imagick();
$im->readImage( "./uploads/0YZSQJErNxtcb2Dc.jpg" );
$im->resizeImage(1008, 756,Imagick::FILTER_LANCZOS,1);


Any ideas what could possibly be wrong?

Link to post
Share on other sites

Most likely a syntax error is causing nothing to be displayed. Both of your print statements have an error. The first did not capitalize "Imagick", the second one has "->::"

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...