SGI (image file format)

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
m (Change telparia.com samples link to template)
 
(12 intermediate revisions by 5 users not shown)
Line 2: Line 2:
 
|formattype=electronic
 
|formattype=electronic
 
|subcat=Graphics
 
|subcat=Graphics
|extensions={{ext|sgi}} {{ext|bw}}<br>{{ext|rgb}} {{ext|rgba}}
+
|extensions={{ext|sgi}}, {{ext|bw}}, {{ext|rgb}}, {{ext|rgba}}, others
 
|pronom={{PRONOM|x-fmt/140}}
 
|pronom={{PRONOM|x-fmt/140}}
 +
|wikidata={{wikidata|Q7514956}}
 
}}
 
}}
== Overview ==
+
'''SGI image''' (also known as '''IRIS''', and sometimes called '''RGB''' or '''Irix RGB''') is a raster image file format. It is associated with an image library used on Silicon Graphics workstations. The image may be uncompressed, or use [[Run-length encoding|RLE]] compression.
'''SGI''', also known as '''IRIS''', is a raster image file format. The image may be uncompressed, or use [[Run-length encoding|RLE]] compression.
+
  
SGI probably stands for '''Silicon Graphics Image'''.
+
== Format details ==
 +
 
 +
=== File structure ===
 +
SGI image files start with a 512-byte fixed header, most of which is unused. If the image is uncompressed, the pixel data follows. Compressed images have a scan-line table, followed by the compressed pixel data.
 +
 
 +
The pixel data is stored bottom-up.
 +
 
 +
=== Image types ===
 +
The following image types are supported:
 +
* Grayscale, 8 or 16 bits/sample
 +
* RGB, 8 or 16 bits/sample
 +
* RGBA, 8 or 16 bits/sample
 +
* RGB 3-3-2, 8 bits/pixel (obsolete)
 +
* Colormapped (but no palette is stored in the file) (obsolete)
 +
* Colormap (file contains only a palette; no image) (obsolete)
 +
* Grayscale alpha images also exist, though they're not covered in the specification.
  
 
== Identification ==
 
== Identification ==
SGI files begin with bytes <code>01 DA</code>.
+
Files begin with bytes {{magic|01 DA}}.
  
 
== Specifications ==
 
== Specifications ==
* [ftp://ftp.sgi.com/graphics/grafica/sgiimage.html The SGI Image File Format, Version 1.00]
+
* The SGI Image File Format, Draft version 0.97: [https://archive.org/details/ftp.sgi.com-archive ftp.sgi.com archive] → [https://archive.org/download/ftp.sgi.com-archive/ftp.sgi.com/sgi/graphics/SGIIMAGESPEC sgi/graphics/SGIIMAGESPEC]
* [ftp://ftp.sgi.com/graphics/SGIIMAGESPEC The SGI Image File Format, Draft version 0.97]
+
* [http://paulbourke.net/dataformats/sgirgb/sgiversion.html The SGI Image File Format, Version 1.00]
 +
** Another copy: [https://archive.org/details/ftp.sgi.com_June2018 ftp.sgi.com_June2018] → [https://archive.org/download/ftp.sgi.com_June2018/ftp.sgi.com_June2018.tar/ftp.sgi.com%2Fsgi%2Fgraphics%2Fgrafica%2Fsgiimage.html ftp.sgi.com/sgi/graphics/grafica/sgiimage.html]
 +
* [http://paulbourke.net/dataformats/sgirgb/ SGI RGB Image Format]
  
 
== Software ==
 
== Software ==
* [http://netpbm.sourceforge.net/ Netpbm]
+
* [[Konvertor]]
 +
* [[Netpbm]]: pnmtosgi, sgitopnm
 +
* [[ImageMagick]] (format named "SGI")
 +
* [[Tom's Viewer]]
 
* [http://svn.osgeo.org/grass/grass/branches/releasebranch_5_5/src.contrib/CERL/SGI/libimage/ libimage]
 
* [http://svn.osgeo.org/grass/grass/branches/releasebranch_5_5/src.contrib/CERL/SGI/libimage/ libimage]
  
== External links ==
+
== Sample files ==
 +
* [http://ftp.funet.fi/index/graphics/packages/volvis/RGB.tar.Z RGB.tar.Z]
 +
* {{DexvertSamples|image/sgi}}
 +
 
 +
== Links ==
 
* [[Wikipedia:Silicon Graphics Image|Wikipedia article]]
 
* [[Wikipedia:Silicon Graphics Image|Wikipedia article]]
 +
* {{EGFF|sgiimage|SGI Image File Format File Format Summary}}, from the [[Encyclopedia of Graphics File Formats]]
 +
 +
[[Category:Silicon Graphics]]

Latest revision as of 02:57, 28 December 2023

File Format
Name SGI (image file format)
Ontology
Extension(s) .sgi, .bw, .rgb, .rgba, others
PRONOM x-fmt/140
Wikidata ID Q7514956

SGI image (also known as IRIS, and sometimes called RGB or Irix RGB) is a raster image file format. It is associated with an image library used on Silicon Graphics workstations. The image may be uncompressed, or use RLE compression.

Contents

[edit] Format details

[edit] File structure

SGI image files start with a 512-byte fixed header, most of which is unused. If the image is uncompressed, the pixel data follows. Compressed images have a scan-line table, followed by the compressed pixel data.

The pixel data is stored bottom-up.

[edit] Image types

The following image types are supported:

  • Grayscale, 8 or 16 bits/sample
  • RGB, 8 or 16 bits/sample
  • RGBA, 8 or 16 bits/sample
  • RGB 3-3-2, 8 bits/pixel (obsolete)
  • Colormapped (but no palette is stored in the file) (obsolete)
  • Colormap (file contains only a palette; no image) (obsolete)
  • Grayscale alpha images also exist, though they're not covered in the specification.

[edit] Identification

Files begin with bytes 01 DA.

[edit] Specifications

[edit] Software

[edit] Sample files

[edit] Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox