add extension bmp for picture function