logo
RSS Twitter YouTube

Image Size vs Quality

Most, if not all, digital cameras allow control over image sizeIn terms of megapixels and image qualityIn terms of compression. On some cameras, users chose image size and image quality independentlyExcept for lossless formats such as RAW and TIFF , while on others, a single option controls preset combinations of both. When both parameters can be controlled separately, people often wonder which combinations are more advantageous.

Obviously, the largest non-interpolated image size with the highest qualitylowest level of compression provides the best overall quality. To save space, one can either reduce image size, reduce image quality or both. Equally obvious is the fact that reducing both provides the least overall quality. The overall quality of reducing one parameter actually depends on the reduction step. When a 5 megapixel image is turned into a 4 megapixel one, there is a reduction of 20%. When it is turned into a 3 megapixel image, the reduction is 40%. While the reduction in size is quite clear when talking about image size, it is not as clear when talking about compression. Most cameras label the compression levels with subjective terms. The best indication of compression level should be found in the camera's manual or using a software such as JPEGQ.

What is important to know is the compression quality ratio for each image quality setting. What is frequently given instead is the compression storage ratio. There is a difference between the compression quality ratio and compression storage ratio. The former indicates relatively how much information is being discarded, the latter indicates how much storage is being saved. There is a difference between these two because most images have a certain amount of redundancy which can be eliminated without reducing quality. Therefore compressing image quality is worse than compressing storage by the same ratio.

Back to image size reduction. When reducing image size, the camera must apply a process called downsampling. Downsampling is the process of removing information from an image to produce an image with less pixels. Since information is lost during downsampling, it can be considered a form of compression. This form of compression is particularly bad because it is spatially uniform. This means that downsampling removes information across an entire image by the same amount.

For quality reduction the situation is usually different. Even if an image's quality is reduced by a certain factor, most lossy image compression technologies use perceptually based reduction. Perceptually based compression is better than downsampling because it strives to remove information less noticeable by the human visual system. A typical example of this is to compress color but not luminance because the human eye is more sensitive to contrast than hue.

Quality

The important point to underline here is that perceptually based compression is designed to be less visible than the same amount of non-perceptually based compression. Therefore, it is better to compress image quality than image size by the same amount.

Now for the simple math. Suppose a 5 megapixel camera can reduce its images to 3 megapixels. Suppose it also has two quality levels extra fine, which compresses quality by 9:1, and fine, which compresses quality by 12:1. Therefore, a fine 5 megapixel would be compressed 12:1. On the other hand, an extra-fine 3 megapixel image would be compressed in size by 5:3 and in quality by 9:1. The total compression of the extra-fine 3 megapixel image would therefore be 5:3 multiplied by 9:1 which is equal to 45:3 which is the same as 15:1. In this case, it is clear that the full-size image would have better overall quality. Unfortunately, the relative quality of image size and image compression combinations is not always clear when compression ratios are given relative to storage size. The reason for this is that a reduction in image size is usually the result of combining lossless compression and lossy perceptually-based compression. Therefore, the reduction in quality will be less than the corresponding reduction in size.

In conclusion, image quality compression is usually better than the same reduction percentage in image size. The important point to remember is that reduction in size, is a form of compression that is not optimized for our visual system and does not take advantage of redundancy within an image. When comparing overall image quality, the ideal is to calculate the total compression ratio. This measure will be more accurate than simply comparing image storage size or compression levels but, when all other things are equal, quality compression is better than downsampling.

Camera Bag

Clear

Your camera bag is empty. To add a camera or lens click on the star next to its name.

Neocamera Blog is a medium for expressing ideas related to digital cameras and photography. Read about digital cameras in the context of technology, media, art and the world. Latest posts links:

Updates

    2014.04.04

  • 2014.04.04

    Panasonic Lumix DMC-LF1 Review

    Panasonic Lumix DMC-LF1 Review

    World-smallest camera with built-in EVF. Full and direct photographic controls including dual control-dial in a compact body. Packs a 12 MP high-speed CMOS sensor capable of 10 FPS drive and a bright F/2 wide-angle 7X stabilized optical zoom lens.

  • 2014.03.23

  • 2014.03.23

    Fuji X-T1 Review

    Fuji X-T1 Review

    Weather-sealed and freezeproof mirrorless with 16 MP APS-C Trans CMOS II sensor and EXR II processor. 2.4 MP EVF with 100% coverage and huge 0.77X magnification. Dual control-dials plus a high number of direct controls. 8 FPS drive and full 1080p HD video.

  • 2014.03.01

  • 2014.03.01

    Nikon Df Review

    Nikon Df Review

    The first retro-style DSLR, featuring a 16 MP full-frame (FX) sensor with incredible ISO 50 to 204,800 range, 5.6 FPS continuous drive with 39-point AF system, a 100% coverage OVF, a high number of mechanical dials plus dual control-dials in a weather-sealed body.

  • 2014.02.22

  • 2014.02.22

    Fuji X-M1 Review

    Fuji X-M1 Review

    Entry-level mirrorless with a 16 megapixels APS-C X-Trans CMOS sensor in a compact body with dual control-dials. 5.6 FPS drive and full 1080p HD video capture at 30 FPS.

  • 2014.02.10

  • 2014.02.10

    Mastering Photoshop Layers Book Review

    Mastering Photoshop Layers Book Review

    Book review of Mastering Photoshop Layers by Juergen Gulbins.

  • 2014.01.21

  • 2014.01.21

    Fuji XQ1 Review

    Fuji XQ1 Review

    Premium compact featuring a unique 12 MP 2/3" X-Trans CMOS II with built-in 49-point Phase-Detect AF. Full-resolution 12 FPS drive and 1080p HD video at 60 FPS. Ultra-wide and ultra-bright F/1.8 optical zoom with image-stabilization.

  • 2013.12.13

  • 2013.12.13

    Fuji X-E2 Review

    Fuji X-E2 Review

    Flagship Fuji mirrorless with 16 MP X-Trans CMOS II sensor featuring built-in Phase-Detect AF in a compact retro body. 7 FPS and full 1080p HD at 60 FPS.

  • 2013.12.12

  • 2013.12.12

    50 Gifts Under $50 For Photographers

    50 Gifts Under $50 For Photographers

    50 Gifts photographers will love. All for under $50 USD. Now Updated for 2013!

  • 2013.12.05

  • 2013.12.05

    Nikon D610 Review

    Nikon D610 Review

    24 MP full-frame DSLR with 100% coverage OVF, dual-controls in a weather-sealed body. Upgraded from the D600 with 6 FPS continuous drive and 3 FPS quiet drive plus a new improved AWB system.

  • 2013.11.27

  • 2013.11.27

    Ricoh Pentax K-3 Review

    Ricoh Pentax K-3 Review

    The first Ricoh DSLR inherits the K-5 DNA, bringing megapixels to 24 and a unique Anti-Alias Filter Effect along with 8.3 FPS drive and 4K Time-Lapse video. APS-C sensor with ISO 100-5200, 1/8000s, large 100% coverage OVF, dual SDXC slots, all in a solid weather-sealed and freezeproof body.