E-Paper Floyd-Steinberg

From Waveshare Wiki
Jump to: navigation, search

Instroduction

  • Floyd-Steinberg dithering algorithm is suitable to show a rich sense of gradation based on a picture that has few colors. This makes it possible to obtain more color combinations and perform better shadow rendering on the original picture, especially suitable for e-Paper display.
  • This instruction we will show you how to made Floyd-Steinberg image
  • You can also refer to the demo codes of ESP32 or ESP8266 about the realization of the Floyd-Steinberg algorithm.

How to do

Photoshop-Floyd-Steinberg00.jpg
  • Create a new Photoshop project, and set the resolution according to the e-Paper you use, set the color mode to RGB. For example, we use 7.5inch e-Paper whose resolution is 800*480 as example.
Photoshop-Floyd-Steinberg01.png
  • Import the image to project, adjust the image as you want
Photoshop-Floyd-Steinberg02.png
  • Select File -> Export -> Save as Web...
Photoshop-Floyd-Steinberg03.png
  • Import the color table
Photoshop-Floyd-Steinberg04.png
  • For black/white e-Paper, import Black-White.act, and save the image.
Photoshop-Floyd-Steinberg05.png
  • For black/white/red e-Paper, import Black-White-Read.act and save.
Photoshop-Floyd-Steinberg06.png
  • For black/white/yellow e-Paper, import Black-White-Yellow.act and save.
Photoshop-Floyd-Steinberg07.png
  • For Seven-colors e-Paper, import N-color.act and save.
Photoshop-Floyd-Steinberg08.png