Linux command
paminvert 命令
文本
Uses pipes, overwrite, or deletion. Check paths and options first.
命令示例
Invert image colors
paminvert [input.pam] > [output.pam]
Invert from pipe
cat [image.ppm] | paminvert > [inverted.ppm]
说明
paminvert produces a negative of a PAM or PNM image by inverting all pixel values. Each sample value is replaced with maxval minus the sample value. For grayscale, black becomes white and vice versa. For color, each channel is inverted independently.
FAQ
What is the paminvert command used for?
paminvert produces a negative of a PAM or PNM image by inverting all pixel values. Each sample value is replaced with maxval minus the sample value. For grayscale, black becomes white and vice versa. For color, each channel is inverted independently.
How do I run a basic paminvert example?
Run `paminvert [input.pam] > [output.pam]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
Where can I find more paminvert examples?
This page includes 2 examples for paminvert, plus related commands for nearby Linux tasks.