show picture in a asp net page
we have a system written in PHP, and one of service the system offers is return a random picture.
now, my dot net c# code able to call that service and i have stored that random picture in a C# string, my question what is asp net's way to display that picture.
in PHP , i can use header('content-type :image/gif'), then use GD function
imagecreatefromstring($pictureString) to show picture in a web page.
System.Drawing is what you need. Its like the GD library but better lol
Theres also the System.Drawing.Imaging (check that out also, if you have trouble navigating through msdn, reply and ill give you the link)
thanks for reply.
i have implements a http handler class instead, seems like implements IHttpHandler is asp net way to process differerent http request in same page.