I have a System.Drawing.Image in my program. The file is not on the file system it is being held in memory. I need to create a stream from it. How would I go about doing this?
I have a System.Drawing.Image in my program. The file is not on the file
Share
Try the following:
Then you can use the following:
Replace GIF with whatever format is appropriate for your scenario.