GEM Raster

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
m (Change telparia.com samples link to template)
 
(15 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
|formattype=electronic
 
|formattype=electronic
 
|subcat=Graphics
 
|subcat=Graphics
|extensions={{ext|img}}, {{ext|ximg}}
+
|extensions={{ext|img}}, {{ext|ximg}}, {{ext|timg}}
 
|pronom={{PRONOM|x-fmt/159}}
 
|pronom={{PRONOM|x-fmt/159}}
 
|released=1985
 
|released=1985
Line 8: Line 8:
 
'''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.
 
'''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''', '''STTT''', and '''Hyperpaint'''.
+
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'''.
  
 
== Identification ==
 
== Identification ==
Files begin with bytes <code>0x00 0x01</code>.
+
Files begin with two bytes indicating the (big-endian) file version number. The version number is usually 1 (<code>0x00 0x01</code>), 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'' (i.e. a value of 8 means the header is 16 bytes, measured from the beginning of the file).
+
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 (<code>0x00 0x08</code>), but extended versions of the format have a larger header.
+
The header size is at least 8 words, but extended versions of the format have a larger header.
  
"XIMG" files have a header size of 59 words (<code>0x00 0x3B</code>). They have an ASCII signature of "<code>XIMG</code>" at offset 16.
+
XIMG files have the ASCII signature "{{magic|XIMG}}" at byte offset 16.
  
 
== Specifications ==
 
== Specifications ==
Line 24: Line 24:
 
* [http://bitsavers.informatik.uni-stuttgart.de/pdf/digitalResearch/gem/Programmers_Toolkit/5149-2374-001_GEM3_Programmers_Toolkit_Version_3.1_Supplement_1989.pdf GEM/3 Programmer's Toolkit, Release 3.1 Supplement], sec. 9 p. 22
 
* [http://bitsavers.informatik.uni-stuttgart.de/pdf/digitalResearch/gem/Programmers_Toolkit/5149-2374-001_GEM3_Programmers_Toolkit_Version_3.1_Supplement_1989.pdf GEM/3 Programmer's Toolkit, Release 3.1 Supplement], sec. 9 p. 22
 
* [http://www.seasip.info/Gem/ff_img.html Format of GEM bitmap]
 
* [http://www.seasip.info/Gem/ff_img.html Format of GEM bitmap]
* [http://www.atari-forum.com/wiki/index.php?title=IMG_file Understanding color IMGs]
+
* {{AtariForumWiki|IMG_file|Understanding color IMGs}}
  
 
== Software ==
 
== Software ==
 +
* [[Konvertor]]
 
* [[Netpbm]]: pbmtogem, gemtopnm
 
* [[Netpbm]]: pbmtogem, gemtopnm
 +
* [[XnView]]
 +
* [[FFmpeg]]
 +
* {{Deark}}
 +
* [[RECOIL]]
 +
* [http://snisurset.net/code/abydos/ abydos]
  
 
== Sample files ==
 
== Sample files ==
Line 35: Line 41:
 
* http://cd.textfiles.com/fantaziasampler/CLIPART/IMG/
 
* http://cd.textfiles.com/fantaziasampler/CLIPART/IMG/
 
* http://cd.textfiles.com/crawlycrypt2/crm_demo/images16/ (XIMG)
 
* http://cd.textfiles.com/crawlycrypt2/crm_demo/images16/ (XIMG)
 +
* http://sylvana.net/1stguide/snaps/ (Version 3 files)
 +
* {{DexvertSamples|image/gem}}
  
 
== See also ==
 
== See also ==
 +
* [[GEM bitmap font]]
 
* [[GEM VDI Metafile]]
 
* [[GEM VDI Metafile]]
  
 
== Links ==
 
== Links ==
 
* {{EGFF|gemraster|GEM Raster File Format Summary}}, from the [[Encyclopedia of Graphics File Formats]]
 
* {{EGFF|gemraster|GEM Raster File Format Summary}}, from the [[Encyclopedia of Graphics File Formats]]
 +
 +
[[Category:Atari graphics formats]]

Latest revision as of 02:56, 28 December 2023

File Format
Name GEM Raster
Ontology
Extension(s) .img, .ximg, .timg
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

[edit] 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.

[edit] Specifications

[edit] Software

[edit] Sample files

[edit] See also

[edit] Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox