dmester / pdftosvg.net

Fully managed .NET library for converting PDF files to SVG.
https://pdftosvg.net
Other
57 stars 12 forks source link

Transparent background #18

Closed mmettey closed 10 months ago

mmettey commented 10 months ago

Hello, I found a small issue concerning the handling of transparency on some images. When converting the pdf page in attachment, we can see that three images on the page, that initially have transparent background, have a white background when converted to svg.

page-background-issue.pdf page-background-issue-1.svg

dmester commented 10 months ago

Thanks for reporting this issue. Turns out the images in this PDF are not really transparent, but are using blending modes to simulate transparency. Support for blending modes is added to version 0.16.0 so the PDF should now convert correctly.