BF: Some (but not all) greyscale images were being misinterpreted by PIL

Some were being detected as RGB and some left as L which was then
causing errors in type conversions.

Force all to be greyscale if alpha mask and force all to RGBA if image/tex