cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 1 | /* |
cristy | 7e41fe8 | 2010-12-04 23:12:08 +0000 | [diff] [blame^] | 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 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 | #if defined(__cplusplus) || defined(c_plusplus) |
| 22 | extern "C" { |
| 23 | #endif |
| 24 | |
cristy | 56a9e51 | 2010-01-06 18:18:55 +0000 | [diff] [blame] | 25 | #include <magick/morphology.h> |
| 26 | |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 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 | *AdaptiveBlurImageChannel(const Image *,const ChannelType,const double, |
| 64 | const double,ExceptionInfo *), |
| 65 | *AdaptiveSharpenImage(const Image *,const double,const double, |
| 66 | ExceptionInfo *), |
| 67 | *AdaptiveSharpenImageChannel(const Image *,const ChannelType,const double, |
| 68 | const double,ExceptionInfo *), |
| 69 | *BlurImage(const Image *,const double,const double,ExceptionInfo *), |
| 70 | *BlurImageChannel(const Image *,const ChannelType,const double,const double, |
| 71 | ExceptionInfo *), |
cristy | 5ed838e | 2010-05-31 00:05:35 +0000 | [diff] [blame] | 72 | *ConvolveImage(const Image *,const size_t,const double *,ExceptionInfo *), |
cristy | bb50337 | 2010-05-27 20:51:26 +0000 | [diff] [blame] | 73 | *ConvolveImageChannel(const Image *,const ChannelType,const size_t, |
cristy | fccdab9 | 2009-11-30 16:43:57 +0000 | [diff] [blame] | 74 | const double *,ExceptionInfo *), |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 75 | *DespeckleImage(const Image *,ExceptionInfo *), |
| 76 | *EdgeImage(const Image *,const double,ExceptionInfo *), |
| 77 | *EmbossImage(const Image *,const double,const double,ExceptionInfo *), |
cristy | 2be1538 | 2010-01-21 02:38:03 +0000 | [diff] [blame] | 78 | *FilterImage(const Image *,const KernelInfo *,ExceptionInfo *), |
| 79 | *FilterImageChannel(const Image *,const ChannelType,const KernelInfo *, |
cristy | 56a9e51 | 2010-01-06 18:18:55 +0000 | [diff] [blame] | 80 | ExceptionInfo *), |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 81 | *GaussianBlurImage(const Image *,const double,const double,ExceptionInfo *), |
| 82 | *GaussianBlurImageChannel(const Image *,const ChannelType,const double, |
| 83 | const double,ExceptionInfo *), |
| 84 | *MedianFilterImage(const Image *,const double,ExceptionInfo *), |
| 85 | *MotionBlurImage(const Image *,const double,const double,const double, |
| 86 | ExceptionInfo *), |
| 87 | *MotionBlurImageChannel(const Image *,const ChannelType,const double, |
| 88 | const double,const double,ExceptionInfo *), |
| 89 | *PreviewImage(const Image *,const PreviewType,ExceptionInfo *), |
| 90 | *RadialBlurImage(const Image *,const double,ExceptionInfo *), |
| 91 | *RadialBlurImageChannel(const Image *,const ChannelType,const double, |
| 92 | ExceptionInfo *), |
| 93 | *ReduceNoiseImage(const Image *,const double,ExceptionInfo *), |
| 94 | *SelectiveBlurImage(const Image *,const double,const double,const double, |
| 95 | ExceptionInfo *), |
| 96 | *SelectiveBlurImageChannel(const Image *,const ChannelType,const double, |
| 97 | const double,const double,ExceptionInfo *), |
| 98 | *ShadeImage(const Image *,const MagickBooleanType,const double,const double, |
| 99 | ExceptionInfo *), |
| 100 | *SharpenImage(const Image *,const double,const double,ExceptionInfo *), |
| 101 | *SharpenImageChannel(const Image *,const ChannelType,const double, |
| 102 | const double,ExceptionInfo *), |
| 103 | *SpreadImage(const Image *,const double,ExceptionInfo *), |
| 104 | *UnsharpMaskImage(const Image *,const double,const double,const double, |
| 105 | const double,ExceptionInfo *), |
| 106 | *UnsharpMaskImageChannel(const Image *,const ChannelType,const double, |
| 107 | const double,const double,const double,ExceptionInfo *); |
| 108 | |
| 109 | #if defined(__cplusplus) || defined(c_plusplus) |
| 110 | } |
| 111 | #endif |
| 112 | |
| 113 | #endif |