Click here to Skip to main content
12,625,289 members (41,290 online)
Click here to Skip to main content
Articles » Multimedia » GDI+ » General » Alternatives
Alternatives (2)
Add your own
alternative version

Tagged as

Stats

170.8K views
66 bookmarked
Posted

Work with Bitmaps Faster in C#

, 15 Aug 2011 CPOL
The alternative solution, how to work with images faster.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

20 Nov 2011
danlobo
I got what A.J tried to say. It's about implementing IDisposable in LockBitmap.Basically, it involves changing:public class LockBitmapto: public class LockBitmap : IDisposableThe constructor:public LockBitmap(Bitmap source){ this.source = source;}to:public...
15 Aug 2011
robertjb20
You can increase the speed of both SetPixel and GetPixel by doing the following:Add the line 'int step = 0' at the LockBitmap class level.Remove 'int' declation of 'step' in the LockBits method and calculate as is.In both SetPixel and GetPixel, remove the line:int cCount = Depth /...

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Vano Maisuradze
Architect
Georgia Georgia
No Biography provided

Pro
Pro
| | Privacy | Terms of Use | Mobile
Web02 | 2.8.161128.1 | Last Updated 15 Aug 2011
Article Copyright 2011 by Vano Maisuradze
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid