xref: /imagick/shim_im6_to_im7.h (revision 4094bcc1)
1 
2 
3 #if MagickLibVersion >= 0x700
4 
5 
6 // Functions that have been renamed
7 ChannelStatistics *MagickGetImageChannelStatistics(MagickWand *wand);
8 MagickWand *MagickCompareImageChannels(
9 	MagickWand *wand,
10 	const MagickWand *reference,
11 	const ChannelType channel,
12 	const MetricType metric,
13 	double *distortion
14 );
15 
16 MagickBooleanType MagickConvolveImageChannel(MagickWand *wand,
17   const ChannelType channel, const KernelInfo *kernel);
18 
19 //Function that used to be channel only
20 MagickBooleanType MagickFloodfillPaintImageChannel(MagickWand *wand,
21   const ChannelType channel,const PixelWand *fill,const double fuzz,
22   const PixelWand *bordercolor,const ssize_t x,const ssize_t y,
23   const MagickBooleanType invert
24 );
25 
26 MagickBooleanType MagickSparseColorImageChannel(MagickWand *wand, const ChannelType channel,const SparseColorMethod method, const size_t number_arguments,const double *arguments);
27 
28 // Functions that have been replaced by channel aware versions
29 MagickBooleanType MagickAdaptiveBlurImageChannel(
30 	MagickWand *magick_wand,
31 	const ChannelType channel,
32 	const double radius,
33 	const double sigma
34 );
35 MagickBooleanType MagickAdaptiveSharpenImageChannel(
36 	MagickWand *wand,
37 	const ChannelType channel,
38 	const double radius,
39 	const double sigma
40 );
41 MagickBooleanType MagickAddNoiseImageChannel(
42 	MagickWand *wand,
43 	const ChannelType channel,
44 	const NoiseType noise_type
45 );
46 MagickBooleanType MagickAutoGammaImageChannel(MagickWand *wand,
47   const ChannelType channel);
48 MagickBooleanType MagickAutoLevelImageChannel(MagickWand *wand,
49   const ChannelType channel);
50 MagickBooleanType MagickBlurImageChannel(MagickWand *wand,
51   const ChannelType channel,const double radius,const double sigma);
52 MagickBooleanType MagickBrightnessContrastImageChannel(MagickWand *wand,
53   const ChannelType channel,const double brightness,
54   const double contrast);
55 MagickBooleanType MagickClampImageChannel(MagickWand *wand,
56   const ChannelType channel);
57 MagickBooleanType MagickClutImageChannel(MagickWand *wand,
58   const ChannelType channel,const MagickWand *clut_wand);
59 MagickBooleanType MagickCompositeImageChannel(MagickWand *wand,
60   const ChannelType channel,const MagickWand *composite_wand,
61   const CompositeOperator compose,const ssize_t x,const ssize_t y);
62 MagickBooleanType MagickContrastStretchImageChannel(MagickWand *wand,
63   const ChannelType channel,const double black_point,
64   const double white_point);
65 MagickBooleanType MagickEqualizeImageChannel(MagickWand *wand,
66   const ChannelType channel);
67 MagickBooleanType MagickEvaluateImageChannel(MagickWand *wand,
68   const ChannelType channel,const MagickEvaluateOperator op,
69   const double value);
70 MagickBooleanType MagickGetImageChannelDistortion(MagickWand *wand,
71   const MagickWand *reference,const ChannelType channel,const MetricType metric,
72   double *distortion);
73 MagickBooleanType MagickGetImageChannelKurtosis(MagickWand *wand,const ChannelType channel,
74   double *kurtosis,double *skewness);
75 MagickBooleanType MagickGetImageChannelRange(MagickWand *wand,const ChannelType channel,double *minima,
76   double *maxima);
77 size_t MagickGetImageChannelDepth(MagickWand *wand, const ChannelType channel);
78 MagickBooleanType MagickSetImageChannelDepth(MagickWand *wand, const ChannelType channel,
79   const size_t depth);
80 MagickBooleanType MagickGetImageChannelMean(MagickWand *wand, const ChannelType channel,double *mean,
81   double *standard_deviation);
82 //MagickBooleanType MagickFilterImageChannel(MagickWand *wand,
83 //  const ChannelType channel,const KernelInfo *kernel);
84 MagickBooleanType MagickOrderedPosterizeImageChannel(MagickWand *wand,const ChannelType channel,
85   const char *threshold_map);
86 
87 MagickBooleanType MagickFloodfillPaintImageChannel(
88 	MagickWand *wand,
89 	const ChannelType channel, const PixelWand *fill,const double fuzz,
90 	const PixelWand *bordercolor,const ssize_t x,const ssize_t y,
91 	const MagickBooleanType invert
92 );
93 MagickBooleanType MagickFunctionImageChannel(MagickWand *wand,
94   const ChannelType channel,const MagickFunction function,
95   const size_t number_arguments,const double *arguments);
96 
97 MagickWand *MagickFxImageChannel(
98 	MagickWand *wand,
99 	const ChannelType channel,
100 	const char *expression
101 );
102 
103 MagickBooleanType MagickGammaImageChannel(MagickWand *wand,
104   const ChannelType channel,const double gamma);
105 MagickBooleanType MagickGaussianBlurImageChannel(MagickWand *wand,
106   const ChannelType channel,const double radius,const double sigma);
107 MagickBooleanType MagickHaldClutImageChannel(MagickWand *wand,
108   const ChannelType channel,const MagickWand *hald_wand);
109 MagickBooleanType MagickLevelImageChannel(MagickWand *wand,
110   const ChannelType channel,const double black_point,const double gamma,
111   const double white_point);
112 MagickBooleanType MagickMorphologyImageChannel(MagickWand *wand,
113   ChannelType channel,MorphologyMethod method,const ssize_t iterations,
114   KernelInfo *kernel);
115 MagickBooleanType MagickMotionBlurImageChannel(MagickWand *wand,
116   const ChannelType channel,const double radius,const double sigma,
117   const double angle);
118 MagickBooleanType MagickNegateImageChannel(MagickWand *wand,
119   const ChannelType channel,const MagickBooleanType gray);
120 MagickBooleanType MagickNormalizeImageChannel(MagickWand *wand,
121   const ChannelType channel);
122 MagickBooleanType MagickOpaquePaintImageChannel(MagickWand *wand,
123   const ChannelType channel,const PixelWand *target,
124   const PixelWand *fill,const double fuzz,const MagickBooleanType invert);
125 MagickBooleanType MagickOrderedPosterizeImageChannel(MagickWand *wand,
126   const ChannelType channel,const char *threshold_map);
127 MagickBooleanType MagickRandomThresholdImageChannel(MagickWand *wand,
128   const ChannelType channel,const double low,const double high);
129 MagickBooleanType MagickRotationalBlurImageChannel(MagickWand *wand,
130   const ChannelType channel,const double angle);
131 MagickBooleanType MagickSelectiveBlurImageChannel(MagickWand *wand,
132   const ChannelType channel,const double radius,const double sigma,
133   const double threshold);
134 MagickBooleanType MagickSharpenImageChannel(MagickWand *wand,
135   const ChannelType channel,const double radius,const double sigma);
136 MagickBooleanType MagickSigmoidalContrastImageChannel(MagickWand *wand,
137   const ChannelType channel,const MagickBooleanType sharpen,
138   const double alpha,const double beta);
139 MagickBooleanType MagickSolarizeImageChannel(MagickWand *wand,
140   const ChannelType channel,const double threshold);
141 MagickBooleanType MagickStatisticImageChannel(MagickWand *wand,
142   const ChannelType channel,const StatisticType type,const size_t width,
143   const size_t height);
144 MagickBooleanType MagickThresholdImageChannel(MagickWand *wand,
145   const ChannelType channel,const double threshold);
146 MagickBooleanType MagickUnsharpMaskImageChannel(MagickWand *wand,
147   const ChannelType channel,const double radius,const double sigma,
148   const double amount,const double threshold);
149 
150 PixelInterpolateMethod MagickGetImageInterpolateMethod(MagickWand *);
151 
152 MagickBooleanType MagickSetImageInterpolateMethod(MagickWand *wand,
153   const PixelInterpolateMethod method);
154 double DrawGetStrokeOpacity(const DrawingWand *wand);
155 
156 #endif