Related Question
I am trying to do the same thing as in the linked question, but with C#. I am showing a scaled image and am allowing a user to select an area to cro
You can get the percent locations for the scaled images and turn them back into coords for the unscaled image:
pX1 = scaledX1/scaled_width pY1 = scaledY1/scaled_height unscaledX1 = ceiling(unscaled_width * pX1) unscaledY1 = ceiling(unscaled_height * pY1)