a***@hotmail.com
2012-08-22 02:41:34 UTC
Hi Everyone,
I am not sure whether this is the correct group to post this topic, but I need your help if all possible:
I have an image file w = 2479, h = 3508, dipx = 300, dixy = 300
To display online, I use a software to make a smaller w = 800, h = 1052, dipx = dipy = 300
Once user uses mouse to draw a rectangle I get the coordinate x=175, y = 202, the retancalar w = 584, h = 52
I would like to know how can I get the original image's x, y, and the rectangle w, h?
Any ideas for the fomular that I can use?
Thanks in advance
Rob
I am not sure whether this is the correct group to post this topic, but I need your help if all possible:
I have an image file w = 2479, h = 3508, dipx = 300, dixy = 300
To display online, I use a software to make a smaller w = 800, h = 1052, dipx = dipy = 300
Once user uses mouse to draw a rectangle I get the coordinate x=175, y = 202, the retancalar w = 584, h = 52
I would like to know how can I get the original image's x, y, and the rectangle w, h?
Any ideas for the fomular that I can use?
Thanks in advance
Rob