Change DPI and size of image together

Set the cm size and DPI together in the editor, or use resize image in cm for photo sizes like 3.5 × 4.5 cm.