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.
精彩评论