Template: E-Paper HAT (F) Picture Production

From Waveshare Wiki
Revision as of 09:37, 28 June 2022 by Eng52 (talk | contribs)
Jump to: navigation, search

Picture Production

Provides bmp picture production for E-Paper HAT (F)

Preparation

Required software: Adobe PhotoShop CC, Painting

Introduction=

  • Floyd-Steinberg dithering algorithm is very suitable for showing rich layering when color is less. More color combinations for better shadow rendering of the original image. It is especially suitable for various usage scenarios of e-ink screens.
  • The following will introduce how to convert ordinary pictures into Floyd-Steinberg scatter plots.
  • If you are interested in the actual algorithm, you can read about our algorithm porting on ESP32 link hereand ESP8266 link here

Operating Steps

Preparation:Download color sheet to PC, and unzip to get the file as shown below, we are going to use N-color.act.
Xcolor sheet.png

1.New key Photoshop project, set the width and height according to the actual resolution of the e-Paper screen, the color mode uses RGB color. The resolution of this module is 640*400. Change the width to 640 pixels and the height to 400 pixels.

Color3.png

2. Prepare the corresponding picture, copy it into the project, and adjust the parameters such as size and contrast (similar to the steps for processing pictures in general Photoshop).

Pica.png

3.Select File->Save for Web and Devices.

Pica5.png

4.Select the color table as shown below. Load the color table provided in Preparation. Pica6.png

5.For seven-color pictures, load N-color.act, then click Save and save as a gif file. Then convert it into BMP format and use it on this module.

Pica4.png

6.Open the gif file with Paint and save it as a 24-bit bmp image. Pica7.png

7.So far, the color picture available for this module has been made, and it can be put into the SD card of the Raspberry Pi or e-Paper Shield module for use.