Sun Raster
From Just Solve the File Format Problem
Sun Raster, or Sun Rasterfile, is an image file format associated with Sun operating systems. It supports grayscale, paletted, and full color images. Images may be uncompressed, or use RLE compression.
Contents |
Format details
Files have a fixed 32-byte header, followed by an optional color palette, followed by the image data.
Identification
Files begin with signature bytes 59 a6 6a 95
.
Specifications
- http://www.fileformat.info/format/sunraster/spec/index.htm
- http://www.martinreddy.net/gfx/2d/RAS.txt
- https://hg.java.net/hg/solaris-x11~x-s12-clone/file/b0bfd498768f/open-src/data/rasterfile/sun-src
Software
- Konvertor
- Netpbm: pnmtorast, rasttopnm
- ImageMagick (format named "RAS" or "SUN")
- Tom's Viewer
- FFmpeg
- XnView
- abydos
Sample files
- http://samples.libav.org/image-samples/sunrast/ (Caution: 32bpp.ras dated 2012 has color channels in the wrong order.)
- dexvert samples — image/sunRaster
Resources
Categories:
- File Formats
- Electronic File Formats
- Graphics
- File formats with extension .sun
- File formats with extension .ras
- File formats with extension .rast
- File formats with extension .rs
- File formats with extension .sr
- File formats with extension .scr
- File formats with extension .im1
- File formats with extension .im8
- File formats with extension .im24
- File formats with extension .im32
- Sun