Layout Description Name struct Tinman.Image.Raw.Layout Used by Raw.layout Describes the binary layout of a raw image pixel. Fields / Required type Type Raw.Type The binary data type of each raw pixel channel. order Type ByteOrder The byte order of the raw pixel data. Fields / Optional count Type number Default 1 Number of raw pixel channels. red Type number Default 0 Index of raw pixel channel that shall be mapped to the red channel. green Type number Default 0 Index of raw pixel channel that shall be mapped to the green channel. blue Type number Default 0 Index of raw pixel channel that shall be mapped to the blue channel. alpha Type number Default -1 Index of raw pixel channel that shall be mapped to the alpha channel. scale Type number Default 1 The scale factor that is applied to stored pixel values to produce raw pixel values: raw = stored * scale + offset offset Type number Default 0 The translation offset that is applied to stored pixel values to produce raw pixel values: raw = stored * Scale + Offset Raw Type