[1.0.3] Add grayscale/rgb conversions