Hello Rafael. 

I have already established that it is most certainly a regression in
libgdiplus. Using an older version (2.10) with the current mono runtime
by overriding LD_LIBRARY_PATH to the 2.10 libgdiplus binary brings a
correct result. 

Kind regards,
Benjamin 

Am 2015-06-09 12:42, schrieb Rafael Teixeira: 

> 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 [1]
> 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 [1]
> 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
>  [2] ?
> 
> 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 [3]
>> 
>> Running this example on a current Debian Unstable results in this - bad 
>> - image:
>> https://oc.anderdonau.de/index.php/s/AtVtba0tpSk4bn8 [4]
>> 
>> Running the same code on an old Debian Squeeze (on armel) results in 
>> this - correct - image:
>> https://oc.anderdonau.de/index.php/s/eqhmXh9qpBbg0WW [5]
>> 
>> Can someone help me with this issue?
>> 
>> 
>> Kind regards,
>> Benjamin
>> -- 
>> Jabber: blindco...@jabber.ccc.de
>> Twitter: https://twitter.com/blind_coder [6]
>> Web: http://www.benjamin-schieder.de/ [7]
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list@lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list [8] 
> 
> Jabber: blindco...@jabber.ccc.de
> Twitter: https://twitter.com/blind_coder [6]
> Web: http://www.benjamin-schieder.de/ [7] 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list [8]

Jabber: blindco...@jabber.ccc.de
 Twitter: https://twitter.com/blind_coder [6]
 Web: http://www.benjamin-schieder.de/ [7] 

Links:
------
[1] http://www.mono-project.com
[2]
http://www.mono-project.com/docs/getting-started/install/linux/#debian-ubuntu-and-derivatives
[3] https://oc.anderdonau.de/index.php/s/VwTAlcjETG6j3XP
[4] https://oc.anderdonau.de/index.php/s/AtVtba0tpSk4bn8
[5] https://oc.anderdonau.de/index.php/s/eqhmXh9qpBbg0WW
[6] https://twitter.com/blind_coder
[7] http://www.benjamin-schieder.de/
[8] 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