TESTER

image_pixel

image_pixel(img, x, y, [format])

Return RGBA from a pixel of an image

Syntaxe

image_pixel(img, 10, 20);

Arguments

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