Interface CreateFromOptions

interface CreateFromOptions {
    bitDepth?: BitDepth;
    colorModel?: ImageColorModel;
    data?: ImageDataArray;
    height?: number;
    meta?: ImageMetadata;
    origin?: Point;
    width?: number;
}

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.

height?: number
origin?: Point

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

Default

{row: 0, column: 0}

width?: number