Linux command
ppmspread 命令
安全
涉及管道、覆盖或删除,执行前请先确认路径和参数。
常用示例
Spread pixels randomly
ppmspread [amount] [input.ppm] > [output.ppm]
Light spread effect
ppmspread 5 [input.ppm] > [output.ppm]
Heavy spread effect
ppmspread 20 [input.ppm] > [output.ppm]
说明
ppmspread randomly displaces each pixel in a PPM image to a new position within the specified radius, creating a scattered, noise-like blur effect. Larger spread amounts produce more diffuse results while small amounts add subtle texture. Unlike Gaussian blur which averages pixels, spread preserves individual pixel colors but randomizes their positions, producing a distinctive frosted glass or pointillist appearance. Part of the Netpbm toolkit.
FAQ
What is the ppmspread command used for?
ppmspread randomly displaces each pixel in a PPM image to a new position within the specified radius, creating a scattered, noise-like blur effect. Larger spread amounts produce more diffuse results while small amounts add subtle texture. Unlike Gaussian blur which averages pixels, spread preserves individual pixel colors but randomizes their positions, producing a distinctive frosted glass or pointillist appearance. Part of the Netpbm toolkit.
How do I run a basic ppmspread example?
Run `ppmspread [amount] [input.ppm] > [output.ppm]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
Where can I find more ppmspread examples?
This page includes 3 examples for ppmspread, plus related commands for nearby Linux tasks.