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?

link|improve this question

feedback

1 Answer

up vote 3 down vote accepted
mogrify -format jpg -quality 100 *.png

Here's the official documentation. Value for quality varies depending on the resulting format, for PNG it goes to 100.

http://www.imagemagick.org/script/command-line-options.php#quality

With any Linux command, you can enter

man [command]

To see the help page that list out the information and parameters available.

link|improve this answer
Almost any Linux command. – Nathaniel Dec 5 '09 at 21:34
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.