LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ppmtoxpm

Convert PPM to X11 pixmap format

TLDR

Convert PPM to XPM
$ ppmtoxpm [input.ppm] > [output.xpm]
copy
Convert with custom name
$ ppmtoxpm -name [icon] [input.ppm] > [icon.xpm]
copy

SYNOPSIS

ppmtoxpm [options] [file]

DESCRIPTION

ppmtoxpm converts PPM images to X11 pixmap format (.xpm). XPM is a C source format for color images in X11. Part of Netpbm toolkit.

PARAMETERS

-name name

Variable name in output.
-hexonly
Use hex color codes only.
-rgb file
RGB color name file.

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

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid