Plot image in memory how to get at a pixel on a line

hi all

I am thinking about how to access a memory location that represents a pixel on an image.

So in the image below the first pixel of the first line or the first pixel of the 2nd row line.

I’d like to keep it simple thus just use standard julia.

as always I didn’t RTFM!!! sorry