Skip to content

Fix issues in the Levels dialog with red and blue being reversed#1551

Merged
cameronwhite merged 1 commit into
masterfrom
fix/levels-bgra
Jun 15, 2025
Merged

Fix issues in the Levels dialog with red and blue being reversed#1551
cameronwhite merged 1 commit into
masterfrom
fix/levels-bgra

Conversation

@cameronwhite
Copy link
Copy Markdown
Member

The Red toggle was actually affecting the blue color in some code paths, and vice versa, because the channel indices for ColorBgra are also used to index into the mask.

Screen.Recording.2025-06-14.at.11.39.00.PM.mp4

The Red toggle was actually affecting the blue color in some code paths, and vice versa, because the channel indices for ColorBgra are also used to index into the mask.
@cameronwhite cameronwhite merged commit 9412756 into master Jun 15, 2025
11 checks passed
@cameronwhite cameronwhite deleted the fix/levels-bgra branch June 15, 2025 12:54
@pedropaulosuzuki
Copy link
Copy Markdown
Contributor

This looks like a good case for #1550, no?

@cameronwhite cameronwhite mentioned this pull request Jun 17, 2025
4 tasks
@cameronwhite
Copy link
Copy Markdown
Member Author

Yeah it's a pretty safe bug fix to backport - I'll add it to the list

@cameronwhite cameronwhite added this to the 3.0.2 milestone Jul 6, 2025
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