Have you ever heard an enthusiastic photographer saying something like “I shoot everything in raw”? But what is a “raw” file? Sounds like raw meat, doesn’t it? Why do people use these?
Few people think about it twice, but pretty much every photo on the internet is stored as a JPEG file. This also happens to be the kind of file you get out of most digital cameras. In fact, most consumer-grade cameras can give nothing else but JPEG output. This is no coincidence: JPEG’s been around since 1992, and it turns out that it’s a really great file format for photographs. JPEG allows you to store a lot of image information in a reasonably small file, and is quick to decode and write. Unfortunately JPEG is a lossy standard, which means you always lose some image information when creating a JPEG.
Contrary to common belief, this “lossy” property is not the main reason to avoid using JPEG. The JPEG algorithm is actually really clever in the way it loses its information, meaning the human eye often can’t see the difference between a lossy JPEG and its lossless equivalent. Look at the seagull below to see what I mean.
A JPEG file compressed at 95% quality. (click for detail)
Compressed JPEG at an extremely low 30% quality. (click for detail)
No, the reasons why you should be interested in raw files are more subtle…