SGI (image file format)

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Software)
(Undo revision 46734 by Dexvertbot (talk))
Line 23: Line 23:
 
* Colormapped (but no palette is stored in the file) (obsolete)
 
* Colormapped (but no palette is stored in the file) (obsolete)
 
* Colormap (file contains only a palette; no image) (obsolete)
 
* Colormap (file contains only a palette; no image) (obsolete)
* Grayscale alpha images also exist, though they're not covered in the specification.
+
* Grayscale+alpha images also exist, though they're not covered in the specification.
  
 
== Identification ==
 
== Identification ==
Line 44: Line 44:
 
== Sample files ==
 
== Sample files ==
 
* [http://ftp.funet.fi/index/graphics/packages/volvis/RGB.tar.Z RGB.tar.Z]
 
* [http://ftp.funet.fi/index/graphics/packages/volvis/RGB.tar.Z RGB.tar.Z]
* {{DexvertSamples|image/sgi}}
+
* https://telparia.com/fileFormatSamples/image/sgi/
  
 
== Links ==
 
== Links ==

Revision as of 15:52, 9 August 2025

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

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

Files begin with bytes 01 DA.

Specifications

Software

Sample files

Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox