ATIF, Ansi Two hundred-fifty-six colors Image Format (ANSI-IMAGE)
256 colors image for console.
Usage
Load image:
var ai = ;var fs = ;;
Generate image:
var tmp = 10/*width*/10/*height*/;tmp; //x/y starts at 0tmppalette;tmppalette; //0 is for black, 0xFF(255) is for whitetmp;
Format
Line 1: Symbol for ATIF(7F 41 49)
Line 2~4: Header
- Line 2: Number for how long is palette, it is often 1
- Line 3~: Palette
- Line 3+n~: Number for how long is art
Line 4+n~: Art