Convert any binary file to valid BMP file.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
File2BMP
.gitattributes
.gitignore
File2BMP.sln
LICENSE
README.md

README.md

File2BMP

Convert any binary file to valid Bitmap file.
https://ydkk.hateblo.jp/entry/2016/01/25/115224

Usage

Convert to BMP:

> File2BMP.exe hoge.bin

Restore from BMP:

> File2BMP.exe hoge.bin.bmp

Note

This program will use bfReserved1 and bfReserved2 in the Bitmap Fie Header if convert source file size is larger than 4.3GB (uint.MaxValue).
So now, we can support up to 9.2EB! (Maximum supported size of Stream.)

Please note that this is not valid Bitmap file.

Enjoy!