Re: loading an image in to Bitmap
Chris Anderson <[email protected]> Thu, 12 Jul 2007 00:39:39 +0100
| Newsgroups | gmane.comp.windows.devel.dotnet.web |
|---|---|
| Message-ID | <[email protected]> |
> Why is the file on disk? > I'm guessing (based on this being a web list) that it's being uploaded? > If this is the case, I'm wondering if the upload can be performed into > a memory stream instead of a disk-based file? If this is the case, you can access the bytes of the uploaded file using the FileContent property of the FileUpload control (if that is what you are using), so can feed that into a stream and create the Bitmap using that - with no requirement to save it first. Chris =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com