Interface ImageOptions

interface ImageOptions {
    bitDepth?: BitDepth;
    colorModel?: ImageColorModel;
    data?: ImageDataArray;
    meta?: ImageMetadata;
    origin?: Point;
}

Hierarchy

Properties

bitDepth?: BitDepth

Number of bits per value in each channel.

Default

8.

colorModel?: ImageColorModel

Color model of the created image.

Default

'RGB'.

Typed array holding the image data.

origin?: Point

Origin of the image relative to a parent image (top-left corner).

Default

{row: 0, column: 0}