Dear All,
How to rotate image dynamically and mannualy.
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Parveen SiwachRank #6,758 · 257 reputationPosted May 15, 2013, 12:46 PM EDT
http://code.google.com/p/jqueryrotate/
or you can follow the following article:
http://ajaypatelfromsanthal.blogspot.in/2012/06/image-rotation-in-javascript.html
Hope this will help you.
Jagatpal SinghRank #1,947 · 751 reputationPosted May 21, 2013, 12:15 AM EDT
Parveen SiwachRank #6,758 · 257 reputationPosted May 21, 2013, 12:44 AM EDT
http://www.codeproject.com/Articles/69675/Text-To-Image-With-Rotation-For-The-Web
You can also try this code:
using (System.Drawing.Image myImage = System.Drawing.Image.FromFile(@"C:\ParveenSiwach.jpg"))
{
myImage.RotateFlip(System.Drawing.RotateFlipType.Rotate180FlipNone);
myImage.Save(@"C:\ParveenSiwach_New.jpg");
}
RotateFlipType has following possible values:
// Summary:
// Specifies a 180-degree clockwise rotation followed by a horizontal and vertical
// flip.
Rotate180FlipXY = 0,
//
// Summary:
// Specifies no clockwise rotation and no flipping.
RotateNoneFlipNone = 0,
//
// Summary:
// Specifies a 270-degree clockwise rotation followed by a horizontal and vertical
// flip.
Rotate270FlipXY = 1,
//
// Summary:
// Specifies a 90-degree clockwise rotation without flipping.
Rotate90FlipNone = 1,
//
// Summary:
// Specifies a 180-degree clockwise rotation without flipping.
Rotate180FlipNone = 2,
//
// Summary:
// Specifies no clockwise rotation followed by a horizontal and vertical flip.
RotateNoneFlipXY = 2,
//
// Summary:
// Specifies a 270-degree clockwise rotation without flipping.
Rotate270FlipNone = 3,
//
// Summary:
// Specifies a 90-degree clockwise rotation followed by a horizontal and vertical
// flip.
Rotate90FlipXY = 3,
//
// Summary:
// Specifies a 180-degree clockwise rotation followed by a vertical flip.
Rotate180FlipY = 4,
//
// Summary:
// Specifies no clockwise rotation followed by a horizontal flip.
RotateNoneFlipX = 4,
//
// Summary:
// Specifies a 90-degree clockwise rotation followed by a horizontal flip.
Rotate90FlipX = 5,
//
// Summary:
// Specifies a 270-degree clockwise rotation followed by a vertical flip.
Rotate270FlipY = 5,
//
// Summary:
// Specifies no clockwise rotation followed by a vertical flip.
RotateNoneFlipY = 6,
//
// Summary:
// Specifies a 180-degree clockwise rotation followed by a horizontal flip.
Rotate180FlipX = 6,
//
// Summary:
// Specifies a 90-degree clockwise rotation followed by a vertical flip.
Rotate90FlipY = 7,
//
// Summary:
// Specifies a 270-degree clockwise rotation followed by a horizontal flip.
Rotate270FlipX = 7,
This will surely help you to solve your problem.
amy white16 reputationPosted Mar 16, 2014, 10:41 PM EDT
http://stackoverflow.com/questions/16583466/rotation-of-images-in-asp-net-c-sharp-by-using-javascript