Linux command
pbmnoise 命令
文本
涉及管道、覆盖或删除,执行前请先确认路径和参数。
常用示例
Create random noise bitmap
pbmnoise [100] [100] > [noise.pbm]
Set density
pbmnoise -ratio=[0.5] [100] [100] > [noise.pbm]
Set random seed
pbmnoise -randomseed=[12345] [100] [100] > [noise.pbm]
说明
pbmnoise creates random noise images. Generates random black and white pixels. The tool produces noise patterns. Part of Netpbm.
参数
- -ratio _RATIO_
- Black pixel ratio (0-1).
- -randomseed _SEED_
- Random seed.
FAQ
What is the pbmnoise command used for?
pbmnoise creates random noise images. Generates random black and white pixels. The tool produces noise patterns. Part of Netpbm.
How do I run a basic pbmnoise example?
Run `pbmnoise [100] [100] > [noise.pbm]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -ratio _RATIO_ do in pbmnoise?
Black pixel ratio (0-1).