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.

By on 2005-05-05

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:

Camera Bag

Clear

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

Your camera bag is empty.

Add cameras or lenses by clicking on the star next to their name.

Updates

    2020.02.08

  • 2020.02.08

    Mirrorless Digital Camera Buying Guide 2020

    Mirrorless Digital Camera Buying Guide 2020

    The Mirrorless Digital Camera Buying Guide was fully rewritten for 2020, including all new systems from Nikon, Canon and Leica joined by Panasonic and Sigma. This new extensive 2020 Edition shows in 5 simple steps how to choose a mirrorless camera.

  • 2020.01.01

  • 2020.01.01

    Panasonic Lumix DC-GX9 Review

    Panasonic Lumix DC-GX9 Review

    This highly capable and compact mirrorless ranked as Best Beginner Mirrorless Digital Camera of 2019. Its 20 MP Four-Thirds CMOS sensor with Anti-Alias Filter is pared with 5-axis stabilization to maximize sharpness. Features a tilting 2.8 MP 0.39" EVF with large 0.7X view and Eye-Start sensor in a body with dual control-dials.

  • 2019.12.10

  • 2019.12.10

    Best Digital Cameras of 2019

    Best Digital Cameras of 2019

    The Best Cameras of 2019 awarded by Neocamera: Best Travel-Zoom, Best Premium Compact, Best Ultra-Zoom, Best Mirrorless and Best DSLR.

  • 2019.11.26

  • 2019.11.26

    10 Gifts Photographers Will Love

    10 Gifts Photographers Will Love

    The 2019 gift guide for photographers showcases photography gear that amateur and enthusiasts will enjoy. It is divided into 3 price categories to suit different budgets from $50 to $200 USD.

  • 2019.11.25

  • 2019.11.25

    Sony Alpha A7R IV In-Depth Review

    Sony Alpha A7R IV In-Depth Review

    The newest Sony high-resolution mirrorless packs a 61 MP Full-Frame BSI-CMOS sensor on 5-axis Sensor-Shift system. It shoots at 10 FPS, records 4K Ultra-HD video and focuses with a new 567-Point and 425-Area Hybrid AF system with Realtime tracking. This professional-grade camera features a 5.8 MP 0.5" EVF with 0.78X magnification, 100% coverage and an Eye-Start Sensor plus triple control-dials in a weatherproof body. This review shows exactly how the A7R IV performs and compares to top Full-Frame and Medium-Format digital cameras.

  • 2019.11.04

  • 2019.11.04

    Olympus OM-D E-M1X Review

    Olympus OM-D E-M1X Review

    Professional Micro Four-Thirds mirrorless sporting an ultra-high speed 20 MP sensor with 121-Point Phase-Detect AF on a 5-axis image-stabilization system effective to 7-stops. 60 FPS drive with blackout free view on a huge 0.83X magnification 2.4 MP 0.5" EVF. Even a builtin GPS in a dual-grip double dual-control-dial IPX1-rated weatherproof and freezeproof body.

  • 2019.10.17

  • 2019.10.17

    Nikon D3500 Review

    Nikon D3500 Review

    The lightest DSLR packs a 24 MP APS-C sensor with ISO 100-25600 sensitivity-range, 5 FPS drive and Full HD video capture. Basic features with simple ergonomics.

  • 2019.10.16

  • 2019.10.16

    Time-Lapse Photography for Beginners

    Time-Lapse Photography for Beginners

    Learn how to get started with time-lapse photography in 4 easy steps.

  • 2019.10.07

  • 2019.10.07

    Fujifilm X-T30 Review

    Fujifilm X-T30 Review

    The newest 26 MP 4th-Generation X-Trans CMOS sensor and X-Process 4 from the flagship X-T3 in more compact body. ISO 80-51200, 1/32000-30s, 20 FPS Continuous drive, Cinema 4K video. Dual control-dials and 2.4 MP EVF with Eye-Start Sensor.

  • 2019.09.30

  • 2019.09.30

    Nikon Z6 Review

    Nikon Z6 Review

    Nikon Full-Frame Mirrorless with 24 MP and 5-Axis Built-In Image-Stabilization effective to 5-Stops. ISO 100-202400. 12 FPS Continuous Drive. 3.7 MP 0.5" EVF with 0.8X Magnification and 100% Coverage. 4K Ultra-HD video.