We're running the following command on our images to reduce file size:
.\mogrify.exe -quality 80 -strip -interlace Plane.
The image quality seems ok after running the command so we want to try a lower quality setting.
If I re-run mogrify against the same images who's quality has already been set to 80%, with -quality 75 does that mean the image is 75% of the original or 75% of the resized image? I'm assuming its 75% of the resized image since the original is now effectively gone but want to confirm.
Thanks
Brad
How does quality setting work?
-
- Posts: 1
- Joined: 2016-05-11T06:08:27-07:00
- Authentication code: 1151
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: How does quality setting work?
"-quality" isn't a percentage but a setting from 0 to 100. If affects png and jpeg compression. It isn't relative to any setting that might have been present in the input image.
snibgo's IM pages: im.snibgo.com
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: How does quality setting work?
see http://www.imagemagick.org/script/comma ... hp#quality. Quality values mean different things for different formats. JPG 0 to 100 is straightforward with 0 being lowest and 100 being highest. But values for PNG are not as simple.