eXoCooLd / Waveshare.EPaperDisplay

.Net Core Library to show images on Waveshare E-Paper Displays
MIT License
30 stars 13 forks source link

Changed dithering and image writing approach. #13

Closed thecaptncode closed 3 years ago

thecaptncode commented 3 years ago

Updates to disposing Fixed issues with Ebd7in5b_V2 Tests Commented out loading with dithering Added a struct for colors (red, green and blue) Added a color to device byte mapping method that finds the closest color Added color dithering while writing Added a DisplayWriter to simplify and standarize image writing Added a Epd7in5b_V2Writer which extends the DisplayWriter to handle the writing of two separate images, one for Black/White and one for Red