Hi Atmapuri,
Yes, you can write directly using LockBits and unsafe code blocks.
See Bob Powells GDI+ Faq for a description on how to do this.
http://www.bobpowell.net/lockingbits.htm
On Tue, 05 Sep 2006 12:25:31 +0200, Atmapuri <(E-Mail Removed)> wrote:
> Hi!
>
> I was profiling a drawing applicationa and Bitmap.SetPixel
> is consuming 90% of all CPU. Is there an alternative way
> to create the bitmap and fill it with data that is stored
> in an array of doubles?
>
> Thanks!
> Atmapuri
>
>
--
Happy Coding!
Morten Wennevik [C# MVP]