Embedding a Bitmap in ASP.NET's WebResource
Posted
by Andreas Grech
on Stack Overflow
See other posts from Stack Overflow
or by Andreas Grech
Published on 2010-04-06T12:25:47Z
Indexed on
2010/04/06
12:43 UTC
Read the original article
Hit count: 272
I am generating a System.Drawing.Bitmap
on the fly in an ASP.NET Custom Web Server Control, and then I want to serve this bitmap as part of the WebResource, because I do not want to save it on the hosting computer.
Is there a way to instruct ASP.NET to serve the generated System.Drawing.Bitmap
as part of it's WebResource? (therefore making it an "Embedded Resource")
© Stack Overflow or respective owner