Hacker News new | ask | show | jobs
by ck2 5001 days ago
Yup, jpegtran is a must for post-processing adobe images.

It can also do a lossless conversion to progressive format.

Most people do not know about it though. JPEGOPTIM is another one.

You can examine what's embedded in the image here http://regex.info/exif.cgi

but there are better offline tools.

1 comments

I don't get it. Why is jpegtran a must?
Because it strips any meta information contained in the file which reduces file size. It can also losslessly optimize the image. See here for details (I've written about it a short while ago): http://hancic.info/optimize-jpg-or-jpeg-images-automatically...
It sounds great in theory but the previous example only saved < 200 bytes. That's not really optimization, that's overkill.
Not if you have many images on the same page. Then id adds up.
If you place 1800 images on a page, you'll save enough bandwidth to now have 1801.
In response to Radley, who said:

* It sounds great in theory but the previous example only saved < 200 bytes. That's not really optimization, that's overkill.*

That's a fair point, but if you've got a site that's getting hundreds of thousands or millions of views, or a large number of thumbnails, the one-time effort to shrink image size might be worth it.