开发者

Upload a system.drawing.image to my website

This should be fairly simple, but I j开发者_StackOverflow中文版ust can't see the logic in it! In my C# code I'm having an image object (System.Drawing.Image) which I want to upload to my website.

I know how to upload files with the FileUpload control, but what about when I only have the Image object?

Thanks in advance!


When you have an Image, simply turn it into a byte array and send it to a service. Here's my article on the subject.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜