Skip to content

Issue a parse warning for out-of-domain arguments to the srgb keywords #466

@CousinRicky

Description

@CousinRicky

Is your feature request related to a problem?

The keywords srgb, srgbf, srgbt, and srgbft accept arguments outside the defined domain of the sRGB transfer function. This has caused confusion among users who are unclear on how these keywords work.

Describe the solution you'd like

Issue a non-fatal parse warning if any of the red, green, or blue components of the argument to srgb, etc. are less than 0 or greater than 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureproposal for a new feature, or alleged bug triaged as intentional but warranting improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions