Class

Float16Image

Float16Image#Float16Image(width, height, colorspaceopt, pixelFormatopt)

Constructor

# new Float16Image(width, height, colorspaceopt, pixelFormatopt)

Creates a new Float16Image 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 HDRImage.DEFAULT_COLORSPACE.

pixelFormat string <optional>

The pixel format to use for the image. Defaults to DEFAULT_PIXELFORMAT.

View Source src/Float16Image.ts, line 246

Float16Image#Float16Image(width, height, colorspaceopt, pixelFormatopt)

Constructor

# new Float16Image(width, height, colorspaceopt, pixelFormatopt)

Creates a new Float16Image 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 HDRImage.DEFAULT_COLORSPACE.

pixelFormat string <optional>

The pixel format to use for the image. Defaults to DEFAULT_PIXELFORMAT.

View Source src/Float16Image.ts, line 246