So, we're about to release a new website into the wild and we're looking at optimalizations for our website. Unfortunately I've found out that the pictures we use aren't optimized in any way. I mean a picture of about 1000x600 pixels is now around 270KB... Obviously, this should be addressed and since we're talking about 10,000s of pictures, this needs be automated on the server side.
I'm not an expert on this (obviously), but I've found JPEG Optim (https://github.com/tjko/jpegoptim) and that seems to be exactly what we need.
However, I'm wondering if any of you know of a better CLI tool to get this done?
Thanks!
P.s. For the record, we're running a Linux server, just so you know ;)
Somasundaram Ayyappan
You might want to check this out - ImageOptim-CLI. It also comes with a grunt plugin to built it into your workflow.
You can find the comparison between various tools to compress images, here.