ofnuts wrote:
There are two things in a JPEG that make the file smaller, but you have to understand how a JPEG is made first.
The JPEG doesn't work in RGB, but, like color TV of yore, with a Luminance channel (which is basically the B&W signal) and two "chroma" channels that carry the color information.
Now, the human eye is much more sensitive to "luma" than to "chroma" so in a JPEG file the chroma images are scaled down (along one dimension (half-size) or two (quarter-size) before being stored. This alone accounts for a large part in the space saving. With quartered chroma, before compression, insead of saving 1+1+1=3 full-size image you save the equivalent of 1.+.25+.25=1.5 image, so before doing any compression, you have reduced the size by two... Of course during decompression the chroma is scaled up. This is the "chroma subsampling" in Gimp's advanced settings.
New you have the compression, which is done with a given precision, a lower precision removing detail from the image.
Then depending on application "Quality" is just the precision, and the chroma subsampling is another setting (as in Gimp) or "quality" is a general setting that combines both, and where it is expected that high quality uses full chroma (but in some apps it is fixed, usually to half-size). An indication is that there is no separate setting for the chroma subsampling.
Thanks, ofnuts, for the explanation. It's a tad technical for me, but it was very helpful.