public static FastResize ( Image originalImage, int newWidth, int newHeight ) : Image | ||
originalImage | Image | |
newWidth | int | |
newHeight | int | |
리턴 | Image |
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); }