transform 24-bit true color images to grey-scale images, bmp file format not fully supported