💾 Archived View for drawk.cab › projects › png2elk › index.gmi captured on 2023-09-28 at 15:58:38. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-01-29)
-=-=-=-=-=-=-
A command line utility in Rust that converts full colour (RGBA) PNG files to Electron / BBC screen dump files.
Currently supports mode 5 (4 colour 160x256) only.
You can supply an image with smaller height as long as it's a whole number of lines (8 pixels)
It's pretty limited, but you never know, somebody else might want to make a sprite atlas for a new Elk game.
png2elk --mode 5 <IN.PNG> <OUT.ELK>
TODO: other modes. I'll probably add modes as I need them.
TODO: make a distributable Rust library to handle Acorn screen formats (n.b. this is unlikely to happen)