Open eevee opened 11 years ago
I just did JPEG rotation and optimization for shurtapp recently; see https://github.com/habnabit/shurtapp/blob/master/photo-pipeline/process-image.sh
This seems like exactly what you want, modulo the -resize option to imagemagick. I found some random dude's jpeg compression parameters which, on average, compress jpegs smaller than any other encoder I've seen.
optipng
for PNGgifsicle
for GIFThese add a good bit of server-side time, though. Staging area (#13) may help. We could do this async in the background, but because we key by file hash, the art wouldn't be available until we were done. Ugh.