It is a go project, convert png or jpg image to bmp image
go get golang.org/x/image/bmp
go get github.com/kweisamx/go-img2bmp
or
mkdir -p $GOPATH/src/github.com/kweisamx/go-img2bmp/
cd $GOPATH/src/github.com/kweisamx/go-img2bmp/
git clone https://github.com/kweisamx/go-img2bmp
use go install or build make binary
cd $GOPATH/src/github.com/kweisamx/go-img2bmp/
go install
use go-img2bmp
$GOPATH/bin/go-img2bmp src.png out.bmp