I've got a png `800x800`. After clicking on a certain position(pixel) on the image, let's say `200x300` I want to save these coordinates.

What would be an approach to get these coordinates relative to the image when clicking it?

I don't expect you to just give me the code, reference would be also good.