Linux command
ppmshift 命令
文本
涉及管道、覆盖或删除,执行前请先确认路径和参数。
常用示例
Shift image horizontally
ppmshift [shift] [input.ppm] > [output.ppm]
Random horizontal shift
ppmshift 10 [input.ppm] > [output.ppm]
说明
ppmshift randomly shifts each row of a PPM image horizontally by a random amount up to the specified maximum. This creates a glitch-like distortion effect where the image appears to have horizontal tearing or displacement. A random seed option allows reproducible results. The effect is similar to analog video signal interference or digital glitch art. Part of the Netpbm toolkit.
参数
- -seed _N_
- Random seed.
FAQ
What is the ppmshift command used for?
ppmshift randomly shifts each row of a PPM image horizontally by a random amount up to the specified maximum. This creates a glitch-like distortion effect where the image appears to have horizontal tearing or displacement. A random seed option allows reproducible results. The effect is similar to analog video signal interference or digital glitch art. Part of the Netpbm toolkit.
How do I run a basic ppmshift example?
Run `ppmshift [shift] [input.ppm] > [output.ppm]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -seed _N_ do in ppmshift?
Random seed.