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

1 Bit Color support #1

Open
tgb20 opened this issue Jun 2, 2023 · 1 comment
Open

1 Bit Color support #1

tgb20 opened this issue Jun 2, 2023 · 1 comment

Comments

@tgb20
Copy link

tgb20 commented Jun 2, 2023

Is there any possibility of supporting a 1bit color space with this package?

@gonutz
Copy link
Owner

gonutz commented Jun 2, 2023

Sure, the 16 bit mode already does a lot of bit manipulation, should not be a big deal to support 1 but as well.
Unfortunately I can not do it, at least not for the foreseeable future. I have neither the hardware lying around, nor the time to do it.
If you would like to give it a try, you can take a look at the code, it is very small, and create a new color model for 1 bit. The tricky parts for 16 bit are documented and if you have any questions, post them in this issue and I will help you as much as I can :-)

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

2 participants