[magick-users] perlmagic -- problem with write being buffered?

duc.sequere.aut.de.via.decede at imagemagick.org duc.sequere.aut.de.via.decede at imagemagick.org
Wed Nov 21 15:04:57 PST 2007


> Is there a way to force imagemagick to flush output and release the file

PerlMagick closes the file handle when it writes the image to disk before
it exits $image->Write().   PNG compresses the image so it may be smaller than
expected.  You could try destroying the image object with

  undef $image;

and see if that helps.  Also try upgrading to the latest ImageMagick release.


More information about the Magick-users mailing list