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

Implement PixelColor for Color and TriColor #215

Merged
merged 2 commits into from
Oct 30, 2024

Conversation

andber1
Copy link
Contributor

@andber1 andber1 commented Oct 29, 2024

OctColor already has an implementation for PixelColor. I added implementations for Color and TriColor, so that one can draw images without using color_converted().
The documentation of color_converted says, it should be avoided (see here). So I think this might be helpful.

@auto-assign auto-assign bot requested a review from caemor October 29, 2024 20:57
@andber1
Copy link
Contributor Author

andber1 commented Oct 29, 2024

@blamster19 FYI: I noticed you "spent much time fiddling with wrong types" in #192. You may find this interesting.

@caemor
Copy link
Owner

caemor commented Oct 30, 2024

Thanks!!

@caemor caemor merged commit d9f9b4e into caemor:main Oct 30, 2024
2 checks passed
@andber1 andber1 deleted the impl-pixelcolor branch October 30, 2024 16:09
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

Successfully merging this pull request may close these issues.

2 participants