Converting Bitmap into ByteArray

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,

In my application,I should send a bitmap to a printer for printing.For that
I have to convert that bitmap into bytearray .But I'm not able to convert
bitmap into bytearray,since,CF does not support Imagestream and lock bits.

Do anyone have ideas of converting a Bitmap into Byte array in C# targetting
compact framework?
 
If migrating to CF 2.0 is an option for you, I recommend doing it. There is
performance increase and you can get access to the bitmap bits
 
Back
Top