[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-winforms-list
Subject:    Re: [Mono-winforms-list] Are 16-bit and 24-bit
From:       "Jonathan Gilbert" <2a5gjx302 () sneakemail ! com>
Date:       2005-11-10 13:39:40
Message-ID: 12178-88588 () sneakemail ! com
[Download RAW message or body]

At 12:06 PM 10/11/2005 +0100, Kornel wrote:
>Using Format32bppArgb internally in libgdiplus can result in better
>performance, but I think conversion should be done when loading and saving
>bitmaps but Bitmap.PixelFormat should return the original pixel format for
>compatibility.

For indexed pixel formats, this is not an option, because it does not
preserve the palette indices. This is why I added direct support for those
pixel formats. This road might work for 15- and 16-bit images, though, and
would have the added effect that people get an extra couple bits of
accuracy on every channel for any sequence of drawing operations they want
to do :-) Even if we subsequently quantize down to 15- or 16-bit data
before saving, the results should be marginally better (less quantization
error).

Jonathan Gilbert
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic