A very lightweight image file format.
Project description
ant
.ant is a raster image file format.
header
to make it easier to recognize by both user and computer, specific byte is present,
[61], a in ascii.
width and height of an image are 1-based values defined by 2 bytes, width and height,
[w][h], therefore max size of the file format is 256px x 256px.
data
each pixel is a byte, meaning that the number of possible colors is 256.
the orient of matrix should be row-major, could be redefined by the image viewing program.
color palette is defined by the image viewing program, but ansi 256 is recommended.
example
; header
61
03 01 ; 4x2
; data
01 23 45 67
89 ab cd ef
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
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 ant_image-0.1.0.tar.gz.
File metadata
- Download URL: ant_image-0.1.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92b5266037028062bce8d997642e2341d46acce0ee0619a67057ffb6fde68b80
|
|
| MD5 |
c14fa938efbbf70efd70b5d3bb4990b7
|
|
| BLAKE2b-256 |
5790081412ce612a2054b90ee1a48f405da6aaaa6128e28749b75fee9f3c4d5e
|
File details
Details for the file ant_image-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ant_image-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3da402ed85d9f91439f1b5c99ebd82e5514882e1c494833221c2949d79e2f817
|
|
| MD5 |
154e3f35f3867b3933207aa3dc730ded
|
|
| BLAKE2b-256 |
1b35a719df697b4e6050b3654a7c9b62ef1683d25083197223faf05708da8335
|