Skip to content

Convert utility is needlessly gamut mapping HDR colors in HDR colorspaces #11

@svgeesus

Description

@svgeesus

For example color(display-p3 0 1.5 0) is color(rec2020 0.7082 1.528 0.1721) and this ,correctly,gets gamut mapped because Rec BT.2020 is an SDR colorspace.

But color(rec2100-linear 0.5039 2.389 0.0447) should not be gamut mapped, it is an HDR space where (1 1 1) is SDR white and HDR colors have one or more components above 1.

I suspect this is because rec2100-linear is inheriting too much from the implementation of rec2020-linear.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions