Compress all PNGs and output them to the specified directory

pngcrush

pngcrush -d {{path/to/output}} *.png

click the source code to copy install pngcrush on any operating system with command-not-found.com