Imagick::flattenImages crashes script
Posted: 2009-01-22T07:29:08-07:00
I've got the following code:
works fine (with jpg, gif, png, pdf) untill i try this with a PSD file, my script crashes, i get no errors, just a whitescreen and my session seems to get deleted...
My login script saves users to session, and after that whitescreen i am logged out so...
I also have ghostscript installed.
ImageMagick 6.3.7 02/18/08 Q16
Code: Select all
$img = new Imagick($src);
$img->flattenImages();
$img->writeImage( $this->settings[$model->alias]['dir_thumbs'].$dest_dir.DS.$file.'.gif' );
My login script saves users to session, and after that whitescreen i am logged out so...
I also have ghostscript installed.
ImageMagick 6.3.7 02/18/08 Q16