LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

icontopbm

converts a Sun icon file to PBM format

TLDR

Convert icon to PBM
$ icontopbm [file.icon] > [output.pbm]
copy
Convert from stdin
$ cat [file.icon] | icontopbm > [output.pbm]
copy
Convert and pipe to PNG via Netpbm tools
$ icontopbm [file.icon] | pnmtopng > [output.png]
copy

SYNOPSIS

icontopbm [iconfile]

DESCRIPTION

icontopbm converts a Sun icon file to PBM (Portable Bitmap) format. Sun icon files are a simple bitmap format historically used by Sun Microsystems workstations for desktop icons. The output is written to standard output in PBM format, which can be piped to other Netpbm tools for further conversion.Part of the Netpbm package of graphics manipulation tools.

PARAMETERS

iconfile

Sun icon format input file. If not specified, reads from standard input.

CAVEATS

Only reads Sun icon format files. The format is largely obsolete, but conversion may be needed for legacy file archives.

SEE ALSO

Copied to clipboard
Kai