Class

Uint16Image

Uint16Image#Uint16Image(width, height, colorspaceopt)

Constructor

# new Uint16Image(width, height, colorspaceopt)

Creates a new Uint16Image instance.

Parameters:
Name Type Attributes Description
width number

The width of the image in pixels.

height number

The height of the image in pixels.

colorspace string <optional>

The color space to use for the image. Defaults to DEFAULT_COLORSPACE.

View Source src/Uint16Image.ts, line 302

Uint16Image#Uint16Image(width, height, colorspaceopt)

Constructor

# new Uint16Image(width, height, colorspaceopt)

Creates a new Uint16Image instance.

Parameters:
Name Type Attributes Description
width number

The width of the image in pixels.

height number

The height of the image in pixels.

colorspace string <optional>

The color space to use for the image. Defaults to DEFAULT_COLORSPACE.

View Source src/Uint16Image.ts, line 302