What is DPI and How Does It Relate to Pixels?
DPI (Dots Per Inch) specifies how many individual dots of ink a physical printer places within one linear inch of paper.
The fundamental mathematical relationship between physical print dimensions and pixel count is:
Pixels = Physical Dimensions (inches) × DPI
For example:
• A 2 in × 2 in passport photo printed at 300 DPI requires 600 × 600 pixels.
• A 4 in × 6 in photo print at 300 DPI requires 1200 × 1800 pixels.
• An 8.5 in × 11 in document printed at 300 DPI requires 2550 × 3300 pixels.
Browser Limitations Regarding EXIF/JFIF DPI Headers
The standard browser Canvas API (canvas.toBlob()) writes standard image streams. Some image viewers only inspect internal metadata tags (such as JFIF density tags or EXIF tags). Our tool resamples the canvas pixel dimensions precisely so that your document prints at the exact physical target size when sent to any standard printer.