length and width in inches to resolution code example Example: 1000x1000 in inches 1000x1000 = 10.416666667