DefineBitsLossless2 †
フィールド | 型 | コメント | Header | RECORDHEADER (long) | タグタイプ = 36 | CharacterID | UI16 | このキャラクタの ID | BitmapFormat | UI8 | 圧縮データのフォーマット 3 = 8-bit カラーマップ画像 5 = 32-bit ARGB 画像 | BitmapWidth | UI16 | ビットマップ画像の幅 | BitmapHeight | UI16 | ビットマップ画像の高さ | BitmapColorTableSize | If BitmapFormat = 3, UI8 他の場合使用しない | 色テーブルに使用する色の数 - 1。 最大 256 色。 | ZlibBitmapData | If BitmapFormat = 3, ALPHACOLORMAPDATA If BitmapFormat = 4 or 5, ALPHABITMAPDATA | ZLIB 圧縮されたビットマップデータ |
ALPHACOLORMAPDATA †
フィールド | 型 | コメント | ColorTableRGB | RGBA[color table size] | Defines the mapping from color indices to RGBA values. Number of RGBA values is BitmapColorTableSize + 1. | ColormapPixelData | UI8[image data size] | Array of color indices. Number of entries is BitmapWidth * BitmapHeight, subject to padding (see note preceding this table). |
ALPHABITMAPDATA †
フィールド | 型 | コメント | BitmapPixelData | ARGB[image data size] | Array of pixel colors. Number of entries is BitmapWidth * BitmapHeight. The RGB data must already be multiplied by the alpha channel value. |
|