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

Improve tint luminance with weighting function #3859

Merged
merged 1 commit into from
Nov 19, 2023
Merged

Conversation

lovell
Copy link
Owner

@lovell lovell commented Nov 18, 2023

This PR applies the same a similar weighting function as ImageMagick to help preserve dark and light areas when using the tint operation.

See #3338 for context.

Co-authored-by: John Cupitt <jcupitt@gmail.com>
@lovell lovell mentioned this pull request Nov 18, 2023
@jcupitt
Copy link
Contributor

jcupitt commented Nov 18, 2023

Nice! Though it's not quite the same weighting function as IM, it should be a little better

@lovell lovell added this to the v0.33.0 milestone Nov 19, 2023
@lovell lovell merged commit 3f7313d into gauge Nov 19, 2023
34 checks passed
@lovell lovell deleted the tint-weighting branch November 19, 2023 13:19
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.

None yet

2 participants