hi,
I am using PerlMagick to automate image resizing and resampling. The
problem is that every time I try to use one of the Image::Magick
functions, Perl crashes. Here is an example of the code I am trying to
run:
use Image::Magick;
$image = Image::Magick->new;
open(INPUT,"abc.jpg" )
$image->Read( file=>\*INPUT);
close INPUT;
$image->resize( geometry=>'300x400', support=>'.2' );
open( OUTPUT, "out.jpg" );
$image->Write(file=>\*OUTPUT, filename=>'out.jpg');
close( OUTPUT);
undef $image;
__END__
When run, this code causes a "Perl Command Line Interpreter has
encountered a problem and needs to close" window
and terminal get struct ,then I force Quit the program,,
Thanks and Regards
Love Cricket? Check out live scores, photos, video highlights and more.
Click here http://cricket.yahoo.com
_______________________________________________
To unsubscribe, email [email protected] with
"unsubscribe <password> <address>"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc