KRImageGrayscale can easy transfor image to grayscale with 4 bits, 8 bits, 16 bits, 24 bits, 32 bits.