Convert a centimeter measurement to the pixel dimensions needed at a given DPI.
Pixels
pixels = (cm / 2.54) × DPI. At 300 DPI, 25.4 cm equals 3000 pixels.
pixels = (cm / 2.54) × DPI
Work out the printed size of an image at a given DPI.
Convert pixel dimensions to inches at any DPI.
Convert pixel dimensions to centimeters at any DPI.
Divide the centimeter value by 2.54 to get inches, then multiply by the DPI.