image size calculation

Quick and dirty javascript to calculate

Note that the script does not check for the validity of your data, so if you enter letters of negative numbers, or... you will get strange results.

Enter the size of the image and a dpi setting, or a desired size in dots of the shorter side of the image:

length (cm): height (cm):

dpi:     or     size of shorter side:

length (dots): height (dots):