Click here to Skip to main content
15,879,535 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

1. I want to rotate a tift image with c# in Window base application with PictureBox Control. This image is single fax image and contains six pages means one image contains 6 more images so i want to rotate this image. When i rotated any single page image which is working perfectly. But in Multi pages image are throw GUI error.

2. Also i want to save the image rotation in image file which is normal behavior of image. When you normally rotate any image and next time it will open rotated angle.

My Code is given below:

Image img = PictureBox.Image;
img.RotateFlip(RotateFlipType.Rotate90FlipNone);
img.Save(ImagePath);
PictureBox.Image = img;
img.Dispose();
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900