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

RGBtoHSL doesn't work properly with pure white color #512

Closed
lehuan5062 opened this issue Jun 17, 2020 · 5 comments
Closed

RGBtoHSL doesn't work properly with pure white color #512

lehuan5062 opened this issue Jun 17, 2020 · 5 comments
Labels

Comments

@lehuan5062
Copy link

lehuan5062 commented Jun 17, 2020

Problem

Expected behavior:
RGBtoHSL should convert white color to the stable result which can be seen in other software.

Actual behavior:
The result is different.

Steps to Reproduce

  1. Create a white constant.
  2. Connect to the RGBtoHSL node and view the result.
  3. Here is the comparison with Nuke and Fusion:
  • Natron (has a warning):
    image
  • Nuke:
    image
  • Fusion:
    image

I know that RGBtoHSL doesn't apply gamma correction like Nuke and Fusion, but the result is only different in the pure white color. Another comparison that contain other color than white:

The only difference between Natron and the others is the logo at the bottom right corner. It's originally pure white. Here is the closer view of Natron result: https://cdn.discordapp.com/attachments/416187415879876612/722369471645220884/unknown.png

The edge of the logo blended with other color, it's not pure white so the conversion seems to be corrected. But the inside is pure white. This is the value: https://cdn.discordapp.com/attachments/416187415879876612/722370636110102579/unknown.png

Versions

  • Natron version/commit: 2.3.16 beta 1
  • OS version: Windows 10
@lehuan5062
Copy link
Author

I don't know if it is related to #513

devernay added a commit to NatronGitHub/openfx-supportext that referenced this issue Jun 17, 2020
@devernay
Copy link
Member

no it's not; fix is commited, will be in the next beta (2.3.16beta2)

@lehuan5062
Copy link
Author

great, thank you!

@Shrinks99
Copy link
Contributor

Shrinks99 commented Mar 13, 2021

Confirmed fixed in 2.3.16 beta2, the RGB --> HSL conversion still delivers different results than Nuke (presumably because of gamma correction, converting to sRGB before using RGBToHSL gives very similar results) however this fix works as expected and I think this issue can be closed! :D

There's also a few more issues that should be closed linked here 👀

@devernay
Copy link
Member

thanks!
fixed by NatronGitHub/openfx-supportext@0a01bd8

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

No branches or pull requests

3 participants