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.12.09

  • 2014.12.09

    Fujinon XF50-140mm F/2.8R LM OIS WR Review

    Fujinon XF50-140mm F/2.8R LM OIS WR Review

    Fujinon XF50-140mm F/2.8R LM OIS WR Review added to the Fuji X-T1 Photographer Experience. This is the top-of-the-line X-mount lens with constant maximum aperture in a weathersealed and freezeproof body with built-in optical image-stabilization.

  • 2014.12.06

  • 2014.12.06

    Fuji X-T1 Graphite Hands-On

    Fuji X-T1 Graphite Hands-On

    The Graphite Edition of the excellent Fuji X-T1 adds an ultra-fast electronic-shutter with 1/32000s maximum speed and a number of improvements in a new smooth and highly durable finish.

  • 2014.12.02

  • 2014.12.02

    Nikon D750 Review

    Nikon D750 Review

    The first video-optimized full-frame DSLR features a 24 MP CMOS sensor with ISO 50 - 51200 range, 6.5 FPS and full 1080p HD video at 60 FPS, with stereo sound and AF-tracking. A 100% coverage viewfinder and large 3.2" tilting LCD with 1.2MP allow precise framing.

  • 2014.11.28

  • 2014.11.28

    Best Digital Cameras of 2014

    Best Digital Cameras of 2014

    The best digital cameras of 2014, selected among each class and for various types of photography.

  • 2014.11.11

  • 2014.11.11

    Nikon 1 J4 Review

    Nikon 1 J4 Review

    The smallest Nikon mirrorless packs an 18 MP high-speed CMOS sensor capable of 60 FPS drive and full 1080p HD video at 60 FPS, plus slow-motion video up to 1200 FPS.

  • 2014.10.27

  • 2014.10.27

    Panasonic Lumix DMC-GM1 Review

    Panasonic Lumix DMC-GM1 Review

    Uniquely compact mirrorless that features a 16 MP LiveMOS Four-Thirds sensor with ISO 125-25600 range, 1/16000s-60s, 5 FPS drive and full 1080p HD video. Full manual controls and a very complete feature-set.

  • 2014.10.10

  • 2014.10.10

    Fuji X30 Review

    Fuji X30 Review

    Premium compact with a bright 28-112mm F/2-2.8 mechanical-zoom lens and a 12 MP 2/3" X-Trans CMOS II sensor with built-in Phase-Detect AF. Now offers a large 0.65X magnification 2.8 MP 100% coverage EVF with Eye-Start sensor. Dual control-dials and full 1080p HD @ 60 FPS.

  • 2014.09.22

  • 2014.09.22

    Expert Shield Screen Protector Review

    Expert Shield Screen Protector Review

    Expert Shield Screen Protectors offer scratch protection with a crystal clear covering that uses no adhesive.

  • 2014.09.02

  • 2014.09.02

    Canon EOS Rebel T5 Review

    Canon EOS Rebel T5 Review

    Entry-level DSLR with 18 MP, 9-Point Phase-Detect AF, 3 FPS drive and full 1080p HD video in a compact body. The lowest-cost Canon DSLR yet.

  • 2014.08.08

  • 2014.08.08

    Nikon D810 Review

    Nikon D810 Review

    Professional DSLR with anti-alias-filter-free 36 MP CMOS sensor. Ultra-low ISO 32 to 51200. 5 FPS and 1080p @ 60 FPS. Large 0.7X magnification 100% coverage OVF. All new processing-pipeline and Highlight-Weighed metering.