You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just saw #199 but as it has no content, plus it contains multiple issues, I thought I'd write this up.
I'm very new to this library, but it seems great and mostly covers everything I need. However, I'm trying to add transparency to fill colour. Looking at the code, it seems like it's using ARGB (and in the Color class handles ARGB channels), however in the saved out presentation, it seems to always use a 100% alpha channel.
Taking the Linear gradient example from the samples directory the following code makes the background a gradient;
I assumed by changing the prefixing FF (alpha channel) that this would just work but it appears not. Is there anything special needed to get Alpha transparency to work?
Thanks for all your hard work!
The text was updated successfully, but these errors were encountered:
Looking deeper into the code (though I don't really have the time right now), looks like this shouldn't be too difficult to implement (given the documentation of OOXML is reasonable :/). I may put together a pull request once I've gone through the contributing notes.
But when opening in Keynote and Google Slides (ironically, I don't have PowerPoint), whatever I put in the value of the alpha element, it ends up with an alpha value of 0. Perhaps I'm missing something?
Edit: Looks like values need to be * 1000. Pull request on it's way :)
Hello!
Just saw #199 but as it has no content, plus it contains multiple issues, I thought I'd write this up.
I'm very new to this library, but it seems great and mostly covers everything I need. However, I'm trying to add transparency to fill colour. Looking at the code, it seems like it's using ARGB (and in the Color class handles ARGB channels), however in the saved out presentation, it seems to always use a 100% alpha channel.
Taking the Linear gradient example from the samples directory the following code makes the background a gradient;
I assumed by changing the prefixing
FF
(alpha channel) that this would just work but it appears not. Is there anything special needed to get Alpha transparency to work?Thanks for all your hard work!
The text was updated successfully, but these errors were encountered: