added bmp output format