Exemple #1
0
 public IImage <CMYK> Crop(int x1, int y1, int width, int height)
 => ImageBase.Crop(this, Generate, x1, y1, width, height);
 public IImage <bool> Crop(int x1, int y1, int width, int height)
 => ImageBase.Crop(this, BinaryImage.Generate, x1, y1, width, height);
Exemple #3
0
 public IImage <CMYK> Crop(System.Drawing.Rectangle rect)
 => ImageBase.Crop(this, Generate, rect);
 public IImage <bool> Crop(System.Drawing.Rectangle rect)
 => ImageBase.Crop(this, BinaryImage.Generate, rect);
 public IImage<BGRA> Crop(int x1, int y1, int width, int height)
     => ImageBase.Crop(this, BgraImage.Generate, x1, y1, width, height);
 public IImage<BGRA> Crop(System.Drawing.Rectangle rect)
     => ImageBase.Crop(this, BgraImage.Generate, rect);
 public IImage <HSV> Crop(int x1, int y1, int width, int height)
 {
     return(ImageBase.Crop(this, Generate, x1, y1, width, height));
 }
 public static IImage <Y> Crop <Y>(IImage <Y> img, Func <int, int, Y[], IImage <Y> > func, Rectangle rect)
     where Y : struct, IEquatable <Y>
 {
     return(ImageBase.Crop(img, func, rect.X, rect.Y, rect.Width, rect.Height));
 }