initialize bmp.format to 0