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

Support colorspaces with alpha? #10

Open
jpoz opened this issue Nov 22, 2016 · 4 comments
Open

Support colorspaces with alpha? #10

jpoz opened this issue Nov 22, 2016 · 4 comments

Comments

@jpoz
Copy link

jpoz commented Nov 22, 2016

Wondering if you're planning on supporting colorspaces with alpha channels?

@lucasb-eyer
Copy link
Owner

There is no conversion involved in the alpha channel: Alpha value is a single additional channel that doesn't change as color space changes. That's why there is no alpha anywhere in go-colorful: it's not necessary.

What specifically are you missing or would you want to see?

@jpoz
Copy link
Author

jpoz commented Nov 24, 2016

I'm trying to blend two colors with alpha values. Just wondering if you're going to add alpha compositing.

@lucasb-eyer
Copy link
Owner

Oh, I see. I guess you mean using the equations presented on wiki, right?
It's not planned, but I would accept a non-invasive PR adding it.

@tariq1890
Copy link

@lucasb-eyer This feature would be really appreciated.

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

No branches or pull requests

3 participants