views:

774

answers:

6

When making a webpage every byte counts. Especially if the webpage is heavy on graphics, has large backgrounds, etc.

For that reason I want to find a good tool to compress my huge background files into as small JPEG files as possible, while still maintaining an acceptable quality.

I know that a lot of things depend on the compression algorithms used, and "80% quality" can differ from tool to tool. For example, there are several tools aimed at recompressing PNG files as best as possible. Unfortunately I cannot find any good tools for JPEGs with Google, because there just is too much "noise" in the search results.

Thus I turn to my fellow developers. What software do you know that maintains the best size/quality relation?

+5  A: 

Photoshop and its "export for web" function always worked for me. Good compression and little to no quality loss.

marcgg
I have to agree with this. Being able to fine-tune compression levels with a real-time preview helps a lot in squeezing things as tight as they can go while maintaining an acceptable quality level.
Amber
+1 because I'm using photoshop for all compression and I've always been happy with it.
tharkun
A quick test with Paint.NET, IrfanView, and Photoshop CS3 reveals that the best compression is achieved by Photoshop with Save As (not with Save for Web). I cannnot however compare quality without writing a tool, because they look practically the same to the naked eye.
Vilx-
One might argue of course that it doesn't matter then, but, well - the question is about the "best tool" and I do have the foolish wish to make it "perfect". XD
Vilx-
You've got other tools that are specialized in this like Image Compressor ( http://download.cnet.com/Image-Compressor/3000-12511_4-10582331.html?tag=lst-2-10 ), but I don't think it'll give you a better result than photoshop CSx. Plus if you use photoshop you don't have to get other softwares for image editing and so on.
marcgg
Wow, unexpected result - the size is the least when you select it to be progressively compressed with 5 passes.
Vilx-
+1  A: 

I think every answer you will get will be subjective.

However, there is one thing you can do to reduce JPEGs without lossy compression, and that is to strip the metadata that almost every program and camera will add.

I like to use this utility to accomplish this.

http://www.steelbytes.com/?mid=30

Unknown
Yes, I'm already doing that, but the shavings I get from this are nothing compared to the image itself.
Vilx-
Well you said yourself that every byte counts.
Unknown
Of course.
Vilx-
A: 

I have had good results with the Python Imaging Library.

Wade
A: 

The Google Page Speed extension to FireBug does lossless compression, and in their Best Practices, they recommend jpegtran and jpegoptim as external tools for that task.

bdukes
A: 

You could try IranView - easy to use and it has powerful converting tool.

Harri Siirak
IrakView is also quite cool.
tharkun
+3  A: 

Adobe FireWorks lets you do selective compression where you can have for example someone's face at 90% quality and the rest of the image at a lower quality setting.

Also I like the size of FireWorks exported png files.

http://en.wikipedia.org/wiki/Adobe_Fireworks

gdelfino
What is strange is that this feature existed in Export for the Web plugin of Photoshop but as some point in time it was removed.
Sorin Sbarnea