aka 0xg
Project description
hexgraphics
aka 0xg
installation
pip install hexgraphics
usage
from hexgraphics.constants import COLORMAP
print(COLORMAP)
from hexgraphics import Image0xg
example = bytes([
0x0e, 0x0e, 0x0e, 0x0e, 0x0a, 0x10,
0x0e, 0x0b, 0x0e, 0x0a, 0x0a, 0x10,
0x0e, 0x0e, 0x0e, 0x0e, 0x01, 0x10,
0x0a, 0x0a, 0x0a, 0x0a, 0x0a,
])
Image0xg(example).save('example.0xg')
with open('example.0xg', 'rb') as f:
Image0xg(f).convert('example.png')
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
hexgraphics-0.2.55.tar.gz
(2.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hexgraphics-0.2.55.tar.gz.
File metadata
- Download URL: hexgraphics-0.2.55.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38ecafa1c9546995c10444c4cea6b39605a20a60aa7d08dd3bf9631ddf53b7e3
|
|
| MD5 |
b32480bf690b369c79114c8ec6310d31
|
|
| BLAKE2b-256 |
5309d3ade6eea62a2c58d1e5d552b653ae0038f61c2e5e2d7260a6a6eea6943e
|
File details
Details for the file hexgraphics-0.2.55-py3-none-any.whl.
File metadata
- Download URL: hexgraphics-0.2.55-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
387995666a64d2cb394c1859a6325b17daba2d838715e17127a5ab9fd12168a5
|
|
| MD5 |
167e31acb2bdb8d4016b420feebaf2ef
|
|
| BLAKE2b-256 |
da7e30ab561b285cc2c278c8df7cccfb148f9bf1a54475612e9a12d7f14fd4aa
|