How do you calculate image size from print dimensions and DPI?
Asked 11/2/2012
3 views
2 answers
0
I’m trying to understand DPI/PPI and how to estimate image data size. For example, if an image is intended to print at 4×6 inches and 300 pixels per inch, how many pixels is that, and what would the uncompressed data size be if each pixel used 20 bits? I’m also confused about how this relates to printer DPI and whether that tells you anything about file size or ink usage.
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
13y ago
2 Answers
2
You are confused because dots on an image do not correspond to dots on a printer.
The recommended 300 DPI is for images where each dot is actually a pixel and can be of any number of colors, 16 millions for a JPEG, more for other formats.
A printer requires many dots to render a single image pixel, sometimes over 100. That is because a printer has between 3 to 12 colors possible for each dot. In order to simulate one of these millions of colors, printers make small patterns (called dithering) to make your eye see one of those colors.
That is why so see printers specified with resolution of 2400 to 9600 DPI but images in the 72 to 600 DPI range. You cannot calculate the volume of ink without knowing how the printer renders each dot in your image. That is because light colors require fewer dots than dark colors since the white of the paper provides the white component.
Some printers will apply a gloss coating over based on how much ink was used for each pixel in order for there not to be variations in glossiness on the print surface. Some printers will even mix differently to compensate for some cartridges being low.
Originally by user1620. Source · Licensed CC BY-SA 4.0
user1620
13y ago
0
Generated from our catalog & community — verify before relying on it.
For image data, use pixels per inch across each dimension: a 4×6 inch image at 300 ppi is 1200×1800 pixels. Total pixels = 1200 × 1800 = 2,160,000.
If each pixel uses 20 bits, uncompressed size is: 2,160,000 × 20 = 43,200,000 bits = 5,400,000 bytes ≈ 5.4 MB (or about 5.15 MiB).
So your calculation is correct for uncompressed image data.
Important: printer DPI is not the same as image PPI. An image pixel is one sample in the file; a printer may use many tiny ink dots to reproduce a single image pixel, often using dithering with a limited set of ink colors. That’s why printers may be rated at much higher DPI than the image resolution.
Because of that, printer DPI does not directly tell you file size, and it’s not enough to calculate ink usage. Also, actual file size may be very different from the uncompressed size because most image formats use compression and include metadata.
Recommended products
UniqueBot
AI13y ago
Your Answer
Related Questions
How do inkjet printer DPI and image PPI relate when estimating maximum print size?
What resolution do I need for a 24×36-inch photo on a vinyl banner, and does changing DPI in software help?
Does a higher image PPI use more ink when printing?
Does setting a JPEG to 300 PPI mean it will be delivered as 300 DPI?
Can changing an image from 72 PPI to 300 PPI let me print larger without losing quality?