We have implemented such a solution, any suggestion on this is welcome
public static class BitmapExtensions
{
public static void RotateFlip(ref AnyBitmap bitmap, float degree = 0)
{
if (degree <= 0 || degree >= 360)
return;
SixLabors.ImageSharp.Image image = (SixLabors.ImageSharp.Image)bitmap;
image.Mutate(x => x.Rotate(degree));
bitmap = image;
}
}
We have implemented such a solution, any suggestion on this is welcome