pixel@ ( x y w image -- start end bitmap )


Vocabulary
images.private

Inputs
xan object
yan object
wan object
imagean object


Outputs
startan object
endan object
bitmapan object


Definition


:: pixel@ ( x y w image -- start end bitmap )
image dim>> first y * x + :> start start w
[ image bytes-per-pixel * ] bi@
:> ( start' w' ) start' start' w' + image bitmap>> ; inline