PLAYGROUND (experimental)

image_pixels

Return RGBA from all pixels of an image
image_pixels(
    img, 
    [format], 
    [flat]
)

Return RGBA from all pixels of an image

Syntaxe

image_pixel(img, 10, 20);

Arguments

NameTypeRequiredDefaultDescription
imgyes-Image object
format--Return format, HEX or RGBA, hex by default
flat--true: Return a list of list ; false: return a flat array