Question Writablebitmap to byte array

JayBird

New member
Joined
Dec 28, 2011
Messages
2
Programming Experience
10+
Does anyone know a very simple way to convert a writeablebitmap to a byte array without to much fuss? I've read a lot on the net and everyone seems to go into so much code (mostly in c#) to do what looks to be such a simple operation? Either that or they link 4 or 5 reference links on how to write code to take over the world... I'm just looking for a nice simple solution please if anyone could help?
 
There is no "nice simple solution". In order to provide the ability to be writeable, the class provides a thin veil between the managed type and the unmanaged memory underneath. If you want a Byte array then you have to create your own and then read the data from the unmanaged memory into it.
 
Back
Top