Sun icon
From Just Solve the File Format Problem
(Difference between revisions)
Dan Tobias (Talk | contribs) |
(resolved Sembiance's todo, added link to some test data extracted from solaris) |
||
| (5 intermediate revisions by 3 users not shown) | |||
| 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 9: | Line 9: | ||
== Format == | == Format == | ||
| − | Sun icon | + | Sun icon files are entirely ASCII text. They have a header delimited by "<code>/*</code>" and "<code>*/</code>", followed by a comma-separated list of hexadecimal numbers. |
== Identification == | == Identification == | ||
| − | Files 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 == | ||
| − | * [ | + | * [[Konvertor]] |
| − | * [ | + | * [[Netpbm]] (sunicontopnm with version 10.53 and newer; icontopbm with older versions) |
| + | * [[XnView]] | ||
== Sample files == | == Sample files == | ||
* http://www.fileformat.info/format/sunicon/sample/index.htm | * http://www.fileformat.info/format/sunicon/sample/index.htm | ||
| − | + | * {{DexvertSamples|image/sunIcon}} | |
| − | + | * https://github.com/bitplane/sunos-icon-test-data | |
| − | + | ||
== Resources == | == Resources == | ||
Latest revision as of 02:33, 29 March 2026
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
- http://www.fileformat.info/format/sunicon/sample/index.htm
- dexvert samples — image/sunIcon
- https://github.com/bitplane/sunos-icon-test-data