summaryrefslogtreecommitdiff
path: root/dmagick/c/effect.d
blob: e9e84a8911f4ee08592032572e2f04e3636ee1a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
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 < 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*);
	Image* RadialBlurImage(const(Image)*, const double, ExceptionInfo*);
	Image* RadialBlurImageChannel(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*);
}