Commit graph

5 commits

Author SHA1 Message Date
SSYYL
d9abd636d7
Update epd5in65f.py 2021-03-31 17:51:04 +08:00
Ryan Ziolko
423b6166a0 Support drawing rotated images. 2021-03-09 22:19:08 +00:00
Ryan Ziolko
4fb55dbb71 Performance improvements using the 5.65" 7 color E Ink display.
1. As many others have done, switch to using SPI writebytes2() to send pixel data in bulk.  This makes a significant difference on a Raspberry Pi Zero W.
2. Use PIL (Pillow) to convert the image into the correct 4-bit color using a custom palette.  This dramatically speeds up conversion of the image, with the benefit of allow any kind of input image.  PIL will dither quantize/dither the colors as needed.
3. Minor formatting changes to add/remove whitespace
2021-03-09 15:19:43 -06:00
SSYYL
24edec8e57 fix SPI 2021-02-23 11:32:39 +08:00
hnwangkg-ezio
04d4621789 2020-12-10 2020-12-11 14:36:30 +08:00