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

implement (port) color daltonization of libzeug #20

Closed
cgcostume opened this issue Feb 16, 2018 · 1 comment
Closed

implement (port) color daltonization of libzeug #20

cgcostume opened this issue Feb 16, 2018 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@cgcostume
Copy link
Member

cgcostume commented Feb 16, 2018

enum ColorVisionDeficiency
{
    Protanope   // reds are greatly reduced   (1% men)
,   Deuteranope // greens are greatly reduced (1% men)
,   Tritanope   // blues are greatly reduced  (0.003% population)
};

Implementation: ColorVisionDeficiency.zip

This could be either added directly to the color.ts or as additional util in, e.g., colordeficiency.ts. Please not that the libzeug implementation uses sRGB and the current color class is currently favoring Adobe-RGB. Also, no unnecessary/additional xyz-rgb or rgp-xyz conversion should be implemented.

@cgcostume
Copy link
Member Author

moved to haeley-color

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant