Image to Binary Array converter for Photon OLED

I got started with the Maker kit a few days ago, and have been playing around with the OLED display. One of the features of the library is displaying bitmaps, however I couldn’t find any docs on doing this.

I found a tool online to convert images to a hex array, however the library requires binary literals, so I’ve built a quick tool to convert that hex to the required binary and format it nicely.

http://jsfiddle.net/a7anhzLz/2/embedded/result/

You can see the code at https://jsfiddle.net/a7anhzLz/2/.

To use it, copy and paste the hex only, without the trailing comma on the last element into my tool and hit convert.

Check out the xbm and xpm formats. You can use popular art software to load, edit, and save the files directly.