Skip to content

Clarify Image::set_color_at docs about R formats#23729

Open
lkolbly wants to merge 1 commit intobevyengine:mainfrom
lkolbly:main
Open

Clarify Image::set_color_at docs about R formats#23729
lkolbly wants to merge 1 commit intobevyengine:mainfrom
lkolbly:main

Conversation

@lkolbly
Copy link
Copy Markdown
Contributor

@lkolbly lkolbly commented Apr 8, 2026

Objective

The Image::set_color_at function converts the color to grayscale, and then uses the luminance as the value for the R channel.

Solution

This behaviour is intentional according to discussion in the original PR (#10392), therefore rather than change the behaviour to this PR changes the docs.

(Image::get_color_at's docs are already correct on this matter)

Testing

I did not test this change.

@kfc35 kfc35 added C-Docs An addition or correction to our documentation S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Apr 9, 2026
@andriyDev andriyDev added S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it and removed S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-Docs An addition or correction to our documentation S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants