Loosen typing on ScaleMinMax constructor
Inlineable version of grayscale conversion