GEM Raster
Dexvertbot (Talk | contribs) m (Change telparia.com samples link to template) |
|||
(8 intermediate revisions by 2 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''' ( | + | 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 | + | 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''. For example, 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. | ||
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] | ||
− | * | + | * {{AtariForumWiki|IMG_file|Understanding color IMGs}} |
== Software == | == Software == | ||
Line 30: | Line 30: | ||
* [[Netpbm]]: pbmtogem, gemtopnm | * [[Netpbm]]: pbmtogem, gemtopnm | ||
* [[XnView]] | * [[XnView]] | ||
+ | * [[FFmpeg]] | ||
* {{Deark}} | * {{Deark}} | ||
+ | * [[RECOIL]] | ||
+ | * [http://snisurset.net/code/abydos/ abydos] | ||
== Sample files == | == Sample files == | ||
Line 38: | 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 == |
Latest revision as of 02:56, 28 December 2023
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
- http://www.fileformat.info/format/gemraster/spec/index.htm
- GEM VDI Reference Guide (v2.0), Appendix G
- GEM/3 Programmer's Toolkit, Release 3.1 Supplement, sec. 9 p. 22
- Format of GEM bitmap
- Understanding color IMGs
[edit] Software
[edit] Sample files
- http://www.fileformat.info/format/gemraster/sample/index.htm
- http://cd.textfiles.com/clipart1996/BUSI/OTHER/
- http://cd.textfiles.com/clipart1996/TYPE/OTHER/
- http://cd.textfiles.com/fantaziasampler/CLIPART/IMG/
- http://cd.textfiles.com/crawlycrypt2/crm_demo/images16/ (XIMG)
- http://sylvana.net/1stguide/snaps/ (Version 3 files)
- dexvert samples — image/gem