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

allow transparent background #13

Open
mastef opened this issue Jun 9, 2019 · 1 comment
Open

allow transparent background #13

mastef opened this issue Jun 9, 2019 · 1 comment

Comments

@mastef
Copy link

mastef commented Jun 9, 2019

Currently transparent source files will produce a black background.

@cancerberoSgx
Copy link
Collaborator

Hi, I can't reproduce it with a png source image in node.js and the browser. Can you provide some repro steps?, how are consuming the API ? JavaScript ? How are you loading the Bitmap passed to ImageRunner ?

That last part is important, make sure your library/technology supports alpha channel.

Also if you are doing something similar to geometrize-haxe-web I suggest trying removing those lines adding a first big background rectangle, I'm pretty sure Util.getAverageImageColor is full opacity.

Good luck

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

2 participants