Skip to main content

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


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.52.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hexgraphics-0.2.52-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file hexgraphics-0.2.52.tar.gz.

File metadata

  • Download URL: hexgraphics-0.2.52.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

Hashes for hexgraphics-0.2.52.tar.gz
Algorithm Hash digest
SHA256 2316c76c7b6c0ba5c2d5d8c92a79dd302bd4ccea0b76c07e22a305741a1ab61b
MD5 b124d38a32a8c15637aab912e2028819
BLAKE2b-256 1636defbbf867da88a1f517298dc225dc98085a652513e7e30ddb0ee7609a87e

See more details on using hashes here.

File details

Details for the file hexgraphics-0.2.52-py3-none-any.whl.

File metadata

  • Download URL: hexgraphics-0.2.52-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

Hashes for hexgraphics-0.2.52-py3-none-any.whl
Algorithm Hash digest
SHA256 68b9c786720c97aa1982ff66dc0be5cc63381a16d691a6b94a3254fdda0e5a30
MD5 3790becac0010127adf7c13c8dd0415e
BLAKE2b-256 1f7cffbe46a9ebb513d5db9130b7f0ff691bbd2793ff47c69cfdafb2d478e063

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page