[magick-users] perlmagic -- problem with write being buffered?
Ron Savage
ron at savage.net.au
Wed Nov 21 14:59:28 PST 2007
On Wed, 2007-11-21 at 17:21 -0500, Robert W Weaver wrote:
Ho Woody
> $rv = $image->Write($filename); # write out temp file
> print `ls -l $filename`; # debugging
>
> yields something nominal:
> -rwxrwxrwx 1 rwweaver None 82674 Nov 21 16:53
> C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\eVRiTDAfB7.png
>
> Is there a way to force imagemagick to flush output and release the file
> handle?
I doubt this is the problem, but you could try
(After $image -> Write() of course, and as long as you don't want to
perform any more operations on the image)
undef $image;
--
Ron Savage
ron at savage.net.au
http://savage.net.au/index.html
More information about the Magick-users
mailing list