Login  Register

Re: Rotate an image with given angle

Posted by Antoinette on Jun 28, 2013; 3:50am
URL: http://imagej.273.s1.nabble.com/Rotate-an-image-with-given-angle-tp5000544p5003688.html

You can take a look of this .NET Image Processing SDK which is runtime royalty free for the trial version. Following is the image rotating api method and c# sample code:

public static int ApplyRotate(REImage img, int deg);

REImage reImage = REFile.OpenImageFile(fileName);

ImageProcessing.ApplyRotate(reImage, 60);

REFile.SaveImageFile(reImage, "c:/reimage.png", new PNGEncoder());