16
3
I want to do something like
mogrify -format jpg *.png
However, I want to encode the jpg at a higher quality than the default. Is there a way to do this?
16
3
I want to do something like
mogrify -format jpg *.png
However, I want to encode the jpg at a higher quality than the default. Is there a way to do this?
24
mogrify -format jpg -quality 100 *.png
According to the official documentation the quality parameter can be 1 - 100 and the effect varies depending on the resulting format.
quality parameter only changes the lossless compression strategies used, so the speed of compression and the resulting file size can be affected but image quality remains the same.With any Linux command, you can enter
man [command]
To see the help page that list out the information and parameters available.
Or you can avoid the terror of
– Teque5 – 2016-10-14T17:17:41.640manby usingbro. Install.1Or you can just Google it and read the SE answer for the specific parameter you're looking for, which is usually faster than scanning the man page for it. – joseph_morris – 2017-02-23T17:55:04.513
3Almost any Linux command. – Nathaniel – 2009-12-05T21:34:54.943