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

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

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

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