macのコマンドラインでPNGを圧縮する

pngquantを使う

brew install pngquant

使い方

$ pngquant *.png

すべてのpngファイルを強制的に上書きで圧縮したいとき

$ pngquant --ext .png --force *.png