Compress PNG Images From The Command Line In Linux Mint
To optimize PNG images in Linux Mint using the command-line, pngquant is a useful tool. It uses the Floyd-Steinberg dithering algorithm to achieve compression and reduce the image size.
Install it by opening the Terminal and typing in:
sudo apt install pngquant
After it is installed, it can be directly used from the Terminal. Here is how:
To compress an existing PNG image, the syntax is:
pngquant...