GEM Raster

From Just Solve the File Format Problem
Revision as of 14:56, 22 February 2016 by Marco (Talk | contribs)

Jump to: navigation, search
File Format
Name GEM Raster
Extension(s) .img, .ximg
PRONOM x-fmt/159
Released 1985

GEM Raster (or GEM VDI Bit Image, GEM Bit Image, GEM Image, GEM Bitmap, IMG) is an image file format originally associated with the GEM operating environment by Digital Research. It was used by GEM Paint and Ventura Publisher, and by a variety of Atari ST software.

The format of bi-level images is well standardized, but the specification is ambiguous as to the format of color images. As a result, there are several incompatible flavors of color GEM raster images, some of which have their own names such as XIMG (Extended GEM Bit Image), STTT, and Hyperpaint.



Files begin with bytes 0x00 0x01 or, in the case of some XIMG files, 0x00 0x02.

The next two bytes indicate the size of the header, in 2-byte words. For example, a value of 8 means the header is 16 bytes, measured from the beginning of the file.

The header size is at least 8 words, but extended versions of the format have a larger header.

XIMG files have the ASCII signature "XIMG" at byte offset 16.



Sample files

See also


Personal tools