CmdID

CmdID / Commands

pnmgamma

Perform gamma correction on PNM images. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Convert the image from BT.709 luminance to radiance or sRGB luminance

pnmgamma -bt709tolinear path/to/image.pnm >path/to/output.pnmIdentify

Convert the image from radiance or sRGB luminance to BT.709 luminance

pnmgamma -lineartobt709 path/to/image.pnm >path/to/output.pnmIdentify

Specify the gamma value used for the gamma transfer function

pnmgamma -gamma value path/to/image.pnm >path/to/output.pnmIdentify

Specify the gamma value used for the gamma transfer function per color component

pnmgamma -rgamma value -ggamma value -bgamma value path/to/image.pnm >path/to/output.pnmIdentify