blob: dd413210d8908fb712a2dd1dca9a401aa6b48e08 [file] [log] [blame]
cristy3ed852e2009-09-05 21:47:34 +00001/*
cristy1454be72011-12-19 01:52:48 +00002 Copyright 1999-2012 ImageMagick Studio LLC, a non-profit organization
cristy3ed852e2009-09-05 21:47:34 +00003 dedicated to making software imaging solutions freely available.
4
5 You may not use this file except in compliance with the License.
6 obtain a copy of the License at
7
8 http://www.imagemagick.org/script/license.php
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15
16 MagickCore image effects methods.
17*/
18#ifndef _MAGICKCORE_EFFECT_H
19#define _MAGICKCORE_EFFECT_H
20
21#if defined(__cplusplus) || defined(c_plusplus)
22extern "C" {
23#endif
24
cristy4c08aed2011-07-01 19:47:50 +000025#include <MagickCore/morphology.h>
cristy56a9e512010-01-06 18:18:55 +000026
cristy3ed852e2009-09-05 21:47:34 +000027typedef enum
28{
29 UndefinedPreview,
30 RotatePreview,
31 ShearPreview,
32 RollPreview,
33 HuePreview,
34 SaturationPreview,
35 BrightnessPreview,
36 GammaPreview,
37 SpiffPreview,
38 DullPreview,
39 GrayscalePreview,
40 QuantizePreview,
41 DespecklePreview,
42 ReduceNoisePreview,
43 AddNoisePreview,
44 SharpenPreview,
45 BlurPreview,
46 ThresholdPreview,
47 EdgeDetectPreview,
48 SpreadPreview,
49 SolarizePreview,
50 ShadePreview,
51 RaisePreview,
52 SegmentPreview,
53 SwirlPreview,
54 ImplodePreview,
55 WavePreview,
56 OilPaintPreview,
57 CharcoalDrawingPreview,
58 JPEGPreview
59} PreviewType;
60
61extern MagickExport Image
cristy4c11c2b2011-09-05 20:17:07 +000062 *AdaptiveBlurImage(const Image *,const double,const double,const double,
63 ExceptionInfo *),
64 *AdaptiveSharpenImage(const Image *,const double,const double,const double,
cristy3ed852e2009-09-05 21:47:34 +000065 ExceptionInfo *),
cristy05c0c9a2011-09-05 23:16:13 +000066 *BlurImage(const Image *,const double,const double,const double,
67 ExceptionInfo *),
cristy5e6be1e2011-07-16 01:23:39 +000068 *ConvolveImage(const Image *,const KernelInfo *,ExceptionInfo *),
cristy3ed852e2009-09-05 21:47:34 +000069 *DespeckleImage(const Image *,ExceptionInfo *),
cristy8ae632d2011-09-05 17:29:53 +000070 *EdgeImage(const Image *,const double,const double,ExceptionInfo *),
cristy3ed852e2009-09-05 21:47:34 +000071 *EmbossImage(const Image *,const double,const double,ExceptionInfo *),
cristy05c0c9a2011-09-05 23:16:13 +000072 *GaussianBlurImage(const Image *,const double,const double,const double,
73 ExceptionInfo *),
cristy3ed852e2009-09-05 21:47:34 +000074 *MotionBlurImage(const Image *,const double,const double,const double,
cristyf7ef0252011-09-09 14:50:06 +000075 const double,ExceptionInfo *),
cristy3ed852e2009-09-05 21:47:34 +000076 *PreviewImage(const Image *,const PreviewType,ExceptionInfo *),
cristy6435bd92011-09-10 02:10:07 +000077 *RadialBlurImage(const Image *,const double,const double,ExceptionInfo *),
cristy3ed852e2009-09-05 21:47:34 +000078 *SelectiveBlurImage(const Image *,const double,const double,const double,
cristy1e7aa312011-09-10 20:01:36 +000079 const double,ExceptionInfo *),
cristy3ed852e2009-09-05 21:47:34 +000080 *ShadeImage(const Image *,const MagickBooleanType,const double,const double,
81 ExceptionInfo *),
cristy05c0c9a2011-09-05 23:16:13 +000082 *SharpenImage(const Image *,const double,const double,const double,
83 ExceptionInfo *),
cristy5c4e2582011-09-11 19:21:03 +000084 *SpreadImage(const Image *,const double,const PixelInterpolateMethod,
85 ExceptionInfo *),
cristy3ed852e2009-09-05 21:47:34 +000086 *UnsharpMaskImage(const Image *,const double,const double,const double,
cristyf4ad9df2011-07-08 16:49:03 +000087 const double,ExceptionInfo *);
cristy3ed852e2009-09-05 21:47:34 +000088
89#if defined(__cplusplus) || defined(c_plusplus)
90}
91#endif
92
93#endif