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 static extern bool GetHistogram(FIBITMAP dib, int histo, FreeImage.FreeImageColorChannel channel);
Esempio n. 3
0
		public static extern int LoadFromMemory(FreeImage.FreeImageFormat format, IntPtr stream, int flags);
Esempio n. 4
0
		public static extern FIBITMAP ColorQuantize(FIBITMAP dib, FreeImage.FreeImageQuantize quantize);
Esempio n. 5
0
		public static extern FIBITMAP Rescale(FIBITMAP dib, int dst_width, int dst_height, FreeImage.FreeImageFilter filter);
Esempio n. 6
0
		public static extern bool FIFSupportsExportBPP(FreeImage.FreeImageFormat format, int bpp);
Esempio n. 7
0
		public static extern bool FIFSupportsICCProfiles(FreeImage.FreeImageFormat format, FreeImage.FreeImageType ftype);
Esempio n. 8
0
 internal override void Run(FreeImage image)
 {
     _completed = FreeImageApi.AdjustContrast(image.GetFreeImageHwnd(), _constrast);
 }
Esempio n. 9
0
		public static extern FIBITMAP AllocateT(FreeImage.FreeImageType ftype, int width, 
				int height, int bpp, uint red_mask, uint green_mask, 
				uint blue_mask);
Esempio n. 10
0
        internal override void Run(FreeImage image)
        {
            int dib = FreeImageApi.ConvertTo32Bits(image.GetFreeImageHwnd());

            image.DisposeAndSetHandle(dib);
        }
Esempio n. 11
0
 internal override void Run(FreeImage image)
 {
     _completed = FreeImageApi.AdjustGamma(image.GetFreeImageHwnd(), _gamma);
 }
        internal override void Run(FreeImage image)
        {
            int dib = FreeImageApi.ConvertTo32Bits(image.GetFreeImageHwnd());

            image.DisposeAndSetHandle(dib);
        }
Esempio n. 13
0
 internal override void Run(FreeImage image)
 {
     _completed = FreeImageApi.AdjustBrightness(image.GetFreeImageHwnd(), _brightness);
 }
Esempio n. 14
0
 internal override void Run(FreeImage image)
 {
     _completed = FreeImageApi.AdjustGamma(image.GetFreeImageHwnd(), _gamma);
 }
Esempio n. 15
0
 internal override void Run(FreeImage image)
 {
     _completed = FreeImageApi.AdjustContrast(image.GetFreeImageHwnd(), _constrast);
 }
Esempio n. 16
0
		public static extern FIBITMAP Load(FreeImage.FreeImageFormat format, string filename, int flags);
Esempio n. 17
0
		public static extern bool FIFSupportsWriting(FreeImage.FreeImageFormat format);
Esempio n. 18
0
		public static extern bool Save(FreeImage.FreeImageFormat format, FIBITMAP dib, string filename, int flags);
Esempio n. 19
0
		public static extern bool FIFSupportsExportType(FreeImage.FreeImageFormat format, FreeImage.FreeImageType ftype);
Esempio n. 20
0
		public static extern int SetPluginEnabled(FreeImage.FreeImageFormat format, bool enabled);
Esempio n. 21
0
		public static extern FIMULTIBITMAP OpenMultiBitmap(
			FreeImage.FreeImageFormat format, string filename, bool createNew, bool readOnly, bool keepCacheInMemory);
Esempio n. 22
0
		public static extern int IsPluginEnabled(FreeImage.FreeImageFormat format);
Esempio n. 23
0
		public static extern FIBITMAP Dither(FIBITMAP dib, FreeImage.FreeImageDither algorithm);
Esempio n. 24
0
		public static extern string GetFormatFromFIF(FreeImage.FreeImageFormat format);
Esempio n. 25
0
		public static extern bool AdjustCurve(FIBITMAP dib, byte[] lut, FreeImage.FreeImageColorChannel channel);
Esempio n. 26
0
		public static extern string GetFIFExtensionList(FreeImage.FreeImageFormat format);
Esempio n. 27
0
		public static extern bool SetChannel(FIBITMAP dib, FIBITMAP dib8, FreeImage.FreeImageColorChannel channel);
Esempio n. 28
0
		public static extern string GetFIFDescription(FreeImage.FreeImageFormat format);
 internal abstract void Run(FreeImage image);
Esempio n. 30
0
		public static extern string GetFIFRegExpr(FreeImage.FreeImageFormat format);
Esempio n. 31
0
 public FreeImageRescale(int width, int height, 
     FreeImage.FreeImageFilter filter)
 {
     _width = width;
     _height = height;
 }
Esempio n. 32
0
 internal override void Run(FreeImage image)
 {
     _completed = FreeImageApi.AdjustBrightness(image.GetFreeImageHwnd(), _brightness);
 }