This reduced a 40 Kbytes jpeg-image to a 4 Kbytes image.use strict; use Image::Magick; my $p = new Image::Magick; $p->Read('c:/data/eps/cookie.jpg'); $p->Resize(geometry=>'100x80'); $p->Write('c:/data/eps/cookie_new.jpg');
Update: I tried your command line and it does reduce the file size. Maybe we have different (versions of) ImageMagick programs running? I run "ImageMagick 6.3.4 06/14/07 Q16" on Windows XP Pro
CountZero
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
In reply to Re: imagemagick file size reduction
by CountZero
in thread imagemagick file size reduction
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |