Leaders snarfblam Posted July 6, 2006 Leaders Posted July 6, 2006 A few people have asked about bitmap manipulation recently. The biggest problem with GDI+ is that it can be pretty slow, especially on color-based per-pixel operations, since the only easy means of doing this is with the GetPixel/SetPixel function pair, which is slow This tutorial explains how to lock bitmaps and more directly access the data to give your app a huge performance boost. Code examples and samples are given in C#, but a language-neutral approach was taken (no pointers) so that the code can easily be converted to VB or C++ and is verifiable by the runtime. http://ilab.ahemm.org/tutBitmap.html Comments are welcome, here or by e-mail. Enjoy. Or don't. Whatever. Quote [sIGPIC]e[/sIGPIC]
Leaders snarfblam Posted December 19, 2006 Author Leaders Posted December 19, 2006 Attached tutorial here because of hosting problems.BitmapTutorial.zip Quote [sIGPIC]e[/sIGPIC]
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.