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.0.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.0.tar.gz.
File metadata
- Download URL: hexgraphics-0.2.0.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 |
427b0875b0fdef4c773161b6400bab632e2038905959243b322d32df92985dd7
|
|
| MD5 |
d829f47d243055b61fbd8c3c47ff1e46
|
|
| BLAKE2b-256 |
6847b40d22b9780516ba33637acf4974463f5514ddd7570116942e08f5b44644
|
File details
Details for the file hexgraphics-0.2.0-py3-none-any.whl.
File metadata
- Download URL: hexgraphics-0.2.0-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 |
3ebb65c3080eae3471f163790130bbfed9d212a016f8f4d040b23173d923a999
|
|
| MD5 |
c320b04c0f1effa3ad93d9e5563b6e0e
|
|
| BLAKE2b-256 |
2aa3705fe481a1e808ac2ccf2ff3821a273b93dc83dfdb29089b9ae461af13c4
|