Introduction
The Silicon Graphics image format, written by Paul Haeberli, stores greyscale, colour
and colour-with-alpha images. The same layout is found with the extensions
.sgi, .rgb, .rgba and .bw.
Structure
A 512-byte big-endian header starts with the magic number 474 and gives the storage type, bytes per channel (1 or 2), dimensions, sizes, minimum and maximum pixel values, an 80-byte name and a colour map identifier. Data is stored verbatim or run-length encoded with tables of row offsets and lengths. The origin is the lower left corner.
Not described
Known, not yet covered
- Reference: this page is a summary; the run-length coding is not yet described on this site.
- Viewer: the site has no viewer for SGI images.
Links
Reference
- The SGI Image File Format – Paul Haeberli’s description, hosted by Paul Bourke