convert pixels to inches code example
Example 1: 1000x1000 in inches
1000x1000 = 10.416666667
Example 2: pixel to inches
Assuming the pixel density is 96 dpi, there are 96 pixels per inch.
Than 1 pixel = (1 / 96) inches.
1000x1000 = 10.416666667
Assuming the pixel density is 96 dpi, there are 96 pixels per inch.
Than 1 pixel = (1 / 96) inches.