image_pixel
image_pixel(img, x, y, [format])
Return RGBA from a pixel of an image
Syntaxe
image_pixel(img, 10, 20);
Arguments
| Name | Required | Default | Description |
|---|---|---|---|
img | yes | - | Image object |
x | yes | - | x-coordinate |
y | yes | - | y-coordinate |
format | - | - | Return format, HEX or RGBA, hex by default |