Home | History | Annotate | Download | only in MagickCore
      1 /*
      2   Copyright 1999-2016 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.
      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 #include "MagickCore/morphology.h"
     22 
     23 #if defined(__cplusplus) || defined(c_plusplus)
     24 extern "C" {
     25 #endif
     26 
     27 typedef 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 
     61 extern MagickExport Image
     62   *AdaptiveBlurImage(const Image *,const double,const double,ExceptionInfo *),
     63   *AdaptiveSharpenImage(const Image *,const double,const double,
     64      ExceptionInfo *),
     65   *BlurImage(const Image *,const double,const double,ExceptionInfo *),
     66   *ConvolveImage(const Image *,const KernelInfo *,ExceptionInfo *),
     67   *DespeckleImage(const Image *,ExceptionInfo *),
     68   *EdgeImage(const Image *,const double,ExceptionInfo *),
     69   *EmbossImage(const Image *,const double,const double,ExceptionInfo *),
     70   *GaussianBlurImage(const Image *,const double,const double,ExceptionInfo *),
     71   *KuwaharaImage(const Image *,const double,const double,ExceptionInfo *),
     72   *LocalContrastImage(const Image *,const double,const double,ExceptionInfo *),
     73   *MotionBlurImage(const Image *,const double,const double,const double,
     74     ExceptionInfo *),
     75   *PreviewImage(const Image *,const PreviewType,ExceptionInfo *),
     76   *RotationalBlurImage(const Image *,const double,ExceptionInfo *),
     77   *SelectiveBlurImage(const Image *,const double,const double,const double,
     78     ExceptionInfo *),
     79   *ShadeImage(const Image *,const MagickBooleanType,const double,const double,
     80     ExceptionInfo *),
     81   *SharpenImage(const Image *,const double,const double,ExceptionInfo *),
     82   *SpreadImage(const Image *,const PixelInterpolateMethod,const double,
     83     ExceptionInfo *),
     84   *UnsharpMaskImage(const Image *,const double,const double,const double,
     85     const double,ExceptionInfo *);
     86 
     87 #if defined(__cplusplus) || defined(c_plusplus)
     88 }
     89 #endif
     90 
     91 #endif
     92