MP relation to MB picture size [Archive] - Glock Talk

PDA

View Full Version : MP relation to MB picture size


smile_at_u90012
08-26-2009, 08:45
Hello guys, been a while since i came here,i am checking all those wonderful pics you guys posted here. My question may not be new but i am just puzzling...a 14 MP and a 6 MP camera set on the largest file format,both pictures produced by each camera according to the files's properties....they are not much different,the 14MP produce somewhere around 3.55 mb and the 6 MP produce somewhere around 2.6 mb,even on one occasion, the 6 MP camera produced a file size of 3.58 mb, which is more mb than the 14 MP can produce,any relation to these number with MP?

hwyhobo
08-26-2009, 10:20
If the camera is set to save files in a lossy compression format, that will dictate te size of the file. I will bet your camera is set to save in a jpeg format (with .jpg file extension). You may also have the quality setting (always use the highest quality, btw).

All things being equal - same quality of jpeg compression on both cameras, and the same exact scene, the camera with 14 megapixel sensor will produce larger files. However, two things may be happening:

1. Your jpeg quality setting is different on the two cameras
2. Scene is different

Let me explain the second. The way compression works is it analyzes the scene and removes repeated patterns. It then reconstructs those patterns during decompression (this is a gross oversimplification, for a more sophisticated explanation see here (http://en.wikipedia.org/wiki/JPEG)). If there is a lot of intricate detail in the picture, it cannot be compressed as well as a picture with large areas of blue sky and large areas of dark blue sea. Therefore, the subject matter will also dictate the size of the file. In fact, it can have quite a dramatic impact.