Skip to content

XYZ to RGB debug #24

@ChenJash

Description

@ChenJash

Thank you for your code. I use C++to process colors temporarily, and these codes have provided me with some convenience.

An error was found in the XYZ_to_RGB.hpp

There is an error in the calculation order of converting linear rgb to srgb in line 19. The correct order is:

std:: pow (linear srgb color (i), 1.0/2.4) * 1.055-0.055

Perhaps you can verify and fix this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions