//Warning: long post with a complete lack of pretty pictures of bikes...//
Update: since originally posting this I've added a few sentences (to clarify a couple of points), generally tidied things up a bit and rearranged the seven bullet points at the end into something approaching an order of priority.
The question of whether to shoot jpeg or raw is one that crops up a lot. If you're new to dSLRs, chances are you've been sticking with jpeg - it's seen as the safe option, and there's no immediate need to fiddle around with extra software to tweak the results. But if you want to get the best out of your camera, raw has a lot of advantages over jpeg (and it's not as tricky to use as you might think).
There's a great deal of information out there on the web around this topic, some of it downright inaccurate and misleading. So let's keep things simple.
If you shoot jpeg the camera does the raw processing for you, using all the parameters in your camera's image menus (sharpening, tone, saturation and so on) to tweak the result. If you shoot raw the camera records the data straight off the sensor and you import it into a software package of your choice, where you can fiddle around to your heart's content before exporting as a jpeg or tiff.
Here's how the two file formats stack up:
JPEG
Pros
- gives a ready-to-go result straight out of the camera
- doesn't need extra software or computer time
- reduces storage space
Cons
- contains less colour and tone information than a raw file (8 bits, compressed, for the technically-minded)
- reduces options for tweaking colour, contrast and brightness
- uses 'lossy' compression, which throws data out. Once it's gone, it's gone
RAW
Pros
- pulls the original data straight off your camera's sensor, unaltered
- acts as a 'digital negative' which you can come back to and re-process any number of times
- contains far more colour and tone information than jpeg (12 bits, uncompressed, typically), giving scope for more editing without losing quality
- allows post-capture tweaking of white balance, exposure and other variables not possible with jpeg
Cons
- needs extra software for processing and output to a useable file format for printing and viewing
- involves spending extra time at the computer
- takes up more storage space
(There are one or two myths surrounding raw floating around on the internet which are worth dispelling. One is that it increases a camera's dynamic range (the range of brightness values in a scene that can be recorded by the sensor). It doesn't do that, in fact, but it is certainly possible to make far bigger adjustments in software to a raw file than is the case with jpeg.
Another is that, armed with a raw file, the photographer can effectively make whatever white balance and exposure changes they like without affecting the quality of the outcome. In fact there's a visible difference between, say, a 2-stop underexposed raw file that's been recovered in software and one that was correctly exposed in the first place. Raw is no substitute for getting things right in-camera.)
The point, as far as I'm concerned, is this: if I shoot jpeg, I have limited options after I've pressed the button. If I shoot raw, I have far more flexibility at the expense of a little extra time spent at the computer. But that, in the end, is the crux for many people - is the time spent in front of a monitor worth the effort?
I think, on balance, that it is.
In the interests of making life a bit easier, here - in rough order of importance - are my tips for making the transition from jpeg to raw a bit smoother (including a few things I found out the hard way):
1. Accurate colour matters
If you're going to the trouble of shooting and processing raw, it's pretty important that your monitor is accurately profiled with a proprietary colorimeter and software package. If you don't take this step, you can't be certain that the colours you see on your monitor accurately reflect those contained in the file you're working on (chances are, they won't). And that means you'll never be able to print accurately. It's another expense, but it's worth doing for anyone interested in getting the best out of their dSLR.
2. Software design and performance makes a difference
The interface and performance (particularly in terms of speed) of your raw processing software is an important factor in how quickly and effectively you can work. There's a great deal of variation here, and personal preference certainly plays a part. But I have to say that most image editing software leaves a lot to be desired in terms of user-friendliness (or lack thereof).
Common problem areas include rendering speed (the novelty of watching a spinning wheel or eggtimer icon soon wears off when you've got dozens or even hundreds of files to process) and over-complicated screen layouts and tool palettes. How many different ways do you need to be able to tweak contrast, anyway? (the software I use has at least four...)
I've settled on Bibble because I'm used to the interface, it's blazingly fast at processing dozens of files at a time and the quality is pretty good. But apps like Apple's Aperture and Adobe's Lightroom set a new standard by making the entire process of downloading, organising and processing raw files far more intuitive. Well worth a look, if you can justify the price.
3. Getting it right first time saves time
Although there's lots more flexibility for making post-capture adjustments when you shoot raw, there's no substitute for getting things right in-camera. Not only does this mean your pictures will benefit from better quality, but you'll save a lot of time at the computer by not having to fiddle with all the basic adjustments. Nail the exposure and white balance to the best of your ability; you'll be grateful you did later.
4. Curves rule
Raw processors include powerful tools like white balance and exposure adjustments, but the most versatile tool in the box is also one of the simplest. Curves allow you to adjust the relationship between input and output pixels to alter image brightness and contrast. It takes some practice to achieve the effect you're after, but it's worth persevering with: curves allow greater control than any number of brightness, contrast or colour sliders.
5. Set your own 'look'
Don't be surprised if your software's settings give your raw files a disappointing look. Compared to out-of-camera jpegs, most raw conversion software defaults to relatively low contrast and saturation. Trial and error will allow you to find standard settings that work as a starting point, and all good software will allow you to save those settings.
6. In-camera image adjustments (mostly) have no effect
Aside from their effect on the embedded preview jpeg (see point 7., below), any in-camera image parameters you've set - including noise reduction and sharpening, for example - will only be recognised by your camera manufacturer's own raw conversion software. If you use third-party software it'll make a stab at setting the white balance (though the numbers may not match what you've set on the camera), but will otherwise use its own default settings.
7. The histogram sometimes lies
If you're using the histogram on your camera to tweak exposure (a subject I'll come back to another time), it's worth knowing that it's not displaying the data from your raw file. Instead, it shows a representation of pixel values in the preview jpeg embedded with the raw file (which is also the image that you're seeing on the camera's LCD). But the jpeg has been processed with white balance, sharpening and other adjustments set in the camera's menus, all of which can affect the histogram.
Bottom line: pay attention to what the histogram's telling you, but remember that it doesn't relate directly to the raw data you're recording. And set image adjustment parameters in your camera's menus (like sharpening, colour and tone) to 'off' or 'low' wherever possible.
Still here? If you haven't wandered off to another part of the web in sheer boredom by now, you should probably give raw a go. Once you've experienced the degree of control you have over your results you'll find it hard to go back to jpeg. It's rather like having your own darkroom. Except with far more control, a complete absence of noxious chemicals and no need to monopolise the bathroom for hours on end...