GEM Raster

From Just Solve the File Format Problem
Jump to: navigation, search
File Format
Name GEM Raster
Ontology
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), TIMG (TrueColor IMG), STTT, and Hyperpaint.

Contents

Identification

Files begin with two bytes indicating the (big-endian) file version number. The version number is usually 1 (0x00 0x01), but some XIMG files have a version number of 2, and version number 3 has also been used.

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.

Specifications

Software

Sample files

See also

Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox