http://qs321.pair.com?node_id=172680


in reply to Image::Magick and JPEG Compression

What do you get for an error? Try:
my $x = $image->Write(filename=>$file,compression=>'JPEG',quality=>'10 +'); warn "$x" if "$x"; $x =~ /(\d+)/; print "ERROR: [$1]\n";

You can get the error codes (as well as the above error example) here:

http://www.imagemagick.org/www/perl.html

This might be useful too, as you're using Win2K:

http://www.dylanbeattie.net/magick/

-beernuts