The new Raspberry Pi B Model B+ is here - Pick one up in the store and check our detailed guide!

December 19, 2012 AT 7:30 am

New Dithering Technique Options for ST7565 LCDs

ST7565_GraphicalLCD_Example

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.

Usage:

  • 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

Read more.

Related

“D is for Diode” – Circuit Playground Episode 4 is out now! CLICK HERE TO WATCH!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground”Adafruit’s Apps!



No Comments

No comments yet.

Sorry, the comment form is closed at this time.