[Mono-winforms-list] Jonathan Gilbert's indexed color support patch

Jonathan Gilbert 2a5gjx302 at sneakemail.com
Thu May 26 19:58:20 EDT 2005

At 05:50 PM 26/05/2005 -0600, Peter Dennis Bartok wrote:
>Hi All,
>I've updated Jonathan Gilberts patch to work with current svn, it can be 
>found here:

Wow, thanks :-) Does that include the changes to System.Drawing as well?
They are integral to the patch, as they make Image::Palette and the
ColorPalette class behave properly.

>It still does not work with big endian systems, so this is my last
>ditch effort to find someone (Jonathan?) who will give it some love and make
>it work on all systems, or it will have to be abandoned, I can't spend the 
>keeping it in sync with head.
>It seems to handle images loaded from disk with no problem on both little 
>and big endian systems (as shown by winforms/endian), but when images are 
>retrieved from resources (resx), colors are swapped. The winforms/filedialog 
>test app shows the problem very nicely. The MWFteam itself doesn't have the 
>bandwidth right now to debug this, we're trying to get MWF itself finished.
>  Peter 

I still don't have a big-endian system to test with, but I'll look very
closely at the path followed when loading a bitmap from a resource and see
if I can spot the problem. I'll let you know if I find anything.

Jonathan Gilbert

More information about the Mono-winforms-list mailing list