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

Support custom pixel formats #7

Open
prcastro opened this issue Jan 5, 2024 · 1 comment
Open

Support custom pixel formats #7

prcastro opened this issue Jan 5, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@prcastro
Copy link
Owner

prcastro commented Jan 5, 2024

We currently support only BGRA32 colors. We should allow users to customize this when using the library.

References:

@prcastro prcastro added the enhancement New feature or request label Jan 5, 2024
@prcastro prcastro added this to the 0.3 Beta milestone Jan 5, 2024
@dcrawl
Copy link

dcrawl commented May 21, 2024

This would be really useful for my project. I'm trying to use ZeroGL as a C-Extension in DragonRuby but DR only accepts ABGR colours. So instead of altering ZeroGL, I post process the pixel array to convert it. However, that's not very efficient. I also noticed that ZeroGL doesn't deal with the Alpha channel in most of the colour functions so I have to force Alpha on. I don't know if this is just a product of the colour format or something else. Thanks.

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

No branches or pull requests

2 participants