Standard constructor for empty files.
Loads file from a binary.
Loads file from file.
Adds a bitmap to the file (any supported formats).
Adds a bitmap to the file (16bit).
Adds a bitmap to the file (4bit, 8bit or 32bit). Adds a palette to the file (32bit only, ARGB).
Gets the bitmap with the given ID (16bit or 8bit Huffman encoded).
Gets the bitmap with the given ID (8bit).
Returns the bitdepth of the image.
Gets the bitmap with the given ID (all formats).
Returns the pixel format of the image.
Returns the palette with the given ID.
Returns the palette for the bitmap if exists.
Returns the X size by ID.
Returns the X size by number.
Returns the Y size by ID.
Returns the X size by number.
Returns true if file doesn't contain any images.
Loads the file specified in field "filename"
Removes the bitmap from the file by ID.
Removes the bitmap from the file by index.
Removes the palette with the given ID.
Saves the file to the place specified in field "filename".
Saves the file to the given location.
Returns the first instance of the ID.
Sets the filename
Stores animation data. See documentation of AnimationData for more information.
Bitdepth of the given bitmap. Editing this might make the bitmap unusable.
The ID of the bitmap. Used to identify the bitmaps in the file.
Format of the given bitmap. Editing this might make the bitmap unusable or cause graphic corruption.
Palette of the given bitmap. Null if unindexed, default or the palette's name otherwise.
Proprietary image format for the engine. Mainly created to get around the lack of 16bit indexed image formats. Stores most data in XML, binary is stored after the document. Most data is little endian, future versions might be able to specify big endian data in the binary, but due to the main targets (x86 and ARM) are mainly little endian, it's unlikely.