PLAYGROUND (experimental)

image_pixel

Return RGBA from a pixel of an image
image_pixel(
    img, 
    x, 
    y, 
    [format]
)

Return RGBA from a pixel of an image

Syntaxe

var pix = image_pixel(img=img, x=10, y=20); var pix = image_pixel(img=img, x=10, y=20, format="RGBA"); 

Arguments

NameTypeRequiredDefaultDescription
imgyes-Image object
xyes-x-coordinate
yyes-y-coordinate
format--Return format, HEX or RGBA, hex by default