-
-
Notifications
You must be signed in to change notification settings - Fork 923
Closed
Description
Transparent backgrounds on png images are drawn on the canvas with a black background when img.toBlob() is set to image/jpeg.
My suggestion: Adding an option to set the fillStyle of the canvas. I tried hacking it in. Worked so far.
x.renderImageToCanvas=function(e, t, i, n, a, o, r, s, l, c, d) {
var u=e.getContext("2d");
u.fillStyle = '#FFFFFF';
u.fillRect(0,0,l,c);
...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels