Re: about image rotating
- From: "Nathan Sokalski" <njsokalski@xxxxxxxxxxx>
- Date: Mon, 23 Jun 2008 23:39:45 -0400
Well, I'm not going to write the whole function for you, but you basically
need to create an *.aspx page that returns an image/gif. In the Load event,
you will simply use the classes in the System.Drawing namespace to rotate
it. If you have never created an *.aspx that returns an image/gif, you
basically use the Save() method of a Bitmap to output the image to the
Response.OutputStream like the following:
mybitmap.Save(Response.OutputStream, ImageFormat.Gif)
I'm not going to going into the other details of the steps you will need to
take, but most of them are reasonably simple, and if you can find a good
website I think you'll be able to figure it out. Good Luck!
--
Nathan Sokalski
njsokalski@xxxxxxxxxxx
http://www.nathansokalski.com/
"Michael" <Michael_MSDN@xxxxxxxxxxxxxxx> wrote in message
news:OKFdbzZ1IHA.3920@xxxxxxxxxxxxxxxxxxxxxxx
Hello all, how could I rotate a server side image in asp.net and show it
in web page? Thanks.
.
- References:
- about image rotating
- From: Michael
- about image rotating
- Prev by Date: Re: ASP.NET 2.0 Web Page Problem?
- Next by Date: RE: about image rotating
- Previous by thread: about image rotating
- Next by thread: RE: about image rotating
- Index(es):
Relevant Pages
|