Let's start with a perfectly exposed image of the Great Carina Nebula. Perfectly exposed as there's no clipping on black (noise) and only very slight clipping on one channel (24pixels on blue channel). I.e I can't shoot any brighter without clipping data.
This example is irrelevant unless you set your in-camera settings to be extremely anti-contrast. For example, in Canon, which I shoot, there is an option for custom "picture modes" and you can set contrast to negative if you like. What this will do is sample a ton of data from the RAW on dark and light ends of ths histogram, and almost none from the middle relatively.
So the RAW is like this:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
A jpeg made with the default settings would be sampled like this:
LLMMMMMHH
A jpeg made with neutral settings would be sampled like this:
LLLMMMHHH
A jpeg made with inverse contrast settings would be sampled like this:
LLLLMHHHH
And the eye can only see something like
XXXXXX
(something like 3/4 the dynamic range of a jpeg... I mean specifically within the boundaries of sRGB yeah yeah.. see further down)
The result is that you actually end up with much more than 8 bit data for shadows and highlights, even though your format is 8 bit, because it is essentially comandeering the data space that would have been used by midtones in order to store more shadow and highlight data (it will look extremely gray out of camera).
This is exactly the setting you would use to shoot astrophotography in jpeg. If you used that setting, then you wouldn't have to do any anti-contrast edits like you did (or only very minorly), and so you wouldn't be stretching the jpeg out of its original state much, and you wouldn't get noticeable posterization.
RAW is only necessary here if you didn't set your camera for astrophotography before taking astro photographs. Sure this is in some cases more convenient (to not have to think ahead), but ultimately, thinking ahead about lighting is something you should always be doing anyway, and setting your custom picture mode would just be a part of that process.
The result being that you don't have to fill up your entire memory card in 5 seconds or spend hours in post to get what you want.
ALSO: if you're already on a tripod and taking 68 photographs of the same scene, etc. then it would be pretty easy to simply do exposure bracketing for your jpegs. A 3xbracketed exposure will lead to even higher dynamic range than RAW, and will take up half the memory card space.
I'm concerned with the accuracy of your statement. For starters, unless you have access to both the internal chip-level micro code and firmware within the camera, there is no basis upon which to state this as a fact. Having written internal chip-level logic, I can tell you that there may be an incredible level of 'unseen' processing taking place between the RAW and JPG images produced, regardless of user settable options.
No matter what the user settings, it has to make sampling decisions in order to go from 12 bit or whatever to 8 bit. And it has to do jpeg compression, and various other things. For sure.
But what's relevant to the photographer is not borign algorithm stuff for changing to a specific format. What's relevant is what you can see, and the settings are sufficiently powerful to allow you to never see anything bad if you know what you're doing.
I can't claim to have years of experience or anything, since I just discovered this like a week ago (hence a "challenge" thread), but every stress test I've done so far turns out fine.
Raw is often used to increase the dynamic range above what is represented in the JPEG. As Judobreaker says, there is more (in many cases much more) luminance information in a raw file. You are probably going to say that an in-camera JPEG conversion could be selected that would include the entire usable dynamic range of the sensor
No, not the entire range. That's impossible. What you do is to retain the portion of the dynamic range that you care about for that photo, such that you don't need to dramatically change the contrast in post. And as long as you don't have to do that, you will not see banding. Photos never look banded right out of the camera at print size... there's a reason for that. it's only after you stretch them in editing. And in-camera setting can prevent the need for stretching in post.
For example, in the case of astrophotography above, where an extreme negative contrast sampling should be used (very much the opposite of the default camera settings).
1) The human eye can't even see all of the colors possible with an 8-bit jpeg.
That isn't even close to being correct if you are referring to sRGB or Adobe RGB.
Okay, fine. A more responsible way of putting it: Within the range covered by sRGB (and the internet and any but the most expensive prints), the resolution is plenty for your eye to work with, and you will not see any obvious color posterization.
The important point here is not the exact number of colors you can see versus print, etc. It's that using a RAW isn't going to make your color space any more vibrant. If you're going to print your photo anywhere other than a Sotheby's catalogue, or something, you're just going to convert it back ALSO to sRGB later anyway, because that is the standard of almost everything, and it is the closest you will usually get to print color accuracy.
So if it's going to end up in sRGB anyway, the ONLY advantage to RAW for color editing is therefore flexibility in choosing which bit of the color space is going to be sampled to sRGB. And if you are thinking about color and light in the field (which you should be), then you shouldn't need very much flexibility. The out of camera jpeg should already be pretty much where you want it, and whatever minor (10-20%) corrections you may want to do will not be sufficient to cause visible color posterization.
There are tons and tons of settigns in your camera for setting up a proper white balance. There's custom compensation, there's pre-set WB for different standard lighting conditions, and there are options to calibrate using cards in the field. You have all the tools you need, most of which only need to be set once for an entire shoot.
What about JPG artefacts and such? sure you're using 16 bit but it's still a lossy format and if you're editing a JPG that'll become an issue won't it?
jpegs out of your camera are not compressed very much. Especially if you shoot Canon. Nikon, by my understanding, has historically been more aggressive about compressing busy images to conform to a smaller file size, whereas Canon tends to just let the file be as large as it needs to be to have what they deem an acceptable level of compression for non-visible artifacts.
(This may no longer be the case nowadays. I can't afford to buy new bodies all the time, so I'm not up on latest developments)
16 bits might not be enough either. Scientists have discovered that you can use practically infinite dynamic range for internal calculations. The trouble is that as you apply processing steps, you might increase or decrease a pixel value outside of the dynamic range available, and then put it back with another step.
That's true. If photoshop had a 32 bit mode that still had all the tools available, then I would use that. But it doesn't. Although since RAW is only 12 or 14 bit, any discussion of hypothetical edits done with a currently nonexistent 32 bit or higher commercial photo editor is not really on topic (both jpeg and RAW would benefit equally from the extra processing range).
If even 1 out of 500 images could benefit from raw, losing that one to jpg is too many.
The idea is that RAW slows down your workflow and your burst speed.
So for those 500 images, editing them in RAW might take 2-3 extra hours compared to editing them in 16 bit photoshop from jpeg. During those 2-3 hours, you could have been out in the field taking another 100 photographs, of which many more than 1 would have been keepers.
So by spending unnecessary time in post, you are in fact losing would-be images by not being out shooting as much. Just like time is money, time is keepers.
(Also, smaller buffer size means smaller bursts, which also will cause many sports photographers, etc. to miss shots)
If there was REALLY no benefit to RAW editing, I doubt it would be so prevalent.
The system I am describing will not work if you leave your camera at default settings. It also will not work if you do not consider the light and color before every shooting situation.
This means RAW is often more convenient. But IMO, knowing how your camera works and considering light and color constantly are things one should do anyway. And if you do, then it is fairly easy to compensate and not require major editing in post that causes all the problems. But people may legitimately disagree with me on the virtues of thinking carefully about light and color each time. *shrug*
The point is 'if you set the camera up with sufficient precision, and expose with sufficient precision'. Why do I want to do this? Why is this a good thing? I can fiddle around in menus and poke at tiny little buttons fussing around this way and that
In my Canon Rebel T2i, even as a low end dSLR, the menu for this is not hidden at all. There's actually a dedicated button (down button on the directional pad) which immediately brings you to the selection of your picture mode. i.e. telling the camera what portion of the RAW to sample to jpeg.
There are also I think infinite (?) or if not at least 3-4 custom slots available that you can set and then use within 1-2 seconds. And this is not something you would do before every shot. It's something you would do before an entire shoot or major change of light.
E.g. "I'm shooting the night sky now, lemme switch to my night sky preset" or "I'm shooting broad daylight, lemme switch to my neutral mode" etc.
Is this an extremely minor inconvenience? Yes. But the benefit = faster burst, 5-6x as many photos in your memory card, and much faster workflow when editing. I think that's majorly worth it.
So I load a JPEG, choose the Red channel and crank the brightness up to 100%.
You're not following my instructions, which includes using your camera settings to get reasonably within the ballpark prior to editing. Cranking brightness up to 100% implies that you thought your original image was like 6 stops underexposed... You should never be doing that.