MagickWand  7.1.0
Convert, Edit, Or Compose Bitmap Images
magick-image.h
1 /*
2  Copyright @ 2003 ImageMagick Studio LLC, a non-profit organization
3  dedicated to making software imaging solutions freely available.
4 
5  You may not use this file except in compliance with the License. You may
6  obtain a copy of the License at
7 
8  https://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  MagickWand image Methods.
17 */
18 
19 #ifndef MAGICKWAND_MAGICK_IMAGE_H
20 #define MAGICKWAND_MAGICK_IMAGE_H
21 
22 #if defined(__cplusplus) || defined(c_plusplus)
23 extern "C" {
24 #endif
25 
26 extern WandExport ChannelFeatures
27  *MagickGetImageFeatures(MagickWand *,const size_t);
28 
29 extern WandExport ChannelType
30  MagickSetImageChannelMask(MagickWand *,const ChannelType);
31 
32 extern WandExport ChannelStatistics
33  *MagickGetImageStatistics(MagickWand *);
34 
35 extern WandExport char
36  *MagickGetImageFilename(MagickWand *),
37  *MagickGetImageFormat(MagickWand *),
38  *MagickGetImageSignature(MagickWand *),
39  *MagickIdentifyImage(MagickWand *);
40 
41 extern WandExport ColorspaceType
42  MagickGetImageColorspace(MagickWand *);
43 
44 extern WandExport CompositeOperator
45  MagickGetImageCompose(MagickWand *);
46 
47 extern WandExport CompressionType
48  MagickGetImageCompression(MagickWand *);
49 
50 extern WandExport DisposeType
51  MagickGetImageDispose(MagickWand *);
52 
53 extern WandExport double
54  *MagickGetImageDistortions(MagickWand *,const MagickWand *,
55  const MetricType),
56  MagickGetImageFuzz(MagickWand *),
57  MagickGetImageGamma(MagickWand *),
58  MagickGetImageTotalInkDensity(MagickWand *);
59 
60 extern WandExport EndianType
61  MagickGetImageEndian(MagickWand *);
62 
63 extern WandExport GravityType
64  MagickGetImageGravity(MagickWand *);
65 
66 extern WandExport Image
67  *MagickDestroyImage(Image *),
68  *GetImageFromMagickWand(const MagickWand *);
69 
70 extern WandExport ImageType
71  MagickGetImageType(MagickWand *),
72  MagickIdentifyImageType(MagickWand *);
73 
74 extern WandExport InterlaceType
75  MagickGetImageInterlaceScheme(MagickWand *);
76 
77 extern WandExport PixelInterpolateMethod
78  MagickGetImageInterpolateMethod(MagickWand *);
79 
80 extern WandExport MagickBooleanType
81  MagickAdaptiveBlurImage(MagickWand *,const double,const double),
82  MagickAdaptiveResizeImage(MagickWand *,const size_t,const size_t),
83  MagickAdaptiveSharpenImage(MagickWand *,const double,const double),
84  MagickAdaptiveThresholdImage(MagickWand *,const size_t,const size_t,
85  const double),
86  MagickAddImage(MagickWand *,const MagickWand *),
87  MagickAddNoiseImage(MagickWand *,const NoiseType,const double),
88  MagickAffineTransformImage(MagickWand *,const DrawingWand *),
89  MagickAnnotateImage(MagickWand *,const DrawingWand *,const double,
90  const double,const double,const char *),
91  MagickAnimateImages(MagickWand *,const char *),
92  MagickAutoGammaImage(MagickWand *),
93  MagickAutoLevelImage(MagickWand *),
94  MagickAutoOrientImage(MagickWand *),
95  MagickAutoThresholdImage(MagickWand *,const AutoThresholdMethod),
96  MagickBilateralBlurImage(MagickWand *,const double,const double,const double,
97  const double),
98  MagickBlackThresholdImage(MagickWand *,const PixelWand *),
99  MagickBlueShiftImage(MagickWand *,const double),
100  MagickBlurImage(MagickWand *,const double,const double),
101  MagickBorderImage(MagickWand *,const PixelWand *,const size_t,const size_t,
102  const CompositeOperator compose),
103  MagickBrightnessContrastImage(MagickWand *,const double,const double),
104  MagickCannyEdgeImage(MagickWand *,const double,const double,const double,
105  const double),
106  MagickCharcoalImage(MagickWand *,const double,const double),
107  MagickChopImage(MagickWand *,const size_t,const size_t,const ssize_t,
108  const ssize_t),
109  MagickCLAHEImage(MagickWand *,const size_t,const size_t,const double,
110  const double),
111  MagickClampImage(MagickWand *),
112  MagickClipImage(MagickWand *),
113  MagickClipImagePath(MagickWand *,const char *,const MagickBooleanType),
114  MagickClutImage(MagickWand *,const MagickWand *,const PixelInterpolateMethod),
115  MagickColorDecisionListImage(MagickWand *,const char *),
116  MagickColorizeImage(MagickWand *,const PixelWand *,const PixelWand *),
117  MagickColorMatrixImage(MagickWand *,const KernelInfo *),
118  MagickColorThresholdImage(MagickWand *,const PixelWand *,const PixelWand *),
119  MagickCommentImage(MagickWand *,const char *),
120  MagickCompositeImage(MagickWand *,const MagickWand *,const CompositeOperator,
121  const MagickBooleanType,const ssize_t,const ssize_t),
122  MagickCompositeImageGravity(MagickWand *,const MagickWand *,
123  const CompositeOperator,const GravityType),
124  MagickCompositeLayers(MagickWand *,const MagickWand *,const CompositeOperator,
125  const ssize_t,const ssize_t),
126  MagickConnectedComponentsImage(MagickWand *,const size_t,CCObjectInfo **),
127  MagickConstituteImage(MagickWand *,const size_t,const size_t,const char *,
128  const StorageType,const void *),
129  MagickContrastImage(MagickWand *,const MagickBooleanType),
130  MagickContrastStretchImage(MagickWand *,const double,const double),
131  MagickConvolveImage(MagickWand *,const KernelInfo *),
132  MagickCropImage(MagickWand *,const size_t,const size_t,const ssize_t,
133  const ssize_t),
134  MagickCycleColormapImage(MagickWand *,const ssize_t),
135  MagickDecipherImage(MagickWand *,const char *),
136  MagickDeskewImage(MagickWand *,const double),
137  MagickDespeckleImage(MagickWand *),
138  MagickDisplayImage(MagickWand *,const char *),
139  MagickDisplayImages(MagickWand *,const char *),
140  MagickDistortImage(MagickWand *,const DistortMethod,const size_t,
141  const double *,const MagickBooleanType),
142  MagickDrawImage(MagickWand *,const DrawingWand *),
143  MagickEdgeImage(MagickWand *,const double),
144  MagickEmbossImage(MagickWand *,const double,const double),
145  MagickEncipherImage(MagickWand *,const char *),
146  MagickEnhanceImage(MagickWand *),
147  MagickEqualizeImage(MagickWand *),
148  MagickEvaluateImage(MagickWand *,const MagickEvaluateOperator,const double),
149  MagickExportImagePixels(MagickWand *,const ssize_t,const ssize_t,
150  const size_t,const size_t,const char *,const StorageType,void *),
151  MagickExtentImage(MagickWand *,const size_t,const size_t,const ssize_t,
152  const ssize_t),
153  MagickFlipImage(MagickWand *),
154  MagickFloodfillPaintImage(MagickWand *,const PixelWand *,const double,
155  const PixelWand *,const ssize_t,const ssize_t,const MagickBooleanType),
156  MagickFlopImage(MagickWand *),
157  MagickForwardFourierTransformImage(MagickWand *,const MagickBooleanType),
158  MagickFrameImage(MagickWand *,const PixelWand *,const size_t,const size_t,
159  const ssize_t,const ssize_t,const CompositeOperator),
160  MagickFunctionImage(MagickWand *,const MagickFunction,const size_t,
161  const double *),
162  MagickGammaImage(MagickWand *,const double),
163  MagickGaussianBlurImage(MagickWand *,const double,const double),
164  MagickGetImageAlphaChannel(MagickWand *),
165  MagickGetImageBackgroundColor(MagickWand *,PixelWand *),
166  MagickGetImageBluePrimary(MagickWand *,double *,double *,double *),
167  MagickGetImageBorderColor(MagickWand *,PixelWand *),
168  MagickGetImageKurtosis(MagickWand *,double *,double *),
169  MagickGetImageMean(MagickWand *,double *,double *),
170  MagickGetImageRange(MagickWand *,double *,double *),
171  MagickGetImageColormapColor(MagickWand *,const size_t,PixelWand *),
172  MagickGetImageDistortion(MagickWand *,const MagickWand *,const MetricType,
173  double *),
174  MagickGetImageGreenPrimary(MagickWand *,double *,double *,double *),
175  MagickGetImageLength(MagickWand *,MagickSizeType *),
176  MagickGetImageMatteColor(MagickWand *,PixelWand *),
177  MagickGetImagePage(MagickWand *,size_t *,size_t *,ssize_t *,
178  ssize_t *),
179  MagickGetImagePixelColor(MagickWand *,const ssize_t,const ssize_t,
180  PixelWand *),
181  MagickGetImageRange(MagickWand *,double *,double *),
182  MagickGetImageRedPrimary(MagickWand *,double *,double *,double *),
183  MagickGetImageResolution(MagickWand *,double *,double *),
184  MagickGetImageWhitePoint(MagickWand *,double *,double *,double *),
185  MagickHaldClutImage(MagickWand *,const MagickWand *),
186  MagickHasNextImage(MagickWand *),
187  MagickHasPreviousImage(MagickWand *),
188  MagickHoughLineImage(MagickWand *,const size_t,const size_t,const size_t),
189  MagickImplodeImage(MagickWand *,const double,const PixelInterpolateMethod),
190  MagickImportImagePixels(MagickWand *,const ssize_t,const ssize_t,const size_t,
191  const size_t,const char *,const StorageType,const void *),
192  MagickInterpolativeResizeImage(MagickWand *,const size_t,const size_t,
193  const PixelInterpolateMethod),
194  MagickInverseFourierTransformImage(MagickWand *,MagickWand *,
195  const MagickBooleanType),
196  MagickKmeansImage(MagickWand *, const size_t, const size_t, const double),
197  MagickKuwaharaImage(MagickWand *,const double,const double),
198  MagickLabelImage(MagickWand *,const char *),
199  MagickLevelImage(MagickWand *,const double,const double,const double),
200  MagickLevelImageColors(MagickWand *,const PixelWand *,const PixelWand *,
201  const MagickBooleanType),
202  MagickLevelizeImage(MagickWand *,const double,const double,const double),
203  MagickLinearStretchImage(MagickWand *,const double,const double),
204  MagickLiquidRescaleImage(MagickWand *,const size_t,const size_t,const double,
205  const double),
206  MagickLocalContrastImage(MagickWand *,const double,const double),
207  MagickMagnifyImage(MagickWand *),
208  MagickMeanShiftImage(MagickWand *,const size_t,const size_t,const double),
209  MagickMinifyImage(MagickWand *),
210  MagickModeImage(MagickWand *,const double),
211  MagickModulateImage(MagickWand *,const double,const double,const double),
212  MagickMorphologyImage(MagickWand *,const MorphologyMethod,const ssize_t,
213  const KernelInfo *),
214  MagickMotionBlurImage(MagickWand *,const double,const double,const double),
215  MagickNegateImage(MagickWand *,const MagickBooleanType),
216  MagickNewImage(MagickWand *,const size_t,const size_t,const PixelWand *),
217  MagickNextImage(MagickWand *),
218  MagickNormalizeImage(MagickWand *),
219  MagickOilPaintImage(MagickWand *,const double,const double),
220  MagickOpaquePaintImage(MagickWand *,const PixelWand *,const PixelWand *,
221  const double,const MagickBooleanType),
222  MagickOptimizeImageTransparency(MagickWand *),
223  MagickOrderedDitherImage(MagickWand *,const char *),
224  MagickPolynomialImage(MagickWand *,const size_t,const double *),
225  MagickTransparentPaintImage(MagickWand *,const PixelWand *,
226  const double,const double,const MagickBooleanType invert),
227  MagickPingImage(MagickWand *,const char *),
228  MagickPingImageBlob(MagickWand *,const void *,const size_t),
229  MagickPingImageFile(MagickWand *,FILE *),
230  MagickPolaroidImage(MagickWand *,const DrawingWand *,const char *,
231  const double,const PixelInterpolateMethod),
232  MagickPosterizeImage(MagickWand *,const size_t,const DitherMethod),
233  MagickPreviousImage(MagickWand *),
234  MagickQuantizeImage(MagickWand *,const size_t,const ColorspaceType,
235  const size_t,const DitherMethod,const MagickBooleanType),
236  MagickQuantizeImages(MagickWand *,const size_t,const ColorspaceType,
237  const size_t,const DitherMethod,const MagickBooleanType),
238  MagickRangeThresholdImage(MagickWand *,const double,const double,
239  const double,const double),
240  MagickRotationalBlurImage(MagickWand *,const double),
241  MagickRaiseImage(MagickWand *,const size_t,const size_t,const ssize_t,
242  const ssize_t,const MagickBooleanType),
243  MagickRandomThresholdImage(MagickWand *,const double,const double),
244  MagickReadImage(MagickWand *,const char *),
245  MagickReadImageBlob(MagickWand *,const void *,const size_t),
246  MagickReadImageFile(MagickWand *,FILE *),
247  MagickReduceNoiseImage(MagickWand *,const double),
248  MagickRemapImage(MagickWand *,const MagickWand *,const DitherMethod),
249  MagickRemoveImage(MagickWand *),
250  MagickResampleImage(MagickWand *,const double,const double,const FilterType),
251  MagickResetImagePage(MagickWand *,const char *),
252  MagickResizeImage(MagickWand *,const size_t,const size_t,const FilterType),
253  MagickRollImage(MagickWand *,const ssize_t,const ssize_t),
254  MagickRotateImage(MagickWand *,const PixelWand *,const double),
255  MagickSampleImage(MagickWand *,const size_t,const size_t),
256  MagickScaleImage(MagickWand *,const size_t,const size_t),
257  MagickSegmentImage(MagickWand *,const ColorspaceType,const MagickBooleanType,
258  const double,const double),
259  MagickSelectiveBlurImage(MagickWand *,const double,const double,
260  const double),
261  MagickSeparateImage(MagickWand *,const ChannelType),
262  MagickSepiaToneImage(MagickWand *,const double),
263  MagickSetImage(MagickWand *,const MagickWand *),
264  MagickSetImageAlpha(MagickWand *,const double),
265  MagickSetImageAlphaChannel(MagickWand *,const AlphaChannelOption),
266  MagickSetImageBackgroundColor(MagickWand *,const PixelWand *),
267  MagickSetImageBluePrimary(MagickWand *,const double,const double,
268  const double),
269  MagickSetImageBorderColor(MagickWand *,const PixelWand *),
270  MagickSetImageColor(MagickWand *,const PixelWand *),
271  MagickSetImageColormapColor(MagickWand *,const size_t,
272  const PixelWand *),
273  MagickSetImageColorspace(MagickWand *,const ColorspaceType),
274  MagickSetImageCompose(MagickWand *,const CompositeOperator),
275  MagickSetImageCompression(MagickWand *,const CompressionType),
276  MagickSetImageDelay(MagickWand *,const size_t),
277  MagickSetImageDepth(MagickWand *,const size_t),
278  MagickSetImageDispose(MagickWand *,const DisposeType),
279  MagickSetImageCompressionQuality(MagickWand *,const size_t),
280  MagickSetImageEndian(MagickWand *,const EndianType),
281  MagickSetImageExtent(MagickWand *,const size_t,const size_t),
282  MagickSetImageFilename(MagickWand *,const char *),
283  MagickSetImageFormat(MagickWand *,const char *),
284  MagickSetImageFuzz(MagickWand *,const double),
285  MagickSetImageGamma(MagickWand *,const double),
286  MagickSetImageGravity(MagickWand *,const GravityType),
287  MagickSetImageGreenPrimary(MagickWand *,const double,const double,
288  const double),
289  MagickSetImageInterlaceScheme(MagickWand *,const InterlaceType),
290  MagickSetImageInterpolateMethod(MagickWand *,const PixelInterpolateMethod),
291  MagickSetImageIterations(MagickWand *,const size_t),
292  MagickSetImageMask(MagickWand *,const PixelMask,const MagickWand *),
293  MagickSetImageMatte(MagickWand *,const MagickBooleanType),
294  MagickSetImageMatteColor(MagickWand *,const PixelWand *),
295  MagickSetImageOrientation(MagickWand *,const OrientationType),
296  MagickSetImagePage(MagickWand *,const size_t,const size_t,const ssize_t,
297  const ssize_t),
298  MagickSetImagePixelColor(MagickWand *,const ssize_t,const ssize_t,
299  const PixelWand *),
300  MagickSetImageRedPrimary(MagickWand *,const double,const double,
301  const double),
302  MagickSetImageRenderingIntent(MagickWand *,const RenderingIntent),
303  MagickSetImageResolution(MagickWand *,const double,const double),
304  MagickSetImageScene(MagickWand *,const size_t),
305  MagickSetImageTicksPerSecond(MagickWand *,const ssize_t),
306  MagickSetImageType(MagickWand *,const ImageType),
307  MagickSetImageUnits(MagickWand *,const ResolutionType),
308  MagickSetImageWhitePoint(MagickWand *,const double,const double,
309  const double),
310  MagickShadeImage(MagickWand *,const MagickBooleanType,const double,
311  const double),
312  MagickShadowImage(MagickWand *,const double,const double,const ssize_t,
313  const ssize_t),
314  MagickSharpenImage(MagickWand *,const double,const double),
315  MagickShaveImage(MagickWand *,const size_t,const size_t),
316  MagickShearImage(MagickWand *,const PixelWand *,const double,const double),
317  MagickSigmoidalContrastImage(MagickWand *,const MagickBooleanType,
318  const double,const double),
319  MagickSketchImage(MagickWand *,const double,const double,const double),
320  MagickSolarizeImage(MagickWand *,const double),
321  MagickSparseColorImage(MagickWand *,const SparseColorMethod,const size_t,
322  const double *),
323  MagickSpliceImage(MagickWand *,const size_t,const size_t,const ssize_t,
324  const ssize_t),
325  MagickSpreadImage(MagickWand *,const PixelInterpolateMethod,const double),
326  MagickStatisticImage(MagickWand *,const StatisticType,const size_t,
327  const size_t),
328  MagickStripImage(MagickWand *),
329  MagickSwirlImage(MagickWand *,const double,const PixelInterpolateMethod),
330  MagickTintImage(MagickWand *,const PixelWand *,const PixelWand *),
331  MagickTransformImageColorspace(MagickWand *,const ColorspaceType),
332  MagickTransposeImage(MagickWand *),
333  MagickTransverseImage(MagickWand *),
334  MagickThresholdImage(MagickWand *,const double),
335  MagickThresholdImageChannel(MagickWand *,const ChannelType,const double),
336  MagickThumbnailImage(MagickWand *,const size_t,const size_t),
337  MagickTrimImage(MagickWand *,const double),
338  MagickUniqueImageColors(MagickWand *),
339  MagickUnsharpMaskImage(MagickWand *,const double,const double,const double,
340  const double),
341  MagickVignetteImage(MagickWand *,const double,const double,const ssize_t,
342  const ssize_t),
343  MagickWaveImage(MagickWand *,const double,const double,
344  const PixelInterpolateMethod),
345  MagickWaveletDenoiseImage(MagickWand *,const double,const double),
346  MagickWhiteBalanceImage(MagickWand *),
347  MagickWhiteThresholdImage(MagickWand *,const PixelWand *),
348  MagickWriteImage(MagickWand *,const char *),
349  MagickWriteImageFile(MagickWand *,FILE *),
350  MagickWriteImages(MagickWand *,const char *,const MagickBooleanType),
351  MagickWriteImagesFile(MagickWand *,FILE *);
352 
353 extern WandExport MagickProgressMonitor
354  MagickSetImageProgressMonitor(MagickWand *,const MagickProgressMonitor,
355  void *);
356 
357 extern WandExport MagickWand
358  *MagickAppendImages(MagickWand *,const MagickBooleanType),
359  *MagickChannelFxImage(MagickWand *,const char *),
360  *MagickCoalesceImages(MagickWand *),
361  *MagickCombineImages(MagickWand *,const ColorspaceType),
362  *MagickCompareImages(MagickWand *,const MagickWand *,const MetricType,
363  double *),
364  *MagickCompareImagesLayers(MagickWand *,const LayerMethod),
365  *MagickComplexImages(MagickWand *,const ComplexOperator),
366  *MagickDeconstructImages(MagickWand *),
367  *MagickEvaluateImages(MagickWand *,const MagickEvaluateOperator),
368  *MagickFxImage(MagickWand *,const char *),
369  *MagickGetImage(MagickWand *),
370  *MagickGetImageMask(MagickWand *,const PixelMask),
371  *MagickGetImageRegion(MagickWand *,const size_t,const size_t,const ssize_t,
372  const ssize_t),
373  *MagickMergeImageLayers(MagickWand *,const LayerMethod),
374  *MagickMorphImages(MagickWand *,const size_t),
375  *MagickMontageImage(MagickWand *,const DrawingWand *,const char *,
376  const char *,const MontageMode,const char *),
377  *MagickOptimizeImageLayers(MagickWand *),
378  *MagickPreviewImages(MagickWand *wand,const PreviewType),
379  *MagickSimilarityImage(MagickWand *,const MagickWand *,const MetricType,
380  const double,RectangleInfo *,double *),
381  *MagickSmushImages(MagickWand *,const MagickBooleanType,const ssize_t),
382  *MagickSteganoImage(MagickWand *,const MagickWand *,const ssize_t),
383  *MagickStereoImage(MagickWand *,const MagickWand *),
384  *MagickTextureImage(MagickWand *,const MagickWand *);
385 
386 extern WandExport OrientationType
387  MagickGetImageOrientation(MagickWand *);
388 
389 extern WandExport PixelWand
390  **MagickGetImageHistogram(MagickWand *,size_t *);
391 
392 extern WandExport RenderingIntent
393  MagickGetImageRenderingIntent(MagickWand *);
394 
395 extern WandExport ResolutionType
396  MagickGetImageUnits(MagickWand *);
397 
398 extern WandExport size_t
399  MagickGetImageColors(MagickWand *),
400  MagickGetImageCompressionQuality(MagickWand *),
401  MagickGetImageDelay(MagickWand *),
402  MagickGetImageDepth(MagickWand *),
403  MagickGetImageHeight(MagickWand *),
404  MagickGetImageIterations(MagickWand *),
405  MagickGetImageScene(MagickWand *),
406  MagickGetImageTicksPerSecond(MagickWand *),
407  MagickGetImageWidth(MagickWand *),
408  MagickGetNumberImages(MagickWand *);
409 
410 extern WandExport unsigned char
411  *MagickGetImageBlob(MagickWand *,size_t *),
412  *MagickGetImagesBlob(MagickWand *,size_t *);
413 
414 extern WandExport VirtualPixelMethod
415  MagickGetImageVirtualPixelMethod(MagickWand *),
416  MagickSetImageVirtualPixelMethod(MagickWand *,const VirtualPixelMethod);
417 
418 #if defined(__cplusplus) || defined(c_plusplus)
419 }
420 #endif
421 
422 #endif