Sun icon

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Sample files)
(resolved Sembiance's todo, added link to some test data extracted from solaris)
 
Line 2: Line 2:
 
|formattype=electronic
 
|formattype=electronic
 
|subcat=Graphics
 
|subcat=Graphics
|extensions={{ext|ico}} {{ext|icon}}
+
|extensions={{ext|ico}} {{ext|icon}} {{ext|pr}} {{ext|cursor}}
 
}}
 
}}
 
'''Sun icon''' is a raster image format, used for icons on some Sun operating systems.
 
'''Sun icon''' is a raster image format, used for icons on some Sun operating systems.
Line 12: Line 12:
  
 
== Identification ==
 
== Identification ==
Files usually begin with ASCII text "<code>/* Format_version=1</code>".
+
Files usually begin with ASCII text "<code>/* Format_version=1</code>". Sometimes there's an SCCS comment before that, e.g. "<code>/*      @(#)black.cursor 85/08/19 1.1 SMI      */</code>
  
 
== Software ==
 
== Software ==
Line 22: Line 22:
 
* http://www.fileformat.info/format/sunicon/sample/index.htm
 
* http://www.fileformat.info/format/sunicon/sample/index.htm
 
* {{DexvertSamples|image/sunIcon}}
 
* {{DexvertSamples|image/sunIcon}}
 
+
* https://github.com/bitplane/sunos-icon-test-data
== Editors' notes ==
+
''TODO:'' Figure out if Sun ''cursor'' files use the same format, and if '''.cursor''' and '''.pr''' filename extensions should also be listed.
+
 
   
 
   
 
== Resources ==
 
== Resources ==

Latest revision as of 02:33, 29 March 2026

File Format
Name Sun icon
Ontology
Extension(s) .ico .icon .pr .cursor

Sun icon is a raster image format, used for icons on some Sun operating systems.

Images are usually bi-level. 8-bit grayscale or palette color images are possible, but may not be portable (no palette is stored in the file).

Contents

[edit] Format

Sun icon files are entirely ASCII text. They have a header delimited by "/*" and "*/", followed by a comma-separated list of hexadecimal numbers.

[edit] Identification

Files usually begin with ASCII text "/* Format_version=1". Sometimes there's an SCCS comment before that, e.g. "/* @(#)black.cursor 85/08/19 1.1 SMI */

[edit] Software

[edit] Sample files

[edit] Resources

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox