LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pbmtoxbm

converts PBM bitmap images to X11 bitmap format

TLDR

Convert PBM to X bitmap
$ pbmtoxbm [input.pbm] > [output.xbm]
copy
Convert with custom name
$ pbmtoxbm -name [icon] [input.pbm] > [icon.xbm]
copy

SYNOPSIS

pbmtoxbm [options] [file]

DESCRIPTION

pbmtoxbm converts PBM bitmap images to X11 bitmap format (.xbm). X bitmaps are C source files usable in X11 applications. Part of Netpbm toolkit.

PARAMETERS

-name name

Variable name in output.

INSTALL

sudo apt install netpbm
copy
sudo dnf install netpbm
copy
sudo pacman -S netpbm
copy
sudo apk add netpbm
copy
sudo zypper install netpbm
copy
brew install netpbm
copy
nix profile install nixpkgs#netpbm
copy

SEE ALSO

Copied to clipboard
Kai