[TAG] Image size vs. file size

Ben Okopnik ben at linuxgazette.net
Wed Sep 29 06:47:12 MSD 2010


On Wed, Sep 29, 2010 at 03:11:10AM +0100, Jimmy O'Regan wrote:
> On 29 September 2010 03:00, Ben Okopnik <ben at linuxgazette.net> wrote:
> > ben at Jotunheim:/tmp$ for n in `seq 80 90`; do convert -quality $n bahama20__1.jpg $n-bahama20__1.jpg; done
> 
> try adding -sampling-factor 2:1:1 (or 4:1:1) to that

Just did. 2:1:1 doesn't seem to make much difference in size; 4:1:1 gets
it down a fair bit. E.g., with a quality of 90, it goes from 650kB (no
-sampling-factor specified) to about 505kB. Cool and excellent! :)


-- 
* Ben Okopnik * Editor-in-Chief, Linux Gazette * http://LinuxGazette.NET *



More information about the TAG mailing list