Page 1 of 1

Imagick::flattenImages crashes script

Posted: 2009-01-22T07:29:08-07:00
by mythix
I've got the following code:

Code: Select all

$img = new Imagick($src);
$img->flattenImages();
$img->writeImage( $this->settings[$model->alias]['dir_thumbs'].$dest_dir.DS.$file.'.gif' );
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

Re: Imagick::flattenImages crashes script

Posted: 2009-01-26T10:27:53-07:00
by mkoppanen
Unable to reproduce with the latest Imagick and ImageMagick 6.4.8-4.

Re: Imagick::flattenImages crashes script

Posted: 2009-01-27T01:47:47-07:00
by mythix
When ghostscript is installed can i check that with phpinfo(), because i can't find a trace of ghostscript in there right now...