Linux command
ppmbrighten 命令
文本
涉及管道、覆盖或删除,执行前请先确认路径和参数。
常用示例
Increase brightness
ppmbrighten -v [50] [input.ppm] > [output.ppm]
Decrease saturation
ppmbrighten -s [-30] [input.ppm] > [output.ppm]
Adjust both
ppmbrighten -v [20] -s [10] [input.ppm] > [output.ppm]
Normalize first
ppmbrighten -n -v [30] [input.ppm] > [output.ppm]
说明
ppmbrighten adjusts the brightness and saturation of a PPM image. It works in HSV color space, changing value (V) and saturation (S) components. Part of Netpbm toolkit.
参数
- -v _value_
- Value (brightness) change (-100 to 100).
- -s _saturation_
- Saturation change (-100 to 100).
- -n
- Normalize value range first.
FAQ
What is the ppmbrighten command used for?
ppmbrighten adjusts the brightness and saturation of a PPM image. It works in HSV color space, changing value (V) and saturation (S) components. Part of Netpbm toolkit.
How do I run a basic ppmbrighten example?
Run `ppmbrighten -v [50] [input.ppm] > [output.ppm]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -v _value_ do in ppmbrighten?
Value (brightness) change (-100 to 100).