How do I Pass an Image from Flash to ASP.NET?

后端 未结 3 554
甜味超标
甜味超标 2020-12-16 04:23

Quick version:

How do I get an image that was generated on the users browser back to the server?

The current plan is this:

  1. The Flash developer
3条回答
  •  一个人的身影
    2020-12-16 04:46

    If you need to manipulate the image, as long as you can get a byte[] or a Stream of the POSTed file, you can create an image of it, e.g.

    MemoryStream mstr = new MemoryStream(myByteArray);
    Image myImage = Image.FromStream(mstr);
    

提交回复
热议问题