in reply to permagick jpg compression

I wonder if your image is just getting compressed better but at the same quality. If you want to test this, convert the original image and a resulting 13K image both to a lossless format and compare them. Comparisons would be easy in Portable_pixmap format.

Replies are listed 'Best First'.
Re^2: permagick jpg compression
by martell (Hermit) on Mar 19, 2007 at 20:22 UTC
    I second this. If i execute following code on a file, i get a small reduction in file size, but no loss in quality. If i execute the same code with quality '10', i get a much smaller file, but also a great loss in quality.
    use Image::Magick; my $image = Image::Magick->new; my $x = $image->Read('test.jpg'); $image->Set(compression => 'JPEG'); $image->Set(quality => '100'); $x = $image->Write('out.jpg');
    So it is normal to see a small decrease in file size.