Added support for monochrome image with alpha