Error "child process exited with status 255"
Posted: 2010-01-08T16:25:46-07:00
I'm using PerlMagick with mod_perl2 and libapreq2 in Apache 2.2. I have a Perl script that takes an image file upload, changes its type to "png" before resizing and sharpening it, and then writes a new .png file somewhere.
This script works fine for all .jpg, .jpeg, and .png files, but fails with .gif files that include animations. So far all the .gif files WITHOUT animations don't cause this problem.
When this error occurs, it appears in the Apache's master error logs, and then Apache HTTPd restarts.
Is there a way I can instruct the ImageMagick object to eliminate all but the first frame?
Thanks in advance.
This script works fine for all .jpg, .jpeg, and .png files, but fails with .gif files that include animations. So far all the .gif files WITHOUT animations don't cause this problem.
When this error occurs, it appears in the Apache's master error logs, and then Apache HTTPd restarts.
Is there a way I can instruct the ImageMagick object to eliminate all but the first frame?
Thanks in advance.