AFAIR libgdiplus delegates to libpng reading the bitmap, probably libpng is
returning something different from the usual on Debian unstable for your
image. Did you try with other images, or with a trunk/older version of
libpng?

On Tue, Jun 9, 2015, 06:40 Benjamin Schieder <benja...@anderdonau.de> wrote:

> Hello Alex.
>
> I have followed those instructions and done a dist-upgrade, but after
> re-compiling with mcs the problem persists unchanged. I have the following
> versions now:
>
> [11:38:29][blindcoder@flora:~/Downloads/PZ/MapMap]$ mcs --version
> Mono C# compiler version 4.0.1.0
> [11:38:34][blindcoder@flora:~/Downloads/PZ/MapMap]$ mono --version
> Mono JIT compiler version 4.0.1 (tarball Thu May 28 09:08:28 UTC 2015)
> Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors.
> www.mono-project.com
>     TLS:           __thread
>     SIGSEGV:       altstack
>     Notifications: epoll
>     Architecture:  amd64
>     Disabled:      none
>     Misc:          softdebug
>     LLVM:          supported, not enabled.
>     GC:            sgen
> [11:38:37][blindcoder@flora:~/Downloads/PZ/MapMap]$ cli --version
> Mono JIT compiler version 4.0.1 (tarball Thu May 28 09:08:28 UTC 2015)
> Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors.
> www.mono-project.com
>     TLS:           __thread
>     SIGSEGV:       altstack
>     Notifications: epoll
>     Architecture:  amd64
>     Disabled:      none
>     Misc:          softdebug
>     LLVM:          supported, not enabled.
>     GC:            sgen
>
> Kind regards,
> Benjamin
>
> Am 2015-06-09 11:07, schrieb Alexander Köplinger:
>
> It works fine here with latest Mono 4.0.1.44 on Ubuntu. Can you try
> upgrading to latest Mono from Xamarin by following
> http://www.mono-project.com/docs/getting-started/install/linux/#debian-ubuntu-and-derivatives
>  ?
>
> I suspect this has something to do with libgdiplus (the native library
> most of the System.Drawing code calls into).
>
> -- Alex
>
> > To: mono-devel-list@lists.ximian.com
> > Date: Tue, 9 Jun 2015 10:15:02 +0200
> > From: benja...@anderdonau.de
> > Subject: [Mono-dev] Problem with PNG transparancy on current Debian
> Unstable
> >
> > Hello.
> >
> > I have a problem with PNG transparancy in mono on current Debian
> > Unstable.
> > I created a small example (4 kB download) with minimal code and two
> > example images:
> > https://oc.anderdonau.de/index.php/s/VwTAlcjETG6j3XP
> >
> > Running this example on a current Debian Unstable results in this - bad
> > - image:
> > https://oc.anderdonau.de/index.php/s/AtVtba0tpSk4bn8
> >
> > Running the same code on an old Debian Squeeze (on armel) results in
> > this - correct - image:
> > https://oc.anderdonau.de/index.php/s/eqhmXh9qpBbg0WW
> >
> > Can someone help me with this issue?
> >
> >
> > Kind regards,
> > Benjamin
> > --
> > Jabber: blindco...@jabber.ccc.de
> > Twitter: https://twitter.com/blind_coder
> > Web: http://www.benjamin-schieder.de/
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
>  Jabber: blindco...@jabber.ccc.de
> Twitter: https://twitter.com/blind_coder
> Web: http://www.benjamin-schieder.de/
>  _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to