optipng is an advanced optimization program for Portable Network Graphics (PNG). It optimizes PNG files, reducing their size without losing any information.
Open a terminal window and run:
sudo apt-get install optipng -y
optipng provides more advanced usages, but to reduce the image size, simply invoke
optipng with the image name as its argument. The modification is done in place, ie, the changes are applied directly to the image without creating a backup (if you wish to keep a backup supply the
-keep option). Example:
Referencesoptipng(1) - Linux man page
A guide to PNG optimization