|
If this simple 3x3 pixel image contains 9 pixels, our 1200 x 1800 pixel image must contain 0,000 pixels. 1200 x 1800 = 2,160,000. That's 2.16 million pixels or 2.16 Mega Pixels.
OK! So how big is my file? The answer to this is, it depends....I know, just when you thought you had a handle on this stuff, somebody had to mix it up. The reason it depends is because of compression, but more on that later. If we take compression out of the equation, it's simple to compute file size. A pixel is made up of the three primary colors of Red, Green, and Blue or simply RGB. The computer stores the representation of those colors in bytes. One byte for each of the three colors. Therefore, 1 pixel = 3 bytes. If our image is 9 pixels, like in the example above, its 9 pixels x 3 bytes big, or 27 bytes. One megabyte is 1 million bytes. Our 4x6 inch print is 2,160,000 pixels so if we do the math, we find that the image is (2160000 x 3 ) 6,480,000 or simply 6.4 Megabytes (MB) in size.
What about compression? Here's where it become a little complicated. There are two types of compression.
Lossless - The first type is called “Lossless” because it results in no loss in quality or degradation to the image. It manages to make the file size smaller the same way that zipping works. Lets try to compress our 3x3 image. Lets suppose that all of the pixels in that image are the same color. We could store that image uncompressed and it will take up 27 bytes. But since all the colors are the same, we could just store it in such a way that describes the image as 9 black pixels. Since the pixel takes up 3 bytes, we need three bytes for that then we need one more byte to indicate how many of those black pixels we have, 9 in this case. We've just compressed our 27 byte image down to 4 bytes. Of course, this is over simplified, but that's the basic concept. We can now uncompress the file when we open it and get an exact representation of the image with no loss in quality. Now that is cleaver, huh?
Lossy - The other type of compression is called “lossy” because it results in the loss of data. It works on the assumption that the human eye can't detect certain details in an image so it strips those details out. This type of compression is much more complex and also very configurable. JPEG is considered a lossy compression file format but its degree of loss is configurable. You can vary the quality factor from 0 to 100%. As you lower the quality factor toward 0, your file size gets smaller and your picture loses more detail. The biggest problem with lossy compression comes up when you open and the save the file over and over again. It suffers from 2nd generation degradation as each successive save reduces the detail of an image that already lacked detail. It’s much like a photocopy of a photocopy of a photocopy. Each successive copy gets worse.
The following charts provided for your convenience list numbers which are estimates. Actual results may vary
Here is a table of various sizes you can expect from your photograph print images..
|