txoof / epdlib

Python library for creating and writing modular layouts for e-paper screens
GNU General Public License v3.0
16 stars 8 forks source link

Add support for colored screens #1

Closed txoof closed 4 years ago

txoof commented 4 years ago

3 color screens throw errors when used with this code

txoof commented 4 years ago

simple fix is to change how screen handles displaying images -- pass an empty 1x1 image when dealing with a colored display.

This won't add color support, but will fix the problem of thrown errors.

txoof commented 4 years ago

commit https://github.com/txoof/epdlib/commit/70b168360eee31a5c8f2376118332048796ad674 should resolve this with the added cost of much slower refresh due to sluggish color change performance.

This can pave the way to adding color output.

txoof commented 4 years ago

merge in suggestions from pull request #2

txoof commented 4 years ago

Closed with commit https://github.com/txoof/epdlib/commit/7bf3865969cf1e1840cfd4878e220b7344609b5e

tmmorin commented 4 years ago

This fix works just fine, thank you !