what's the difference between GdipBitmapLockBits and CreateDIBSection

Posted by Naveen on Stack Overflow See other posts from Stack Overflow or by Naveen
Published on 2010-06-08T16:18:20Z Indexed on 2010/06/08 16:22 UTC
Read the original article Hit count: 205

Filed under:
|
|

GdipBitmapLockBits works on pBitmaps, requires locking ?
CreatDIBSection gives you a DIBsection, doesn't require locking ?

which method is better for working with raw pixel data ?
Here are two implementations for finding the difference between two images using each method.

© Stack Overflow or respective owner

Related posts about win32

Related posts about bitmap