Linux command
ppmtoxpm 命令
文本
涉及管道、覆盖或删除,执行前请先确认路径和参数。
常用示例
Convert PPM to XPM
ppmtoxpm [input.ppm] > [output.xpm]
Convert with custom name
ppmtoxpm -name [icon] [input.ppm] > [icon.xpm]
说明
ppmtoxpm converts PPM images to X11 pixmap format (.xpm). XPM is a C source format for color images in X11. Part of Netpbm toolkit.
参数
- -name _name_
- Variable name in output.
- -hexonly
- Use hex color codes only.
- -rgb _file_
- RGB color name file.
FAQ
What is the ppmtoxpm command used for?
ppmtoxpm converts PPM images to X11 pixmap format (.xpm). XPM is a C source format for color images in X11. Part of Netpbm toolkit.
How do I run a basic ppmtoxpm example?
Run `ppmtoxpm [input.ppm] > [output.xpm]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -name _name_ do in ppmtoxpm?
Variable name in output.