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