effect.h 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. /*
  2. Copyright 1999 ImageMagick Studio LLC, a non-profit organization
  3. dedicated to making software imaging solutions freely available.
  4. You may not use this file except in compliance with the License. You may
  5. obtain a copy of the License at
  6. https://imagemagick.org/script/license.php
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. MagickCore image effects methods.
  13. */
  14. #ifndef MAGICKCORE_EFFECT_H
  15. #define MAGICKCORE_EFFECT_H
  16. #include "magick/morphology.h"
  17. #if defined(__cplusplus) || defined(c_plusplus)
  18. extern "C" {
  19. #endif
  20. typedef enum
  21. {
  22. UndefinedPreview,
  23. RotatePreview,
  24. ShearPreview,
  25. RollPreview,
  26. HuePreview,
  27. SaturationPreview,
  28. BrightnessPreview,
  29. GammaPreview,
  30. SpiffPreview,
  31. DullPreview,
  32. GrayscalePreview,
  33. QuantizePreview,
  34. DespecklePreview,
  35. ReduceNoisePreview,
  36. AddNoisePreview,
  37. SharpenPreview,
  38. BlurPreview,
  39. ThresholdPreview,
  40. EdgeDetectPreview,
  41. SpreadPreview,
  42. SolarizePreview,
  43. ShadePreview,
  44. RaisePreview,
  45. SegmentPreview,
  46. SwirlPreview,
  47. ImplodePreview,
  48. WavePreview,
  49. OilPaintPreview,
  50. CharcoalDrawingPreview,
  51. JPEGPreview
  52. } PreviewType;
  53. extern MagickExport Image
  54. *AdaptiveBlurImage(const Image *,const double,const double,ExceptionInfo *),
  55. *AdaptiveBlurImageChannel(const Image *,const ChannelType,const double,
  56. const double,ExceptionInfo *),
  57. *AdaptiveSharpenImage(const Image *,const double,const double,
  58. ExceptionInfo *),
  59. *AdaptiveSharpenImageChannel(const Image *,const ChannelType,const double,
  60. const double,ExceptionInfo *),
  61. *BlurImage(const Image *,const double,const double,ExceptionInfo *),
  62. *BlurImageChannel(const Image *,const ChannelType,const double,const double,
  63. ExceptionInfo *),
  64. *ConvolveImage(const Image *,const size_t,const double *,ExceptionInfo *),
  65. *ConvolveImageChannel(const Image *,const ChannelType,const size_t,
  66. const double *,ExceptionInfo *),
  67. *DespeckleImage(const Image *,ExceptionInfo *),
  68. *EdgeImage(const Image *,const double,ExceptionInfo *),
  69. *EmbossImage(const Image *,const double,const double,ExceptionInfo *),
  70. *FilterImage(const Image *,const KernelInfo *,ExceptionInfo *),
  71. *FilterImageChannel(const Image *,const ChannelType,const KernelInfo *,
  72. ExceptionInfo *),
  73. *GaussianBlurImage(const Image *,const double,const double,ExceptionInfo *),
  74. *GaussianBlurImageChannel(const Image *,const ChannelType,const double,
  75. const double,ExceptionInfo *),
  76. *KuwaharaImage(const Image *,const double,const double,ExceptionInfo *),
  77. *KuwaharaImageChannel(const Image *,const ChannelType,const double,
  78. const double,ExceptionInfo *),
  79. *LocalContrastImage(const Image *,const double,const double,ExceptionInfo *),
  80. *MotionBlurImage(const Image *,const double,const double,const double,
  81. ExceptionInfo *),
  82. *MotionBlurImageChannel(const Image *,const ChannelType,const double,
  83. const double,const double,ExceptionInfo *),
  84. *PreviewImage(const Image *,const PreviewType,ExceptionInfo *),
  85. *RotationalBlurImage(const Image *,const double,ExceptionInfo *),
  86. *RotationalBlurImageChannel(const Image *,const ChannelType,const double,
  87. ExceptionInfo *),
  88. *SelectiveBlurImage(const Image *,const double,const double,const double,
  89. ExceptionInfo *),
  90. *SelectiveBlurImageChannel(const Image *,const ChannelType,const double,
  91. const double,const double,ExceptionInfo *),
  92. *ShadeImage(const Image *,const MagickBooleanType,const double,const double,
  93. ExceptionInfo *),
  94. *SharpenImage(const Image *,const double,const double,ExceptionInfo *),
  95. *SharpenImageChannel(const Image *,const ChannelType,const double,
  96. const double,ExceptionInfo *),
  97. *SpreadImage(const Image *,const double,ExceptionInfo *),
  98. *UnsharpMaskImage(const Image *,const double,const double,const double,
  99. const double,ExceptionInfo *),
  100. *UnsharpMaskImageChannel(const Image *,const ChannelType,const double,
  101. const double,const double,const double,ExceptionInfo *);
  102. #if defined(__cplusplus) || defined(c_plusplus)
  103. }
  104. #endif
  105. #endif