File Types and Image Compression in Digital Photography

How is it possible to store so many images on such a tiny memory card? If you’ve had a computer or a digital camera for more than a couple of days, you’ll have come across JPEG images, usually denoted by the file extension ‘.jpg’, and you may be wondering exactly what it means.

The letters themselves stand for the Joint Photographic Expert Group, a body of scientists, programmers and engineers from the imaging industry who got together several years ago to come up with a new standard for file storage that would allow images from different computer programs to be interchangeable, so that a picture from one computer could be viewed on another without having to use file conversion programs.

The JPEG standard also happens to be an ideal format for storing pictures on a digital camera, because it uses something called file compression. This is a technique that allows a large number of images to be stored in a relatively small amount of memory by squashing the files so they take up less room. For this reason JPEG has become the standard image file format for all digital cameras.

macro photography 1

A full technical explanation of file compression would fill a decent-sized textbook. It uses complex mathematical techniques that you simply don’t need to know unless you’re a software engineer working on a new digital camera. As consumers, all we need to know is that it reduces the size of the picture file by reducing the amount of information stored in it. JPEG compression reduces file size by reducing picture quality, and for this reason it is called ‘lossy’ storage.

For most purposes this quality reduction is imperceptible and fine for day-to-day use, but for maximum image quality there are other types of image file which are uncompressed and lose no quality, the most common one being TIFF, which stands for ‘Tagged Image File Format’.

Basically, the way JPEG compression works is like this. An average digital photograph contains varying levels of detail. For example, take an average holiday snap of a family on a beach. While the main subject, the people in the foreground, contains a lot of detail, there will also be large areas such as the sky, the sand and the sea, which contain relatively little detail.

In order to reduce the size of the file, some data from the lower detail areas can safely be lost without affecting the quality of the picture too much. The way this is done is usually by reducing the number of tonal variations between areas of similar colour, so you may notice artefacts that look like squares or stripes in highly compressed images.

supercharge your landscape photography

Whatever make or model of digital camera you have, it will almost certainly have an option in the menu that allows you to select image quality. What this option is doing is setting the level of file compression. If you select the lowest quality, you will probably find that you can fit about four times as many images onto your memory card as you can at the highest setting, because the higher JPEG compression setting makes the files one quarter as big, but reduces the quality of the picture to compensate.

Most people will use the highest setting most of the time, but unless you intend to print all your pictures at the largest size possible, you really can get away with using a lower quality setting and still have pictures to be proud of, plus you’ll be able to take twice as many.

Find more guides like this in…

Mark Frost

Mark started work as a commercial artist during the good old days of Letraset, spray mount and having to process your photos at a local chemist. Having discovered his passion for photography, Photoshop and the wonders of digital image manipulation, he has not looked back. He is well on his way to owning more cameras than he’s had hot dinners.

Related Articles

Back to top button