ststeiger / PdfSharpCore

Port of the PdfSharp library to .NET Core - largely removed GDI+ (only missing GetFontData - which can be replaced with freetype2)
Other
1.08k stars 237 forks source link

Transparent Image is rendering with a black background #49

Closed lavanyadeepak closed 4 years ago

lavanyadeepak commented 5 years ago

I am trying to embed a image with transparent background to a PDF using PDFSharp (for .NET Core). The image is rendering with a black background.

My guess is on Windows the transparent background is handled by GDIPlus.dll which might not be available on Linux. Do we have a workaround for it?

ststeiger commented 5 years ago

Do you have the latest nuget ? This was solved a month ago: https://github.com/ststeiger/PdfSharpCore/issues/41

lavanyadeepak commented 5 years ago

We are currently using 1.1.10. And it shows 1.1.12 as the latest latest one? Did you mean the latter?

image

ststeiger commented 5 years ago

1.1.12 should be it, yes