optipng in.png -o 5 -strip all -out temp.png pngout -f6 -kp -ks temp.png out.png
jpegrescan -s -t in.jpg out.jpg