Rotate Gif/JPG

  • Thread starter Thread starter Cecil Windham
  • Start date Start date
C

Cecil Windham

I need to implement the ability to rotate a JPEG or GIF image 90 degrees to
the right or left (and then store the resulting image on disk). The online
documentation's a bit overkill for what I think I'm doing - so I'd
appreciate if someone point me to an example.

Thanks a million.
 
Image i = Image.FromFile("file.jpg")
img.RotateFlip(RotateFlipType.Rotate90FlipNone)
img.Save("file.jpg");
 
Back
Top