Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Transparent PNGs Rendering With Black Background #9

Open
Jamie0 opened this issue Sep 10, 2020 · 1 comment
Open

Transparent PNGs Rendering With Black Background #9

Jamie0 opened this issue Sep 10, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@Jamie0
Copy link

Jamie0 commented Sep 10, 2020

At the moment, when including a transparent PNG in a generated PDF, with fit_width set to true, the image instead has a black background.

I haven't tested other image formats with alpha channels yet, but this could apply to other formats.

@jussiniinikoski jussiniinikoski added the enhancement New feature or request label Sep 12, 2020
@jussiniinikoski
Copy link
Owner

Thanks for testing! All images are currently translated to JPG format via canvas element, so transparent backgrounds are unfortunately not an option. We could handle PNG images separately, so I'm sticking an enhancement label to this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants