• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2   Copyright 1999-2019 ImageMagick Studio LLC, a non-profit organization
3   dedicated to making software imaging solutions freely available.
4 
5   You may not use this file except in compliance with the License.  You may
6   obtain a copy of the License at
7 
8     https://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 f/x methods.
17 */
18 #ifndef MAGICKCORE_FX_H
19 #define MAGICKCORE_FX_H
20 
21 #include "MagickCore/draw.h"
22 
23 #if defined(__cplusplus) || defined(c_plusplus)
24 extern "C" {
25 #endif
26 
27 typedef enum
28 {
29   UndefinedNoise,
30   UniformNoise,
31   GaussianNoise,
32   MultiplicativeGaussianNoise,
33   ImpulseNoise,
34   LaplacianNoise,
35   PoissonNoise,
36   RandomNoise
37 } NoiseType;
38 
39 extern MagickExport Image
40   *AddNoiseImage(const Image *,const NoiseType,const double,ExceptionInfo *),
41   *BlueShiftImage(const Image *,const double,ExceptionInfo *),
42   *CharcoalImage(const Image *,const double,const double,ExceptionInfo *),
43   *ColorizeImage(const Image *,const char *,const PixelInfo *,ExceptionInfo *),
44   *ColorMatrixImage(const Image *,const KernelInfo *kernel,ExceptionInfo *),
45   *FxImage(const Image *,const char *,ExceptionInfo *),
46   *ImplodeImage(const Image *,const double,const PixelInterpolateMethod,
47     ExceptionInfo *),
48   *MorphImages(const Image *,const size_t,ExceptionInfo *),
49   *PolaroidImage(const Image *,const DrawInfo *,const char *,const double,
50     const PixelInterpolateMethod,ExceptionInfo *),
51   *SepiaToneImage(const Image *,const double,ExceptionInfo *),
52   *ShadowImage(const Image *,const double,const double,const ssize_t,
53     const ssize_t,ExceptionInfo *),
54   *SketchImage(const Image *,const double,const double,const double,
55     ExceptionInfo *),
56   *SteganoImage(const Image *,const Image *,ExceptionInfo *),
57   *StereoImage(const Image *,const Image *,ExceptionInfo *),
58   *StereoAnaglyphImage(const Image *,const Image *,const ssize_t,const ssize_t,
59      ExceptionInfo *),
60   *SwirlImage(const Image *,double,const PixelInterpolateMethod,
61     ExceptionInfo *),
62   *TintImage(const Image *,const char *,const PixelInfo *,ExceptionInfo *),
63   *VignetteImage(const Image *,const double,const double,const ssize_t,
64     const ssize_t,ExceptionInfo *),
65   *WaveImage(const Image *,const double,const double,
66     const PixelInterpolateMethod,ExceptionInfo *),
67   *WaveletDenoiseImage(const Image *,const double,const double,ExceptionInfo *);
68 
69 extern MagickExport MagickBooleanType
70   PlasmaImage(Image *,const SegmentInfo *,size_t,size_t,ExceptionInfo *),
71   SolarizeImage(Image *,const double,ExceptionInfo *);
72 
73 #if defined(__cplusplus) || defined(c_plusplus)
74 }
75 #endif
76 
77 #endif
78