convert byte to bitmap
//this is on client side
MemoryStream mstream=new MemoryStream();
Bitmap b=new Bitmap(@"C:\Documents andSettings\jelena\Desktop\lud'lo diplomski\image\Frame.bmp");
b.Save(mstream,System.Drawing.Imaging.ImageFormat. Bmp);
byte[] ba=mstream.ToArray();
BinaryWriter writer=new BinaryWriter(mstream);
writer.Write(ba);
//the problem is to receive this bytes on server side and convert them back to bmp
Thank's in advance
|