Hi,
I found the error in my calculation:
Now when I drag'n drop the marker to the top left edge of the image I get the pixel coordinates (625, 625) and when I drag'n drop it to the top right edge I get (1041, 625).
When I make the difference 1041-625 I get 416 which is the width of my image.
I now need to know how to find the precise coordinates of the pixel of the top left edge of my image by programming.
Thank