Tags >> bit depth
Sep 18, 2009

A few weeks back I wrote a post about RAW and JPEG. In it, I told a little story about baking a cake and I let on the fact that I was a complete chocoholic. Well, for those that found that post interesting, this may tick a few boxes too.

A couple of days ago, one of the blog readers, Steve, dropped me an email with two small histograms attached. They were from the same image but one was the RAW version of the file and the other was the JPEG. Now at first thought, you may expect the histograms to look the same. But they don't. Similar yes, but the differences are obvious - and they show the advantage of a RAW file over a JPEG. 

JPEG histogramRAW histo

 On the left is the histogram from the JPEG file, on the right is the histogram from the RAW file. Can you spot the difference? 

Well, it's quite obvious if you look at the edge of the trace lines - the RAW file histogram has a smoother outline with fewer sharp peaks and troughs. The question is... why? 

Well, it's quite simple really, and it's to do with bit depth. Bit depth defines how many different, or unique, colours an image can contain. A JPEG file can only be 8bit wherease a RAW file from the camera used to produce this image (an EOS-1D Mark III) is 14bit. While 8bit provides 16.7million unique colours, 14bit provides 4.3trillion unique colours.

It's this extra colour data and the corresponding smoother tonal gradation between each tone that makes the histogram smoother. 

Does this mean that RAW is better? Well, if you're planning on trying to really maximise the ability of your camera to capture data so you can have the most data to work with afterwards, then yes, RAW is better. However, you need to ask the question of whether you will notice the difference in the final image. In many cases, it's unlikely you would, but you can never tell beforehand what the final use of an image will be so my view is to capture as much as possible and throw data away rather than capture less and be unable to create it. 

As an addition to this, people often ask about printing and the fact that surely you need an 8bit file. Well, that used to be the case, but modern printers are so good now, especially the Canon PIXMA range, that they can deal with, and make use of, a 16bit file. This means prints look better, colours are more accurate and there is less chance of tonal stepping where gaps emerge between discrete colours because of extreme image processing. 


Weekly EOS quiz

busyLoading Poll...

Blog tag cloud

20Da 3D dinosaurs A-DEP accessories AF AI Servo alert ALO aperture Apple Audio auto rotate Autofocus Automator batteries better pictures bit depth blog brightness C C1/C2 C1/C2/C3 camera models Canon Canon Ambassador Canon News Colour CompactFlash competition creativity Custom Functions depth of field DPP dye sublimation editing EF EF135mm f/2L USM EOS EOS 1D Mark III EOS 1Ds Mark III EOS 40D EOS 500D EOS 50D EOS 5D Mark II EOS 7D EOS Network eos utility EOS-1D Mark IV ephemeris equipment expert photo tips Exposure Extender featured 'tog file types film filters firmware flare Flash flash sync flex flickr focusing future Future Pro Photographer gadgets gorillapod group gura gear HD Movie HD Video hidden star highlihgt histogram How? Humour image rights Image Stabiliser iphone ISO ISO expansion James Vellacott Jeff Ascough Joe McNally Jonathan Scott JPEG kiboko Kodachrome Kodak L series L-Series landscape Landscape Photographer of the Year LCD screen LCOS lenses lithium Live View LP-E6 Mac Macro marketing Memory menu microsoft mini mode dial Movie exposure ND grad new product news noise OLED One Shot pan Photoshop photowalk Picture Styles plugs pocketwizard POM portrait power Powershot PowerShot S90 printer printing Processing projector protect protect images RAW REALiS Reflectors remote camera remote control retouch retouching review reviews SanDisk selphy Seminar service setting Sharpening shift Shooting mode Silent Shooting software Sound recording sRAW sunrise sunset test tethered Tilt timelapse tips training traveling trip TS-E tutorial twilight Twitter underwater update UV v1.1.0 vimeo Weekly Poll result weekly quiz wifi Wildlife wireless WWT XEED youtube Zoom H4N

Users online