LinuxCommandLibrary

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.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community