Linux command
ppmpat 命令
文本
涉及管道、覆盖或删除,执行前请先确认路径和参数。
常用示例
Create checkerboard pattern
ppmpat -gingham2 [100] [100] > [pattern.ppm]
Create tartan pattern
ppmpat -tartan [200] [200] > [tartan.ppm]
Create argyle pattern
ppmpat -argyle1 [150] [150] > [argyle.ppm]
说明
ppmpat generates various pattern images. Creates test patterns, plaids, and decorative backgrounds. Part of Netpbm toolkit.
参数
- -gingham2
- Gingham checkerboard.
- -gingham3
- 3-color gingham.
- -tartan
- Tartan plaid.
- -argyle1
- Argyle pattern.
- -argyle2
- Argyle with lines.
- -poles
- Barber pole stripes.
- -squig
- Squiggly lines.
- -camo
- Camouflage pattern.
FAQ
What is the ppmpat command used for?
ppmpat generates various pattern images. Creates test patterns, plaids, and decorative backgrounds. Part of Netpbm toolkit.
How do I run a basic ppmpat example?
Run `ppmpat -gingham2 [100] [100] > [pattern.ppm]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -gingham2 do in ppmpat?
Gingham checkerboard.