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 *,
181 ssize_t *),
182 MagickGetImagePixelColor(MagickWand *,const ssize_t,const ssize_t,
183 PixelWand *),
184 MagickGetImageRange(MagickWand *,double *,double *),
185 MagickGetImageRedPrimary(MagickWand *,double *,double *,double *),
186 MagickGetImageResolution(MagickWand *,double *,double *),
187 MagickGetImageWhitePoint(MagickWand *,double *,double *,double *),
188 MagickHaldClutImage(MagickWand *,const MagickWand *),
189 MagickHasNextImage(MagickWand *),
190 MagickHasPreviousImage(MagickWand *),
191 MagickHoughLineImage(MagickWand *,const size_t,const size_t,const size_t),
192 MagickImplodeImage(MagickWand *,const double,const PixelInterpolateMethod),
193 MagickImportImagePixels(MagickWand *,const ssize_t,const ssize_t,const size_t,
194 const size_t,const char *,const StorageType,const void *),
195 MagickInterpolativeResizeImage(MagickWand *,const size_t,const size_t,
196 const PixelInterpolateMethod),
197 MagickInverseFourierTransformImage(MagickWand *,MagickWand *,
198 const MagickBooleanType),
199 MagickKmeansImage(MagickWand *, const size_t, const size_t, const double),
200 MagickKuwaharaImage(MagickWand *,const double,const double),
201 MagickLabelImage(MagickWand *,const char *),
202 MagickLevelImage(MagickWand *,const double,const double,const double),
203 MagickLevelImageColors(MagickWand *,const PixelWand *,const PixelWand *,
204 const MagickBooleanType),
205 MagickLevelizeImage(MagickWand *,const double,const double,const double),
206 MagickLinearStretchImage(MagickWand *,const double,const double),
207 MagickLiquidRescaleImage(MagickWand *,const size_t,const size_t,const double,
208 const double),
209 MagickLocalContrastImage(MagickWand *,const double,const double),
210 MagickMagnifyImage(MagickWand *),
211 MagickMeanShiftImage(MagickWand *,const size_t,const size_t,const double),
212 MagickMinifyImage(MagickWand *),
213 MagickModeImage(MagickWand *,const double),
214 MagickModulateImage(MagickWand *,const double,const double,const double),
215 MagickMorphologyImage(MagickWand *,const MorphologyMethod,const ssize_t,
216 const KernelInfo *),
217 MagickMotionBlurImage(MagickWand *,const double,const double,const double),
218 MagickNegateImage(MagickWand *,const MagickBooleanType),
219 MagickNewImage(MagickWand *,const size_t,const size_t,const PixelWand *),
220 MagickNextImage(MagickWand *),
221 MagickNormalizeImage(MagickWand *),
222 MagickOilPaintImage(MagickWand *,const double,const double),
223 MagickOpaquePaintImage(MagickWand *,const PixelWand *,const PixelWand *,
224 const double,const MagickBooleanType),
225 MagickOptimizeImageTransparency(MagickWand *),
226 MagickOrderedDitherImage(MagickWand *,const char *),
227 MagickPolynomialImage(MagickWand *,const size_t,const double *),
228 MagickTransparentPaintImage(MagickWand *,const PixelWand *,
229 const double,const double,const MagickBooleanType invert),
230 MagickPingImage(MagickWand *,const char *),
231 MagickPingImageBlob(MagickWand *,const void *,const size_t),
232 MagickPingImageFile(MagickWand *,FILE *),
233 MagickPolaroidImage(MagickWand *,const DrawingWand *,const char *,
234 const double,const PixelInterpolateMethod),
235 MagickPosterizeImage(MagickWand *,const size_t,const DitherMethod),
236 MagickPreviousImage(MagickWand *),
237 MagickQuantizeImage(MagickWand *,const size_t,const ColorspaceType,
238 const size_t,const DitherMethod,const MagickBooleanType),
239 MagickQuantizeImages(MagickWand *,const size_t,const ColorspaceType,
240 const size_t,const DitherMethod,const MagickBooleanType),
241 MagickRangeThresholdImage(MagickWand *,const double,const double,
242 const double,const double),
243 MagickRotationalBlurImage(MagickWand *,const double),
244 MagickRaiseImage(MagickWand *,const size_t,const size_t,const ssize_t,
245 const ssize_t,const MagickBooleanType),
246 MagickRandomThresholdImage(MagickWand *,const double,const double),
247 MagickReadImage(MagickWand *,const char *),
248 MagickReadImageBlob(MagickWand *,const void *,const size_t),
249 MagickReadImageFile(MagickWand *,FILE *),
250 MagickReduceNoiseImage(MagickWand *,const double),
251 MagickRemapImage(MagickWand *,const MagickWand *,const DitherMethod),
252 MagickRemoveImage(MagickWand *),
253 MagickResampleImage(MagickWand *,const double,const double,const FilterType),
254 MagickResetImagePage(MagickWand *,const char *),
255 MagickResizeImage(MagickWand *,const size_t,const size_t,const FilterType),
256 MagickRollImage(MagickWand *,const ssize_t,const ssize_t),
257 MagickRotateImage(MagickWand *,const PixelWand *,const double),
258 MagickSampleImage(MagickWand *,const size_t,const size_t),
259 MagickScaleImage(MagickWand *,const size_t,const size_t),
260 MagickSegmentImage(MagickWand *,const ColorspaceType,const MagickBooleanType,
261 const double,const double),
262 MagickSelectiveBlurImage(MagickWand *,const double,const double,
263 const double),
264 MagickSeparateImage(MagickWand *,const ChannelType),
265 MagickSepiaToneImage(MagickWand *,const double),
266 MagickSetImage(MagickWand *,const MagickWand *),
267 MagickSetImageAlpha(MagickWand *,const double),
268 MagickSetImageAlphaChannel(MagickWand *,const AlphaChannelOption),
269 MagickSetImageBackgroundColor(MagickWand *,const PixelWand *),
270 MagickSetImageBluePrimary(MagickWand *,const double,const double,
271 const double),
272 MagickSetImageBorderColor(MagickWand *,const PixelWand *),
273 MagickSetImageColor(MagickWand *,const PixelWand *),
274 MagickSetImageColormapColor(MagickWand *,const size_t,
275 const PixelWand *),
276 MagickSetImageColorspace(MagickWand *,const ColorspaceType),
277 MagickSetImageCompose(MagickWand *,const CompositeOperator),
278 MagickSetImageCompression(MagickWand *,const CompressionType),
279 MagickSetImageDelay(MagickWand *,const size_t),
280 MagickSetImageDepth(MagickWand *,const size_t),
281 MagickSetImageDispose(MagickWand *,const DisposeType),
282 MagickSetImageCompressionQuality(MagickWand *,const size_t),
283 MagickSetImageEndian(MagickWand *,const EndianType),
284 MagickSetImageExtent(MagickWand *,const size_t,const size_t),
285 MagickSetImageFilename(MagickWand *,const char *),
286 MagickSetImageFilter(MagickWand *,const FilterType),
287 MagickSetImageFormat(MagickWand *,const char *),
288 MagickSetImageFuzz(MagickWand *,const double),
289 MagickSetImageGamma(MagickWand *,const double),
290 MagickSetImageGravity(MagickWand *,const GravityType),
291 MagickSetImageGreenPrimary(MagickWand *,const double,const double,
292 const double),
293 MagickSetImageInterlaceScheme(MagickWand *,const InterlaceType),
294 MagickSetImageInterpolateMethod(MagickWand *,const PixelInterpolateMethod),
295 MagickSetImageIterations(MagickWand *,const size_t),
296 MagickSetImageMask(MagickWand *,const PixelMask,const MagickWand *),
297 MagickSetImageMatte(MagickWand *,const MagickBooleanType),
298 MagickSetImageMatteColor(MagickWand *,const PixelWand *),
299 MagickSetImageOrientation(MagickWand *,const OrientationType),
300 MagickSetImagePage(MagickWand *,const size_t,const size_t,const ssize_t,
301 const ssize_t),
302 MagickSetImagePixelColor(MagickWand *,const ssize_t,const ssize_t,
303 const PixelWand *),
304 MagickSetImageRedPrimary(MagickWand *,const double,const double,
305 const double),
306 MagickSetImageRenderingIntent(MagickWand *,const RenderingIntent),
307 MagickSetImageResolution(MagickWand *,const double,const double),
308 MagickSetImageScene(MagickWand *,const size_t),
309 MagickSetImageTicksPerSecond(MagickWand *,const ssize_t),
310 MagickSetImageType(MagickWand *,const ImageType),
311 MagickSetImageUnits(MagickWand *,const ResolutionType),
312 MagickSetImageWhitePoint(MagickWand *,const double,const double,
313 const double),
314 MagickShadeImage(MagickWand *,const MagickBooleanType,const double,
315 const double),
316 MagickShadowImage(MagickWand *,const double,const double,const ssize_t,
317 const ssize_t),
318 MagickSharpenImage(MagickWand *,const double,const double),
319 MagickShaveImage(MagickWand *,const size_t,const size_t),
320 MagickShearImage(MagickWand *,const PixelWand *,const double,const double),
321 MagickSigmoidalContrastImage(MagickWand *,const MagickBooleanType,
322 const double,const double),
323 MagickSketchImage(MagickWand *,const double,const double,const double),
324 MagickSolarizeImage(MagickWand *,const double),
325 MagickSparseColorImage(MagickWand *,const SparseColorMethod,const size_t,
326 const double *),
327 MagickSpliceImage(MagickWand *,const size_t,const size_t,const ssize_t,
328 const ssize_t),
329 MagickSpreadImage(MagickWand *,const PixelInterpolateMethod,const double),
330 MagickStatisticImage(MagickWand *,const StatisticType,const size_t,
331 const size_t),
332 MagickStripImage(MagickWand *),
333 MagickSwirlImage(MagickWand *,const double,const PixelInterpolateMethod),
334 MagickTintImage(MagickWand *,const PixelWand *,const PixelWand *),
335 MagickTransformImageColorspace(MagickWand *,const ColorspaceType),
336 MagickTransposeImage(MagickWand *),
337 MagickTransverseImage(MagickWand *),
338 MagickThresholdImage(MagickWand *,const double),
339 MagickThresholdImageChannel(MagickWand *,const ChannelType,const double),
340 MagickThumbnailImage(MagickWand *,const size_t,const size_t),
341 MagickTrimImage(MagickWand *,const double),
342 MagickUniqueImageColors(MagickWand *),
343 MagickUnsharpMaskImage(MagickWand *,const double,const double,const double,
344 const double),
345 MagickVignetteImage(MagickWand *,const double,const double,const ssize_t,
346 const ssize_t),
347 MagickWaveImage(MagickWand *,const double,const double,
348 const PixelInterpolateMethod),
349 MagickWaveletDenoiseImage(MagickWand *,const double,const double),
350 MagickWhiteBalanceImage(MagickWand *),
351 MagickWhiteThresholdImage(MagickWand *,const PixelWand *),
352 MagickWriteImage(MagickWand *,const char *),
353 MagickWriteImageFile(MagickWand *,FILE *),
354 MagickWriteImages(MagickWand *,const char *,const MagickBooleanType),
355 MagickWriteImagesFile(MagickWand *,FILE *);
356
357extern WandExport MagickProgressMonitor
358 MagickSetImageProgressMonitor(MagickWand *,const MagickProgressMonitor,
359 void *);
360
361extern WandExport MagickWand
362 *MagickAppendImages(MagickWand *,const MagickBooleanType),
363 *MagickChannelFxImage(MagickWand *,const char *),
364 *MagickCoalesceImages(MagickWand *),
365 *MagickCombineImages(MagickWand *,const ColorspaceType),
366 *MagickCompareImages(MagickWand *,const MagickWand *,const MetricType,
367 double *),
368 *MagickCompareImagesLayers(MagickWand *,const LayerMethod),
369 *MagickComplexImages(MagickWand *,const ComplexOperator),
370 *MagickDeconstructImages(MagickWand *),
371 *MagickEvaluateImages(MagickWand *,const MagickEvaluateOperator),
372 *MagickFxImage(MagickWand *,const char *),
373 *MagickGetImage(MagickWand *),
374 *MagickGetImageMask(MagickWand *,const PixelMask),
375 *MagickGetImageRegion(MagickWand *,const size_t,const size_t,const ssize_t,
376 const ssize_t),
377 *MagickMergeImageLayers(MagickWand *,const LayerMethod),
378 *MagickMorphImages(MagickWand *,const size_t),
379 *MagickMontageImage(MagickWand *,const DrawingWand *,const char *,
380 const char *,const MontageMode,const char *),
381 *MagickOptimizeImageLayers(MagickWand *),
382 *MagickPreviewImages(MagickWand *wand,const PreviewType),
383 *MagickSimilarityImage(MagickWand *,const MagickWand *,const MetricType,
384 const double,RectangleInfo *,double *),
385 *MagickSmushImages(MagickWand *,const MagickBooleanType,const ssize_t),
386 *MagickSteganoImage(MagickWand *,const MagickWand *,const ssize_t),
387 *MagickStereoImage(MagickWand *,const MagickWand *),
388 *MagickTextureImage(MagickWand *,const MagickWand *);
389
390extern WandExport OrientationType
391 MagickGetImageOrientation(MagickWand *);
392
393extern WandExport PixelWand
394 **MagickGetImageHistogram(MagickWand *,size_t *);
395
396extern WandExport RenderingIntent
397 MagickGetImageRenderingIntent(MagickWand *);
398
399extern WandExport ResolutionType
400 MagickGetImageUnits(MagickWand *);
401
402extern WandExport size_t
403 MagickGetImageColors(MagickWand *),
404 MagickGetImageCompressionQuality(MagickWand *),
405 MagickGetImageDelay(MagickWand *),
406 MagickGetImageDepth(MagickWand *),
407 MagickGetImageHeight(MagickWand *),
408 MagickGetImageIterations(MagickWand *),
409 MagickGetImageScene(MagickWand *),
410 MagickGetImageTicksPerSecond(MagickWand *),
411 MagickGetImageWidth(MagickWand *),
412 MagickGetNumberImages(MagickWand *);
413
414extern WandExport unsigned char
415 *MagickGetImageBlob(MagickWand *,size_t *),
416 *MagickGetImagesBlob(MagickWand *,size_t *);
417
418extern WandExport VirtualPixelMethod
419 MagickGetImageVirtualPixelMethod(MagickWand *),
420 MagickSetImageVirtualPixelMethod(MagickWand *,const VirtualPixelMethod);
421
422#if defined(__cplusplus) || defined(c_plusplus)
423}
424#endif
425
426#endif