Closed eleveyuan closed 1 year ago
here is the Programming Principle. So I have to split image into two images(red pixels and black pixels)
lemariva/image2eink give a solution for this situation. and check this link(https://lemariva.com/blog/2019/08/raspberry-pi-displaying-images-eink-screen) for more detail
first use imagemagick to remap picture from a RGB-color scheme to a 3-color scheme
# Create 3 color palette:
magick xc:red xc:white xc:black +append palette.gif
# Image dithering using Floyd-Steinberg:
magick dragon.png -remap palette.gif res_dragon.png
then use lemariva's code to splite picture
In this project, I wanna display a Chinese zodiac image, which contains black text and a red paper cutout. It's beautiful. It can show the power of Chinese character(‘龍’ means dragon)
here is problem, how to display it?