Add function for convert colorful bitmap into grayscale bitmap