The Maximize
function spreads the texture's colors to cover the maximum possible ranges
without leaving the valid RGB values, which are located between 0
and 255. It's a contrast maximizing function.
The RGB color channels
can be maximized separately, but this can falsify the texture's
color tint.