1 /* 2 Copyright 1999-2019 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 MagickBlackThresholdImage(MagickWand *,const PixelWand *), 96 MagickBlueShiftImage(MagickWand *,const double), 97 MagickBlurImage(MagickWand *,const double,const double), 98 MagickBorderImage(MagickWand *,const PixelWand *,const size_t,const size_t, 99 const CompositeOperator compose), 100 MagickBrightnessContrastImage(MagickWand *,const double,const double), 101 MagickCharcoalImage(MagickWand *,const double,const double), 102 MagickChopImage(MagickWand *,const size_t,const size_t,const ssize_t, 103 const ssize_t), 104 MagickCLAHEImage(MagickWand *,const size_t,const size_t,const double, 105 const double), 106 MagickClampImage(MagickWand *), 107 MagickClipImage(MagickWand *), 108 MagickClipImagePath(MagickWand *,const char *,const MagickBooleanType), 109 MagickClutImage(MagickWand *,const MagickWand *,const PixelInterpolateMethod), 110 MagickColorDecisionListImage(MagickWand *,const char *), 111 MagickColorizeImage(MagickWand *,const PixelWand *,const PixelWand *), 112 MagickColorMatrixImage(MagickWand *,const KernelInfo *), 113 MagickCommentImage(MagickWand *,const char *), 114 MagickCompositeImage(MagickWand *,const MagickWand *,const CompositeOperator, 115 const MagickBooleanType,const ssize_t,const ssize_t), 116 MagickCompositeImageGravity(MagickWand *,const MagickWand *, 117 const CompositeOperator,const GravityType), 118 MagickCompositeLayers(MagickWand *,const MagickWand *,const CompositeOperator, 119 const ssize_t,const ssize_t), 120 MagickConstituteImage(MagickWand *,const size_t,const size_t,const char *, 121 const StorageType,const void *), 122 MagickContrastImage(MagickWand *,const MagickBooleanType), 123 MagickContrastStretchImage(MagickWand *,const double,const double), 124 MagickConvolveImage(MagickWand *,const KernelInfo *), 125 MagickCropImage(MagickWand *,const size_t,const size_t,const ssize_t, 126 const ssize_t), 127 MagickCycleColormapImage(MagickWand *,const ssize_t), 128 MagickDecipherImage(MagickWand *,const char *), 129 MagickDeskewImage(MagickWand *,const double), 130 MagickDespeckleImage(MagickWand *), 131 MagickDisplayImage(MagickWand *,const char *), 132 MagickDisplayImages(MagickWand *,const char *), 133 MagickDistortImage(MagickWand *,const DistortMethod,const size_t, 134 const double *,const MagickBooleanType), 135 MagickDrawImage(MagickWand *,const DrawingWand *), 136 MagickEdgeImage(MagickWand *,const double), 137 MagickEmbossImage(MagickWand *,const double,const double), 138 MagickEncipherImage(MagickWand *,const char *), 139 MagickEnhanceImage(MagickWand *), 140 MagickEqualizeImage(MagickWand *), 141 MagickEvaluateImage(MagickWand *,const MagickEvaluateOperator,const double), 142 MagickExportImagePixels(MagickWand *,const ssize_t,const ssize_t, 143 const size_t,const size_t,const char *,const StorageType,void *), 144 MagickExtentImage(MagickWand *,const size_t,const size_t,const ssize_t, 145 const ssize_t), 146 MagickFlipImage(MagickWand *), 147 MagickFloodfillPaintImage(MagickWand *,const PixelWand *,const double, 148 const PixelWand *,const ssize_t,const ssize_t,const MagickBooleanType), 149 MagickFlopImage(MagickWand *), 150 MagickForwardFourierTransformImage(MagickWand *,const MagickBooleanType), 151 MagickFrameImage(MagickWand *,const PixelWand *,const size_t,const size_t, 152 const ssize_t,const ssize_t,const CompositeOperator), 153 MagickFunctionImage(MagickWand *,const MagickFunction,const size_t, 154 const double *), 155 MagickGammaImage(MagickWand *,const double), 156 MagickGaussianBlurImage(MagickWand *,const double,const double), 157 MagickGetImageAlphaChannel(MagickWand *), 158 MagickGetImageBackgroundColor(MagickWand *,PixelWand *), 159 MagickGetImageBluePrimary(MagickWand *,double *,double *,double *), 160 MagickGetImageBorderColor(MagickWand *,PixelWand *), 161 MagickGetImageKurtosis(MagickWand *,double *,double *), 162 MagickGetImageMean(MagickWand *,double *,double *), 163 MagickGetImageRange(MagickWand *,double *,double *), 164 MagickGetImageColormapColor(MagickWand *,const size_t,PixelWand *), 165 MagickGetImageDistortion(MagickWand *,const MagickWand *,const MetricType, 166 double *), 167 MagickGetImageGreenPrimary(MagickWand *,double *,double *,double *), 168 MagickGetImageLength(MagickWand *,MagickSizeType *), 169 MagickGetImageMatteColor(MagickWand *,PixelWand *), 170 MagickGetImagePage(MagickWand *,size_t *,size_t *,ssize_t *, 171 ssize_t *), 172 MagickGetImagePixelColor(MagickWand *,const ssize_t,const ssize_t, 173 PixelWand *), 174 MagickGetImageRange(MagickWand *,double *,double *), 175 MagickGetImageRedPrimary(MagickWand *,double *,double *,double *), 176 MagickGetImageResolution(MagickWand *,double *,double *), 177 MagickGetImageWhitePoint(MagickWand *,double *,double *,double *), 178 MagickHaldClutImage(MagickWand *,const MagickWand *), 179 MagickHasNextImage(MagickWand *), 180 MagickHasPreviousImage(MagickWand *), 181 MagickImplodeImage(MagickWand *,const double,const PixelInterpolateMethod), 182 MagickImportImagePixels(MagickWand *,const ssize_t,const ssize_t,const size_t, 183 const size_t,const char *,const StorageType,const void *), 184 MagickInterpolativeResizeImage(MagickWand *,const size_t,const size_t, 185 const PixelInterpolateMethod), 186 MagickInverseFourierTransformImage(MagickWand *,MagickWand *, 187 const MagickBooleanType), 188 MagickLabelImage(MagickWand *,const char *), 189 MagickLevelImage(MagickWand *,const double,const double,const double), 190 MagickLinearStretchImage(MagickWand *,const double,const double), 191 MagickLiquidRescaleImage(MagickWand *,const size_t,const size_t,const double, 192 const double), 193 MagickLocalContrastImage(MagickWand *,const double,const double), 194 MagickMagnifyImage(MagickWand *), 195 MagickMedianConvolveImage(MagickWand *,const double), 196 MagickMinifyImage(MagickWand *), 197 MagickModeImage(MagickWand *,const double), 198 MagickModulateImage(MagickWand *,const double,const double,const double), 199 MagickMorphologyImage(MagickWand *,MorphologyMethod,const ssize_t, 200 KernelInfo *), 201 MagickMotionBlurImage(MagickWand *,const double,const double,const double), 202 MagickNegateImage(MagickWand *,const MagickBooleanType), 203 MagickNewImage(MagickWand *,const size_t,const size_t,const PixelWand *), 204 MagickNextImage(MagickWand *), 205 MagickNormalizeImage(MagickWand *), 206 MagickOilPaintImage(MagickWand *,const double,const double), 207 MagickOpaquePaintImage(MagickWand *,const PixelWand *,const PixelWand *, 208 const double,const MagickBooleanType), 209 MagickOptimizeImageTransparency(MagickWand *), 210 MagickOrderedDitherImage(MagickWand *,const char *), 211 MagickTransparentPaintImage(MagickWand *,const PixelWand *, 212 const double,const double,const MagickBooleanType invert), 213 MagickPingImage(MagickWand *,const char *), 214 MagickPingImageBlob(MagickWand *,const void *,const size_t), 215 MagickPingImageFile(MagickWand *,FILE *), 216 MagickPolaroidImage(MagickWand *,const DrawingWand *,const char *, 217 const double,const PixelInterpolateMethod), 218 MagickPosterizeImage(MagickWand *,const size_t,const DitherMethod), 219 MagickPreviousImage(MagickWand *), 220 MagickQuantizeImage(MagickWand *,const size_t,const ColorspaceType, 221 const size_t,const DitherMethod,const MagickBooleanType), 222 MagickQuantizeImages(MagickWand *,const size_t,const ColorspaceType, 223 const size_t,const DitherMethod,const MagickBooleanType), 224 MagickRotationalBlurImage(MagickWand *,const double), 225 MagickRaiseImage(MagickWand *,const size_t,const size_t,const ssize_t, 226 const ssize_t,const MagickBooleanType), 227 MagickRandomThresholdImage(MagickWand *,const double,const double), 228 MagickReadImage(MagickWand *,const char *), 229 MagickReadImageBlob(MagickWand *,const void *,const size_t), 230 MagickReadImageFile(MagickWand *,FILE *), 231 MagickReduceNoiseImage(MagickWand *,const double), 232 MagickRemapImage(MagickWand *,const MagickWand *,const DitherMethod), 233 MagickRemoveImage(MagickWand *), 234 MagickResampleImage(MagickWand *,const double,const double,const FilterType), 235 MagickResetImagePage(MagickWand *,const char *), 236 MagickResizeImage(MagickWand *,const size_t,const size_t,const FilterType), 237 MagickRollImage(MagickWand *,const ssize_t,const ssize_t), 238 MagickRotateImage(MagickWand *,const PixelWand *,const double), 239 MagickSampleImage(MagickWand *,const size_t,const size_t), 240 MagickScaleImage(MagickWand *,const size_t,const size_t), 241 MagickSegmentImage(MagickWand *,const ColorspaceType,const MagickBooleanType, 242 const double,const double), 243 MagickSelectiveBlurImage(MagickWand *,const double,const double, 244 const double), 245 MagickSeparateImage(MagickWand *,const ChannelType), 246 MagickSepiaToneImage(MagickWand *,const double), 247 MagickSetImage(MagickWand *,const MagickWand *), 248 MagickSetImageAlpha(MagickWand *,const double), 249 MagickSetImageAlphaChannel(MagickWand *,const AlphaChannelOption), 250 MagickSetImageBackgroundColor(MagickWand *,const PixelWand *), 251 MagickSetImageBluePrimary(MagickWand *,const double,const double, 252 const double), 253 MagickSetImageBorderColor(MagickWand *,const PixelWand *), 254 MagickSetImageColor(MagickWand *,const PixelWand *), 255 MagickSetImageColormapColor(MagickWand *,const size_t, 256 const PixelWand *), 257 MagickSetImageColorspace(MagickWand *,const ColorspaceType), 258 MagickSetImageCompose(MagickWand *,const CompositeOperator), 259 MagickSetImageCompression(MagickWand *,const CompressionType), 260 MagickSetImageDelay(MagickWand *,const size_t), 261 MagickSetImageDepth(MagickWand *,const size_t), 262 MagickSetImageDispose(MagickWand *,const DisposeType), 263 MagickSetImageCompressionQuality(MagickWand *,const size_t), 264 MagickSetImageEndian(MagickWand *,const EndianType), 265 MagickSetImageExtent(MagickWand *,const size_t,const size_t), 266 MagickSetImageFilename(MagickWand *,const char *), 267 MagickSetImageFormat(MagickWand *,const char *), 268 MagickSetImageFuzz(MagickWand *,const double), 269 MagickSetImageGamma(MagickWand *,const double), 270 MagickSetImageGravity(MagickWand *,const GravityType), 271 MagickSetImageGreenPrimary(MagickWand *,const double,const double, 272 const double), 273 MagickSetImageInterlaceScheme(MagickWand *,const InterlaceType), 274 MagickSetImageInterpolateMethod(MagickWand *,const PixelInterpolateMethod), 275 MagickSetImageIterations(MagickWand *,const size_t), 276 MagickSetImageMatte(MagickWand *,const MagickBooleanType), 277 MagickSetImageMatteColor(MagickWand *,const PixelWand *), 278 MagickSetImageOrientation(MagickWand *,const OrientationType), 279 MagickSetImagePage(MagickWand *,const size_t,const size_t,const ssize_t, 280 const ssize_t), 281 MagickSetImageRedPrimary(MagickWand *,const double,const double, 282 const double), 283 MagickSetImageRenderingIntent(MagickWand *,const RenderingIntent), 284 MagickSetImageResolution(MagickWand *,const double,const double), 285 MagickSetImageScene(MagickWand *,const size_t), 286 MagickSetImageTicksPerSecond(MagickWand *,const ssize_t), 287 MagickSetImageType(MagickWand *,const ImageType), 288 MagickSetImageUnits(MagickWand *,const ResolutionType), 289 MagickSetImageWhitePoint(MagickWand *,const double,const double, 290 const double), 291 MagickShadeImage(MagickWand *,const MagickBooleanType,const double, 292 const double), 293 MagickShadowImage(MagickWand *,const double,const double,const ssize_t, 294 const ssize_t), 295 MagickSharpenImage(MagickWand *,const double,const double), 296 MagickShaveImage(MagickWand *,const size_t,const size_t), 297 MagickShearImage(MagickWand *,const PixelWand *,const double,const double), 298 MagickSigmoidalContrastImage(MagickWand *,const MagickBooleanType, 299 const double,const double), 300 MagickSketchImage(MagickWand *,const double,const double,const double), 301 MagickSolarizeImage(MagickWand *,const double), 302 MagickSparseColorImage(MagickWand *,const SparseColorMethod,const size_t, 303 const double *), 304 MagickSpliceImage(MagickWand *,const size_t,const size_t,const ssize_t, 305 const ssize_t), 306 MagickSpreadImage(MagickWand *,const PixelInterpolateMethod,const double), 307 MagickStatisticImage(MagickWand *,const StatisticType,const size_t, 308 const size_t), 309 MagickStripImage(MagickWand *), 310 MagickSwirlImage(MagickWand *,const double,const PixelInterpolateMethod), 311 MagickTintImage(MagickWand *,const PixelWand *,const PixelWand *), 312 MagickTransformImageColorspace(MagickWand *,const ColorspaceType), 313 MagickTransposeImage(MagickWand *), 314 MagickTransverseImage(MagickWand *), 315 MagickThresholdImage(MagickWand *,const double), 316 MagickThresholdImageChannel(MagickWand *,const ChannelType,const double), 317 MagickThumbnailImage(MagickWand *,const size_t,const size_t), 318 MagickTrimImage(MagickWand *,const double), 319 MagickUniqueImageColors(MagickWand *), 320 MagickUnsharpMaskImage(MagickWand *,const double,const double,const double, 321 const double), 322 MagickVignetteImage(MagickWand *,const double,const double,const ssize_t, 323 const ssize_t), 324 MagickWaveImage(MagickWand *,const double,const double, 325 const PixelInterpolateMethod), 326 MagickWhiteThresholdImage(MagickWand *,const PixelWand *), 327 MagickWriteImage(MagickWand *,const char *), 328 MagickWriteImageFile(MagickWand *,FILE *), 329 MagickWriteImages(MagickWand *,const char *,const MagickBooleanType), 330 MagickWriteImagesFile(MagickWand *,FILE *); 331 332 extern WandExport MagickProgressMonitor 333 MagickSetImageProgressMonitor(MagickWand *,const MagickProgressMonitor, 334 void *); 335 336 extern WandExport MagickWand 337 *MagickAppendImages(MagickWand *,const MagickBooleanType), 338 *MagickChannelFxImage(MagickWand *,const char *), 339 *MagickCoalesceImages(MagickWand *), 340 *MagickCombineImages(MagickWand *,const ColorspaceType), 341 *MagickCompareImages(MagickWand *,const MagickWand *,const MetricType, 342 double *), 343 *MagickCompareImagesLayers(MagickWand *,const LayerMethod), 344 *MagickDeconstructImages(MagickWand *), 345 *MagickEvaluateImages(MagickWand *,const MagickEvaluateOperator), 346 *MagickFxImage(MagickWand *,const char *), 347 *MagickGetImage(MagickWand *), 348 *MagickGetImageMask(MagickWand *,const PixelMask), 349 *MagickGetImageRegion(MagickWand *,const size_t,const size_t,const ssize_t, 350 const ssize_t), 351 *MagickMergeImageLayers(MagickWand *,const LayerMethod), 352 *MagickMorphImages(MagickWand *,const size_t), 353 *MagickMontageImage(MagickWand *,const DrawingWand *,const char *, 354 const char *,const MontageMode,const char *), 355 *MagickOptimizeImageLayers(MagickWand *), 356 *MagickPreviewImages(MagickWand *wand,const PreviewType), 357 *MagickSimilarityImage(MagickWand *,const MagickWand *,const MetricType, 358 const double,RectangleInfo *,double *), 359 *MagickSmushImages(MagickWand *,const MagickBooleanType,const ssize_t), 360 *MagickSteganoImage(MagickWand *,const MagickWand *,const ssize_t), 361 *MagickStereoImage(MagickWand *,const MagickWand *), 362 *MagickTextureImage(MagickWand *,const MagickWand *); 363 364 extern WandExport OrientationType 365 MagickGetImageOrientation(MagickWand *); 366 367 extern WandExport PixelWand 368 **MagickGetImageHistogram(MagickWand *,size_t *); 369 370 extern WandExport RenderingIntent 371 MagickGetImageRenderingIntent(MagickWand *); 372 373 extern WandExport ResolutionType 374 MagickGetImageUnits(MagickWand *); 375 376 extern WandExport size_t 377 MagickGetImageColors(MagickWand *), 378 MagickGetImageCompressionQuality(MagickWand *), 379 MagickGetImageDelay(MagickWand *), 380 MagickGetImageDepth(MagickWand *), 381 MagickGetImageHeight(MagickWand *), 382 MagickGetImageIterations(MagickWand *), 383 MagickGetImageScene(MagickWand *), 384 MagickGetImageTicksPerSecond(MagickWand *), 385 MagickGetImageWidth(MagickWand *), 386 MagickGetNumberImages(MagickWand *); 387 388 extern WandExport unsigned char 389 *MagickGetImageBlob(MagickWand *,size_t *), 390 *MagickGetImagesBlob(MagickWand *,size_t *); 391 392 extern WandExport VirtualPixelMethod 393 MagickGetImageVirtualPixelMethod(MagickWand *), 394 MagickSetImageVirtualPixelMethod(MagickWand *,const VirtualPixelMethod); 395 396 #if defined(__cplusplus) || defined(c_plusplus) 397 } 398 #endif 399 400 #endif 401