UI changes:
- added a "Transparent" option in "Background color" selection
- replaced drawMode radio buttons with a drop-down list
- added a div (id=note1bit) around the note to switch to vertical mode
Code changes:
- added a ConversionFunctions object to hold the conversion functions (this makes it extendable towards more formats)
- renamed imageToStringHorizontal() to horizontal1bit()
- renamed imageToStringVertical() to vertical1bit()
- added horizontal565() to generate 16 bit 565 RGB images
- added horizontalAlpha() to generate transparency masks based on the image alpha value
- added conversionFunction to settings object
- added updateDrawMode() to handle the draw mode selection - also hides the note when using the new modes
- updated place_image() to skip background fill in case transparency is selected
- updated place_image(), commented out the conversion to black & white. Not sure at this time how to enable it again... drawMode?
- updated imageToString() to use the conversionFunction from settings
- moved getting the image raw data array from the conversion functions imageToString()