Exemplo n.º 1
0
 /// <summary>
 /// Resize image to a specific size.
 /// </summary>
 /// <param name="width">Width.</param>
 /// <param name="height">Height.</param>
 /// <returns>New resized image.</returns>
 public IImage ResizeTo(int width, int height)
 {
     image.InterpolativeResize(width, height, PixelInterpolateMethod.Average);
     return(this);
 }
Exemplo n.º 2
0
 public void Resize(int width, int height)
 {
     _current.InterpolativeResize(width, height, PixelInterpolateMethod.Mesh);
 }