Some images didn't get converted properly. This was easy to
spot in smaller image where the last part seemed to be missing.
Each of the hex values generated stands for a byte = 8 bits =
8 pixels. But sometimes the size of the image caused the last
hex value to contain less than 8 bits (because there weren't
enough pixels left). As the hex values represent 8 pixels being drawn
right to left, the missing bits would cause the pixels to move out
of the canvas.
The solution is to always pad the last hex to a length of 8.
.
1. Re-arranged html structure, used html5 features.
2. Added multiple images capability, images can be added one-by-one or
selecting them with ctrl/cmd from the file dialog.
4. Output for multiple images can be represented by a single byte array
or with a byte array for each images, its identifier will be increased
with a trailing counter.
3. Added ‘GFXfontBitmap’ support.
4. Other smaller improvement.
NOTE: still under testing.
Adds the option to change the byte array variable name, useful if a lot
of copy/paste of the generated code is required. The option becomes
visible when “Adda Arduino code” is checked.