Image.read

Reads an image from an array of pixels.

Parameters

width size_t

The number of columns in the image.

height size_t

The number of rows in the image.

map string

A string describing the expected ordering of the pixel array. It can be any combination or order of R = red, G = green, B = blue, A = alpha

pixels T[]

The pixel data.

Meta