-- Leo's gemini proxy

-- Connecting to drawk.cab:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

png2elk

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.


Install and use

Linux executable (WFM)

png2elk --mode 5 <IN.PNG> <OUT.ELK>

Plans

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)

-- Response ended

-- Page fetched on Mon May 13 17:22:16 2024