Bmp image 24 - 32 bits to grayscale