Convert XBin images to PNG or to terminal
Project description
xbin_render
Render XBin (.XB
) images to PNG or to terminal.
XBin files are similar to ANSI-art images, as they consist of characters on a background, with 16 colors.
Install
pipx install xbin_render
Usage
Show on terminal
xbin_render file.xbin
Convert to PNG
xbin_render file.xbin --output-image file.png
Format
The spec is at https://www.acid.org/images/0896/XBIN.TXT but it's incomplete as it relies on knowledge on VGA, etc.
Limitations
The format supports custom fonts, which cannot be rendered easily on a terminal (converting to ressembling characters could be done though). Rendering to PNG without a custom font is not implemented yet.
What about .ANS
/.ASC
files?
In a color-capable terminal: iconv -f cp437 MYFILE.ANS
License
xbin_render is licensed under the WTFPLv2.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for xbin_render-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db286c9bd79f089a29c05f35c9d25bbb29813555fb77fc6599e75ccac5e75098 |
|
MD5 | e94029d1d919e94117d0606d0f32d53f |
|
BLAKE2b-256 | cbd070d383a9b1763784d83f873103c67cb4c1186399127f5c6895acdd318b0a |