Converting Byte array to jpeg image on compact framewrok

O

okaminer

Hello
I need to present jpeg image in picture box in compact framework

I have the picture as byte[] (arrya) and I need to convert it to Image

Any one has any idea how to do this in the compact framework where we
don't have
FromStream function?
 
B

Benjamin

Hi,

my only idea is to save the bytearray to disc and load the image.

br Benjamin
 
R

Rüdiger Kardel

sth. like:

MemoryStream myStream = new MemoryStream(myByteArray);
Bitmap bm = new Bitmap( myStream ); ?


Ruediger
 

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