Lossless compression of PNG images on Mac using OptiPNG.
Installing OptiPNG
brew install optipng
Lossless compression of PNG files
I use it with only the —strip all option to remove all metadata.
optipng --strip all sample.png
Batch lossless compression of PNG files in the current directory
find . -name '*.png' | xargs optipng -strip all
That’s all from the Gemba.