Get Width/Height in Centimeters....

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: helmut, XnTriq, xnview

Post Reply
navram1

Get Width/Height in Centimeters....

Post by navram1 »

how can i get loaded picture width and height in centimeters....
now i got it in pixels, i want it in centimeters... plz help....
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Get Width/Height in Centimeters....

Post by xnview »

navram1 wrote:how can i get loaded picture width and height in centimeters....
now i got it in pixels, i want it in centimeters... plz help....
You must convert it with DPI
BitmapWidth / XDpi / 0.394
Pierre.
navram
Posts: 20
Joined: Sat May 13, 2006 7:42 pm
Location: India
Contact:

Thanks very much

Post by navram »

thank u sir... i got what i want... very thanks for providing such a beautiful component for FREE....
Post Reply