Options (2)
booleanForce the brightest pixels to be white, the darkest pixels to be black and spread out the ones in between quadratically such that pixels with a brightness of `n` become 50 % bright
Example:
pnmnorm {{[-midv|-midvalue]}} {{n}} {{path/to/image.pnm}} > {{path/to/output.pnm}}-kbooleanKeep the pixels' hue, only modify the brightness
Example:
pnmnorm {{[-k|-keephues]}} {{path/to/image.pnm}} > {{path/to/output.pnm}}Examples (4)
Force the brightest pixels to be white, the darkest pixels to be black and spread out the ones in between linearly
pnmnorm path/to/image.pnm > path/to/output.pnmForce the brightest pixels to be white, the darkest pixels to be black and spread out the ones in between quadratically such that pixels with a brightness of `n` become 50 % bright
Keep the pixels' hue, only modify the brightness
pnmnorm [-k|-keephues] path/to/image.pnm > path/to/output.pnmSpecify a method to calculate a pixel's brightness
pnmnorm -luminosity|colorvalue|saturation path/to/image.pnm > path/to/output.pnmmade by @shridhargupta | data from tldr-pages