Converting Bitmap into ByteArray

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?
 
A

Alex Feinman [MVP]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top