Ok-

so, I'm trying to get the compression level of an image with Perl Magick and 
well, it just doesn't seem to be working :(

identify -verbose image.jpeg | grep Quality
  Quality: 92

use Image::Magick;
$r=Image::Magick->new;
$r->Read("image.jpeg");                                          
$q = $r->Get('quality');
print "$q\n";
0

Now, according to the docs, this should work:
"quality        integer         JPEG/MIFF/PNG compression level"
"Use method Get() to get an image attribute."

What am I missing?

I've tried with IM 6.1.8, and 6.2.4, both on Linux, and get the same results.  
Now on 6.3.0 it seems to work, but that's not available on on the boxes that 
I NEED to run the scripts on.

thanks,
brian

-- 
Brian Jackson
Action Athletics Sports Photography
http://www.ActionAthletics.com/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to