Reputation: 1511
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
Reputation: 83378
DPI means dots per inch.
Divide the pixel size of the image with its physical dimensions in inches.
Upvotes: 1