Now going from 0x00 to 0x1f.
Removed seperate compressed texture code, as I can just make one binary array, and it works fine.
No texture is green.
Uncompressed is red.
Compression is blue.
* added tests/iconwriter.js, which writes icons with formats 0-7.
Authors notes: I am aware that texture format 1 may work the same as texture format 3.
I am waiting on the tests provided by iconwriter.js to verify the functionality.