This forum contains outdated content and is available for reading only. Please contact technical support if you have any questions.

Speed up Rotate Right 90 degree

Hi,

I am using this code to Rotate 90 Degree Clock Wise for my picture.
bitmap = New Aurigma.GraphicsMill.Bitmap(_item.Pidl.Path)
bitmap.Transforms.Rotate(90)

But, when it come to big picture, and high res, it will run very slow. Please advice.


Hello,

Please use RotateAndFlip method instead of Rotate one. It rotates on 90/180/270 degrees much faster then on arbitrary angle:

bitmap.Transforms.RotateAndFlip(System.Drawing.RotateFlipType.Rotate90FlipNone);
Fedor
Hello,

Please use RotateAndFlip method instead of Rotate one. It rotates on 90/180/270 degrees much faster then on arbitrary angle:

bitmap.Transforms.RotateAndFlip(System.Drawing.RotateFlipType.Rotate90FlipNone);



Thanks !!!