Rotate

Rotate Bitmap

Rotates image on 90, 180, 270 degrees.

Сode Snippet

using (var bitmap = new Bitmap("Chicago.jpg"))
{
    bitmap.Transforms.Rotate(90);
    bitmap.Save("Rotate.jpg");
}

Input

Chicago.jpg

Output

Rotate.jpg

For AI-assisted development: Download Graphics Mill Code Samples XML Catalog