My first blog for Concept and Creative Photography. Rey Mendoza Jr. again is our professor in the second photography class. He is a great guy, really is. I expect in his class to be more adventurous than the previous class. Since this class will be more professional than the last class, I also expect to teach more advancing, expert-look, and professional photography, and also everything about photography. Alright! Let's move to the first topic: RAW vs JPEG.
When you shoot photos from DSLRs, do you wonder their formats? JPEG and RAW? Right? Alright! I'm going to explain those two and going to make difference for those two to which one is better to use.
I will explain RAW... RAW stands as "(stands as)" is also a common image file type but it is mostly used by multimedia professionals and professional photographers.
- RAW isn't a regular image file (it will require special software the view, though this software is easy to get).
- It is typically a proprietary format (with the exception of Adobe's DNG forma that isn't widely used yet).
- It have at least 8 bits per color (red, green, and blue (12-bits per X,Y location), though most DSLRs record 12-bit color (36-bits per location)).
- Uncompressed (an 8 megapixel camera will produce a 8MB RAW file).
- The complete (loseless) data from the camera's sensor.
- Higher in dynamic range (ability to display highlights and shadows).
- Lower in contrast (flatter, washed out looking).
- Not as sharp.
- Not suitable for printing directly from the camera or without post processing.
- Read only (all changes are saved in XMP file or to a JPEG or other image formar).
- Sometimes admissable in a court as evidence (as opposed to a changeable image format).
- Waiting to be processed by your computer.
I will explain JPEG... JPEG is a common image file type that mostly used by people in photographs. JPEG files can be directly printable.
- A standard format readable by any image program on the market or available open source.
- Exactly 8-bits per color (12-bits per location).
- Compressed (by looking for redundancy in the data like a ZIP file or stripping out what human can’t perceive like a MP3).
- Fairly small in file size (an 8 megapixel camera will produce JPEG between 1 and 3 MB’s in size).
- Lower in dynamic range.
- Higher in contrast.
- Sharper.
- Immediately suitable for printing, sharing, or posting on the Web.
- Not in need of correction most of the time (75% in my experience).
- Able to be manipulated, though not without losing data each time an edit is made – even if it’s just to rotate the image (the opposite of lossless).
- Processed by your camera.
These differences lead implicitly to situations that require choosing one over the other. For instance, if you do not have much capacity to store images in camera (because you spent all your money on the camera body) then shooting in JPEG will allow to capture 2 or 3 times the number you could shooting in Raw. This is also a good idea if you are at a party or some other event afterwhich you want to share your photos quickly and easily.
On the other hand, if capacity is not an issue at all (1 GB and 2 GB flash cards are getting cheaper every week) you might consider shooting in RAW + JPEG, just to cover all the possibilities. If you cannot or do not want to do any post processing, then you simply have to shoot in JPEG. Taking a picture in RAW is only the first step in producing a quality image ready for printing. If, on the other hand, quality is of the utmost importance (like when you are shooting professionally), and you want to get every bit of performance your DSLR can offer then you should be shooting in RAW.
SHOOTING IN RAW
If you do shoot in Raw, your computer rather than the camera will process the data and generate an image file form it. Guess which has more processing power: your digital camera or your computer? Shooting in Raw will give you much more control over how your image looks and even be able to correct several sins you may have committed when you took the photograph, such as the exposure.
To take advantage of this you will certainly need to use some software on your computer to process the files and produce JPEGs (or TIFFs). I have found the Camera Raw that comes with Adobe Photoshop CS2 to be very good at processing Raw files (even batch processing them), though everybody has their favorite (RawShooter has a lot of fans). When you load a Raw file using Adobe Photoshop CS2 the Camera Raw dialog will automatically pop up. Most of the time the automatic settings are fairly decent, but you have the chance to change the white balance, exposure, contrast, saturation, and even calibration of the red, green, and blue guns or correct for lens abberation – all lossless.
If the white balance is off I have found that it is much easier to fix using the Camera Raw screen than loading the JPEG and manipulating that – the end result is much better as well. The richness, detail (sharpness), color range and ability to adjust these settings end up being so much greater with a Raw file, even though what a Raw file looks like before processing is anything but rich and sharp. As a side note, all of my work that uses creative coloring was colored using the white balance settings in the Camera Raw dialog.
Part of the conversion to JPEG are sharpening algorithms and as a result, the unprocessed Raw file is less sharp. Two things can affect this, one is the brand of camera (Nikon cameras are generally considered sharper, but this is not true across all models) and the other factor is the user settings for sharpening in the camera. Loading a Raw file in a program such as Adobe Photoshop CS2 will automatically apply white balance, sharpening, constrast, brightness, etc… and can even batch process Raw files. I often use this feature as a first pass and then go back and adjust the settings if needed. This is espeacially helpful because even if I did everything correct in camera when I took the photo and my conversion software was able to use the full processing power of my desktop computer, the conversion to JPEG could still trick the camera or my computer and only my eye can produce the correct while balance, constast, brightness, etc…
SHOOTING IN JPEG
When you shoot in JPEG the camera’s internal software (often called “firmware” since it’s part of the hardware inside your camera) will take the information off the sensor and quickly process it before saving it. Some color is lost as is some of the resolution (and on some cameras there is slightly more noise in a JPEG than its Raw version).
The major actor in this case is the Discrete Cosine Transforamtion (or DCT) which divides the image into blocks (usually 8×8 pixels) and determines what can be “safely” thrown away because it is less perceivable (the higher the compression ration/lower quality JPEG, the more is thrown away during this step). And when the image is put back together a row of 24 pixels that had 24 different tones might now only have 4 or 5. That information is forever lost without the raw data from the sensor recorded in a Raw file.
The quality of a JPEG taken with a DSLR will still be far better than the same shot taken with a top-of-the-line point-n-shoot camera that is as old as your DSLR. If your camera can burst (shoot continuously for a few seconds) you’ll actually be able to shoot more shots using JPEG than Raw because the slowest part of the whole process is actually saving the file to your memory card – so the larger Raws take longer to save.