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

Kornél Pál kornelpal at hotmail.com
Mon Sep 26 17:30:23 EDT 2005


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.

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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ImageList.tar.gz
Type: application/x-gzip
Size: 7283 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050926/4dc31757/attachment.gz 


More information about the Mono-devel-list mailing list