Get real image pixel coordinates

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Get real image pixel coordinates

Glibly
hi,
i'm trying to get the real pixel location of an image after i transformed it.
so if i click on a fresh and not transformed image i get the pixel location in the image with getLocationAsString(), but if i rotate the image, the coordinate system won't rotate with it. so if i click the image now, at the same point, i will get the same coordinates from the transformed image.
is there a way to get the real pixel coordinates of a transformed image?
for example, a not transformed image got the point (0,0) in the upper left corner. if the image is rotated 90 degrees to the left, the point (0,0) would be in the lower left corner of the new image.
so is there a "transformed image coordinate system" or something? or a way i can get this coordinate system for all transformation types (rotate, zoom, etc.)?

thanks