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
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
img | yes | - | Image object | |
x | yes | - | x-coordinate | |
y | yes | - | y-coordinate | |
format | - | - | Return format, HEX or RGBA, hex by default |