The Magick Image File Format, abbreviated MIFF, is an imageformat used by ImageMagick. It may be used to store bitmap images platform-independent.
A MIFF file consists of two sections. The headers consist of ISO-8859-1 encoded bytes, each with pairs consisting of key=value. Keys include background-color, depth, compression rows, units, and custom key/value pairs. The latter can include things like copyright or comment. The list is terminated with a NULL character.
The next section contains the binary image data. The exact format is defined by the class header. Usually it is RGBA or CMYK.
X offset is the offset in number of pixels from the vertical edge of the composite image where the first tile of a row begins and y offset is the offset from the horizontal edge where the first tile of a column begins.
How the image data is formatted depends upon the class of the image as specified (or not specified) by the value of the class key in the header.
The image pixel data in a MIFFfile may be uncompressed, runlength encoded, Zip compressed, or BZip compressed.