Tranform BMP 24 - 32 bits to grayscale