Marius Turcu
Marius Turcu

Reputation: 1511

Calculate DPI of image

I have an image on a canvas. That image will be resized by user.After that, the canvas content will pe printed at a specific dimension. I want to calculate the DPI of the resized image, so i can tell the user if he resized to much and the printed quality will be affected. Does someone know a formula for this?

Upvotes: 3

Views: 358

Answers (1)

Mikko Ohtamaa
Mikko Ohtamaa

Reputation: 83378

DPI means dots per inch.

Divide the pixel size of the image with its physical dimensions in inches.

Upvotes: 1

Related Questions