RDKirk wrote in post #10155969
A point that you've made subtly is that the JPEG processing application (firmware) in the camera is optimized for speed (most importantly), small size, and lower power...not for image quality.
Not quite true.
JPEG files can use any of ten standard JPEG compression levels, "1" through "10", where "1" is optimized for maximum compression and lowest quality and "10" for minimum compression and highest quality.
With the current 1D and 1Ds cameras, you can select any JPEG compression level you desire.
In the other (lesser) current cameras, the choice is between "Fine" and "Normal," where "Fine" is JPEG compression level "8" and "Normal" is JPEG compression level "3".
Do not confuse the JPEG compression level with the JPEG resolution (number of pixels), which is another thing altogether. In the current 1D and 1Ds series cameras, there are four JPEG resolutions: large, medium 1, medium 2, and small. In the other current cameras, there are three rsolutions: large, medium, and small.
The file size for a given image is a composite of the JPEG resolution, the JPEG compression level, the ISO value, and the overall image detail.
Note that all JPEG compression algorithms create loss, how much loss is a function of the compression level and the image detail.
A TIFF file, on the other hand, may be uncompressed, or compressed using a lossless algorithm. This makes for huge files, massively bigger than JPEG files with the same resolution.
Like JPEGs, however, TIFF files are "processed." This means that certain parameters are locked or hard-coded into the file. Processing the file invariably introduces some loss.
Also, no processed file, JPEG or TIFF, can be reprocessed without loss, sometimes severe loss.
RAW files are compressed using a lossless algorithm (different from the one used for TIFFs). Additionally, RAW files are unprocessed. They are, effectively, the data straight from the sensor. This means that RAW files start out with no loss of any kind. Processing a RAW file into a JPEG or a TIFF introduces only those losses required of the specific JPEG or TIFF final image. The same RAW file can be processed into any number of different JPEG or TIFF files without incurring any unnecessary loss.
As an aside, each RAW file also contains a small JPEG embedded within itself. This small JPEG is used by the Canon CODEC and other utilities to view a thumbnail of the RAW file. This thumbnail will often have settings nowhere near what your final images will have. Therefore, you should use such a thumbnail only to identify the image, never to analyze it. You need a full RAW processing program (like DPP) to do that.