Esempio n. 1
0
 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));
 }
Esempio n. 2
0
 public static Bitmap rotate(this Bitmap bitmap, int degrees)
 {
     AForge.Imaging.Filters.RotateBicubic filter = new AForge.Imaging.Filters.RotateBicubic(degrees);
     return filter.Apply(bitmap);
 }