[magick-users] How to avoid blocking IM display PerlMagick/ActivePerl/Win32

Mark Knoop mark at rawcane.net
Tue Sep 25 06:46:12 PDT 2007


Hi

I'm new to Image::Magick.

I have a perl script which displays an image and requires some user input
from the command line.

I would like to leave the image displayed while getting the input but the
script is hanging once the image is displayed and does not continue until I
close the window.

I have tried using

$image->Write('win:');

and

system("imdisplay $path");

but both seem to block.

Any ideas?

Secondly if there is a way of leaving the display open while continuing with
the script is there a way of closing the display programmatically later on?

Many thanks
Mark




More information about the Magick-users mailing list