This could get a bit long so I hope it helps some of the shooters that are not sure about the differences and shoot Jpeg to save space and don't see what the fuss is about.
Periodically I've seen questions about the 2 formats (RAW could be PEF or DNG) and someone asked me the real differences. It's not as simple as "you can correct WB better" and that comment does not really explain why WB corrections are better.
Anyone that has Windows Vista for example with have Microsoft Digital editor and the colour adjustment feature has a WB 'eye dropper' to make adjustments. So does the Silkypix software as well as Lightroom and other programs. So you open the Jpeg, find a neutral gray spot in the picture and adjust it. It looks great. No issue right? Well not really if you want to enlarge quite a bit or do some manipulation or heavy cropping to the image.
A RAW image is essentially a digital negative. The camera shoots every image in RAW and then sends it to the buffer where it's either written directly to the card as it was shot or it is converted to a Jpeg (K series) or it could be either a Jpeg or TIFF (*ist series) as well. Several steps happen if the camera is going to convert the file from Raw to another format.
Demosaicing* and white balance, then Tone curves, saturation, sharpening and contrast are performed on the file as it is converted to a Jpeg. These of course depend on the Jpeg settings you have selected. So it is no longer the "negative" as the camera originally shot the image.
*demosaicing (algorithm) This is my simplified definition but a RAW image assigns data for each pixel of the 3 primary colours and is one reason for the larger size of the files. A raw converted to Jpeg (in camera or PC) needs to combine the data using a demosaicing algorithm to assign a single colour value for that pixel.
Raw is an unaltered image without Jpeg processing in camera which changes the image. A RAW image has not gone through the above steps in the process of conversion to a Jpeg image. RAW's just contain one red, one green and one blue value for each pixel in the image. Once that image has been developed to a Jpeg the firmware/processor must make several choices in combining the colour/pixel data. Think of all the data for each pixel is thrown in a blender to create the final Jpeg. Demosaicing takes a large amount of processor power to do.
So when you ask the camera to record a digital image, it of course electronically stores the image on the buffer as a RAW. Then you've set the camera to Jpeg only. So the camera takes that RAW image and converts it using a demosaicing algorithm. To speed up the buffer clearing in the camera, the firmware is designed to make some compromises to reduce processor drain and power needs. We all want 10 Fps and we want it fast. Consider that the camera converts the jpeg and writes to the card faster than Silkypix can do it on an up to date computer with a bigger processor and more memory. How? Compromises. Your PC can't convert at 3Fps. So what you get from a RAW image that was processed in good software on a computer is more resolution, less noise, better small-scale color accuracy and reduced moiré.
Have a look at a RAW image with tight parallel lines that converge to one point* and the same image shot in camera as a Jpeg. You'll see the lines will start to blend together and get that digital "jagged edge" look much more in the Jpeg. it just can not resolve the image as well because every pixel is blended image data.
* A way to do this is a grey asphalt roof. The lower edges of the roof are black tipped and the surface is grey. Shoot from one side and then look at the pictures on the computer. The RAW shows far less digital artifacts as you look down the image toward where the lines come together. You can often see moiré colour patterns in the Jpeg as well.
So consider that you have a Raw file and have a white balance issue. You open it in your software (SilkyPix, Elements, Lightroom etc) and you correct the WB because there is a green shift. The WB correction is done to the green spectrum of the data in that RAW image and now your shot looks great. In a RAW, each pixel is a seperate colour. In a Jpeg each pixel is all colours. To make the correction as accurately it is much tougher and less accurate. This also is true for tonal changes (curves tool) Saturation and other colour based effects as well as eV compensation where you want to brighten or darken the image in the computer.
The same image here is a demonstration of what you could do. This is not using a selective colour masking. Just simply taking the blue channel and increasing or decreasing the saturation in the blue channel only. It's a demonstration of what happens when you try shadow recovery in an image or any other colour or eV adjustment.
In the RAW image adjustment, the image result is fine. If you did this to a Jpeg, you would see tons of dithering in the final image. The image could never be printed large from a Jpeg.
Lets say the sky has some blue colour but is a bit washed out. (for this demonstration the original image was basically good. I enhanced or subtracted from the shots to show what could be done.
The shot below was taken in RAW + so I have both the RAW file and original Jpeg file to work with. Camera settings to default for Jpegs.
So here's the original untouched RAW image converted in Lightroom:
Here's the next adjustment with the blue channel pushed to almost 100% saturation:
Here's the original image with the blue slider pushed to desaturate the blue almost 100%
So if you look at the greens and yellows, they are all the same in each shot. But the blue has changed drastically. The blue sections do not have any artifacts created because those sections were all recorded as blue colour spectrum in the RAW negative. If they were recorded as a Jpeg, there would be marginal reds and greens mixed into the blue. When you push the colours this far, you get little blotchy areas called dithering. It looks awful when printed even if it's passable on a monitor. The yellows may look different in each shot here but our eyes/brain make colour choices based on the entire image and you are looking at small web sized versions. On my computer and quickly switching between images, you can tell the green and yellow is unchanged.
Now to show the difference between a Jpeg and RAW once there have been edits done, I've cropped a part from the RAW and the Jpeg images to show what happens to each. You will also note the drastic differences in the resolution of the flower petals. There was no other processing done and no sharpening added.
Here's the Jpeg version.
Here's the Raw version:
So the RAW file renders the colours separately and thus produces a better resolution and less colour bleeding around the edges of contrast areas.
So which is better? Hard to say. If you are careful with your exposures and framing the subject, plan to do very little adjusting in software or cropping, A Jpeg may be the best way to go. It uses far less computer and camera resources. If not manipulated much the image quality is very good in today's SLR's.
If you want big enlargements, want to crop more than 5-10%, want to be selective with sharpening, do shadow and colour adjusting, then a RAW is the better format.