Computing Center

  1. Home
  2. Electronics & Gadgets
  3. Computing Center

File Formats and Image Compression

There are a handful of options; choosing a winner can be tricky.

Dave Johnson

I want your feedback! Send your comments, questions, and suggestions about Digital Focus to comments@bydavejohnson.com. If you have a question that you'd like to see answered in the weekly Q&A, send it to question@bydavejohnson.com. And be sure to sign up to have the Digital Focus Newsletter e-mailed to you each week.

Feature: Mastering File Formats and Image Compression

When it comes to computer technology, there's no such thing as the good old days. In years past, just about everything was more difficult. Take file formats for digital pictures, for instance. There's a smorgasbord of picture file formats available today; but in 1993, you needed special software just to convert pictures from one format to another. Most image editors opened only a few kinds of pictures, and there was no standard format at all.

Of course, that doesn't mean everything is hunky dory today. We've still got a handful of different formats to choose from, and it's not always obvious which one is best. This week, let's talk about the various kinds of file formats and when you might want to use them.

The Problem With JPEG

No doubt you're familiar with the JPEG format, which virtually all digital cameras use by default. And almost any computer in the world can display a JPEG, making it an ideal way to keep and share pictures. The main reason for JPEG's popularity is that the format does a superb job of saving hard drive space. A high-resolution picture with 25MB of color and pixel information in it can be shrunk down to just a megabyte or so in JPEG format; you can store a staggering number of the files on your computer without running out of space.

But JPEG images aren't perfect. The shrinking process degrades your picture by throwing away color details--details that can never be recovered no matter what you do. Bottom line: A JPEG is an approximation of your original image, sort of like a high-tech photocopy. And if you make changes to a JPEG--such as removing red-eye or cropping it--and save the file again, you're just made a copy of a copy, further eroding the image quality. That's why some professional photographers avoid JPEG and work in other formats.

While we're on the subject, you might want to read "Everything You Didn't Know About JPEG."

The TIFF Alternative

While the JPEG format is all about packing high-quality images into as little space as possible, TIFF files are unapologetically huge. That's because no data is ever discarded when working with or saving the files. Not surprisingly, some photographers set their cameras to record TIFFs instead of JPEGs, and then keep images in TIFF format on the PC as well.

Is there a downside? You bet. Pictures from a 6-megapixel camera clock in around 18MB each. That means your camera saves images more slowly; it can't hold as many in memory; and it will fill up your PC's hard drive more quickly.

Then There's RAW

Some cameras also provide the option of using a format called RAW. Actually, there is no RAW standard: Every manufacturer uses its own version of the format. But no matter whether you have a Canon Digital Rebel, Nikon D100, or Olympus e1, the idea behind RAW is the same. RAW files are completely unprocessed, pure data as saved from the image sensor. No color adjustments, white balance, sharpening, and other stuff has been applied. You get the purest possible picture, ready for adjustment on the computer.

TIFFs and JPEGs and RAWs, Oh My!

So what file format should you use? I advise against RAW unless you're a photographer for "National Geographic" magazine. Few among us have the time or inclination to manually correct all of our digital images when the camera would typically do a perfectly acceptable job for you if you'd picked TIFF or JPEG.

As for choosing between TIFF and JPEG, this decision is a little harder--but I'll still side with JPEG most of the time. Yes, JPEG images are imperfect. But most digital cameras and image editors let you choose the JPEG compression level. If you choose low compression, the image quality is high. And with rare exception, a very high quality JPEG is almost indistinguishable from an unmolested TIFF. I set my camera to the highest quality/lowest compression setting and leave it there without exception. On the PC, I always save my images at the highest quality level. In Jasc Paint Shop Pro, that's a quality level of 1. Make sure to double-check your photo editor to make sure you're using the highest level. In Adobe Photoshop Elements, for example, the scale works differently: The best quality is actually 12.

How do you find the image quality settings? Easy. In Paint Shop Pro, when you choose File, Save As from the menu, click the Options button at the bottom of the Save As dialog box. Drag the Compression Factor slider to the highest quality and then save your picture. (Another option, Lossless, isn't very useful because of the very large files it creates.) You only need to do that once; it'll remember your choice. In Photoshop Elements, when you choose Save As to rename a file, you'll see the JPEG Options dialog box after you click the Save button.

Dave's Favorites: Learn Digital Photography at Web Photo School

Are you itching to learn more about digital photography? You're not alone. Every year, thousands of people take lessons from local camera stores; travel to special seminars like the ones offered by Nikon; and read exciting, well-crafted resources like this very column. Here's another place to grow your skills: the Web Photo School.

The Web Photo School site is packed with more than 15 free and 200 paid lessons you can take online at your pace. The site features a free tour that you can use to decide if you're best in the beginner, intermediate, or advanced classes. The courses are divided into nine categories that cover topics as diverse as camera basics, lighting, portraiture, shooting still life, shooting auction photos, outdoor photography, and image editing with Adobe Photoshop.

I like the fact that the lessons are not costly; simple lessons are as cheap as 99 cents, in fact, and range up to several dollars each. You can also subscribe to unlimited lessons for $8 per month or $60 per year.

Web Photo School is a cool addition to your browser's photo bookmarks; go check out one of the free lessons and see for yourself.

Q&A: Recommendations for Inexpensive Slide Scanning

Can you suggest any tricks for converting slides to digital format without buying an expensive slide scanner? Can I project them onto a screen and photograph them? I have several thousand slides of my family and of trips all over the world that I would like to convert.

--Richard Aronson, Kalamazoo, Michigan

You don't have to spend a lot of money, Richard, but I do suggest that you buy a scanner. You can get a flatbed scanner with a transparency adapter for just $100; Canon's CanoScan 4200F, for instance, includes a transparency adapter and costs between $75 and $100.

Read "Put Your Film Into Your PC" for more about scanners with slide and film adapters.

Photographing slides projected onto a wall or screen is fraught with difficulties. It's hard to get uniform sharpness and proper exposure, for starters, and the resolution will be lacking. Trust me: It's well worth investing in a scanner to preserve family memories.

Hot Pic of the Week

Get published, get famous! Each week, we select our favorite reader-submitted photo based on creativity, originality, and technique. Every month, the best of the weekly winners gets a prize valued at between $15 and $50.

Here's how to enter: Send us your photograph in JPEG format, at a resolution no higher than 640 by 480 pixels. Entries at higher resolutions will be immediately disqualified. If necessary, use an image editing program to reduce the file size of your image before e-mailing it to us. Include the title of your photo along with a short description and how you photographed it. Don't forget to send your name, e-mail address, and postal address. Before entering, please read the full description of the contest rules and regulations.

This Week's Hot Pic: "Catch of the Day," by Robert Gott, Hampden, Maine

About this week's Hot Pic, Robert says: "I took this photo of the pair of osprey on Schoodic Point, here in Maine. I used a Canon EOS Digital Rebel using its sports setting. I made a few changes to improve the shadow details using PhotoShop CS."

Explore Computing Center

About.com Special Features

Essential Laptop Accessories

If you're traveling with your laptop, these 12 items are indispensible. More >

How to Buy a BlackBerry

Sleek and trim or loaded with extras? Select the right smartphone for your lifestyle. More >

Computing Center

  1. Home
  2. Electronics & Gadgets
  3. Computing Center
  4. PCW
  5. Products
  6. Consumer Advice
  7. Tips & Troubleshooting
  8. Hardware Tips
  9. Product Types
  10. Digital Cameras
  11. File Formats and Image Compression

©2009 About.com, a part of The New York Times Company.

All rights reserved.