Hi,
Rotate the images.
Rotate the images
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
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
Blocked AccountRank #403 · 6.2K reputationPosted May 29, 2012, 2:40 AM EDT
You can rotate image by using CSS3 transform property
like that
define one style
.divStyle
{
transform:rotate(7deg);
-ms-transform:rotate(7deg); /* IE 9 */
-moz-transform:rotate(7deg); /* Firefox */
-webkit-transform:rotate(7deg); /* Safari and Chrome */
-o-transform:rotate(7deg); /* Opera */
}
and now apply this style like that
Yashwanth Sannithi81 reputationPosted May 29, 2012, 3:06 AM EDT
It is working as,showing just cross image.
My criteria is, the image will rotate in 4 directions.
Felton LEE2 reputationPosted Apr 18, 2013, 10:59 PM EDT
here is a short sample code, and you can see this for more image processing in c#.
public static void RotateImageDemo() { string fileName = "c:/Sample.png"; REImage reImage = REFile.OpenImageFile(fileName); ImageProcessing.applyRotate(reImage, 50); REFile.SaveImageFile(reImage, "c:/reimage.png", new PNGEncoder()); }