• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2   Copyright 1999-2021 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 visual effecs methods.
17 */
18 #ifndef MAGICKCORE_VISUAL_EFFECTS_H
19 #define MAGICKCORE_VISUAL_EFFECTS_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   *ImplodeImage(const Image *,const double,const PixelInterpolateMethod,
46     ExceptionInfo *),
47   *MorphImages(const Image *,const size_t,ExceptionInfo *),
48   *PolaroidImage(const Image *,const DrawInfo *,const char *,const double,
49     const PixelInterpolateMethod,ExceptionInfo *),
50   *SepiaToneImage(const Image *,const double,ExceptionInfo *),
51   *ShadowImage(const Image *,const double,const double,const ssize_t,
52     const ssize_t,ExceptionInfo *),
53   *SketchImage(const Image *,const double,const double,const double,
54     ExceptionInfo *),
55   *SteganoImage(const Image *,const Image *,ExceptionInfo *),
56   *StereoImage(const Image *,const Image *,ExceptionInfo *),
57   *StereoAnaglyphImage(const Image *,const Image *,const ssize_t,const ssize_t,
58      ExceptionInfo *),
59   *SwirlImage(const Image *,double,const PixelInterpolateMethod,
60     ExceptionInfo *),
61   *TintImage(const Image *,const char *,const PixelInfo *,ExceptionInfo *),
62   *VignetteImage(const Image *,const double,const double,const ssize_t,
63     const ssize_t,ExceptionInfo *),
64   *WaveImage(const Image *,const double,const double,
65     const PixelInterpolateMethod,ExceptionInfo *),
66   *WaveletDenoiseImage(const Image *,const double,const double,ExceptionInfo *);
67 
68 extern MagickExport MagickBooleanType
69   PlasmaImage(Image *,const SegmentInfo *,size_t,size_t,ExceptionInfo *),
70   SolarizeImage(Image *,const double,ExceptionInfo *);
71 
72 #if defined(__cplusplus) || defined(c_plusplus)
73 }
74 #endif
75 
76 #endif
77