robweber / omni-epd

An EPD (electronic paper display) class abstraction to simplify communications across multiple display types.
GNU General Public License v3.0
77 stars 16 forks source link

Add Inky Displays #2

Closed robweber closed 3 years ago

robweber commented 3 years ago

This PR will add several of the Inky devices as valid displays to load. One caveat in testing is that compared to the waveshare devices the Inky displays don't do any image processing to ensure valid color correction. It is necessary to include code similar to the following outside of the EPD display functions to make sure you're passing in colors the display can handle.

# assuming we want 2 colors (black/white)
pil_im = pil_im.convert(mode='1')
robweber commented 3 years ago

Fixed issues with color correction by added a mechanism to define defaults per display (within class) or overriding with custom .ini files at a user level.