Image.this

Constructs an image from an array of pixels.

Parameters

columns
Type: size_t

The number of columns in the image.

rows
Type: size_t

The number of rows in the image.

map
Type: 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

storage

The pixel Staroage type (CharPixel, ShortPixel, IntegerPixel, FloatPixel, or DoublePixel).

pixels
Type: void[]

The pixel data.

Meta