internal override void Run(FreeImage image) { int hwnd = FreeImageApi.Rescale(image.GetFreeImageHwnd(), this.Width , this.Height, _Filter); image.DisposeAndSetHandle(hwnd); }
public static extern bool GetHistogram(FIBITMAP dib, int histo, FreeImage.FreeImageColorChannel channel);
public static extern int LoadFromMemory(FreeImage.FreeImageFormat format, IntPtr stream, int flags);
public static extern FIBITMAP ColorQuantize(FIBITMAP dib, FreeImage.FreeImageQuantize quantize);
public static extern FIBITMAP Rescale(FIBITMAP dib, int dst_width, int dst_height, FreeImage.FreeImageFilter filter);
public static extern bool FIFSupportsExportBPP(FreeImage.FreeImageFormat format, int bpp);
public static extern bool FIFSupportsICCProfiles(FreeImage.FreeImageFormat format, FreeImage.FreeImageType ftype);
internal override void Run(FreeImage image) { _completed = FreeImageApi.AdjustContrast(image.GetFreeImageHwnd(), _constrast); }
public static extern FIBITMAP AllocateT(FreeImage.FreeImageType ftype, int width, int height, int bpp, uint red_mask, uint green_mask, uint blue_mask);
internal override void Run(FreeImage image) { int dib = FreeImageApi.ConvertTo32Bits(image.GetFreeImageHwnd()); image.DisposeAndSetHandle(dib); }
internal override void Run(FreeImage image) { _completed = FreeImageApi.AdjustGamma(image.GetFreeImageHwnd(), _gamma); }
internal override void Run(FreeImage image) { _completed = FreeImageApi.AdjustBrightness(image.GetFreeImageHwnd(), _brightness); }
public static extern FIBITMAP Load(FreeImage.FreeImageFormat format, string filename, int flags);
public static extern bool FIFSupportsWriting(FreeImage.FreeImageFormat format);
public static extern bool Save(FreeImage.FreeImageFormat format, FIBITMAP dib, string filename, int flags);
public static extern bool FIFSupportsExportType(FreeImage.FreeImageFormat format, FreeImage.FreeImageType ftype);
public static extern int SetPluginEnabled(FreeImage.FreeImageFormat format, bool enabled);
public static extern FIMULTIBITMAP OpenMultiBitmap( FreeImage.FreeImageFormat format, string filename, bool createNew, bool readOnly, bool keepCacheInMemory);
public static extern int IsPluginEnabled(FreeImage.FreeImageFormat format);
public static extern FIBITMAP Dither(FIBITMAP dib, FreeImage.FreeImageDither algorithm);
public static extern string GetFormatFromFIF(FreeImage.FreeImageFormat format);
public static extern bool AdjustCurve(FIBITMAP dib, byte[] lut, FreeImage.FreeImageColorChannel channel);
public static extern string GetFIFExtensionList(FreeImage.FreeImageFormat format);
public static extern bool SetChannel(FIBITMAP dib, FIBITMAP dib8, FreeImage.FreeImageColorChannel channel);
public static extern string GetFIFDescription(FreeImage.FreeImageFormat format);
internal abstract void Run(FreeImage image);
public static extern string GetFIFRegExpr(FreeImage.FreeImageFormat format);
public FreeImageRescale(int width, int height, FreeImage.FreeImageFilter filter) { _width = width; _height = height; }