This question already has an answer here:

How can I compress PNG and JPG images by > 50%?

marked as duplicate by muru, Yaron, andrew.46, karel, Pilot6 Sep 19 '17 at 8:54

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


There is a handy tool called mogrify that enables to do all sort of batch operations with images.

How to reduce quality of photos:

  1. Put all of them in one directory.
  2. Make a backup of the directory.
  3. Open terminal in the folder (typically by pressing F4).
  4. Run command mogrify -quality 60% * (this will reduce quality of all .jpg, .jpeg, .png images listed in the folder)

Be aware that image files will be replaced by reduced one. Make a backup first just in case you reduced a quality too much.

You can look up more functionality that mogrify provide in man mogrify.

To install mogrify, try sudo apt-get install mogrify.

Enjoy :)

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