change image format to bmp.