Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP Phone orders 1-877-801-7183
HP.com home
HP Digital Photography  >  Edit and restore photos

Guide to digital camera photo file formats

Depending on what you like to do with your digital photos, the right format and file compression can make a big difference.
» 

Home & Home Office

» Digital Photography
» Buying guides
» See this month's focus
» Take better photos
» Print better photos
» Edit & restore photos
» Organize & archive photos
» Share photos & get creative
» Photo scanning tips
» Everyday Printing
» PC Learning Center
» Digital Entertainment
» Activity Center
» Free online classes

Browse & Buy

» Home & Home Office Store
» Find a Retailer
» Rebate Center

Product Support

» Support & troubleshooting
» Software & drivers
» HP Total Care
» Register your product
Content starts here
» What is a file format?
» What is compression and how does it work?
» Which cameras offer which types of compression?
» Why is image quality important for file size?
» What is the downside to editing JPEGs?
» What other file formats are there?



What is a file format?


If you look at the file name of any of your digital photos, you'll notice something like ".jpg" at the end. That indicates the format in which your file has been saved. Although there have been several file formats throughout the history of digital photography, only a few have become the standard. The difference between them has to do with compression.

» Back to top

What is compression and how does it work?


Compression is how your computer or camera reduces the size of a file. The process of compressing a photo involves removing information that you're not likely to notice with the naked eye. Subtle gradations between colors, or fine details in the dark areas of your photo may be lost due to compression. You're unlikely to notice these changes without strong magnification.

» Back to top

Which cameras offer which types of compression?



Most consumer point-and-shoot cameras only have one format option and that is JPEG or (denoted with the .jpg file extension). JPEG has become the standard for most smaller cameras because it has the highest compression. In other words, it squeezes the information from your photo into a smaller file size than other formats.

Professional DSLR cameras offer a couple more compression formats, but only for the purposes of very specialized editing.

» Back to top

Why is image quality important for file size?



Different resolutions produce different results. The highest quality setting is often ideal for printing and archiving.
Within the JPEG format, you often have even more options for controlling the quality of your photo. Consult your camera's manual to learn how to set JPEG quality. The lowest quality setting (or the most compressed) is best for e-mail and sharing over the Internet. The highest (the least compressed) is ideal for printing and archiving.

» Back to top

What is the downside to editing JPEGs?



The first image shows the original JPEG. The second image is the same file after being saved 100 times. The file is noticeably degraded.
One drawback to saving photos as JPEGs is that the images will degrade each time you save them. This is known as a "lossy" type of compression. That's why it's important to save a high-quality original and then edit copies of that file.

You can also save your JPEG as a different file type using photo editing software. The TIFF photo file format is "lossless," meaning that no matter how many times you save the image, it will not degrade. If this format is an option within the software you're using, it's ideal for archiving high-quality copies of your photos.

Learn more about organizing and archiving your digital photos.

» Back to top

What other file formats are there?



Most DSLR cameras offer photo file formats in addition to JPEG.
Higher end DSLR and other professional-grade cameras often offer TIFF and RAW (uncompressed) file formats along with JPEG. Each has its strengths and weaknesses depending on how photos are handled.

  • RAW
    This file format is best for archiving because no compression has been applied. It is the purest format available. Every bit of information collected from a camera's sensor has been preserved.

    The drawback to saving images in RAW format is that the file size can be monstrously large, easily upwards of 30MB to 40MB per photo with today's high megapixel cameras! Professional photographers are often the only ones with enough space to dedicate to such oversized files.

    What's more, once a RAW image has been manipulated, a copy has to be saved in another form, such as a TIFF or JPEG.

  • TIFF
    This file format is ideal for editing because it still retains a large amount of image information (almost as much as RAW). TIFF is especially good for retaining color information. TIFF gives you a lot to work with, while being much smaller than a RAW file.

    That isn't to say TIFF files are small. Depending on the resolution of your camera, you could easily end up with TIFF files in the 4MB to 10MB range.

» Back to top
» See all articles and glossaries



Free online classes


Take a free online class in digital photography! Explore the many features of your digital camera, find tips for cropping and editing your images, and discover new ideas for sharing your photos in creative ways.

Award-winning support


A lady at a help desk » Get easy access to support 24/7 – toll free phone or email responses in about an hour.

Related links


»  FREE creative photo projects
»  Digital Photography buying guides

Printable version
Privacy statement Using this site means you accept its terms Feedback to Home & Home Office
© 2008 Hewlett-Packard Development Company, L.P.