encode-as-bmp-for-uncompressed-image