Raw

Description

Name

class Tinman.Image.Raw

Derived from

Image

Reads image data from raw binary data.

Fields / Required

data

Type

Data

Constraint

# != null

The provider of the raw binary data.


width

Type

number

Constraint

# > 0

Width of the raw image, in pixels.


height

Type

number

Constraint

# > 0

Height of the raw image, in pixels.


layout

Type

Layout

The binary layout of a single image pixels.

Fields / Optional

offset

Type

number

Constraint

# >= 0

Default

0

Absolute file offset of first byte of raw image data.


stride

Type

number

Constraint

# >= 0

Default

0

Distance (in bytes) between adjacent image scanlines. If 0, the distance will be computed from the image width and pixel layout.

Fields / External

info

Type

Image.Info

Contains information about the image data source, including image format and embedded georeferencing information.