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