added support for luminance/chroma images (colours are still off)