EIE
Overview
Requirements / Download
Tutorials
For Developers
History
Home
EIE Development - .EIE File Format Overview

The .EIE files produced by EIE use a simple block-based file format somewhat similar to RIFF files. The goal was to have a simple format that could store multiple compressed images in one file. The short description is that the file starts with a four byte signature and then has a linear sequence of data blocks. The file format layout is as follows:

Name Size in bytes Description
File signature 4 File signature, always "EDAT"
* Block Size 4 Integer that defines the total size of this data block. Since the block size integer is four bytes and the block identifier is 8 bytes, this value should always be 12 or greater.
Block Identifier 8 Identifier for block. In .eie files this can be "PNGIMAGE" or "_IMGINFO". More identifiers may be used in future versions (for example "JPGIMAGE" may be used later on).
Block data (Block Size) - 12 Data for the block. This is dependent upon the block identifier. As an example, if the identifier is "PNGIMAGE" then the data will be an entire .PNG file.

* The block size, identifier, and data objects make up one data block in an .EIE file. There may be one or more data blocks in an .EIE file.


EIE saves all images into this chunk based file format. All images are currently saved as entire PNG files inside data blocks. If you are using the .NET framework, pnglib, or some other library that allows you to load PNG data, then this should make parsing and loading .eie files fairly simple.