Here's a complete sample using lockbits: /*Note unsafe keyword*/ ![]() Here's a performance comparison I did a while back. The unsafe code is faster, but marshaling doesn't require unsafe code. You can use unsafe to get direct access to the data, or you can use marshaling to copy the data back and forth. ![]() ![]() You can do it a couple of different ways.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |