hhmmm... I'm not sure about a specific "script" but in Corel's Photo-Paint, click on "image" in the Toolbar and choose "resample." You can resize your photo by inches, millimeters, points, pixels, centimeters, didots, etc.
Hope this helps.