Image.Info
Fields / Optional
gamma
Depending on the value V of this field, the following gamma correction is applied to the image pixels:
- 
V > 0
 Given a normalized image pixel valueN, the resulting linear pixel valueLis computed asL = pow(N, V).
- 
V = -2.2
 The normalized image pixel value is fed into the sRGB decompression function (which can be approximated with a power of 2.2) and the resulting value is used as the linear pixel value.
- 
V = -0.45455
 The normalized image pixel value is fed into the sRGB compression function (which can be approximated with a power of 0.45455) and the resulting value value is used as the linear pixel value (which is not correct in a mathematical sense, but might be necessary in rare cases).
- 
For all other values of V, the normalized and linear pixel values are treated as being equivalent.