module dmagick.c.effect; import dmagick.c.exception; import dmagick.c.image; import dmagick.c.magickType; import dmagick.c.magickVersion; import dmagick.c.morphology; extern(C) { /** * Image preview type. */ enum PreviewType { UndefinedPreview, /// RotatePreview, /// ditto ShearPreview, /// ditto RollPreview, /// ditto HuePreview, /// ditto SaturationPreview, /// ditto BrightnessPreview, /// ditto GammaPreview, /// ditto SpiffPreview, /// ditto DullPreview, /// ditto GrayscalePreview, /// ditto QuantizePreview, /// ditto DespecklePreview, /// ditto ReduceNoisePreview, /// ditto AddNoisePreview, /// ditto SharpenPreview, /// ditto BlurPreview, /// ditto ThresholdPreview, /// ditto EdgeDetectPreview, /// ditto SpreadPreview, /// ditto SolarizePreview, /// ditto ShadePreview, /// ditto RaisePreview, /// ditto SegmentPreview, /// ditto SwirlPreview, /// ditto ImplodePreview, /// ditto WavePreview, /// ditto OilPaintPreview, /// ditto CharcoalDrawingPreview, /// ditto JPEGPreview /// ditto } Image* AdaptiveBlurImage(const(Image)*, const double, const double, ExceptionInfo*); Image* AdaptiveBlurImageChannel(const(Image)*, const ChannelType, const double, const double, ExceptionInfo*); Image* AdaptiveSharpenImage(const(Image)*, const double, const double, ExceptionInfo*); Image* AdaptiveSharpenImageChannel(const(Image)*, const ChannelType, const double, const double, ExceptionInfo*); Image* BlurImage(const(Image)*, const double, const double, ExceptionInfo*); Image* BlurImageChannel(const(Image)*, const ChannelType, const double, const double, ExceptionInfo*); Image* ConvolveImage(const(Image)*, const size_t, const(double)*, ExceptionInfo*); Image* ConvolveImageChannel(const(Image)*, const ChannelType, const size_t, const(double)*, ExceptionInfo*); Image* DespeckleImage(const(Image)*, ExceptionInfo*); Image* EdgeImage(const(Image)*, const double, ExceptionInfo*); Image* EmbossImage(const(Image)*, const double, const double, ExceptionInfo*); Image* FilterImage(const(Image)*, const(KernelInfo)*, ExceptionInfo*); Image* FilterImageChannel(const(Image)*, const ChannelType, const(KernelInfo)*, ExceptionInfo*); Image* GaussianBlurImage(const(Image)*, const double, const double, ExceptionInfo*); Image* GaussianBlurImageChannel(const(Image)*, const ChannelType, const double, const double, ExceptionInfo*); static if ( MagickLibVersion >= 0x689 ) { Image* KuwaharaImage(const(Image)*, const double, const double, ExceptionInfo*); Image* KuwaharaImageChannel(const(Image)*, const ChannelType, const double, const double, ExceptionInfo*); } static if ( MagickLibVersion >= 0x693 ) { Image* LocalContrastImage(const(Image)*, const double, const double, ExceptionInfo*); } static if ( MagickLibVersion < 0x669 ) { Image* MedianFilterImage(const(Image)*, const double, ExceptionInfo*); } static if ( MagickLibVersion == 0x668 ) { Image* ModeImage(const(Image)*, const double, ExceptionInfo*); } Image* MotionBlurImage(const(Image)*, const double, const double, const double, ExceptionInfo*); Image* MotionBlurImageChannel(const(Image)*, const ChannelType, const double, const double, const double, ExceptionInfo*); Image* PreviewImage(const(Image)*, const PreviewType, ExceptionInfo*); static if ( MagickLibVersion < 0x689 ) { Image* RadialBlurImage(const(Image)*, const double, ExceptionInfo*); Image* RadialBlurImageChannel(const(Image)*, const ChannelType, const double, ExceptionInfo*); } static if ( MagickLibVersion >= 0x689 ) { Image* RotationalBlurImage(const(Image)*, const double, ExceptionInfo*); Image* RotationalBlurImageChannel(const(Image)*, const ChannelType, const double, ExceptionInfo*); } static if ( MagickLibVersion < 0x669 ) { Image* ReduceNoiseImage(const(Image)*, const double, ExceptionInfo*); } Image* SelectiveBlurImage(const(Image)*, const double, const double, const double, ExceptionInfo*); Image* SelectiveBlurImageChannel(const(Image)*, const ChannelType, const double, const double, const double, ExceptionInfo*); Image* ShadeImage(const(Image)*, const MagickBooleanType, const double, const double, ExceptionInfo*); Image* SharpenImage(const(Image)*, const double, const double, ExceptionInfo*); Image* SharpenImageChannel(const(Image)*, const ChannelType ,const double, const double, ExceptionInfo*); Image* SpreadImage(const(Image)*, const double, ExceptionInfo*); Image* UnsharpMaskImage(const(Image)*, const double, const double, const double, const double, ExceptionInfo*); Image* UnsharpMaskImageChannel(const(Image)*, const ChannelType, const double, const double, const double, const double, ExceptionInfo*); }