Nick Pinson who we covered here for his bitmap/font designer for the ST7565 LCDs back in July has added support for a range of cool dithering techniques. “Floyd-Steinberg, Atkinson, Sierra-2-4A, and Threshold. Just drag an image onto the display, cut and paste the encoding, and you’re off and running.” Here are details from his updated code posting at Github:
st7565-designer is a HTML5 web application for designing bitmaps and fonts for the st7565 graphical lcd. Encoded bitmaps and fonts work well with Adafruit’s ST7565 arduino library. This web application was written for my own use and was designed to run locally on my own computer. I tested it with recent releases of Firefox, Safari, and Chrome. I did not test it in IE, nor do I intend to do so.
- Draw a line between the last pixel and the current pixel by holding down the shift key.
- Undo with ctrl-z or command-z. No redo yet.
- Save and restore bitmaps/fonts from local storage
- Export/Import all items to/from a JSON file
- Drag and drop an image on the canvas (with canvas dimensions set to 128×64) to write a dithered approximation of the image to the display
- Current quantization/dithering techniques available: Floyd-Steinberg, Atkinson, and Sierra Lite (Sierra-2-4A), and Threshold