How can I compress PNG and JPG images by more than 50%?
There is a handy tool called
mogrify that enables to do all sort of batch operations with images.
How to reduce quality of photos:
- Put all of them in one directory.
- Make a backup of the directory.
- Open terminal in the folder (typically by pressing F4).
- 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
To install mogrify, try
sudo apt-get install -y imagemagick.
3The install command is now,
sudo apt-get install imagemagickJun 6, 2020 at 15:45