image (re)compressing tool 

Newsgroups:  gmane.linux.debian.user
Date:        Sun, 19 Nov 2006 17:49:39 +0100
> Is there any command line tool that can take a jpeg file and re-compress it
> with a new compress level/factor?

I think convert can do what you want:

convert -quality XX old.jpg new.jpg

where XX is the quality (in percent) that you want for new.jpg; lower quality = higher compression ratio with stronger jpeg artefacts.

Florian Kulzer

image (re)compressing tool 

> thank you Florian & Sven for the swift respond.
>
> yes, the -quality option of convert/mogrify is what I'm looking for.
>
> I was just blindly searching their man pages with some keywords but didn't
> notice that the man pages are actually less than a pageful. :-)

The man page also suggests visiting: file:///usr/share/doc/imagemagick/index.html

in your browser. The webpage has a link to command line options. This has proved to be very helpful to me in the past.

H.S.