GMMorris Posted June 12, 2004 Posted June 12, 2004 Hi, I have recently migrated from windows forms to web forms, even though I'm I'm most definatly no new to web design and development. My question is so- Is there a way for me to generate dynamic graphics on the server (or any other way) in an ASP.Net application? I mean in WinForms I had GDI+, with which I could dynamicaly draw things. Is there an equivilent in Web? Quote Latly it would seem as though I'm don't abnegate from anything... except women. :( :)
*Experts* mutant Posted June 12, 2004 *Experts* Posted June 12, 2004 You can use GDI+ in web apps too. Simply create a new bitmap, draw whatever you want to on it and save it to the outputstream. 'create bitmap.... and do whatever you want bmap.Save(Response.OutputStream, Imaging.ImageFormat.Jpeg) Quote
Rodenberg Posted June 14, 2004 Posted June 14, 2004 You dont have to save it to the stream, what I normally do is store the file to a temp directory within the web application and assign the resulting value to an Image or ImageButton control. Quote
GMMorris Posted June 15, 2004 Author Posted June 15, 2004 cool, I didn't realise that. Thanks. Quote Latly it would seem as though I'm don't abnegate from anything... except women. :( :)
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.