I have been Googling
Code: Select all
error/blob.c/OpenBlob/2641
I am using Imagemagick within PHP, with the following code:
Code: Select all
$imagick = new Imagick();
$imagick->readImage("/path/to/file.mp4[60]");
$imagick->setImageFormat('jpg');
$imagick->scaleImage(400,0);
$imagick = $imagick->flattenImages();
$save = $imagick->writeImage("/save/here/image.jpg");
But after I moved my code from a dev server to the live server (this is what I get for having environments that are out of sync!), I started getting this error:
Code: Select all
unable to open image '/tmp/magick-1FmHq1zi.pam': No such file or directory @ error/blob.c/OpenBlob/2641
The first thing I thought was "permissions" - but the permissions for /tmp are 777.
Everything I have read concerning this error has to do with permissions, or the "convert" command - but as this is run through PHP, I am not sure what exactly goes on between PHP and Imagemagick.
Here are current versions for both.