Page 1 of 1

How to get image width and height in cm

Posted: Sun May 14, 2006 1:30 pm
by navram
can any body tell me how can i get image width and height in cm.... now i get it in pixels.... plz help....

Re: How to get image width and height in cm

Posted: Mon May 15, 2006 11:06 pm
by MaierMan
navram wrote:can any body tell me how can i get image width and height in cm.... now i get it in pixels.... plz help....
hmm... not quite sure.
Actually It should be px / dpi * ci.
ci means a constant describing "cm : inch" which is 2.54 : 1 (as dpi = dots/px per inch).

example:
2000px / 300dpi * 2.54 ~ 16,93cm

(hm... math correct? :p)

Thanks....

Posted: Wed May 24, 2006 7:27 pm
by navram
Thank u 4 ur reply.... i think it works....