exrnormalize - normalize an OpenEXR image
exrnormalize input.exr output.exr [ maxval ]
Normalizes an OpenEXR file to [0,1] such that the brightest pixel in the image has one of its RGB components set to 1. If a maximum value is given on the command line, then that value is used instead of scanning the image.
Billy Biggs <vektor@dumbterm.net>.
exrtools(1).