This project is to serve use for people who want to export images to a format where image data (such as size and pixels) is easily accessible and editable.
For example, heres what a simple chess board would look like:
8:8|1:fff.2:000.3:fff.4:000.5:fff.6:000.7:fff.8:000.9:000.10:fff.11:000.12:fff.13:000.14:fff.15:000.16:fff.17:000.18:fff.19:000.20:fff.21:000.22:fff.23:000.24:fff.25:000.26:fff.27:000.28:fff.29:000.30:fff.31:000.32:fff.33:000.34:fff.35:000.36:fff.37:000.38:fff.39:000.40:fff.41:000.42:fff.43:000.44:fff.45:000.46:fff.47:000.48:fff.49:000.50:fff.51:000.52:fff.53:000.54:fff.55:000.56:fff
To parse PIXL, you must understand how PIXLs are built.
This is data stored right before the |
in PIXL.
This will contain the size of the image (and possibly more in the future)
Example (a single black pixel):
1:1|1:000
1:1
before the |
seperator is the size of the image in width:height
.
The fun part, this is how actual PIXL images are made is through data after the |
seperator.
Example (three pixels this time):
3:1|1:000.2:555.3:000
Each pixel is seperated by .
and the pixel number along with the hex color is seperated by :
.