Click here to Skip to main content
14,699,669 members
Articles » Multimedia » GDI+ » General » Revisions

Tagged as


3 bookmarked

Work with bitmaps faster in C#

Rate me:
Please Sign up or sign in to vote.
4.89/5 (6 votes)
15 Aug 2011CPOL
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 /...



Compare Revision Minor Date Status Editor
2 - publicly available No 15-Aug-11 10:18 Available Smitha Nishant
1 No 15-Aug-11 6:35 Composing robertjb20


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


About the Author

Software Developer n/a
Canada Canada
No Biography provided

Comments and Discussions