Originally Posted by
tclune
No, strictly speaking quality settings are not part of the JPEG standard at all. What they mean in a particular app is made up by the person who added it to that app. Strictly speaking, the quant tables are not part of the standard, either. JPEG included a sample quant table that has ended up being incorporated in all but specialty applications, although that was not the original intent. In some medical applications, researchers have devised more appropriate application-specific quant tables, as was the original intent of the JPEG group. I myself have devised some mods to the example tables in my pre-retirement incarnation as a medical device software engineer. FWIW
ETA: While speaking strictly, I should mention that JPEG is not a file format at all: it is a stream format. What we think of as a JPEG file is generally a JFIF file, which was a very minimal extension of the JPEG definition to support files.