ofnuts wrote:
See image.selection.get_pixel(x,y) (returns a one-element tuple, since the selection is a grayscale channel).
But if you are worried about performance, you shouldn't process the image pixel by pixel. The trick is to figure out what processing you can apply "en masse" to your layers so that the actual pixel transformations are handled by native operations.
Thanks you so much...i tried to search for this information on the internet like crazy and nothing showed up..now when i search this question and answer shows up.
The "en masse" sure is tricky alright.