Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions standards/6-nft.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Quick information
| Information | |
| ----------- | ------------------------- |
| Version | 1.0.0 |
| Version | 1.1.0 |
| Type | Image file format |
| MIME | `image/nft` |
| Extensions | `.nft` |
Expand All @@ -19,15 +19,17 @@ background colour.
The format uses two special characters, a character whose byte is `30` and another whose byte is `31`.


| Byte | Represents |
| ---- | ---------- |
| Byte | Represents |
| ---- | ---------------------------- |
| 30 | Background colour definition |
| 31 | Text colour definition |
| 31 | Text colour definition |

If a `30` or `31` character is encountered the character immediately after will be a hexadecimal. If the character is
`30` the colour represented by the hexadecimal becomes the 'active' background colour. Hence, any proceeding pixels will
use the active background colour (until the next `30` character changes it). The same applies with the `31` character,
but it instead sets the text colour.
If the colour specified after one of these characters is a space character instead of an hexadecimal then the colour will
be set to transparent.

### Text characters
Any character that is not `30`, `31` or the character immediately after those two represents the character that should
Expand Down