Sun Raster

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
m
(Sample files)
(3 intermediate revisions by 3 users not shown)
Line 4: Line 4:
 
|extensions={{ext|sun}}, {{ext|ras}}, {{ext|rast}}, {{ext|rs}}, {{ext|sr}}, {{ext|scr}}, {{ext|im1}}, {{ext|im8}}, {{ext|im24}}, {{ext|im32}}
 
|extensions={{ext|sun}}, {{ext|ras}}, {{ext|rast}}, {{ext|rs}}, {{ext|sr}}, {{ext|scr}}, {{ext|im1}}, {{ext|im8}}, {{ext|im24}}, {{ext|im32}}
 
|pronom={{PRONOM|x-fmt/184}}
 
|pronom={{PRONOM|x-fmt/184}}
 +
|released=≤1989
 
}}
 
}}
'''Sun Raster''' is an image file format commonly used on Sun operating systems. It supports grayscale, paletted, and full color images. Images may be uncompressed, or use [[Run-length encoding|RLE]] compression.
+
'''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 [[Run-length encoding|RLE]] compression.
  
== Format ==
+
== Format details ==
Files have a fixed 32-byte header.
+
Files have a fixed 32-byte header, followed by an optional color palette, followed by the image data.
  
 
== Identification ==
 
== Identification ==
Files begin with signature bytes <code>59 a6 6a 95</code>.
+
Files begin with signature bytes {{magic|59 a6 6a 95}}.
  
 
== Specifications ==
 
== Specifications ==
 
* http://www.fileformat.info/format/sunraster/spec/index.htm
 
* 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
 
* https://hg.java.net/hg/solaris-x11~x-s12-clone/file/b0bfd498768f/open-src/data/rasterfile/sun-src
  
 
== Software ==
 
== Software ==
 +
* [[Konvertor]]
 
* [[Netpbm]]:  pnmtorast, rasttopnm
 
* [[Netpbm]]:  pnmtorast, rasttopnm
 
* [[ImageMagick]] (format named "RAS" or "SUN")
 
* [[ImageMagick]] (format named "RAS" or "SUN")
 +
* [[Tom's Viewer]]
  
 
== Sample files ==
 
== Sample files ==
* http://samples.libav.org/image-samples/sunrast/
+
* http://samples.libav.org/image-samples/sunrast/ ''(Caution: 32bpp.ras dated 2012 has color channels in the wrong order.)''
  
 
== Resources ==
 
== Resources ==
 
* {{EGFF|sunraster|Sun Raster File Format Summary}}, from the [[Encyclopedia of Graphics File Formats]]
 
* {{EGFF|sunraster|Sun Raster File Format Summary}}, from the [[Encyclopedia of Graphics File Formats]]
 
* [http://wiki.multimedia.cx/index.php?title=Sun_rasterfile MultimediaWiki article]
 
* [http://wiki.multimedia.cx/index.php?title=Sun_rasterfile MultimediaWiki article]
 +
* [[Wikipedia: Sun Raster]]
  
 
[[Category:Sun]]
 
[[Category:Sun]]

Revision as of 13:26, 8 June 2019

File Format
Name Sun Raster
Ontology
Extension(s) .sun, .ras, .rast, .rs, .sr, .scr, .im1, .im8, .im24, .im32
PRONOM x-fmt/184
Released ≤1989

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

Software

Sample files

Resources

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox