internal override void Run(FreeImage image) { int hwnd = FreeImageApi.Rescale(image.GetFreeImageHwnd(), this.Width , this.Height, _Filter); image.DisposeAndSetHandle(hwnd); }
public FreeImage Rescale(int width, int height) { int newHandle = FreeImageApi.Rescale(m_Handle, width, height, FreeImageFilter.BICUBIC); return(new FreeImage(newHandle)); }