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.1.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.1.tar.gz.
File metadata
- Download URL: hexgraphics-0.2.1.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 |
f41f8c75a03ced47f88bc1ff823f1edd1f9eb6e0dae273ee2f522335ab4fcdb2
|
|
| MD5 |
e9fc10a726f945a433fe231c5cb0c602
|
|
| BLAKE2b-256 |
f6554d038d4405d641f5da0421426043d2e1e9cb2f15782e04da2df852444d7d
|
File details
Details for the file hexgraphics-0.2.1-py3-none-any.whl.
File metadata
- Download URL: hexgraphics-0.2.1-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 |
f2505ea665afda0487f44f73012ffbcebb5124bcb3ebdd4cd86276c237add4f0
|
|
| MD5 |
4c6c2945cc446d131d3c853f956bce66
|
|
| BLAKE2b-256 |
92a03641f8b1e070ceb36b3d529d3ef5d2f06503798c38674711adbb63451f97
|