I think a thread is warranted, here's a first release of my quickly assembled weekend project,
It does exactly one thing, converting 2bp files to BMP files.
(4bpp bmp files with a palette of 4 colors to be exact
)
usage: convert2bp [-h] [-v] [-o OUTPUTFILE] [-f] [INPUTFILE]
It's written in node.js, but I built executables without dependencies for anyone who wants to try.
(They're huge since they contain the entire node.js runtime, but it works
)
Sources
(very unorganized
):
https://github.com/karpour/convert2bp
Windows EXE:
https://www.dropbox.com/s/28hhkua10ts9yb4/convert2bp-win.zip?dl=0
Linux binary:
https://www.dropbox.com/s/ragxzcledubbcg9/convert2bp-linux.zip?dl=0
If anyone is brave enough to test it, let me know if there are any files where there are issues, as I don't have a lot of 2bp files to test with
This was more of a project to get familiar with piping data and getting familiar with the 2bp format, and obviously this is not really the best way to write a CLI app. The library I made for parsing is in js though, so it can be embedded into websites!
So what you could do is embed a little script into pages that use 2bp images
(like the welcome page of Pocket IE 1.0
) that converts 2bp to bmp while the page loads!