Optimize PNG images
β’ 49 words β’ 1 min β’ updated
β οΈ This post is over one year old. It may no longer be up to date or relevant. Opinions may have changed.
Before checking .png images into git repositories, you should optimize them β
mostly for their file size.
The Chromium project provides this script to do so. It boils down to installing and running the following executables:
optipng: https://optipng.sourceforge.net/pngcrush: https://pmt.sourceforge.io/pngcrush/pngout: https://www.jonof.id.au/kenutils.html
The first two are available via homebrew.