It also compresses the image based on a threshold value you set, so if some nearby pixel colors are similar (below the threshold in difference) then I can combine them into a rectangle.
Here's 25 pixels condensed into 10 rectangles
[image/video deleted]
[image/video deleted]
Now I can paint in photoshop, start this program and it will spit out code for me to use in my webgame!