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.
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.
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:
Fuji X-Pro2 Review
Fuji flagship XF-mount mirrorless with 24 MP APS-C X-Trans CMOS III sensor. 273-Point AF with 169 Phase-Detect points. 8 FPS Drive, 1080p video. Dual control-dials, direct dials and a hybrid viewfinder in a weather-sealed freezeproof body.
Panasonic Lumix DMC-ZS100 Review
The only premium travel-zoom! 20 megapixels 1" high-speed CMOS sensor paired with a stabilized 25-250mm F/2.8-5.9 optical zoom. 50 FPS Drive, 4K Ultra-HD video, 1/16000-60s Hybrid Shutter, Post-Shot Focus, 4K Live-Cropping, Time-Lapse Video and more. Dual control-dials plus a built-in EVF with Eye-Start sensor.
Canon EOS Rebel T6s Review
Newly designed Rebel with dual control-dials and top status LCD. 24 MP APS-C sensor, Hybrid AF III with 19 all-cross points and on-sensor Phase-Detect AF. 5 FPS Drive and full 1080p HD video capture.
Canon Powershot G3 X Review
Ultra-zoom with a 25X optical zoom lens and large 20 MP 1" CMOS sensor in a weather-sealed body with dual control-dials, a lens ring and efficient controls. Captures full 1080p HD video at 60 FPS with internal or external stereo sound.
Best Digital Cameras of 2015
The best new digital cameras of 2015. Plus, find out which ones of 2014 still lead their category. Compact, Premium Cameras, Ultra-Zooms, Mirrorless and DSLR are all covered.
Panasonic Lumix DMC-G7 Review
16 megapixels Micro Four-Thirds mirrorless. 2.4 MP 0.5" EVF with Eye-Start sensor plus dual control-dials. 4K Ultra-HD video, 8 FPS continuous-drive, hybrid shutter with 1/16000-60s shutter-speeds, ISO 100-25600 and Contrast-Detect DFD autofocus system sensitive to -4 EV.
Nikkor AF-S 200-500mm F/5.6E ED VR Review
Nikon constant-aperture super-telephoto zoom with 200-500mm range and the latest Vibration-Reduction effective to 4.5 stops. Built-in super-sonic AF in a sturdy weatherproof body.
Nikon Coolpix P900 Review
In-depth review of the Nikon P900 ultra-zoom with an unprecedented 83X stabilized optical zoom lens paired with a 16 MP BSI-CMOS sensor capable for 7 FPS continuous drive and 1080p HD video at 60 FPS. Built-in 0.2" EVF with 920K pixels and Eye-Start sensor, rotating 3" LCD with 920K pixels, WiFi and a built-in GPS.
Lightroom Architectural Photography
Learn how to process architectural photography images using Adobe Lightroom.
Weatherproof Mirrorless Comparison
In-depth comparison of weather-sealed mirrorless digital cameras. Covers features, capabilities, image-quality and performance of the Fuji X-T1, X-T1 Graphite, Nikon 1 AW1, Olympus OM-D E-M1, E-M5 Mark II, Panasonic GH4 and GX8.