Sheela,
No problem when I calculate the coordenates (cx and cy).
Using the formula:
Image CX: (2362200 / (360000 * 2.54)) * 96;
CX = 248 px;
Image CY: (1905000 / (360000 * 2.54)) * 96;
CY = 200 px;
PERFECT RESULTS!
____________________________________________
I have difficult to work with <srcrect> T, L, R, B.
When I calculate the cropped area ... I get low values using the formula:
Top Crop:
T = (30556 / (360000 * 2.54)) * 96;
T = 3.2 pixels
Left Crop:
L = (15555 / (360000 * 2.54)) * 96;
L = 1.6 pixels
Right Crop:
R = (15556 / (360000 * 2.54)) * 96;
R = 1.6 pixels
What is the problem? This values aren't correct!