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.
Metadata
Release files for xbin-render 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| xbin_render-0.1.0.tar.gz | 3.9 kB | Without provenance | Details for xbin_render-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xbin_render-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for xbin_render-0.1.0-py3-none-any.whl |
Total release size: 8.6 kB
Release files / xbin_render-0.1.0.tar.gz
| Download URL | xbin_render-0.1.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5293482fe78ea90a4062536c3a56f03e7d44e8081f938b859510bd8805b79a74
|
|
BLAKE2b-256 checksum How to use checksums |
487d0f92a054425b3a4847f1056383bb30815a24b7cd7fb4b106ee0d38816c9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / xbin_render-0.1.0-py3-none-any.whl
| Download URL | xbin_render-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
db286c9bd79f089a29c05f35c9d25bbb29813555fb77fc6599e75ccac5e75098
|
|
BLAKE2b-256 checksum How to use checksums |
cbd070d383a9b1763784d83f873103c67cb4c1186399127f5c6895acdd318b0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Security for xbin-render 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.