Input format
What is SGI?
The SGI image format, also known as IRIS RGB, was introduced by Silicon Graphics for its IRIS workstations and the IRIX operating system. Files commonly use the .rgb, .rgba, .sgi or .bw extensions. Each file begins with a 512-byte header whose first two bytes contain the big-endian magic number 474, followed by fields describing dimensions, channel count and bytes per channel.
The format supports one to four channels, ranging from grayscale to RGBA with alpha, using 8-bit or 16-bit unsigned samples. Pixel data is stored channel by channel, either uncompressed or with run-length encoding. It was widely used for textures and images in 3D graphics, visualisation and simulation software of its era and still appears in older datasets. The format carries no coordinate or projection information, so geospatial use requires world files and .prj sidecars to place the image on the map.
Typical software
- GDAL/OGR
- QGIS
- ImageMagick
- GIMP
- XnView MP