-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug or feature? #154
Comments
I'm not 100% sure what "red as color" is but I'm going to guess you want to just end up with a black and white image? If that's the case you can adjust the omni-epd config to only use black and white. If you want to adjust the palette filter so that a different color is drawn as red (like black) you can do that too. For more info on the color mode and palette filtering read this: https://github.com/robweber/omni-epd/tree/main#advanced-epd-control |
I have this display And when test.mp4 runs it frames are drawn in red color. It works but looks well funky as red still images. Black would be better. I can for example use this code to draw black or red. imageBlack = Image.new('1', (epd7in5bc.EPD_WIDTH, epd7in5bc.EPD_HEIGHT), 255) # 255: clear frame #Display image |
The easiest thing to do if you just want black and white is to change the mode to "bw". For multi color displays essentially what happens is what you have listed in the code above. There is a palette of accepted colors, generally black, white, and whatever other color the display supports. The image if filtered based on these colors and the two resulting images sent to the EPD. Since the test.mp4 file is only in b/w already I would imagine it's taking anything in sort of a "gray" and making it red. I don't have that specific display to test myself but I see it is marked at tested in the compatible displays. |
To begin, thank you for a cool thing.
I have the 3 color display, Red / Black / White and when I run test.mp4 it uses red as color.
Can this be adjusted to use black instead?
The text was updated successfully, but these errors were encountered: