public static Image FastResize(Image originalImage, int newWidth, int newHeight) { return Resize(originalImage, newWidth, newHeight, CompositingQuality.HighSpeed, SmoothingMode.HighSpeed, InterpolationMode.Low, PixelOffsetMode.HighSpeed); }
private void SetSize(Size size) { this.size = size; this.bitmap = (Bitmap)ImageOperations.FastResize(this.originalImage, (int)size.Width, (int)size.Height); }