Esempio n. 1
0
        internal override void Run(FreeImage image)
        {
            int hwnd = FreeImageApi.Rescale(image.GetFreeImageHwnd(), this.Width
                                            , this.Height, _Filter);

            image.DisposeAndSetHandle(hwnd);
        }
Esempio n. 2
0
        public FreeImage Rescale(int width, int height)
        {
            int newHandle = FreeImageApi.Rescale(m_Handle, width, height, FreeImageFilter.BICUBIC);

            return(new FreeImage(newHandle));
        }