Field | Type | Comment |
BlockWidth | UB[4] | Pixel width of each block in the grid. This value is stored as (actualWidth / 16) - 1, so possible block sizes are a multiple of 16 and not more than 256. |
ImageWidth | UB[12] | Pixel width of the full image. |
BlockHeight UB[4] Pixel height of each block in the grid. This value is stored as (actualHeight / 16) - 1, so possible block sizes are a multiple of 16 and not more than 256. |
ImageHeight | UB[12] | Pixel height of the full image. |
ImageBlocks | IMAGEBLOCK[n] | Blocks of image data. See preceding for details of how to calculate n. Blocks are ordered from bottom left to top right, in rows. |
Field Type Comment
DataSize UB[16] | Note: UB[16] is not the same as UI16; no byte swapping occurs. | Size of the compressed block data that follows. If this is an interframe, and this block is not changed since the last keyframe, DataSize is 0 and the Data field is absent. |
Data | If DataSize > 0, UI8[DataSize] | Pixel data compressed using ZLIB. Pixels are ordered from bottom left to top right in rows. Each pixel is three bytes: B, G, R. |