Introduction
Sun raster is the native bitmap format of SunOS. It holds black-and-white, indexed and true-colour images, either uncompressed or with run-length encoding.
Structure
A 32-byte header of eight big-endian 32-bit fields: the magic number
59a66a95h, width, height, depth, data length, type, colour map type and
colour map length. The colour map, if any, and the image data follow. The type field
marks old, standard, run-length encoded and RGB-ordered images, among others; 24-bit and
32-bit pixels are otherwise stored blue first.
Not described
Known, not yet covered
- Reference: this page is a summary; the run-length coding and colour map are not yet described on this site.
- Viewer: the site has no viewer for Sun raster images.
Links
Software
- ImageMagick – free image conversion suite (Windows, macOS, Linux)
Reference
- Sun Raster – summary from the Encyclopedia of Graphics File Formats