2 Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization
3 dedicated to making software imaging solutions freely available.
5 You may not use this file except in compliance with the License.
6 obtain a copy of the License at
8 http://www.imagemagick.org/script/license.php
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.
16 MagickWand image Methods.
19 #ifndef _MAGICKWAND_MAGICK_IMAGE_H
20 #define _MAGICKWAND_MAGICK_IMAGE_H
22 #if defined(__cplusplus) || defined(c_plusplus)
26 extern WandExport ChannelFeatures
27 *MagickGetImageFeatures(MagickWand *,const size_t);
29 extern WandExport ChannelStatistics
30 *MagickGetImageStatistics(MagickWand *);
32 extern WandExport char
33 *MagickGetImageFilename(MagickWand *),
34 *MagickGetImageFormat(MagickWand *),
35 *MagickGetImageSignature(MagickWand *),
36 *MagickIdentifyImage(MagickWand *);
38 extern WandExport ColorspaceType
39 MagickGetImageColorspace(MagickWand *);
41 extern WandExport CompositeOperator
42 MagickGetImageCompose(MagickWand *);
44 extern WandExport CompressionType
45 MagickGetImageCompression(MagickWand *);
47 extern WandExport DisposeType
48 MagickGetImageDispose(MagickWand *);
50 extern WandExport double
51 *MagickGetImageDistortions(MagickWand *,const MagickWand *,
53 MagickGetImageFuzz(MagickWand *),
54 MagickGetImageGamma(MagickWand *),
55 MagickGetImageTotalInkDensity(MagickWand *);
57 extern WandExport GravityType
58 MagickGetImageGravity(MagickWand *);
60 extern WandExport Image
61 *MagickDestroyImage(Image *),
62 *GetImageFromMagickWand(const MagickWand *);
64 extern WandExport ImageType
65 MagickGetImageType(MagickWand *);
67 extern WandExport InterlaceType
68 MagickGetImageInterlaceScheme(MagickWand *);
70 extern WandExport PixelInterpolateMethod
71 MagickGetImagePixelInterpolateMethod(MagickWand *);
73 extern WandExport MagickBooleanType
74 MagickAdaptiveBlurImage(MagickWand *,const double,const double,const double),
75 MagickAdaptiveResizeImage(MagickWand *,const size_t,const size_t,
76 const PixelInterpolateMethod),
77 MagickAdaptiveSharpenImage(MagickWand *,const double,const double,
79 MagickAdaptiveThresholdImage(MagickWand *,const size_t,const size_t,
81 MagickAddImage(MagickWand *,const MagickWand *),
82 MagickAddNoiseImage(MagickWand *,const NoiseType),
83 MagickAffineTransformImage(MagickWand *,const DrawingWand *),
84 MagickAnnotateImage(MagickWand *,const DrawingWand *,const double,
85 const double,const double,const char *),
86 MagickAnimateImages(MagickWand *,const char *),
87 MagickAutoGammaImage(MagickWand *),
88 MagickAutoLevelImage(MagickWand *),
89 MagickBlackThresholdImage(MagickWand *,const PixelWand *),
90 MagickBlueShiftImage(MagickWand *,const double),
91 MagickBlurImage(MagickWand *,const double,const double,const double),
92 MagickBorderImage(MagickWand *,const PixelWand *,const size_t,const size_t,
93 const CompositeOperator compose),
94 MagickBrightnessContrastImage(MagickWand *,const double,const double),
95 MagickCharcoalImage(MagickWand *,const double,const double,const double),
96 MagickChopImage(MagickWand *,const size_t,const size_t,const ssize_t,
98 MagickClampImage(MagickWand *),
99 MagickClipImage(MagickWand *),
100 MagickClipImagePath(MagickWand *,const char *,const MagickBooleanType),
101 MagickClutImage(MagickWand *,const MagickWand *,const PixelInterpolateMethod),
102 MagickColorDecisionListImage(MagickWand *,const char *),
103 MagickColorizeImage(MagickWand *,const PixelWand *,const PixelWand *),
104 MagickColorMatrixImage(MagickWand *,const KernelInfo *),
105 MagickCommentImage(MagickWand *,const char *),
106 MagickCompositeImage(MagickWand *,const MagickWand *,const CompositeOperator,
107 const ssize_t,const ssize_t),
108 MagickConstituteImage(MagickWand *,const size_t,const size_t,const char *,
109 const StorageType,const void *),
110 MagickContrastImage(MagickWand *,const MagickBooleanType),
111 MagickContrastStretchImage(MagickWand *,const double,const double),
112 MagickConvolveImage(MagickWand *,const KernelInfo *),
113 MagickCropImage(MagickWand *,const size_t,const size_t,const ssize_t,
115 MagickCycleColormapImage(MagickWand *,const ssize_t),
116 MagickDecipherImage(MagickWand *,const char *),
117 MagickDeskewImage(MagickWand *,const double),
118 MagickDespeckleImage(MagickWand *),
119 MagickDisplayImage(MagickWand *,const char *),
120 MagickDisplayImages(MagickWand *,const char *),
121 MagickDistortImage(MagickWand *,const DistortImageMethod,const size_t,
122 const double *,const MagickBooleanType),
123 MagickDrawImage(MagickWand *,const DrawingWand *),
124 MagickEdgeImage(MagickWand *,const double,const double),
125 MagickEmbossImage(MagickWand *,const double,const double),
126 MagickEncipherImage(MagickWand *,const char *),
127 MagickEnhanceImage(MagickWand *),
128 MagickEqualizeImage(MagickWand *),
129 MagickEvaluateImage(MagickWand *,const MagickEvaluateOperator,const double),
130 MagickExportImagePixels(MagickWand *,const ssize_t,const ssize_t,
131 const size_t,const size_t,const char *,const StorageType,void *),
132 MagickExtentImage(MagickWand *,const size_t,const size_t,const ssize_t,
134 MagickFlipImage(MagickWand *),
135 MagickFloodfillPaintImage(MagickWand *,const PixelWand *,const double,
136 const PixelWand *,const ssize_t,const ssize_t,const MagickBooleanType),
137 MagickFlopImage(MagickWand *),
138 MagickForwardFourierTransformImage(MagickWand *,const MagickBooleanType),
139 MagickFrameImage(MagickWand *,const PixelWand *,const size_t,const size_t,
140 const ssize_t,const ssize_t,const CompositeOperator),
141 MagickFunctionImage(MagickWand *,const MagickFunction,const size_t,
143 MagickGammaImage(MagickWand *,const double),
144 MagickGaussianBlurImage(MagickWand *,const double,const double,const double),
145 MagickGetImageAlphaChannel(MagickWand *),
146 MagickGetImageBackgroundColor(MagickWand *,PixelWand *),
147 MagickGetImageBluePrimary(MagickWand *,double *,double *),
148 MagickGetImageBorderColor(MagickWand *,PixelWand *),
149 MagickGetImageKurtosis(MagickWand *,double *,double *),
150 MagickGetImageMean(MagickWand *,double *,double *),
151 MagickGetImageRange(MagickWand *,double *,double *),
152 MagickGetImageColormapColor(MagickWand *,const size_t,PixelWand *),
153 MagickGetImageDistortion(MagickWand *,const MagickWand *,const MetricType,
155 MagickGetImageGreenPrimary(MagickWand *,double *,double *),
156 MagickGetImageMatteColor(MagickWand *,PixelWand *),
157 MagickGetImageLength(MagickWand *,MagickSizeType *),
158 MagickGetImagePage(MagickWand *,size_t *,size_t *,ssize_t *,
160 MagickGetImagePixelColor(MagickWand *,const ssize_t,const ssize_t,
162 MagickGetImageRange(MagickWand *,double *,double *),
163 MagickGetImageRedPrimary(MagickWand *,double *,double *),
164 MagickGetImageResolution(MagickWand *,double *,double *),
165 MagickGetImageWhitePoint(MagickWand *,double *,double *),
166 MagickHaldClutImage(MagickWand *,const MagickWand *),
167 MagickHasNextImage(MagickWand *),
168 MagickHasPreviousImage(MagickWand *),
169 MagickImplodeImage(MagickWand *,const double,const PixelInterpolateMethod),
170 MagickImportImagePixels(MagickWand *,const ssize_t,const ssize_t,const size_t,
171 const size_t,const char *,const StorageType,const void *),
172 MagickInverseFourierTransformImage(MagickWand *,MagickWand *,
173 const MagickBooleanType),
174 MagickLabelImage(MagickWand *,const char *),
175 MagickLevelImage(MagickWand *,const double,const double,const double),
176 MagickLinearStretchImage(MagickWand *,const double,const double),
177 MagickLiquidRescaleImage(MagickWand *,const size_t,const size_t,const double,
179 MagickMagnifyImage(MagickWand *),
180 MagickMedianConvolveImage(MagickWand *,const double),
181 MagickMinifyImage(MagickWand *),
182 MagickModeImage(MagickWand *,const double),
183 MagickModulateImage(MagickWand *,const double,const double,const double),
184 MagickMorphologyImage(MagickWand *,MorphologyMethod,const ssize_t,
186 MagickMotionBlurImage(MagickWand *,const double,const double,const double,
188 MagickNegateImage(MagickWand *,const MagickBooleanType),
189 MagickNewImage(MagickWand *,const size_t,const size_t,const PixelWand *),
190 MagickNextImage(MagickWand *),
191 MagickNormalizeImage(MagickWand *),
192 MagickOilPaintImage(MagickWand *,const double,const double),
193 MagickOpaquePaintImage(MagickWand *,const PixelWand *,const PixelWand *,
194 const double,const MagickBooleanType),
195 MagickOrderedPosterizeImage(MagickWand *,const char *),
196 MagickTransparentPaintImage(MagickWand *,const PixelWand *,
197 const double,const double,const MagickBooleanType invert),
198 MagickPingImage(MagickWand *,const char *),
199 MagickPingImageBlob(MagickWand *,const void *,const size_t),
200 MagickPingImageFile(MagickWand *,FILE *),
201 MagickPolaroidImage(MagickWand *,const DrawingWand *,const double,
202 const PixelInterpolateMethod),
203 MagickPosterizeImage(MagickWand *,const size_t,const MagickBooleanType),
204 MagickPreviousImage(MagickWand *),
205 MagickQuantizeImage(MagickWand *,const size_t,const ColorspaceType,
206 const size_t,const MagickBooleanType,const MagickBooleanType),
207 MagickQuantizeImages(MagickWand *,const size_t,const ColorspaceType,
208 const size_t,const MagickBooleanType,const MagickBooleanType),
209 MagickRadialBlurImage(MagickWand *,const double,const double),
210 MagickRaiseImage(MagickWand *,const size_t,const size_t,const ssize_t,
211 const ssize_t,const MagickBooleanType),
212 MagickRandomThresholdImage(MagickWand *,const double,const double),
213 MagickReadImage(MagickWand *,const char *),
214 MagickReadImageBlob(MagickWand *,const void *,const size_t),
215 MagickReadImageFile(MagickWand *,FILE *),
216 MagickReduceNoiseImage(MagickWand *,const double),
217 MagickRemapImage(MagickWand *,const MagickWand *,const DitherMethod),
218 MagickRemoveImage(MagickWand *),
219 MagickResampleImage(MagickWand *,const double,const double,const FilterTypes,
221 MagickResetImagePage(MagickWand *,const char *),
222 MagickResizeImage(MagickWand *,const size_t,const size_t,const FilterTypes,
224 MagickRollImage(MagickWand *,const ssize_t,const ssize_t),
225 MagickRotateImage(MagickWand *,const PixelWand *,const double),
226 MagickSampleImage(MagickWand *,const size_t,const size_t),
227 MagickScaleImage(MagickWand *,const size_t,const size_t),
228 MagickSegmentImage(MagickWand *,const ColorspaceType,const MagickBooleanType,
229 const double,const double),
230 MagickSelectiveBlurImage(MagickWand *,const double,const double,const double,
232 MagickSeparateImage(MagickWand *),
233 MagickSepiaToneImage(MagickWand *,const double),
234 MagickSetImage(MagickWand *,const MagickWand *),
235 MagickSetImageAlphaChannel(MagickWand *,const AlphaChannelType),
236 MagickSetImageBackgroundColor(MagickWand *,const PixelWand *),
237 MagickSetImageBias(MagickWand *,const double),
238 MagickSetImageBluePrimary(MagickWand *,const double,const double),
239 MagickSetImageBorderColor(MagickWand *,const PixelWand *),
240 MagickSetImageClipMask(MagickWand *,const MagickWand *),
241 MagickSetImageColor(MagickWand *,const PixelWand *),
242 MagickSetImageColormapColor(MagickWand *,const size_t,
244 MagickSetImageColorspace(MagickWand *,const ColorspaceType),
245 MagickSetImageCompose(MagickWand *,const CompositeOperator),
246 MagickSetImageCompression(MagickWand *,const CompressionType),
247 MagickSetImageDelay(MagickWand *,const size_t),
248 MagickSetImageDepth(MagickWand *,const size_t),
249 MagickSetImageDispose(MagickWand *,const DisposeType),
250 MagickSetImageCompressionQuality(MagickWand *,const size_t),
251 MagickSetImageExtent(MagickWand *,const size_t,const size_t),
252 MagickSetImageFilename(MagickWand *,const char *),
253 MagickSetImageFormat(MagickWand *,const char *),
254 MagickSetImageFuzz(MagickWand *,const double),
255 MagickSetImageGamma(MagickWand *,const double),
256 MagickSetImageGravity(MagickWand *,const GravityType),
257 MagickSetImageGreenPrimary(MagickWand *,const double,const double),
258 MagickSetImageInterlaceScheme(MagickWand *,const InterlaceType),
259 MagickSetImagePixelInterpolateMethod(MagickWand *,const PixelInterpolateMethod),
260 MagickSetImageIterations(MagickWand *,const size_t),
261 MagickSetImageMatte(MagickWand *,const MagickBooleanType),
262 MagickSetImageMatteColor(MagickWand *,const PixelWand *),
263 MagickSetImageAlpha(MagickWand *,const double),
264 MagickSetImageOrientation(MagickWand *,const OrientationType),
265 MagickSetImagePage(MagickWand *,const size_t,const size_t,const ssize_t,
267 MagickSetImageRedPrimary(MagickWand *,const double,const double),
268 MagickSetImageRenderingIntent(MagickWand *,const RenderingIntent),
269 MagickSetImageResolution(MagickWand *,const double,const double),
270 MagickSetImageScene(MagickWand *,const size_t),
271 MagickSetImageTicksPerSecond(MagickWand *,const ssize_t),
272 MagickSetImageType(MagickWand *,const ImageType),
273 MagickSetImageUnits(MagickWand *,const ResolutionType),
274 MagickSetImageWhitePoint(MagickWand *,const double,const double),
275 MagickShadeImage(MagickWand *,const MagickBooleanType,const double,
277 MagickShadowImage(MagickWand *,const double,const double,const ssize_t,
279 MagickSharpenImage(MagickWand *,const double,const double,const double),
280 MagickShaveImage(MagickWand *,const size_t,const size_t),
281 MagickShearImage(MagickWand *,const PixelWand *,const double,const double),
282 MagickSigmoidalContrastImage(MagickWand *,const MagickBooleanType,
283 const double,const double),
284 MagickSketchImage(MagickWand *,const double,const double,const double,
286 MagickSolarizeImage(MagickWand *,const double),
287 MagickSparseColorImage(MagickWand *,const SparseColorMethod,const size_t,
289 MagickSpliceImage(MagickWand *,const size_t,const size_t,const ssize_t,
291 MagickSpreadImage(MagickWand *,const double,const PixelInterpolateMethod),
292 MagickStatisticImage(MagickWand *,const StatisticType,const size_t,
294 MagickStripImage(MagickWand *),
295 MagickSwirlImage(MagickWand *,const double,const PixelInterpolateMethod),
296 MagickTintImage(MagickWand *,const PixelWand *,const PixelWand *),
297 MagickTransformImageColorspace(MagickWand *,const ColorspaceType),
298 MagickTransposeImage(MagickWand *),
299 MagickTransverseImage(MagickWand *),
300 MagickThresholdImage(MagickWand *,const double),
301 MagickThresholdImageChannel(MagickWand *,const ChannelType,const double),
302 MagickThumbnailImage(MagickWand *,const size_t,const size_t),
303 MagickTrimImage(MagickWand *,const double),
304 MagickUniqueImageColors(MagickWand *),
305 MagickUnsharpMaskImage(MagickWand *,const double,const double,const double,
307 MagickVignetteImage(MagickWand *,const double,const double,const ssize_t,
309 MagickWaveImage(MagickWand *,const double,const double,
310 const PixelInterpolateMethod),
311 MagickWhiteThresholdImage(MagickWand *,const PixelWand *),
312 MagickWriteImage(MagickWand *,const char *),
313 MagickWriteImageFile(MagickWand *,FILE *),
314 MagickWriteImages(MagickWand *,const char *,const MagickBooleanType),
315 MagickWriteImagesFile(MagickWand *,FILE *);
317 WandExport MagickProgressMonitor
318 MagickSetImageProgressMonitor(MagickWand *,const MagickProgressMonitor,
321 extern WandExport MagickWand
322 *MagickAppendImages(MagickWand *,const MagickBooleanType),
323 *MagickCoalesceImages(MagickWand *),
324 *MagickCombineImages(MagickWand *),
325 *MagickCompareImages(MagickWand *,const MagickWand *,const MetricType,
327 *MagickCompareImagesLayers(MagickWand *,const ImageLayerMethod),
328 *MagickDeconstructImages(MagickWand *),
329 *MagickEvaluateImages(MagickWand *,const MagickEvaluateOperator),
330 *MagickFxImage(MagickWand *,const char *),
331 *MagickGetImage(MagickWand *),
332 *MagickGetImageClipMask(MagickWand *),
333 *MagickGetImageRegion(MagickWand *,const size_t,const size_t,const ssize_t,
335 *MagickMergeImageLayers(MagickWand *,const ImageLayerMethod),
336 *MagickMorphImages(MagickWand *,const size_t),
337 *MagickMontageImage(MagickWand *,const DrawingWand *,const char *,
338 const char *,const MontageMode,const char *),
339 *MagickOptimizeImageLayers(MagickWand *),
340 *MagickPreviewImages(MagickWand *wand,const PreviewType),
341 *MagickSimilarityImage(MagickWand *,const MagickWand *,RectangleInfo *,
343 *MagickSmushImages(MagickWand *,const MagickBooleanType,const ssize_t),
344 *MagickSteganoImage(MagickWand *,const MagickWand *,const ssize_t),
345 *MagickStereoImage(MagickWand *,const MagickWand *),
346 *MagickTextureImage(MagickWand *,const MagickWand *),
347 *MagickTransformImage(MagickWand *,const char *,const char *);
349 extern WandExport OrientationType
350 MagickGetImageOrientation(MagickWand *);
352 extern WandExport PixelWand
353 **MagickGetImageHistogram(MagickWand *,size_t *);
355 extern WandExport RenderingIntent
356 MagickGetImageRenderingIntent(MagickWand *);
358 extern WandExport ResolutionType
359 MagickGetImageUnits(MagickWand *);
361 extern WandExport size_t
362 MagickGetImageColors(MagickWand *),
363 MagickGetImageCompressionQuality(MagickWand *),
364 MagickGetImageDelay(MagickWand *),
365 MagickGetImageDepth(MagickWand *),
366 MagickGetImageHeight(MagickWand *),
367 MagickGetImageIterations(MagickWand *),
368 MagickGetImageScene(MagickWand *),
369 MagickGetImageTicksPerSecond(MagickWand *),
370 MagickGetImageWidth(MagickWand *),
371 MagickGetNumberImages(MagickWand *);
373 extern WandExport unsigned char
374 *MagickGetImageBlob(MagickWand *,size_t *),
375 *MagickGetImagesBlob(MagickWand *,size_t *);
377 extern WandExport VirtualPixelMethod
378 MagickGetImageVirtualPixelMethod(MagickWand *),
379 MagickSetImageVirtualPixelMethod(MagickWand *,const VirtualPixelMethod);
381 #if defined(__cplusplus) || defined(c_plusplus)