Metadata-Version: 2.4
Name: ant-image
Version: 0.1.0
Summary: A very lightweight image file format.
Author: noobiezt0
License-Expression: MIT
Project-URL: Homepage, https://github.com/noobiezt0/ant
Project-URL: Issues, https://github.com/noobiezt0/ant/issues
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# 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
```
