Click to See Complete Forum and Search --> : .NET F ---> .NET CF / Problem with image


blach
April 4th, 2003, 09:54 AM
Hello

I'm working on a Web Services consummer application for Windows and Pocket PC.

I meet a problem :
I get images from a database in a byte array :
myStream = System.IO.MemoryStream(myByteArray)

then I rebuild images with :
myImage = Image.FromFile(myStream)

It works on desktop

But on PPC, the FromFile method doesn't exist !!! Does anybody know how to convert some bytearray into image with the Compact Framework in C#.

thanks a lot !!

Julien