How to C#: Imaging
Using Imaging SDK for C#.NET
Winforms Controls
Image Load
Image Access and Modify
Geometry: Rotate
Geometry: Rotate
Home ›› XImage.Raster ›› C# Raster: Rotate Image according to Specified angle

How to C#: Rotate Image according to Specified angle

Tutorial for How to Rotate Image

Rotate Image

By using the XImage.Raster SDK, you can rotate the image according to the specified angle.

Sample Code (rotate image):

RasterImage img = new RasterImage(@"F:\input.tif");
ImageProcess process = new ImageProcess(img);
//Rotate image, the target angle is 30(clockwise), and the negative value will give you a anticlockwise rotate.
//only rotate the second page of the input tif
process.RotateImage(30, 1);