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

Background is mandatory? Transparent backgrounds not possible? #18

Closed
holtkamp opened this issue Mar 1, 2016 · 5 comments
Closed

Background is mandatory? Transparent backgrounds not possible? #18

holtkamp opened this issue Mar 1, 2016 · 5 comments
Milestone

Comments

@holtkamp
Copy link

holtkamp commented Mar 1, 2016

When looking at the source code, it seems that a background is always added.

When looking on how to set a 'transparent' color as background color, I got stuck. It seems the Gray, Rgb and Cmyk do not support transparancy / alpha channel?

@SimplyCorey
Copy link
Contributor

@DASPRiD I have had quite a few users ask about this down stream as well. I looked over #10 and I agree that the background color should be white by default. If I go ahead and make a pull request with the requested change, can we get this merged in?

Thanks :)

@DASPRiD
Copy link
Member

DASPRiD commented Apr 19, 2016

I guess so. I'd say that we could alternatively offer RGBA as a color (at least for the outputs, which supports it. I'm not sure whether CMYKA would make any sense, would have to think about that.

@SimplyCorey
Copy link
Contributor

RGBA sounds like a better approach. EPS, PNG, would be able to support alpha channels. SVG may be able to through the use of fill-opacity?

@DASPRiD
Copy link
Member

DASPRiD commented Apr 19, 2016

SVG supports style="fill: rgba();" just fine.

@DASPRiD
Copy link
Member

DASPRiD commented Apr 19, 2016

But as said, Gray and CMYK would have to allow alpha channels as well for consistency.

@DASPRiD DASPRiD added this to the 2.0 milestone Oct 26, 2017
@DASPRiD DASPRiD mentioned this issue Oct 26, 2017
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants