mono / libgdiplus

C-based implementation of the GDI+ API
http://www.mono-project.com/
MIT License
334 stars 171 forks source link

bitmap.MakeTransparent works different on linux #615

Open poweralex opened 4 years ago

poweralex commented 4 years ago

I'm trying to draw a png image with a block of transparent on it. I'm using .Net Core 2.2 with System.Drawing.Common which uses libgdiplus on linux. The same code works fine on local windows environment, but when I deploy it on a Linux server, the block does not go transparent. Is there any anything I missed? or may be there's an issue?

env: I'm using libgdiplus 6.0.2(which is the newest version available) on a docker of alpine linux v3.8.4 ref: https://github.com/dotnet/corefx/issues/42783#issue-538888501

poweralex commented 4 years ago

I tested this on a new ubuntu server, it works fine. this might be the issue of the "alpine linux".