[Mono-dev] [PATCH] Reworked ImageList (updated)

Jackson Harper jackson at ximian.com
Tue Sep 27 03:10:42 EDT 2005


On Mon, 2005-09-26 at 23:30 +0200, Kornél Pál wrote:
> Hi,
> 
> I updated the proposed path: Created an IndexedColorDepths nested class that
> delays palette initialization until it is needed and added an array that
> contains sqare values for color distances. This should speed up
> ReduceColorDepth.

Hey Kornel, thanks very much for working on this. After applying this
patch and updating and rebuilding my libgdiplus (saw you had a patch
there) the winforms/treeview sample is crashing for me.

Have you tried running this test?

Thanks!
Jackson


> Kornél
> 
> ----- Original Message -----
> From: "Kornél Pál" <kornelpal at hotmail.com>
> To: <mono-devel-list at lists.ximian.com>
> Sent: Monday, September 26, 2005 2:14 PM
> Subject: [Mono-dev] [PATCH] Reworked ImageList
> 
> 
> > Hi,
> >
> > I modified nearly everything in ImageList implementation to make it
> > compatible wint MS.NET.
> >
> > For more information look at the source code. The biggest change is that
> > it
> > uses 32-bit ARGB Images anyway to can provide transparency and can return
> > the expected 32-bit Images. To provide compatibility with MS.NET it
> > reduces
> > colors and ignores non-zero alpha levels according to the ColorDepth
> > property.
> >
> > Please do some tests with the new implementation with MS GDI+ as well as
> > Mono libgdiplus.
> >
> > Please review and approve the patch.
> >
> > Kornél
> >
> 
> 
> --------------------------------------------------------------------------------
> 
> 
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> >
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list




More information about the Mono-devel-list mailing list