flyingsaucerproject / flyingsaucer

XML/XHTML and CSS 2.1 renderer in pure Java
Other
2.02k stars 565 forks source link

Transparent background of resized base64 encoded images changes to black #392

Closed OpenHelios closed 1 month ago

OpenHelios commented 2 months ago

The current version 9.9.4 of flying-soucer-core does not respect the transparent background of a resized image defined by an img tag with an src attribute containing a base64 encoded image of type ABGR. Normally the transparent background is also in the resized image, but the background changes excidently from transparent to black color.

The same works for an img tag with an src attribute containing an image filename. The transparent background works in both cases, if the size of the image is not changed by a different width or height attribute or a corresponding CSS definition.