public static Bitmap rotate(this Bitmap bitmap, int degrees) { // create filter AForge.Imaging.Filters.RotateBicubic filter = new AForge.Imaging.Filters.RotateBicubic(degrees); // apply the filter return(filter.Apply(bitmap)); }
public static Bitmap rotate(this Bitmap bitmap, int degrees) { AForge.Imaging.Filters.RotateBicubic filter = new AForge.Imaging.Filters.RotateBicubic(degrees); return filter.Apply(bitmap); }