Here we go, my first 2bp, converted from 2bp to 4bp bitmap
App supports piped input and output as well, so it can be plugged right into imagemagick and other tools
thomas@SURFY:/mnt/c/Users/Thomas/Code/js-2bp$ ts-node ./src/convert2bp.ts -h
usage: convert2bp.ts [-h] [-v] [-o OUTPUTFILE] [-f] [INPUTFILE]
2bp to BMP converter
Positional arguments:
INPUTFILE File to convert. File can also be piped into process
Optional arguments:
-h, --help Show this help message and exit.
-v, --version Show program's version number and exit.
-o OUTPUTFILE, --output-file OUTPUTFILE
Converts a 2bp image to a 4bpp bmp file
-f, --force Converts a 2bp image to a 4bpp bmp file
thomas@SURFY:/mnt/c/Users/Thomas/Code/js-2bp$ ts-node ./src/convert2bp.ts < ./test.2bp > test.bmp
thomas@SURFY:/mnt/c/Users/Thomas/Code/js-2bp$ ts-node ./src/convert2bp.ts -f -o ./test.bmp ./test.2bp
(out.bmp) Attachments
----------------
out.bmp (0KB - 1 downloads)