a***@broadpark.no
2006-03-13 02:53:38 UTC
Hi,
I am currently working with some BufferedImages and I need to translate
a given pixel index in the image to X,Y coordinates... I tried one
approach but that seems obviously wrong, Im sure lots of people has
done this before, although I was not able to search up any code that
did this, so I would like to see some other approaches to do this.
I need both:
pixel index to X,Y
and
X,Y to pixel index
Thanks for any responses
I am currently working with some BufferedImages and I need to translate
a given pixel index in the image to X,Y coordinates... I tried one
approach but that seems obviously wrong, Im sure lots of people has
done this before, although I was not able to search up any code that
did this, so I would like to see some other approaches to do this.
I need both:
pixel index to X,Y
and
X,Y to pixel index
Thanks for any responses