Megapixels and digital cameras

Experiences and opinions of Jim Hartsell, July 20, 2002; REV 8/25/03
(Wish I saw something like this when I started investigating digital cameras.)
Back to home page

7/8/09: The following was written several years ago when 6 megapixels was a LOT, so I will try to update it. See my new comments at the bottom regarding my Nikon D60.

Let's take it backwards, starting with the printer. The assumption is to print pictures that will look like good photographic prints. A photo quality printer has a resolution of 2400 dots per inch (dpi). The rule of thumb is that you divide this by 4 to get the maximum picture quality in pixels per inch (ppi). This would be 600 ppi, but considering camera cost, memory requirement, and whether you can really tell the difference, 400 ppi is satisfactory.

Cameras take pictures that are usually processed as 4" x 5", 4" x 5.3", or 4" x 6". Using the 4-inch side, 4 inches at 400 ppi would be 1600 pixels. If the other dimension is 5 inches, 5 inches at 400 ppi would be 2000 pixels. Therefore, you would want a digital camera that has an image size of 1600 x 2000 pixels. 1600 x 2000 = 3.2 megapixels. That means a 3.x megapixel camera would be optimal for 4" x 5" images. Other things are stored, so the megapixel size is a little more than the actual calculation. An 8" x 10" would have a resolution of 200 ppi.

The 2000 pixel width could be a little different depending on the "wide" dimension of the picture. From the image size in pixels, divide the smaller number by 4 to get the ppi for a 4" high picture. Divide the larger number by the ppi to get the width in inches.

File size with minimal JPEG compression seems to be about half the megapixel number, or about 1.5 Mbytes per picture for a 3.x megapixel camera, and about 1 Mbytes per picture for a 2.x megapixel camera. The larger the file, the longer it takes to store the image in the camera, and the more memory you need for the number of pictures you'd like to be able to store.

For me, a 2.x megapixel camera is a good compromise in quality vs. file size (HP Photosmart 912 digital camera). It gives a 1280 x 1600 pixel image, for a 4" x 5" image at 320 ppi. With a 64MB flash card, I can take over 60 pictures at "Best" quality. The image is stored at 72 ppi, 22.222 inches wide, and 17.778 inches high. File size runs about 700KB to 1MB at "Best" image quality, depending on picture contents. Using image editor Adobe PhotoDeluxe, I constrain file size (keep all the pixels), and change the height to 4 inches. This gives me a 4" x 5" image at 320 ppi, and still the same file size. Before emailing a picture, or for web page display, I mercifully change image density to 72 or 96 ppi so it downloads faster.

A note on digital zoom: it just does cropping like you could do with an image editor, and image resolution is reduced. Optical zoom is the true zoom.

Through-the-lens viewing: I can't say enough how important this is. In bright light you can't see the image on a display screen. Also, it is better for steadiness and framing to have the camera against your head instead of holding it out in front of you.

For more information, see my other web page on Scanning and Resolution at www.jdhartsell.com/scanning.html


7/8/09 update:

I have replaced my 2.0 megapixel HP 912 digital camera with a 10.2 megapixel Nikon D60. For a 4"x6" print, this doubles my former resolution of 320 ppi to 648 ppi. Interesting that five times the megapixels only doubled the resolution. The D60 came with an 18-55mm lens (27-82mm in 35mm-speak). With a 2GB memory card, file size is not a problem.

With this lens and resolution, you can get by without a longer zoom lens. At maximum resolution, it does 648 ppi for a 4"x6" image. Shooting at maximum zoom & resolution, and with a photo editor, you can do a 2x digital zoom by cropping it to a 4"x6" image at 324 ppi. This makes the lens act like 54-164mm (35mm equivalent). For a 3x digital zoom, you can crop the original to a 4"x6" image at 216 ppi. This makes the zoom range 81-246mm (35mm equivalent).

You also don't need a macro lens or macro capability because it will focus down to 11 inches from the focal plane mark (5" from end of lens set at wide angle). I only need to photograph pictures or documents when a scanner is not available, so I don't have to go macro down to a gnat's eyebrow. Besides, I have a set of close-up lenses that attach like a filter on the lens.

The Nikon D60 resolution choices for a 4"x6" image are 648ppi, 486ppi, and 324ppi. For general shooting, I keep it set to FINE (little JPEG compression), and MEDIUM file size (2896 x 1944 pixels, which is 486 ppi for a 4"x6" print). For image-editor "digital zoom", I set it to LARGE file size.

I kind of wanted a 3" LCD for viewing pictures, but the D60's 2.5" LCD takes less battery power. You can't frame pictures using the LCD because light would get in through the viewfinder. I'm an old school SLR viewfinder shooter anyway, so that's no problem.

Shortly after I got the D60, I bought a "do-everything-with-one-lens" AF-S DX Zoom-Nikkor 18-135mm zoom lens (without VR). This is like a 27-202mm 35mm equivalent. Using the 2x and 3x digital zoom technique described above with a photo editor, it's like having a 27-606mm lens 35mm equivalent.