Wwhy does the JPEG quality option in Adobe products go up to twelve?
Here's the option in the Save dialog of PS:
Thats a whole new definition of it goes up to eleven.
First off, realize that those numbers are 100% arbitrary... a 6 out of 12 on one application may or may not match a 50/100 on another application, even though they are mathematically the same. So don't try to compare those values across applications.
With that in place... what that control is adjusting are the "quantization tables" of the compression algorithm. Usually the are the Luminance and Chrominance quantization tables. These tables describe how much of each type of information is discarded by the compression engine, for different types of repeating patterns. Forexample a "fine" QT might have a very low number in all parts of the table, saying no matter how often a pattern repeats, don't discard it, where as the opposite table would have larger numbers in the areas of the table that are represent frequently occurring patterns. Basically saying "this is a common pattern, you can compress it down a lot more, it's not as important to the image."
Different things that do compression have different sets of tables stored in them. My camera for example has 2 (Fine and Coarse) per jpeg size. (at least I'm betting that Small Fine doesn't use the same tables as Large Fine... but they might!) I've seen a couple cameras that had 4 levels (Low, Normal, Fine, SuperFine). Photoshop traditionally has 13 (0-12), Lightroom claims 101 (1-101) (more on that in a moment.) and I've seen other tools with anywhere from 5 (1-5) to 256! (0-255).
So let's start with Photoshop's 13 levels. Basically they have 13 sets of QTs built into the application which make up spectrum of more and more detail. 0 is horrid, compressing things to well past anything useful. 12 is equally unusable, but for the opposite reason, it can actually result in files LARGER than what would be needed to represent the image in a loss-less compression such as PNG, or even in an uncompressed format like BMP! So why is it there? Well, the commonly accepted reasoning, and I've seen this over and over, was that the original PS team expected most people to use 0-10, and 11 and 12 were left in place for "research" or for bridging over to another application to let it do the compression. (though if you're going to do that, why even export as jpg? just export TIFF or something.)
Now, lightroom's 101 step claim got torn apart pretty well a while back by Jeffrey Friedl. There are two big findings there.
The JPG quality scale is arbitrary - I'm not sure why Photoshop goes to 12 whereas most programs provide a 1-10 or 1-100 scale.
Jeffrey Friedl has a great analysis of the JPG quality settings and output from Lightroom, and in his results the output when compared between Lightroom and Photoshop varies... even Lightroom's 0-100 scale does not correspond to the 0-100 scale in Photoshop's "Save for Web" dialog.
Why does Photoshop's dialog go to twelve? Because it does :)
I can't provide an answer for why there is the option to go to 12 - but I can provide an example of the different qualities.
I have taken these directly from one of my lecturer's slideshows, it's not my own work. The images were used to illustrate that there is no difference between JPEG quality 12 and 11 other than file size (at least not one that is visible to the human eye). Therefore 11 is the better option because of the smaller file size.
I know it's not the answer to your question, but thought it might be a little bit of help.