Skip to content
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

How to map palette to impression 7.3 colours and avoid dithering #162

Open
ReX1983 opened this issue Apr 1, 2023 · 0 comments
Open

How to map palette to impression 7.3 colours and avoid dithering #162

ReX1983 opened this issue Apr 1, 2023 · 0 comments

Comments

@ReX1983
Copy link

ReX1983 commented Apr 1, 2023

Hello,

I have a Home Assistant dashboard that I want to show on the inky impression 7.3".
I get the snapshot via headless chromium, then convert it to 800x480, but now I am facing a dithering issue and the final result is low quality.

The snapshot has just 9 colours:

  • light blue
  • red
  • violet
  • dark yellow
  • green
  • black
  • dark grey
  • white
  • light grey

I am not after colour accuracy, what I am hoping to achieve is to translate the above colour to the native colours of the impression screen, something like:

  • light blue > solid blue
  • red > red
  • violet > orange
  • dark yellow > yellow
  • green > green
  • black > black
  • dark grey > black
  • white > white
  • light grey > white

Is there a way to achieve this in either python or command line?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant