• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2
3
4
5<!doctype html>
6<html lang="en">
7<head>
8  <meta charset="utf-8"  />
9  <meta name="viewport" content="width=device-width, initial-scale=1"  />
10  <title>ImageMagick - MagickWand, C API: Image Methods</title>
11  <meta name="application-name" content="ImageMagick" />
12  <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
13  <meta name="application-url" content="https://imagemagick.org" />
14  <meta name="generator" content="PHP" />
15  <meta name="keywords" content="magickwc, api:, image, methods, image processing software" />
16  <meta name="rating" content="GENERAL" />
17  <meta name="robots" content="INDEX, FOLLOW" />
18  <meta name="generator" content="ImageMagick Studio LLC" />
19  <meta name="author" content="ImageMagick Studio LLC" />
20  <meta name="revisit-after" content="2 DAYS" />
21  <meta name="resource-type" content="document" />
22  <meta name="copyright" content="Copyright (c) 1999-2020 ImageMagick Studio LLC" />
23  <meta name="distribution" content="Global" />
24  <meta name="magick-serial" content="P131-S030410-R485315270133-P82224-A6668-G1245-1" />
25  <meta property='og:url' content='../../' />
26  <meta property='og:title' content='ImageMagick' />
27  <meta property='og:image' content='../../../images/logo.png' />
28  <meta property='og:type' content='website' />
29  <meta property='og:site_name' content='ImageMagick' />
30  <meta property='og:description' content="Create, Edit, Compose, or Convert Digital Images" />
31  <meta name="google-site-verification" content="_bMOCDpkx9ZAzBwb2kF3PRHbfUUdFj2uO8Jd1AXArz4" />
32  <link href="magick-image.html" rel="canonical" />
33  <link href="../../../images/wand.png" rel="icon" />
34  <link href="../../../images/wand.ico" rel="shortcut icon" />
35  <link href="../../assets/magick.css" rel="stylesheet" />
36</head>
37<body>
38  <nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
39  <div class="container-fluid">
40    <a class="navbar-brand" href="../../"><img class="d-block" id="icon" alt="ImageMagick" width="32" height="32" src="../../../images/wand.ico"/></a>
41    <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#magick-navbars" aria-controls="magick-navbars" aria-expanded="false" aria-label="Toggle navigation">
42      <span class="navbar-toggler-icon"></span>
43    </button>
44
45    <div class="collapse navbar-collapse" id="magick-navbars">
46      <ul class="navbar-nav me-auto mb-2 mb-md-0">
47        <li class="nav-item">
48          <a class="nav-link " href="../../www/index.html">Home</a>
49        </li>
50        <li class="nav-item">
51          <a class="nav-link " href="../../www/download.html">Download</a>
52        </li>
53        <li class="nav-item">
54          <a class="nav-link " href="../../www/command-line-tools.html">Tools</a>
55        </li>
56        <li class="nav-item">
57          <a class="nav-link " href="../../www/command-line-processing.html">CLI</a>
58        </li>
59        <li class="nav-item">
60          <a class="nav-link " href="../../www/develop.html">Develop</a>
61        </li>
62        <li class="nav-item">
63          <a class="nav-link" target="_blank" href="https://github.com/ImageMagick/ImageMagick/discussions">Community</a>
64        </li>
65        <li class="nav-item">
66          <iframe src="https://github.com/sponsors/ImageMagick/button" title="Sponsor ImageMagick" height="35" width="107" style="border: 0;"></iframe>
67        </li>
68      </ul>
69      <form class="d-flex form-inline" action="https://imagemagick.org/script/search.php">
70        <input class="form-control me-2" type="text" name="q" placeholder="Search" aria-label="Search">
71        <button class="btn btn-outline-success" type="submit" name="sa">Search</button>
72      </form>
73    </div>
74  </div>
75  </nav>
76
77  <div class="container">
78    <script async="async" src="https://localhost/pagead/js/adsbygoogle.js"></script>
79    <ins class="adsbygoogle"
80      style="display:block"
81      data-ad-client="ca-pub-3129977114552745"
82      data-ad-slot="6345125851"
83      data-full-width-responsive="true"
84      data-ad-format="horizontal"></ins>
85    <script>
86      (adsbygoogle = window.adsbygoogle || []).push({});
87    </script>
88
89  </div>
90
91  <main class="container">
92  <div class="magick-template">
93<div class="magick-header">
94<p class="text-center"><a href="magick-image.html#GetImageFromMagickWand">GetImageFromMagickWand</a> &#8226; <a href="magick-image.html#MagickAdaptiveBlurImage">MagickAdaptiveBlurImage</a> &#8226; <a href="magick-image.html#MagickAdaptiveResizeImage">MagickAdaptiveResizeImage</a> &#8226; <a href="magick-image.html#MagickAdaptiveSharpenImage">MagickAdaptiveSharpenImage</a> &#8226; <a href="magick-image.html#MagickAdaptiveThresholdImage">MagickAdaptiveThresholdImage</a> &#8226; <a href="magick-image.html#MagickAddImage">MagickAddImage</a> &#8226; <a href="magick-image.html#MagickAddNoiseImage">MagickAddNoiseImage</a> &#8226; <a href="magick-image.html#MagickAffineTransformImage">MagickAffineTransformImage</a> &#8226; <a href="magick-image.html#MagickAnnotateImage">MagickAnnotateImage</a> &#8226; <a href="magick-image.html#MagickAnimateImages">MagickAnimateImages</a> &#8226; <a href="magick-image.html#MagickAppendImages">MagickAppendImages</a> &#8226; <a href="magick-image.html#MagickAutoGammaImage">MagickAutoGammaImage</a> &#8226; <a href="magick-image.html#MagickAutoLevelImage">MagickAutoLevelImage</a> &#8226; <a href="magick-image.html#MagickAutoOrientImage">MagickAutoOrientImage</a> &#8226; <a href="magick-image.html#MagickAutoThresholdImage">MagickAutoThresholdImage</a> &#8226; <a href="magick-image.html#MagickBilateralBlurImage">MagickBilateralBlurImage</a> &#8226; <a href="magick-image.html#MagickBlackThresholdImage">MagickBlackThresholdImage</a> &#8226; <a href="magick-image.html#MagickBlueShiftImage">MagickBlueShiftImage</a> &#8226; <a href="magick-image.html#MagickBlurImage">MagickBlurImage</a> &#8226; <a href="magick-image.html#MagickBorderImage">MagickBorderImage</a> &#8226; <a href="magick-image.html#Use MagickBrightnessContrastImage">Use MagickBrightnessContrastImage</a> &#8226; <a href="magick-image.html#MagickCannyEdgeImage">MagickCannyEdgeImage</a> &#8226; <a href="magick-image.html#MagickChannelFxImage">MagickChannelFxImage</a> &#8226; <a href="magick-image.html#MagickCharcoalImage">MagickCharcoalImage</a> &#8226; <a href="magick-image.html#MagickChopImage">MagickChopImage</a> &#8226; <a href="magick-image.html#MagickCLAHEImage">MagickCLAHEImage</a> &#8226; <a href="magick-image.html#MagickClampImage">MagickClampImage</a> &#8226; <a href="magick-image.html#MagickClipImage">MagickClipImage</a> &#8226; <a href="magick-image.html#MagickClipImagePath">MagickClipImagePath</a> &#8226; <a href="magick-image.html#MagickClutImage">MagickClutImage</a> &#8226; <a href="magick-image.html#MagickCoalesceImages">MagickCoalesceImages</a> &#8226; <a href="magick-image.html#MagickColorDecisionListImage">MagickColorDecisionListImage</a> &#8226; <a href="magick-image.html#MagickColorizeImage">MagickColorizeImage</a> &#8226; <a href="magick-image.html#MagickColorMatrixImage">MagickColorMatrixImage</a> &#8226; <a href="magick-image.html#MagickColorThresholdImage">MagickColorThresholdImage</a> &#8226; <a href="magick-image.html#MagickCombineImages">MagickCombineImages</a> &#8226; <a href="magick-image.html#MagickCommentImage">MagickCommentImage</a> &#8226; <a href="magick-image.html#MagickCompareImagesLayers">MagickCompareImagesLayers</a> &#8226; <a href="magick-image.html#MagickCompareImages">MagickCompareImages</a> &#8226; <a href="magick-image.html#MagickComplexImages">MagickComplexImages</a> &#8226; <a href="magick-image.html#MagickCompositeImage">MagickCompositeImage</a> &#8226; <a href="magick-image.html#MagickCompositeImageGravity">MagickCompositeImageGravity</a> &#8226; <a href="magick-image.html#MagickCompositeLayers">MagickCompositeLayers</a> &#8226; <a href="magick-image.html#MagickConnectedComponentsImage">MagickConnectedComponentsImage</a> &#8226; <a href="magick-image.html#MagickContrastImage">MagickContrastImage</a> &#8226; <a href="magick-image.html#MagickContrastStretchImage">MagickContrastStretchImage</a> &#8226; <a href="magick-image.html#MagickConvolveImage">MagickConvolveImage</a> &#8226; <a href="magick-image.html#MagickCropImage">MagickCropImage</a> &#8226; <a href="magick-image.html#MagickCycleColormapImage">MagickCycleColormapImage</a> &#8226; <a href="magick-image.html#MagickConstituteImage">MagickConstituteImage</a> &#8226; <a href="magick-image.html#MagickDecipherImage">MagickDecipherImage</a> &#8226; <a href="magick-image.html#MagickDeconstructImages">MagickDeconstructImages</a> &#8226; <a href="magick-image.html#MagickDeskewImage">MagickDeskewImage</a> &#8226; <a href="magick-image.html#MagickDespeckleImage">MagickDespeckleImage</a> &#8226; <a href="magick-image.html#MagickDestroyImage">MagickDestroyImage</a> &#8226; <a href="magick-image.html#MagickDisplayImage">MagickDisplayImage</a> &#8226; <a href="magick-image.html#MagickDisplayImages">MagickDisplayImages</a> &#8226; <a href="magick-image.html#MagickDistortImage">MagickDistortImage</a> &#8226; <a href="magick-image.html#MagickDrawImage">MagickDrawImage</a> &#8226; <a href="magick-image.html#MagickEdgeImage">MagickEdgeImage</a> &#8226; <a href="magick-image.html#MagickEmbossImage">MagickEmbossImage</a> &#8226; <a href="magick-image.html#MagickEncipherImage">MagickEncipherImage</a> &#8226; <a href="magick-image.html#MagickEnhanceImage">MagickEnhanceImage</a> &#8226; <a href="magick-image.html#MagickEqualizeImage">MagickEqualizeImage</a> &#8226; <a href="magick-image.html#MagickEvaluateImage">MagickEvaluateImage</a> &#8226; <a href="magick-image.html#MagickExportImagePixels">MagickExportImagePixels</a> &#8226; <a href="magick-image.html#MagickExtentImage">MagickExtentImage</a> &#8226; <a href="magick-image.html#MagickFlipImage">MagickFlipImage</a> &#8226; <a href="magick-image.html#MagickFloodfillPaintImage">MagickFloodfillPaintImage</a> &#8226; <a href="magick-image.html#MagickFlopImage">MagickFlopImage</a> &#8226; <a href="magick-image.html#MagickForwardFourierTransformImage">MagickForwardFourierTransformImage</a> &#8226; <a href="magick-image.html#MagickFrameImage">MagickFrameImage</a> &#8226; <a href="magick-image.html#MagickFunctionImage">MagickFunctionImage</a> &#8226; <a href="magick-image.html#MagickFxImage">MagickFxImage</a> &#8226; <a href="magick-image.html#MagickGammaImage">MagickGammaImage</a> &#8226; <a href="magick-image.html#MagickGaussianBlurImage">MagickGaussianBlurImage</a> &#8226; <a href="magick-image.html#MagickGetImage">MagickGetImage</a> &#8226; <a href="magick-image.html#MagickGetImageAlphaChannel">MagickGetImageAlphaChannel</a> &#8226; <a href="magick-image.html#MagickGetImageMask">MagickGetImageMask</a> &#8226; <a href="magick-image.html#MagickGetImageBackgroundColor">MagickGetImageBackgroundColor</a> &#8226; <a href="magick-image.html#MagickGetImageBlob">MagickGetImageBlob</a> &#8226; <a href="magick-image.html#MagickGetImagesBlob">MagickGetImagesBlob</a> &#8226; <a href="magick-image.html#MagickGetImageBluePrimary">MagickGetImageBluePrimary</a> &#8226; <a href="magick-image.html#MagickGetImageBorderColor">MagickGetImageBorderColor</a> &#8226; <a href="magick-image.html#MagickGetImageFeatures">MagickGetImageFeatures</a> &#8226; <a href="magick-image.html#MagickGetImageKurtosis">MagickGetImageKurtosis</a> &#8226; <a href="magick-image.html#MagickGetImageMean">MagickGetImageMean</a> &#8226; <a href="magick-image.html#MagickGetImageRange">MagickGetImageRange</a> &#8226; <a href="magick-image.html#MagickGetImageStatistics">MagickGetImageStatistics</a> &#8226; <a href="magick-image.html#MagickGetImageColormapColor">MagickGetImageColormapColor</a> &#8226; <a href="magick-image.html#MagickGetImageColors">MagickGetImageColors</a> &#8226; <a href="magick-image.html#MagickGetImageColorspace">MagickGetImageColorspace</a> &#8226; <a href="magick-image.html#MagickGetImageCompose">MagickGetImageCompose</a> &#8226; <a href="magick-image.html#MagickGetImageCompression">MagickGetImageCompression</a> &#8226; <a href="magick-image.html#MagickGetImageCompressionQuality">MagickGetImageCompressionQuality</a> &#8226; <a href="magick-image.html#MagickGetImageDelay">MagickGetImageDelay</a> &#8226; <a href="magick-image.html#MagickGetImageDepth">MagickGetImageDepth</a> &#8226; <a href="magick-image.html#MagickGetImageDispose">MagickGetImageDispose</a> &#8226; <a href="magick-image.html#MagickGetImageDistortion">MagickGetImageDistortion</a> &#8226; <a href="magick-image.html#MagickGetImageDistortions">MagickGetImageDistortions</a> &#8226; <a href="magick-image.html#MagickGetImageEndian">MagickGetImageEndian</a> &#8226; <a href="magick-image.html#MagickGetImageFilename">MagickGetImageFilename</a> &#8226; <a href="magick-image.html#MagickGetImageFormat">MagickGetImageFormat</a> &#8226; <a href="magick-image.html#MagickGetImageFuzz">MagickGetImageFuzz</a> &#8226; <a href="magick-image.html#MagickGetImageGamma">MagickGetImageGamma</a> &#8226; <a href="magick-image.html#MagickGetImageGravity">MagickGetImageGravity</a> &#8226; <a href="magick-image.html#MagickGetImageGreenPrimary">MagickGetImageGreenPrimary</a> &#8226; <a href="magick-image.html#MagickGetImageHeight">MagickGetImageHeight</a> &#8226; <a href="magick-image.html#MagickGetImageHistogram">MagickGetImageHistogram</a> &#8226; <a href="magick-image.html#MagickGetImageInterlaceScheme">MagickGetImageInterlaceScheme</a> &#8226; <a href="magick-image.html#MagickGetImageInterpolateMethod">MagickGetImageInterpolateMethod</a> &#8226; <a href="magick-image.html#MagickGetImageIterations">MagickGetImageIterations</a> &#8226; <a href="magick-image.html#MagickGetImageLength">MagickGetImageLength</a> &#8226; <a href="magick-image.html#MagickGetImageMatteColor">MagickGetImageMatteColor</a> &#8226; <a href="magick-image.html#MagickGetImageOrientation">MagickGetImageOrientation</a> &#8226; <a href="magick-image.html#MagickGetImagePage">MagickGetImagePage</a> &#8226; <a href="magick-image.html#MagickGetImagePixelColor">MagickGetImagePixelColor</a> &#8226; <a href="magick-image.html#MagickGetImageRedPrimary">MagickGetImageRedPrimary</a> &#8226; <a href="magick-image.html#MagickGetImageRegion">MagickGetImageRegion</a> &#8226; <a href="magick-image.html#MagickGetImageRenderingIntent">MagickGetImageRenderingIntent</a> &#8226; <a href="magick-image.html#MagickGetImageResolution">MagickGetImageResolution</a> &#8226; <a href="magick-image.html#MagickGetImageScene">MagickGetImageScene</a> &#8226; <a href="magick-image.html#MagickGetImageSignature">MagickGetImageSignature</a> &#8226; <a href="magick-image.html#MagickGetImageTicksPerSecond">MagickGetImageTicksPerSecond</a> &#8226; <a href="magick-image.html#MagickGetImageType">MagickGetImageType</a> &#8226; <a href="magick-image.html#MagickGetImageUnits">MagickGetImageUnits</a> &#8226; <a href="magick-image.html#MagickGetImageVirtualPixelMethod">MagickGetImageVirtualPixelMethod</a> &#8226; <a href="magick-image.html#MagickGetImageWhitePoint">MagickGetImageWhitePoint</a> &#8226; <a href="magick-image.html#MagickGetImageWidth">MagickGetImageWidth</a> &#8226; <a href="magick-image.html#MagickGetNumberImages">MagickGetNumberImages</a> &#8226; <a href="magick-image.html#MagickGetImageTotalInkDensity">MagickGetImageTotalInkDensity</a> &#8226; <a href="magick-image.html#MagickHaldClutImage">MagickHaldClutImage</a> &#8226; <a href="magick-image.html#MagickHasNextImage">MagickHasNextImage</a> &#8226; <a href="magick-image.html#MagickHasPreviousImage">MagickHasPreviousImage</a> &#8226; <a href="magick-image.html#Use MagickHoughLineImage">Use MagickHoughLineImage</a> &#8226; <a href="magick-image.html#MagickIdentifyImage">MagickIdentifyImage</a> &#8226; <a href="magick-image.html#MagickIdentifyImageType">MagickIdentifyImageType</a> &#8226; <a href="magick-image.html#MagickImplodeImage">MagickImplodeImage</a> &#8226; <a href="magick-image.html#MagickImportImagePixels">MagickImportImagePixels</a> &#8226; <a href="magick-image.html#MagickInterpolativeResizeImage">MagickInterpolativeResizeImage</a> &#8226; <a href="magick-image.html#MagickInverseFourierTransformImage">MagickInverseFourierTransformImage</a> &#8226; <a href="magick-image.html#MagickKmeansImage">MagickKmeansImage</a> &#8226; <a href="magick-image.html#Use MagickKuwaharaImage">Use MagickKuwaharaImage</a> &#8226; <a href="magick-image.html#MagickLabelImage">MagickLabelImage</a> &#8226; <a href="magick-image.html#MagickLevelImage">MagickLevelImage</a> &#8226; <a href="magick-image.html#MagickLevelImageColors">MagickLevelImageColors</a> &#8226; <a href="magick-image.html#MagickLevelizeImage">MagickLevelizeImage</a> &#8226; <a href="magick-image.html#MagickLinearStretchImage">MagickLinearStretchImage</a> &#8226; <a href="magick-image.html#MagickLiquidRescaleImage">MagickLiquidRescaleImage</a> &#8226; <a href="magick-image.html#MagickLocalContrastImage">MagickLocalContrastImage</a> &#8226; <a href="magick-image.html#MagickMagnifyImage">MagickMagnifyImage</a> &#8226; <a href="magick-image.html#MagickMeanShiftImage">MagickMeanShiftImage</a> &#8226; <a href="magick-image.html#MagickMergeImageLayers">MagickMergeImageLayers</a> &#8226; <a href="magick-image.html#MagickMinifyImage">MagickMinifyImage</a> &#8226; <a href="magick-image.html#MagickModulateImage">MagickModulateImage</a> &#8226; <a href="magick-image.html#MagickMontageImage">MagickMontageImage</a> &#8226; <a href="magick-image.html#MagickMorphImages">MagickMorphImages</a> &#8226; <a href="magick-image.html#MagickMorphologyImage">MagickMorphologyImage</a> &#8226; <a href="magick-image.html#MagickMotionBlurImage">MagickMotionBlurImage</a> &#8226; <a href="magick-image.html#MagickNegateImage">MagickNegateImage</a> &#8226; <a href="magick-image.html#MagickNewImage">MagickNewImage</a> &#8226; <a href="magick-image.html#MagickNextImage">MagickNextImage</a> &#8226; <a href="magick-image.html#MagickNormalizeImage">MagickNormalizeImage</a> &#8226; <a href="magick-image.html#MagickOilPaintImage">MagickOilPaintImage</a> &#8226; <a href="magick-image.html#MagickOpaquePaintImage">MagickOpaquePaintImage</a> &#8226; <a href="magick-image.html#MagickOptimizeImageLayers">MagickOptimizeImageLayers</a> &#8226; <a href="magick-image.html#MagickOptimizeImageTransparency">MagickOptimizeImageTransparency</a> &#8226; <a href="magick-image.html#MagickOrderedDitherImage">MagickOrderedDitherImage</a> &#8226; <a href="magick-image.html#MagickPingImage">MagickPingImage</a> &#8226; <a href="magick-image.html#MagickPingImageBlob">MagickPingImageBlob</a> &#8226; <a href="magick-image.html#MagickPingImageFile">MagickPingImageFile</a> &#8226; <a href="magick-image.html#MagickPolaroidImage">MagickPolaroidImage</a> &#8226; <a href="magick-image.html#MagickPolynomialImage">MagickPolynomialImage</a> &#8226; <a href="magick-image.html#MagickPosterizeImage">MagickPosterizeImage</a> &#8226; <a href="magick-image.html#MagickPreviewImages">MagickPreviewImages</a> &#8226; <a href="magick-image.html#MagickPreviousImage">MagickPreviousImage</a> &#8226; <a href="magick-image.html#MagickQuantizeImage">MagickQuantizeImage</a> &#8226; <a href="magick-image.html#MagickQuantizeImages">MagickQuantizeImages</a> &#8226; <a href="magick-image.html#MagickRangeThresholdImage">MagickRangeThresholdImage</a> &#8226; <a href="magick-image.html#MagickRotationalBlurImage">MagickRotationalBlurImage</a> &#8226; <a href="magick-image.html#MagickRaiseImage">MagickRaiseImage</a> &#8226; <a href="magick-image.html#MagickRandomThresholdImage">MagickRandomThresholdImage</a> &#8226; <a href="magick-image.html#MagickReadImage">MagickReadImage</a> &#8226; <a href="magick-image.html#MagickReadImageBlob">MagickReadImageBlob</a> &#8226; <a href="magick-image.html#MagickReadImageFile">MagickReadImageFile</a> &#8226; <a href="magick-image.html#MagickRemapImage">MagickRemapImage</a> &#8226; <a href="magick-image.html#MagickRemoveImage">MagickRemoveImage</a> &#8226; <a href="magick-image.html#MagickResampleImage">MagickResampleImage</a> &#8226; <a href="magick-image.html#MagickResetImagePage">MagickResetImagePage</a> &#8226; <a href="magick-image.html#MagickResizeImage">MagickResizeImage</a> &#8226; <a href="magick-image.html#MagickRollImage">MagickRollImage</a> &#8226; <a href="magick-image.html#MagickRotateImage">MagickRotateImage</a> &#8226; <a href="magick-image.html#MagickSampleImage">MagickSampleImage</a> &#8226; <a href="magick-image.html#MagickScaleImage">MagickScaleImage</a> &#8226; <a href="magick-image.html#MagickSegmentImage">MagickSegmentImage</a> &#8226; <a href="magick-image.html#MagickSelectiveBlurImage">MagickSelectiveBlurImage</a> &#8226; <a href="magick-image.html#MagickSeparateImage">MagickSeparateImage</a> &#8226; <a href="magick-image.html#MagickSepiaToneImage">MagickSepiaToneImage</a> &#8226; <a href="magick-image.html#MagickSetImage">MagickSetImage</a> &#8226; <a href="magick-image.html#MagickSetImageAlphaChannel">MagickSetImageAlphaChannel</a> &#8226; <a href="magick-image.html#MagickSetImageBackgroundColor">MagickSetImageBackgroundColor</a> &#8226; <a href="magick-image.html#MagickSetImageBluePrimary">MagickSetImageBluePrimary</a> &#8226; <a href="magick-image.html#MagickSetImageBorderColor">MagickSetImageBorderColor</a> &#8226; <a href="magick-image.html#MagickSetImageChannelMask">MagickSetImageChannelMask</a> &#8226; <a href="magick-image.html#MagickSetImageMask">MagickSetImageMask</a> &#8226; <a href="magick-image.html#MagickSetImageColor">MagickSetImageColor</a> &#8226; <a href="magick-image.html#MagickSetImageColormapColor">MagickSetImageColormapColor</a> &#8226; <a href="magick-image.html#MagickSetImageColorspace">MagickSetImageColorspace</a> &#8226; <a href="magick-image.html#MagickSetImageCompose">MagickSetImageCompose</a> &#8226; <a href="magick-image.html#MagickSetImageCompression">MagickSetImageCompression</a> &#8226; <a href="magick-image.html#MagickSetImageCompressionQuality">MagickSetImageCompressionQuality</a> &#8226; <a href="magick-image.html#MagickSetImageDelay">MagickSetImageDelay</a> &#8226; <a href="magick-image.html#MagickSetImageDepth">MagickSetImageDepth</a> &#8226; <a href="magick-image.html#MagickSetImageDispose">MagickSetImageDispose</a> &#8226; <a href="magick-image.html#MagickSetImageEndian">MagickSetImageEndian</a> &#8226; <a href="magick-image.html#MagickSetImageExtent">MagickSetImageExtent</a> &#8226; <a href="magick-image.html#MagickSetImageFilename">MagickSetImageFilename</a> &#8226; <a href="magick-image.html#MagickSetImageFormat">MagickSetImageFormat</a> &#8226; <a href="magick-image.html#MagickSetImageFuzz">MagickSetImageFuzz</a> &#8226; <a href="magick-image.html#MagickSetImageGamma">MagickSetImageGamma</a> &#8226; <a href="magick-image.html#MagickSetImageGravity">MagickSetImageGravity</a> &#8226; <a href="magick-image.html#MagickSetImageGreenPrimary">MagickSetImageGreenPrimary</a> &#8226; <a href="magick-image.html#MagickSetImageInterlaceScheme">MagickSetImageInterlaceScheme</a> &#8226; <a href="magick-image.html#MagickSetImageInterpolateMethod">MagickSetImageInterpolateMethod</a> &#8226; <a href="magick-image.html#MagickSetImageIterations">MagickSetImageIterations</a> &#8226; <a href="magick-image.html#MagickSetImageMatte">MagickSetImageMatte</a> &#8226; <a href="magick-image.html#MagickSetImageMatteColor">MagickSetImageMatteColor</a> &#8226; <a href="magick-image.html#MagickSetImageAlpha">MagickSetImageAlpha</a> &#8226; <a href="magick-image.html#MagickSetImageOrientation">MagickSetImageOrientation</a> &#8226; <a href="magick-image.html#MagickSetImagePage">MagickSetImagePage</a> &#8226; <a href="magick-image.html#MagickSetImagePixelColor">MagickSetImagePixelColor</a> &#8226; <a href="magick-image.html#MagickSetImageProgressMonitor">MagickSetImageProgressMonitor</a> &#8226; <a href="magick-image.html#MagickSetImageRedPrimary">MagickSetImageRedPrimary</a> &#8226; <a href="magick-image.html#MagickSetImageRenderingIntent">MagickSetImageRenderingIntent</a> &#8226; <a href="magick-image.html#MagickSetImageResolution">MagickSetImageResolution</a> &#8226; <a href="magick-image.html#MagickSetImageScene">MagickSetImageScene</a> &#8226; <a href="magick-image.html#MagickSetImageTicksPerSecond">MagickSetImageTicksPerSecond</a> &#8226; <a href="magick-image.html#MagickSetImageType">MagickSetImageType</a> &#8226; <a href="magick-image.html#MagickSetImageUnits">MagickSetImageUnits</a> &#8226; <a href="magick-image.html#MagickSetImageVirtualPixelMethod">MagickSetImageVirtualPixelMethod</a> &#8226; <a href="magick-image.html#MagickSetImageWhitePoint">MagickSetImageWhitePoint</a> &#8226; <a href="magick-image.html#MagickShadeImage">MagickShadeImage</a> &#8226; <a href="magick-image.html#MagickShadowImage">MagickShadowImage</a> &#8226; <a href="magick-image.html#MagickSharpenImage">MagickSharpenImage</a> &#8226; <a href="magick-image.html#MagickShaveImage">MagickShaveImage</a> &#8226; <a href="magick-image.html#MagickShearImage">MagickShearImage</a> &#8226; <a href="magick-image.html#MagickSigmoidalContrastImage">MagickSigmoidalContrastImage</a> &#8226; <a href="magick-image.html#MagickSimilarityImage">MagickSimilarityImage</a> &#8226; <a href="magick-image.html#MagickSketchImage">MagickSketchImage</a> &#8226; <a href="magick-image.html#MagickSmushImages">MagickSmushImages</a> &#8226; <a href="magick-image.html#MagickSolarizeImage">MagickSolarizeImage</a> &#8226; <a href="magick-image.html#MagickSparseColorImage">MagickSparseColorImage</a> &#8226; <a href="magick-image.html#MagickSpliceImage">MagickSpliceImage</a> &#8226; <a href="magick-image.html#MagickSpreadImage">MagickSpreadImage</a> &#8226; <a href="magick-image.html#MagickStatisticImage">MagickStatisticImage</a> &#8226; <a href="magick-image.html#MagickSteganoImage">MagickSteganoImage</a> &#8226; <a href="magick-image.html#MagickStereoImage">MagickStereoImage</a> &#8226; <a href="magick-image.html#MagickStripImage">MagickStripImage</a> &#8226; <a href="magick-image.html#MagickSwirlImage">MagickSwirlImage</a> &#8226; <a href="magick-image.html#MagickTextureImage">MagickTextureImage</a> &#8226; <a href="magick-image.html#MagickThresholdImage">MagickThresholdImage</a> &#8226; <a href="magick-image.html#MagickThumbnailImage">MagickThumbnailImage</a> &#8226; <a href="magick-image.html#MagickTintImage">MagickTintImage</a> &#8226; <a href="magick-image.html#MagickTransformImageColorspace">MagickTransformImageColorspace</a> &#8226; <a href="magick-image.html#MagickTransparentPaintImage">MagickTransparentPaintImage</a> &#8226; <a href="magick-image.html#MagickTransposeImage">MagickTransposeImage</a> &#8226; <a href="magick-image.html#MagickTransverseImage">MagickTransverseImage</a> &#8226; <a href="magick-image.html#MagickTrimImage">MagickTrimImage</a> &#8226; <a href="magick-image.html#MagickUniqueImageColors">MagickUniqueImageColors</a> &#8226; <a href="magick-image.html#MagickUnsharpMaskImage">MagickUnsharpMaskImage</a> &#8226; <a href="magick-image.html#MagickVignetteImage">MagickVignetteImage</a> &#8226; <a href="magick-image.html#MagickWaveImage">MagickWaveImage</a> &#8226; <a href="magick-image.html#MagickWaveletDenoiseImage">MagickWaveletDenoiseImage</a> &#8226; <a href="magick-image.html#MagickWhiteBalanceImage">MagickWhiteBalanceImage</a> &#8226; <a href="magick-image.html#MagickWhiteThresholdImage">MagickWhiteThresholdImage</a> &#8226; <a href="magick-image.html#MagickWriteImage">MagickWriteImage</a> &#8226; <a href="magick-image.html#MagickWriteImageFile">MagickWriteImageFile</a> &#8226; <a href="magick-image.html#MagickWriteImages">MagickWriteImages</a> &#8226; <a href="magick-image.html#MagickWriteImagesFile">MagickWriteImagesFile</a></p>
95
96<h2><a href="../../api/MagickWand/magick-image_8c.html" id="GetImageFromMagickWand">GetImageFromMagickWand</a></h2>
97
98<p>GetImageFromMagickWand() returns the current image from the magick wand.</p>
99
100<p>The format of the GetImageFromMagickWand method is:</p>
101
102<pre class="text">
103Image *GetImageFromMagickWand(const MagickWand *wand)
104</pre>
105
106<p>A description of each parameter follows:</p>
107
108<dd>
109</dd>
110
111<dd> </dd>
112<dl class="dl-horizontal">
113<dt>wand</dt>
114<dd>the magick wand. </dd>
115
116<dd>  </dd>
117</dl>
118<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAdaptiveBlurImage">MagickAdaptiveBlurImage</a></h2>
119
120<p>MagickAdaptiveBlurImage() adaptively blurs the image by blurring less intensely near image edges and more intensely far from edges. We blur the image with a Gaussian operator of the given radius and standard deviation (sigma).  For reasonable results, radius should be larger than sigma.  Use a radius of 0 and MagickAdaptiveBlurImage() selects a suitable radius for you.</p>
121
122<p>The format of the MagickAdaptiveBlurImage method is:</p>
123
124<pre class="text">
125MagickBooleanType MagickAdaptiveBlurImage(MagickWand *wand,
126  const double radius,const double sigma)
127</pre>
128
129<p>A description of each parameter follows:</p>
130
131<dd>
132</dd>
133
134<dd> </dd>
135<dl class="dl-horizontal">
136<dt>wand</dt>
137<dd>the magick wand. </dd>
138
139<dd> </dd>
140<dt>radius</dt>
141<dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
142
143<dd> </dd>
144<dt>sigma</dt>
145<dd>the standard deviation of the Gaussian, in pixels. </dd>
146
147<dd>  </dd>
148</dl>
149<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAdaptiveResizeImage">MagickAdaptiveResizeImage</a></h2>
150
151<p>MagickAdaptiveResizeImage() adaptively resize image with data dependent triangulation.</p>
152
153<p>MagickBooleanType MagickAdaptiveResizeImage(MagickWand *wand, const size_t columns,const size_t rows)</p>
154
155<p>A description of each parameter follows:</p>
156
157<dd>
158</dd>
159
160<dd> </dd>
161<dl class="dl-horizontal">
162<dt>wand</dt>
163<dd>the magick wand. </dd>
164
165<dd> </dd>
166<dt>columns</dt>
167<dd>the number of columns in the scaled image. </dd>
168
169<dd> </dd>
170<dt>rows</dt>
171<dd>the number of rows in the scaled image. </dd>
172
173<dd>  </dd>
174</dl>
175<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAdaptiveSharpenImage">MagickAdaptiveSharpenImage</a></h2>
176
177<p>MagickAdaptiveSharpenImage() adaptively sharpens the image by sharpening more intensely near image edges and less intensely far from edges. We sharpen the image with a Gaussian operator of the given radius and standard deviation (sigma).  For reasonable results, radius should be larger than sigma.  Use a radius of 0 and MagickAdaptiveSharpenImage() selects a suitable radius for you.</p>
178
179<p>The format of the MagickAdaptiveSharpenImage method is:</p>
180
181<pre class="text">
182MagickBooleanType MagickAdaptiveSharpenImage(MagickWand *wand,
183  const double radius,const double sigma)
184</pre>
185
186<p>A description of each parameter follows:</p>
187
188<dd>
189</dd>
190
191<dd> </dd>
192<dl class="dl-horizontal">
193<dt>wand</dt>
194<dd>the magick wand. </dd>
195
196<dd> </dd>
197<dt>radius</dt>
198<dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
199
200<dd> </dd>
201<dt>sigma</dt>
202<dd>the standard deviation of the Gaussian, in pixels. </dd>
203
204<dd>  </dd>
205</dl>
206<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAdaptiveThresholdImage">MagickAdaptiveThresholdImage</a></h2>
207
208<p>MagickAdaptiveThresholdImage() selects an individual threshold for each pixel based on the range of intensity values in its local neighborhood.  This allows for thresholding of an image whose global intensity histogram doesn't contain distinctive peaks.</p>
209
210<p>The format of the AdaptiveThresholdImage method is:</p>
211
212<pre class="text">
213MagickBooleanType MagickAdaptiveThresholdImage(MagickWand *wand,
214  const size_t width,const size_t height,const double bias)
215</pre>
216
217<p>A description of each parameter follows:</p>
218
219<dd>
220</dd>
221
222<dd> </dd>
223<dl class="dl-horizontal">
224<dt>wand</dt>
225<dd>the magick wand. </dd>
226
227<dd> </dd>
228<dt>width</dt>
229<dd>the width of the local neighborhood. </dd>
230
231<dd> </dd>
232<dt>height</dt>
233<dd>the height of the local neighborhood. </dd>
234
235<dd> </dd>
236<dt>offset</dt>
237<dd>the mean bias. </dd>
238
239<dd>  </dd>
240</dl>
241<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAddImage">MagickAddImage</a></h2>
242
243<p>MagickAddImage() adds a clone of the images from the second wand and inserts them into the first wand.</p>
244
245<p>Use MagickSetLastIterator(), to append new images into an existing wand, current image will be set to last image so later adds with also be appended to end of wand.</p>
246
247<p>Use MagickSetFirstIterator() to prepend new images into wand, any more images added will also be prepended before other images in the wand. However the order of a list of new images will not change.</p>
248
249<p>Otherwise the new images will be inserted just after the current image, and any later image will also be added after this current image but before the previously added images.  Caution is advised when multiple image adds are inserted into the middle of the wand image list.</p>
250
251<p>The format of the MagickAddImage method is:</p>
252
253<pre class="text">
254MagickBooleanType MagickAddImage(MagickWand *wand,
255  const MagickWand *add_wand)
256</pre>
257
258<p>A description of each parameter follows:</p>
259
260<dd>
261</dd>
262
263<dd> </dd>
264<dl class="dl-horizontal">
265<dt>wand</dt>
266<dd>the magick wand. </dd>
267
268<dd> </dd>
269<dt>add_wand</dt>
270<dd>A wand that contains the image list to be added </dd>
271
272<dd>  </dd>
273</dl>
274<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAddNoiseImage">MagickAddNoiseImage</a></h2>
275
276<p>MagickAddNoiseImage() adds random noise to the image.</p>
277
278<p>The format of the MagickAddNoiseImage method is:</p>
279
280<pre class="text">
281MagickBooleanType MagickAddNoiseImage(MagickWand *wand,
282  const NoiseType noise_type,const double attenuate)
283</pre>
284
285<p>A description of each parameter follows:</p>
286
287<dd>
288</dd>
289
290<dd> </dd>
291<dl class="dl-horizontal">
292<dt>wand</dt>
293<dd>the magick wand. </dd>
294
295<dd> </dd>
296<dt>noise_type</dt>
297<dd> The type of noise: Uniform, Gaussian, Multiplicative, Impulse, Laplacian, or Poisson. </dd>
298
299<dd> </dd>
300<dt>attenuate</dt>
301<dd> attenuate the random distribution. </dd>
302
303<dd>  </dd>
304</dl>
305<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAffineTransformImage">MagickAffineTransformImage</a></h2>
306
307<p>MagickAffineTransformImage() transforms an image as dictated by the affine matrix of the drawing wand.</p>
308
309<p>The format of the MagickAffineTransformImage method is:</p>
310
311<pre class="text">
312MagickBooleanType MagickAffineTransformImage(MagickWand *wand,
313  const DrawingWand *drawing_wand)
314</pre>
315
316<p>A description of each parameter follows:</p>
317
318<dd>
319</dd>
320
321<dd> </dd>
322<dl class="dl-horizontal">
323<dt>wand</dt>
324<dd>the magick wand. </dd>
325
326<dd> </dd>
327<dt>drawing_wand</dt>
328<dd>the draw wand. </dd>
329
330<dd>  </dd>
331</dl>
332<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAnnotateImage">MagickAnnotateImage</a></h2>
333
334<p>MagickAnnotateImage() annotates an image with text.</p>
335
336<p>The format of the MagickAnnotateImage method is:</p>
337
338<pre class="text">
339MagickBooleanType MagickAnnotateImage(MagickWand *wand,
340  const DrawingWand *drawing_wand,const double x,const double y,
341  const double angle,const char *text)
342</pre>
343
344<p>A description of each parameter follows:</p>
345
346<dd>
347</dd>
348
349<dd> </dd>
350<dl class="dl-horizontal">
351<dt>wand</dt>
352<dd>the magick wand. </dd>
353
354<dd> </dd>
355<dt>drawing_wand</dt>
356<dd>the draw wand. </dd>
357
358<dd> </dd>
359<dt>x</dt>
360<dd>x ordinate to left of text </dd>
361
362<dd> </dd>
363<dt>y</dt>
364<dd>y ordinate to text baseline </dd>
365
366<dd> </dd>
367<dt>angle</dt>
368<dd>rotate text relative to this angle. </dd>
369
370<dd> </dd>
371<dt>text</dt>
372<dd>text to draw </dd>
373
374<dd>  </dd>
375</dl>
376<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAnimateImages">MagickAnimateImages</a></h2>
377
378<p>MagickAnimateImages() animates an image or image sequence.</p>
379
380<p>The format of the MagickAnimateImages method is:</p>
381
382<pre class="text">
383MagickBooleanType MagickAnimateImages(MagickWand *wand,
384  const char *server_name)
385</pre>
386
387<p>A description of each parameter follows:</p>
388
389<dd>
390</dd>
391
392<dd> </dd>
393<dl class="dl-horizontal">
394<dt>wand</dt>
395<dd>the magick wand. </dd>
396
397<dd> </dd>
398<dt>server_name</dt>
399<dd>the X server name. </dd>
400
401<dd>  </dd>
402</dl>
403<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAppendImages">MagickAppendImages</a></h2>
404
405<p>MagickAppendImages() append the images in a wand from the current image onwards, creating a new wand with the single image result.  This is affected by the gravity and background settings of the first image.</p>
406
407<p>Typically you would call either MagickResetIterator() or MagickSetFirstImage() before calling this function to ensure that all the images in the wand's image list will be appended together.</p>
408
409<p>The format of the MagickAppendImages method is:</p>
410
411<pre class="text">
412MagickWand *MagickAppendImages(MagickWand *wand,
413  const MagickBooleanType stack)
414</pre>
415
416<p>A description of each parameter follows:</p>
417
418<dd>
419</dd>
420
421<dd> </dd>
422<dl class="dl-horizontal">
423<dt>wand</dt>
424<dd>the magick wand. </dd>
425
426<dd> </dd>
427<dt>stack</dt>
428<dd>By default, images are stacked left-to-right. Set stack to MagickTrue to stack them top-to-bottom. </dd>
429
430<dd>  </dd>
431</dl>
432<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAutoGammaImage">MagickAutoGammaImage</a></h2>
433
434<p>MagickAutoGammaImage() extracts the 'mean' from the image and adjust the image to try make set its gamma appropriatally.</p>
435
436<p>The format of the MagickAutoGammaImage method is:</p>
437
438<pre class="text">
439MagickBooleanType MagickAutoGammaImage(MagickWand *wand)
440</pre>
441
442<p>A description of each parameter follows:</p>
443
444<dd>
445</dd>
446
447<dd> </dd>
448<dl class="dl-horizontal">
449<dt>wand</dt>
450<dd>the magick wand. </dd>
451
452<dd>  </dd>
453</dl>
454<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAutoLevelImage">MagickAutoLevelImage</a></h2>
455
456<p>MagickAutoLevelImage() adjusts the levels of a particular image channel by scaling the minimum and maximum values to the full quantum range.</p>
457
458<p>The format of the MagickAutoLevelImage method is:</p>
459
460<pre class="text">
461MagickBooleanType MagickAutoLevelImage(MagickWand *wand)
462</pre>
463
464<p>A description of each parameter follows:</p>
465
466<dd>
467</dd>
468
469<dd> </dd>
470<dl class="dl-horizontal">
471<dt>wand</dt>
472<dd>the magick wand. </dd>
473
474<dd>  </dd>
475</dl>
476<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAutoOrientImage">MagickAutoOrientImage</a></h2>
477
478<p>MagickAutoOrientImage() adjusts an image so that its orientation is suitable $  for viewing (i.e. top-left orientation).</p>
479
480<p>The format of the MagickAutoOrientImage method is:</p>
481
482<pre class="text">
483MagickBooleanType MagickAutoOrientImage(MagickWand *image)
484</pre>
485
486<p>A description of each parameter follows:</p>
487
488<dd>
489</dd>
490
491<dd> </dd>
492<dl class="dl-horizontal">
493<dt>wand</dt>
494<dd>the magick wand. </dd>
495
496<dd>  </dd>
497</dl>
498<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAutoThresholdImage">MagickAutoThresholdImage</a></h2>
499
500<p>MagickAutoThresholdImage() automatically performs image thresholding dependent on which method you specify.</p>
501
502<p>The format of the AutoThresholdImage method is:</p>
503
504<pre class="text">
505MagickBooleanType MagickAutoThresholdImage(MagickWand *wand,
506  const AutoThresholdMethod method)
507</pre>
508
509<p>A description of each parameter follows:</p>
510
511<dd>
512</dd>
513
514<dd> </dd>
515<dl class="dl-horizontal">
516<dt>wand</dt>
517<dd>the magick wand. </dd>
518
519<dd> </dd>
520<dt>method</dt>
521<dd>choose from KapurThresholdMethod, OTSUThresholdMethod, or TriangleThresholdMethod. </dd>
522
523<dd>  </dd>
524</dl>
525<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickBilateralBlurImage">MagickBilateralBlurImage</a></h2>
526
527<p>MagickBilateralBlurImage() is a non-linear, edge-preserving, and noise-reducing smoothing filter for images.  It replaces the intensity of each pixel with a weighted average of intensity values from nearby pixels. This weight is based on a Gaussian distribution.  The weights depend not only on Euclidean distance of pixels, but also on the radiometric differences (e.g., range differences, such as color intensity, depth distance, etc.). This preserves sharp edges.</p>
528
529<p>The format of the MagickBilateralBlurImage method is:</p>
530
531<pre class="text">
532MagickBooleanType MagickBilateralBlurImage(MagickWand *wand,
533  const double radius,const double sigma,const double intensity_sigma,
534  const double spatial_sigma)
535</pre>
536
537<p>A description of each parameter follows:</p>
538
539<dd>
540</dd>
541
542<dd> </dd>
543<dl class="dl-horizontal">
544<dt>wand</dt>
545<dd>the magick wand. </dd>
546
547<dd> </dd>
548<dt>radius</dt>
549<dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
550
551<dd> </dd>
552<dt>sigma</dt>
553<dd>the standard deviation of the , in pixels. </dd>
554
555<dd> </dd>
556<dt>intensity_sigma</dt>
557<dd>sigma in the intensity space. A larger value means that farther colors within the pixel neighborhood (see spatial_sigma) will be mixed together, resulting in larger areas of semi-equal color. </dd>
558
559<dd> </dd>
560<dt>spatial_sigma</dt>
561<dd>sigma in the coordinate space. A larger value means that farther pixels influence each other as long as their colors are close enough (see intensity_sigma ). When the neigborhood diameter is greater than zero, it specifies the neighborhood size regardless of spatial_sigma. Otherwise, the neigborhood diameter is proportional to spatial_sigma. </dd>
562
563<dd>  </dd>
564</dl>
565<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickBlackThresholdImage">MagickBlackThresholdImage</a></h2>
566
567<p>MagickBlackThresholdImage() is like MagickThresholdImage() but  forces all pixels below the threshold into black while leaving all pixels above the threshold unchanged.</p>
568
569<p>The format of the MagickBlackThresholdImage method is:</p>
570
571<pre class="text">
572MagickBooleanType MagickBlackThresholdImage(MagickWand *wand,
573  const PixelWand *threshold)
574</pre>
575
576<p>A description of each parameter follows:</p>
577
578<dd>
579</dd>
580
581<dd> </dd>
582<dl class="dl-horizontal">
583<dt>wand</dt>
584<dd>the magick wand. </dd>
585
586<dd> </dd>
587<dt>threshold</dt>
588<dd>the pixel wand. </dd>
589
590<dd>  </dd>
591</dl>
592<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickBlueShiftImage">MagickBlueShiftImage</a></h2>
593
594<p>MagickBlueShiftImage() mutes the colors of the image to simulate a scene at nighttime in the moonlight.</p>
595
596<p>The format of the MagickBlueShiftImage method is:</p>
597
598<pre class="text">
599MagickBooleanType MagickBlueShiftImage(MagickWand *wand,
600  const double factor)
601</pre>
602
603<p>A description of each parameter follows:</p>
604
605<dd>
606</dd>
607
608<dd> </dd>
609<dl class="dl-horizontal">
610<dt>wand</dt>
611<dd>the magick wand. </dd>
612
613<dd> </dd>
614<dt>factor</dt>
615<dd>the blue shift factor (default 1.5) </dd>
616
617<dd>  </dd>
618</dl>
619<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickBlurImage">MagickBlurImage</a></h2>
620
621<p>MagickBlurImage() blurs an image.  We convolve the image with a gaussian operator of the given radius and standard deviation (sigma). For reasonable results, the radius should be larger than sigma.  Use a radius of 0 and BlurImage() selects a suitable radius for you.</p>
622
623<p>The format of the MagickBlurImage method is:</p>
624
625<pre class="text">
626MagickBooleanType MagickBlurImage(MagickWand *wand,const double radius,
627  const double sigma)
628</pre>
629
630<p>A description of each parameter follows:</p>
631
632<dd>
633</dd>
634
635<dd> </dd>
636<dl class="dl-horizontal">
637<dt>wand</dt>
638<dd>the magick wand. </dd>
639
640<dd> </dd>
641<dt>radius</dt>
642<dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
643
644<dd> </dd>
645<dt>sigma</dt>
646<dd>the standard deviation of the , in pixels. </dd>
647
648<dd>  </dd>
649</dl>
650<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickBorderImage">MagickBorderImage</a></h2>
651
652<p>MagickBorderImage() surrounds the image with a border of the color defined by the bordercolor pixel wand.</p>
653
654<p>The format of the MagickBorderImage method is:</p>
655
656<pre class="text">
657MagickBooleanType MagickBorderImage(MagickWand *wand,
658  const PixelWand *bordercolor,const size_t width,
659  const size_t height,const CompositeOperator compose)
660</pre>
661
662<p>A description of each parameter follows:</p>
663
664<dd>
665</dd>
666
667<dd> </dd>
668<dl class="dl-horizontal">
669<dt>wand</dt>
670<dd>the magick wand. </dd>
671
672<dd> </dd>
673<dt>bordercolor</dt>
674<dd>the border color pixel wand. </dd>
675
676<dd> </dd>
677<dt>width</dt>
678<dd>the border width. </dd>
679
680<dd> </dd>
681<dt>height</dt>
682<dd>the border height. </dd>
683
684<dd> </dd>
685<dt>compose</dt>
686<dd>the composite operator. </dd>
687
688<dd>  </dd>
689</dl>
690<h2><a href="../../api/MagickWand/magick-image_8c.html" id="Use_MagickBrightnessContrastImage">Use MagickBrightnessContrastImage</a></h2>
691
692<p>Use MagickBrightnessContrastImage() to change the brightness and/or contrast of an image.  It converts the brightness and contrast parameters into slope and intercept and calls a polynomical function to apply to the image.</p>
693
694
695<p>The format of the MagickBrightnessContrastImage method is:</p>
696
697<pre class="text">
698MagickBooleanType MagickBrightnessContrastImage(MagickWand *wand,
699  const double brightness,const double contrast)
700</pre>
701
702<p>A description of each parameter follows:</p>
703
704<dd>
705</dd>
706
707<dd> </dd>
708<dl class="dl-horizontal">
709<dt>wand</dt>
710<dd>the magick wand. </dd>
711
712<dd> </dd>
713<dt>brightness</dt>
714<dd>the brightness percent (-100 .. 100). </dd>
715
716<dd> </dd>
717<dt>contrast</dt>
718<dd>the contrast percent (-100 .. 100). </dd>
719
720<dd>  </dd>
721</dl>
722<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCannyEdgeImage">MagickCannyEdgeImage</a></h2>
723
724<p>MagickCannyEdgeImage() uses a multi-stage algorithm to detect a wide range of edges in images.</p>
725
726<p>The format of the MagickCannyEdgeImage method is:</p>
727
728<pre class="text">
729MagickBooleanType MagickCannyEdgeImage(MagickWand *wand,
730  const double radius,const double sigma,const double lower_percent,
731  const double upper_percent)
732</pre>
733
734<p>A description of each parameter follows:</p>
735
736<dd>
737</dd>
738
739<dd> </dd>
740<dl class="dl-horizontal">
741<dt>wand</dt>
742<dd>the magick wand. </dd>
743
744<dd> </dd>
745<dt>radius</dt>
746<dd>the radius of the gaussian smoothing filter. </dd>
747
748<dd> </dd>
749<dt>sigma</dt>
750<dd>the sigma of the gaussian smoothing filter. </dd>
751
752<dd> </dd>
753<dt>lower_percent</dt>
754<dd>percentage of edge pixels in the lower threshold. </dd>
755
756<dd> </dd>
757<dt>upper_percent</dt>
758<dd>percentage of edge pixels in the upper threshold. </dd>
759
760<dd>  </dd>
761</dl>
762<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickChannelFxImage">MagickChannelFxImage</a></h2>
763
764<p>MagickChannelFxImage() applies a channel expression to the specified image. The expression consists of one or more channels, either mnemonic or numeric (e.g. red, 1), separated by actions as follows:</p>
765
766<dd>
767</dd>
768
769<dd> &lt;=&gt;     exchange two channels (e.g. red&lt;=&gt;blue) =&gt;      transfer a channel to another (e.g. red=&gt;green) ,       separate channel operations (e.g. red, green) |       read channels from next input image (e.g. red | green) ;       write channels to next output image (e.g. red; green; blue) </dd>
770
771<dd> A channel without a operation symbol implies extract. For example, to create 3 grayscale images from the red, green, and blue channels of an image, use: </dd>
772
773<pre class="text">
774    -channel-fx "red; green; blue"
775</pre>
776
777<p>The format of the MagickChannelFxImage method is: </dd>
778
779<pre class="text">
780MagickWand *MagickChannelFxImage(MagickWand *wand,const char *expression)
781</pre>
782
783<p>A description of each parameter follows: </dd>
784
785<dd>
786</dd>
787
788<dd> </dd>
789<dl class="dl-horizontal">
790<dt>wand</dt>
791<dd>the magick wand. </dd>
792
793<dd> </dd>
794<dt>expression</dt>
795<dd>the expression. </dd>
796
797<dd>  </dd>
798</dl>
799<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCharcoalImage">MagickCharcoalImage</a></h2>
800
801<p>MagickCharcoalImage() simulates a charcoal drawing.</p>
802
803<p>The format of the MagickCharcoalImage method is:</p>
804
805<pre class="text">
806MagickBooleanType MagickCharcoalImage(MagickWand *wand,
807  const double radius,const double sigma)
808</pre>
809
810<p>A description of each parameter follows:</p>
811
812<dd>
813</dd>
814
815<dd> </dd>
816<dl class="dl-horizontal">
817<dt>wand</dt>
818<dd>the magick wand. </dd>
819
820<dd> </dd>
821<dt>radius</dt>
822<dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
823
824<dd> </dd>
825<dt>sigma</dt>
826<dd>the standard deviation of the Gaussian, in pixels. </dd>
827
828<dd>  </dd>
829</dl>
830<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickChopImage">MagickChopImage</a></h2>
831
832<p>MagickChopImage() removes a region of an image and collapses the image to occupy the removed portion</p>
833
834<p>The format of the MagickChopImage method is:</p>
835
836<pre class="text">
837MagickBooleanType MagickChopImage(MagickWand *wand,
838  const size_t width,const size_t height,const ssize_t x,
839  const ssize_t y)
840</pre>
841
842<p>A description of each parameter follows:</p>
843
844<dd>
845</dd>
846
847<dd> </dd>
848<dl class="dl-horizontal">
849<dt>wand</dt>
850<dd>the magick wand. </dd>
851
852<dd> </dd>
853<dt>width</dt>
854<dd>the region width. </dd>
855
856<dd> </dd>
857<dt>height</dt>
858<dd>the region height. </dd>
859
860<dd> </dd>
861<dt>x</dt>
862<dd>the region x offset. </dd>
863
864<dd> </dd>
865<dt>y</dt>
866<dd>the region y offset. </dd>
867
868<dd> </dd>
869
870<dd>  </dd>
871</dl>
872<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCLAHEImage">MagickCLAHEImage</a></h2>
873
874<p>MagickCLAHEImage() is a variant of adaptive histogram equalization in which the contrast amplification is limited, so as to reduce this problem of noise amplification.</p>
875
876<p>The format of the CLAHEImage method is:</p>
877
878<pre class="text">
879MagickBooleanType MagickCLAHEImage(MagickWand *wand,const size_t width,
880  const size_t height,const double number_bins,const double clip_limit)
881</pre>
882
883<p>A description of each parameter follows:</p>
884
885<dd>
886</dd>
887
888<dd> </dd>
889<dl class="dl-horizontal">
890<dt>wand</dt>
891<dd>the magick wand. </dd>
892
893<dd> </dd>
894<dt>width</dt>
895<dd>the width of the tile divisions to use in horizontal direction. </dd>
896
897<dd> </dd>
898<dt>height</dt>
899<dd>the height of the tile divisions to use in vertical direction. </dd>
900
901<dd> </dd>
902<dt>number_bins</dt>
903<dd>number of bins for histogram ("dynamic range"). </dd>
904
905<dd> </dd>
906<dt>clip_limit</dt>
907<dd>contrast limit for localised changes in contrast. A limit less than 1 results in standard non-contrast limited AHE. </dd>
908
909<dd>  </dd>
910</dl>
911<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickClampImage">MagickClampImage</a></h2>
912
913<p>MagickClampImage() restricts the color range from 0 to the quantum depth.</p>
914
915<p>The format of the MagickClampImage method is:</p>
916
917<pre class="text">
918MagickBooleanType MagickClampImage(MagickWand *wand)
919</pre>
920
921<p>A description of each parameter follows:</p>
922
923<dd>
924</dd>
925
926<dd> </dd>
927<dl class="dl-horizontal">
928<dt>wand</dt>
929<dd>the magick wand. </dd>
930
931<dd> </dd>
932<dt>channel</dt>
933<dd>the channel. </dd>
934
935<dd>  </dd>
936</dl>
937<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickClipImage">MagickClipImage</a></h2>
938
939<p>MagickClipImage() clips along the first path from the 8BIM profile, if present.</p>
940
941<p>The format of the MagickClipImage method is:</p>
942
943<pre class="text">
944MagickBooleanType MagickClipImage(MagickWand *wand)
945</pre>
946
947<p>A description of each parameter follows:</p>
948
949<dd>
950</dd>
951
952<dd> </dd>
953<dl class="dl-horizontal">
954<dt>wand</dt>
955<dd>the magick wand. </dd>
956
957<dd>  </dd>
958</dl>
959<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickClipImagePath">MagickClipImagePath</a></h2>
960
961<p>MagickClipImagePath() clips along the named paths from the 8BIM profile, if present. Later operations take effect inside the path.  Id may be a number if preceded with #, to work on a numbered path, e.g., "#1" to use the first path.</p>
962
963<p>The format of the MagickClipImagePath method is:</p>
964
965<pre class="text">
966MagickBooleanType MagickClipImagePath(MagickWand *wand,
967  const char *pathname,const MagickBooleanType inside)
968</pre>
969
970<p>A description of each parameter follows:</p>
971
972<dd>
973</dd>
974
975<dd> </dd>
976<dl class="dl-horizontal">
977<dt>wand</dt>
978<dd>the magick wand. </dd>
979
980<dd> </dd>
981<dt>pathname</dt>
982<dd>name of clipping path resource. If name is preceded by #, use clipping path numbered by name. </dd>
983
984<dd> </dd>
985<dt>inside</dt>
986<dd>if non-zero, later operations take effect inside clipping path. Otherwise later operations take effect outside clipping path. </dd>
987
988<dd>  </dd>
989</dl>
990<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickClutImage">MagickClutImage</a></h2>
991
992<p>MagickClutImage() replaces colors in the image from a color lookup table.</p>
993
994<p>The format of the MagickClutImage method is:</p>
995
996<pre class="text">
997MagickBooleanType MagickClutImage(MagickWand *wand,
998  const MagickWand *clut_wand,const PixelInterpolateMethod method)
999</pre>
1000
1001<p>A description of each parameter follows:</p>
1002
1003<dd>
1004</dd>
1005
1006<dd> </dd>
1007<dl class="dl-horizontal">
1008<dt>wand</dt>
1009<dd>the magick wand. </dd>
1010
1011<dd> </dd>
1012<dt>clut_image</dt>
1013<dd>the clut image. </dd>
1014
1015<dd> </dd>
1016<dt>method</dt>
1017<dd>the pixel interpolation method. </dd>
1018
1019<dd>  </dd>
1020</dl>
1021<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCoalesceImages">MagickCoalesceImages</a></h2>
1022
1023<p>MagickCoalesceImages() composites a set of images while respecting any page offsets and disposal methods.  GIF, MIFF, and MNG animation sequences typically start with an image background and each subsequent image varies in size and offset.  MagickCoalesceImages() returns a new sequence where each image in the sequence is the same size as the first and composited with the next image in the sequence.</p>
1024
1025<p>The format of the MagickCoalesceImages method is:</p>
1026
1027<pre class="text">
1028MagickWand *MagickCoalesceImages(MagickWand *wand)
1029</pre>
1030
1031<p>A description of each parameter follows:</p>
1032
1033<dd>
1034</dd>
1035
1036<dd> </dd>
1037<dl class="dl-horizontal">
1038<dt>wand</dt>
1039<dd>the magick wand. </dd>
1040
1041<dd>  </dd>
1042</dl>
1043<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickColorDecisionListImage">MagickColorDecisionListImage</a></h2>
1044
1045<p>MagickColorDecisionListImage() accepts a lightweight Color Correction Collection (CCC) file which solely contains one or more color corrections and applies the color correction to the image.  Here is a sample CCC file:</p>
1046
1047<pre class="text">
1048    &lt;ColorCorrectionCollection xmlns="urn:ASC:CDL:v1.2"&gt;
1049    &lt;ColorCorrection id="cc03345"&gt;
1050          &lt;SOPNode&gt;
1051               &lt;Slope&gt; 0.9 1.2 0.5 &lt;/Slope&gt;
1052               &lt;Offset&gt; 0.4 -0.5 0.6 &lt;/Offset&gt;
1053               &lt;Power&gt; 1.0 0.8 1.5 &lt;/Power&gt;
1054          &lt;/SOPNode&gt;
1055          &lt;SATNode&gt;
1056               &lt;Saturation&gt; 0.85 &lt;/Saturation&gt;
1057          &lt;/SATNode&gt;
1058    &lt;/ColorCorrection&gt;
1059    &lt;/ColorCorrectionCollection&gt;
1060</pre>
1061
1062<p>which includes the offset, slope, and power for each of the RGB channels as well as the saturation.</p>
1063
1064<p>The format of the MagickColorDecisionListImage method is:</p>
1065
1066<pre class="text">
1067MagickBooleanType MagickColorDecisionListImage(MagickWand *wand,
1068  const char *color_correction_collection)
1069</pre>
1070
1071<p>A description of each parameter follows:</p>
1072
1073<dd>
1074</dd>
1075
1076<dd> </dd>
1077<dl class="dl-horizontal">
1078<dt>wand</dt>
1079<dd>the magick wand. </dd>
1080
1081<dd> </dd>
1082<dt>color_correction_collection</dt>
1083<dd>the color correction collection in XML. </dd>
1084
1085<dd>  </dd>
1086</dl>
1087<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickColorizeImage">MagickColorizeImage</a></h2>
1088
1089<p>MagickColorizeImage() blends the fill color with each pixel in the image.</p>
1090
1091<p>The format of the MagickColorizeImage method is:</p>
1092
1093<pre class="text">
1094MagickBooleanType MagickColorizeImage(MagickWand *wand,
1095  const PixelWand *colorize,const PixelWand *blend)
1096</pre>
1097
1098<p>A description of each parameter follows:</p>
1099
1100<dd>
1101</dd>
1102
1103<dd> </dd>
1104<dl class="dl-horizontal">
1105<dt>wand</dt>
1106<dd>the magick wand. </dd>
1107
1108<dd> </dd>
1109<dt>colorize</dt>
1110<dd>the colorize pixel wand. </dd>
1111
1112<dd> </dd>
1113<dt>alpha</dt>
1114<dd>the alpha pixel wand. </dd>
1115
1116<dd>  </dd>
1117</dl>
1118<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickColorMatrixImage">MagickColorMatrixImage</a></h2>
1119
1120<p>MagickColorMatrixImage() apply color transformation to an image. The method permits saturation changes, hue rotation, luminance to alpha, and various other effects.  Although variable-sized transformation matrices can be used, typically one uses a 5x5 matrix for an RGBA image and a 6x6 for CMYKA (or RGBA with offsets).  The matrix is similar to those used by Adobe Flash except offsets are in column 6 rather than 5 (in support of CMYKA images) and offsets are normalized (divide Flash offset by 255).</p>
1121
1122<p>The format of the MagickColorMatrixImage method is:</p>
1123
1124<pre class="text">
1125MagickBooleanType MagickColorMatrixImage(MagickWand *wand,
1126  const KernelInfo *color_matrix)
1127</pre>
1128
1129<p>A description of each parameter follows:</p>
1130
1131<dd>
1132</dd>
1133
1134<dd> </dd>
1135<dl class="dl-horizontal">
1136<dt>wand</dt>
1137<dd>the magick wand. </dd>
1138
1139<dd> </dd>
1140<dt>color_matrix</dt>
1141<dd> the color matrix. </dd>
1142
1143<dd>  </dd>
1144</dl>
1145<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickColorThresholdImage">MagickColorThresholdImage</a></h2>
1146
1147<p>MagickColorThresholdImage() forces all pixels in the color range to white otherwise black.</p>
1148
1149<p>The format of the MagickWhiteThresholdImage method is:</p>
1150
1151<pre class="text">
1152MagickBooleanType MagickWhiteThresholdImage(MagickWand *wand,
1153  const PixelWand *start_color,const PixelWand *stop_color)
1154</pre>
1155
1156<p>A description of each parameter follows:</p>
1157
1158<dd>
1159</dd>
1160
1161<dd> </dd>
1162<dl class="dl-horizontal">
1163<dt>wand</dt>
1164<dd>the magick wand. </dd>
1165
1166<dd> </dd>
1167<dt>start-color</dt>
1168<dd>the start color pixel wand. </dd>
1169
1170<dd> </dd>
1171<dt>stop-color</dt>
1172<dd>the stop color pixel wand. </dd>
1173
1174<dd>  </dd>
1175</dl>
1176<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCombineImages">MagickCombineImages</a></h2>
1177
1178<p>MagickCombineImages() combines one or more images into a single image.  The grayscale value of the pixels of each image in the sequence is assigned in order to the specified  hannels of the combined image.   The typical ordering would be image 1 =&gt; Red, 2 =&gt; Green, 3 =&gt; Blue, etc.</p>
1179
1180<p>The format of the MagickCombineImages method is:</p>
1181
1182<pre class="text">
1183MagickWand *MagickCombineImages(MagickWand *wand,
1184  const ColorspaceType colorspace)
1185</pre>
1186
1187<p>A description of each parameter follows:</p>
1188
1189<dd>
1190</dd>
1191
1192<dd> </dd>
1193<dl class="dl-horizontal">
1194<dt>wand</dt>
1195<dd>the magick wand. </dd>
1196
1197<dd> </dd>
1198<dt>colorspace</dt>
1199<dd>the colorspace. </dd>
1200
1201<dd>  </dd>
1202</dl>
1203<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCommentImage">MagickCommentImage</a></h2>
1204
1205<p>MagickCommentImage() adds a comment to your image.</p>
1206
1207<p>The format of the MagickCommentImage method is:</p>
1208
1209<pre class="text">
1210MagickBooleanType MagickCommentImage(MagickWand *wand,
1211  const char *comment)
1212</pre>
1213
1214<p>A description of each parameter follows:</p>
1215
1216<dd>
1217</dd>
1218
1219<dd> </dd>
1220<dl class="dl-horizontal">
1221<dt>wand</dt>
1222<dd>the magick wand. </dd>
1223
1224<dd> </dd>
1225<dt>comment</dt>
1226<dd>the image comment. </dd>
1227
1228<dd>  </dd>
1229</dl>
1230<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCompareImagesLayers">MagickCompareImagesLayers</a></h2>
1231
1232<p>MagickCompareImagesLayers() compares each image with the next in a sequence and returns the maximum bounding region of any pixel differences it discovers.</p>
1233
1234<p>The format of the MagickCompareImagesLayers method is:</p>
1235
1236<pre class="text">
1237MagickWand *MagickCompareImagesLayers(MagickWand *wand,
1238  const LayerMethod method)
1239</pre>
1240
1241<p>A description of each parameter follows:</p>
1242
1243<dd>
1244</dd>
1245
1246<dd> </dd>
1247<dl class="dl-horizontal">
1248<dt>wand</dt>
1249<dd>the magick wand. </dd>
1250
1251<dd> </dd>
1252<dt>method</dt>
1253<dd>the compare method. </dd>
1254
1255<dd>  </dd>
1256</dl>
1257<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCompareImages">MagickCompareImages</a></h2>
1258
1259<p>MagickCompareImages() compares an image to a reconstructed image and returns the specified difference image.</p>
1260
1261<p>The format of the MagickCompareImages method is:</p>
1262
1263<pre class="text">
1264MagickWand *MagickCompareImages(MagickWand *wand,
1265  const MagickWand *reference,const MetricType metric,
1266  double *distortion)
1267</pre>
1268
1269<p>A description of each parameter follows:</p>
1270
1271<dd>
1272</dd>
1273
1274<dd> </dd>
1275<dl class="dl-horizontal">
1276<dt>wand</dt>
1277<dd>the magick wand. </dd>
1278
1279<dd> </dd>
1280<dt>reference</dt>
1281<dd>the reference wand. </dd>
1282
1283<dd> </dd>
1284<dt>metric</dt>
1285<dd>the metric. </dd>
1286
1287<dd> </dd>
1288<dt>distortion</dt>
1289<dd>the computed distortion between the images. </dd>
1290
1291<dd>  </dd>
1292</dl>
1293<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickComplexImages">MagickComplexImages</a></h2>
1294
1295<p>MagickComplexImages() performs complex mathematics on an image sequence.</p>
1296
1297<p>The format of the MagickComplexImages method is:</p>
1298
1299<pre class="text">
1300MagickWand *MagickComplexImages(MagickWand *wand,
1301  const ComplexOperator op)
1302</pre>
1303
1304<p>A description of each parameter follows:</p>
1305
1306<dd>
1307</dd>
1308
1309<dd> </dd>
1310<dl class="dl-horizontal">
1311<dt>wand</dt>
1312<dd>the magick wand. </dd>
1313
1314<dd> </dd>
1315<dt>op</dt>
1316<dd>A complex operator. Choose from AddComplexOperator, ConjugateComplexOperator,DivideComplexOperator, MagnitudePhaseComplexOperator,MultiplyComplexOperator, RealImaginaryComplexOperator, SubtractComplexOperator. </dd>
1317
1318<dd>  </dd>
1319</dl>
1320<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCompositeImage">MagickCompositeImage</a></h2>
1321
1322<p>MagickCompositeImage() composite one image onto another at the specified offset.</p>
1323
1324<p>The format of the MagickCompositeImage method is:</p>
1325
1326<pre class="text">
1327MagickBooleanType MagickCompositeImage(MagickWand *wand,
1328  const MagickWand *source_wand,const CompositeOperator compose,
1329  const MagickBooleanType clip_to_self,const ssize_t x,const ssize_t y)
1330</pre>
1331
1332<p>A description of each parameter follows:</p>
1333
1334<dd>
1335</dd>
1336
1337<dd> </dd>
1338<dl class="dl-horizontal">
1339<dt>wand</dt>
1340<dd>the magick wand holding the destination images </dd>
1341
1342<dd> </dd>
1343<dt>source_image</dt>
1344<dd>the magick wand holding source image. </dd>
1345
1346<dd> </dd>
1347<dt>compose</dt>
1348<dd>This operator affects how the composite is applied to the image.  The default is Over.  These are some of the compose methods availble. </dd>
1349
1350<dd> OverCompositeOp       InCompositeOp         OutCompositeOp AtopCompositeOp       XorCompositeOp        PlusCompositeOp MinusCompositeOp      AddCompositeOp        SubtractCompositeOp DifferenceCompositeOp BumpmapCompositeOp    CopyCompositeOp DisplaceCompositeOp </dd>
1351
1352<dd> </dd>
1353<dt>clip_to_self</dt>
1354<dd>set to MagickTrue to limit composition to area composed. </dd>
1355
1356<dd> </dd>
1357<dt>x</dt>
1358<dd>the column offset of the composited image. </dd>
1359
1360<dd> </dd>
1361<dt>y</dt>
1362<dd>the row offset of the composited image. </dd>
1363
1364<dd>  </dd>
1365</dl>
1366<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCompositeImageGravity">MagickCompositeImageGravity</a></h2>
1367
1368<p>MagickCompositeImageGravity() composite one image onto another using the specified gravity.</p>
1369
1370<p>The format of the MagickCompositeImageGravity method is:</p>
1371
1372<pre class="text">
1373MagickBooleanType MagickCompositeImageGravity(MagickWand *wand,
1374  const MagickWand *source_wand,const CompositeOperator compose,
1375  const GravityType gravity)
1376</pre>
1377
1378<p>A description of each parameter follows:</p>
1379
1380<dd>
1381</dd>
1382
1383<dd> </dd>
1384<dl class="dl-horizontal">
1385<dt>wand</dt>
1386<dd>the magick wand holding the destination images </dd>
1387
1388<dd> </dd>
1389<dt>source_image</dt>
1390<dd>the magick wand holding source image. </dd>
1391
1392<dd> </dd>
1393<dt>compose</dt>
1394<dd>This operator affects how the composite is applied to the image.  The default is Over.  These are some of the compose methods availble. </dd>
1395
1396<dd> OverCompositeOp       InCompositeOp         OutCompositeOp AtopCompositeOp       XorCompositeOp        PlusCompositeOp MinusCompositeOp      AddCompositeOp        SubtractCompositeOp DifferenceCompositeOp BumpmapCompositeOp    CopyCompositeOp DisplaceCompositeOp </dd>
1397
1398<dd> </dd>
1399<dt>gravity</dt>
1400<dd>positioning gravity (NorthWestGravity, NorthGravity, NorthEastGravity, WestGravity, CenterGravity, EastGravity, SouthWestGravity, SouthGravity, SouthEastGravity) </dd>
1401
1402<dd>  </dd>
1403</dl>
1404<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCompositeLayers">MagickCompositeLayers</a></h2>
1405
1406<p>MagickCompositeLayers() composite the images in the source wand over the images in the destination wand in sequence, starting with the current image in both lists.</p>
1407
1408<p>Each layer from the two image lists are composted together until the end of one of the image lists is reached.  The offset of each composition is also adjusted to match the virtual canvas offsets of each layer. As such the given offset is relative to the virtual canvas, and not the actual image.</p>
1409
1410<p>Composition uses given x and y offsets, as the 'origin' location of the source images virtual canvas (not the real image) allowing you to compose a list of 'layer images' into the destiantioni images.  This makes it well sutiable for directly composing 'Clears Frame Animations' or 'Coaleased Animations' onto a static or other 'Coaleased Animation' destination image list.  GIF disposal handling is not looked at.</p>
1411
1412<p>Special case:- If one of the image sequences is the last image (just a single image remaining), that image is repeatally composed with all the images in the other image list.  Either the source or destination lists may be the single image, for this situation.</p>
1413
1414<p>In the case of a single destination image (or last image given), that image will ve cloned to match the number of images remaining in the source image list.</p>
1415
1416<p>This is equivelent to the "-layer Composite" Shell API operator.</p>
1417
1418<p>The format of the MagickCompositeLayers method is:</p>
1419
1420<pre class="text">
1421MagickBooleanType MagickCompositeLayers(MagickWand *wand,
1422  const MagickWand *source_wand, const CompositeOperator compose,
1423  const ssize_t x,const ssize_t y)
1424</pre>
1425
1426<p>A description of each parameter follows:</p>
1427
1428<dd>
1429</dd>
1430
1431<dd> </dd>
1432<dl class="dl-horizontal">
1433<dt>wand</dt>
1434<dd>the magick wand holding destaintion images </dd>
1435
1436<dd> </dd>
1437<dt>source_wand</dt>
1438<dd>the wand holding the source images </dd>
1439
1440<dd> </dd>
1441<dt>compose, x, y</dt>
1442<dd> composition arguments </dd>
1443
1444<dd>  </dd>
1445</dl>
1446<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickConnectedComponentsImage">MagickConnectedComponentsImage</a></h2>
1447
1448<p>MagickConnectedComponentsImage() returns the connected-components of the image uniquely labeled.  The returned connected components image colors member defines the number of unique objects.  Choose from 4 or 8-way connectivity.</p>
1449
1450<p>The format of the MagickConnectedComponentsImage method is:</p>
1451
1452<pre class="text">
1453MagickBooleanType MagickConnectedComponentsImage(MagickWand *wand,
1454  const size_t connectivity,CCObjectInfo **objects)
1455</pre>
1456
1457<p>A description of each parameter follows:</p>
1458
1459<dd>
1460</dd>
1461
1462<dd> </dd>
1463<dl class="dl-horizontal">
1464<dt>wand</dt>
1465<dd>the magick wand. </dd>
1466
1467<dd> </dd>
1468<dt>connectivity</dt>
1469<dd>how many neighbors to visit, choose from 4 or 8. </dd>
1470
1471<dd> </dd>
1472<dt>objects</dt>
1473<dd>return the attributes of each unique object. </dd>
1474
1475<dd>  </dd>
1476</dl>
1477<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickContrastImage">MagickContrastImage</a></h2>
1478
1479<p>MagickContrastImage() enhances the intensity differences between the lighter and darker elements of the image.  Set sharpen to a value other than 0 to increase the image contrast otherwise the contrast is reduced.</p>
1480
1481<p>The format of the MagickContrastImage method is:</p>
1482
1483<pre class="text">
1484MagickBooleanType MagickContrastImage(MagickWand *wand,
1485  const MagickBooleanType sharpen)
1486</pre>
1487
1488<p>A description of each parameter follows:</p>
1489
1490<dd>
1491</dd>
1492
1493<dd> </dd>
1494<dl class="dl-horizontal">
1495<dt>wand</dt>
1496<dd>the magick wand. </dd>
1497
1498<dd> </dd>
1499<dt>sharpen</dt>
1500<dd>Increase or decrease image contrast. </dd>
1501
1502<dd> </dd>
1503
1504<dd>  </dd>
1505</dl>
1506<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickContrastStretchImage">MagickContrastStretchImage</a></h2>
1507
1508<p>MagickContrastStretchImage() enhances the contrast of a color image by adjusting the pixels color to span the entire range of colors available. You can also reduce the influence of a particular channel with a gamma value of 0.</p>
1509
1510<p>The format of the MagickContrastStretchImage method is:</p>
1511
1512<pre class="text">
1513MagickBooleanType MagickContrastStretchImage(MagickWand *wand,
1514  const double black_point,const double white_point)
1515</pre>
1516
1517<p>A description of each parameter follows:</p>
1518
1519<dd>
1520</dd>
1521
1522<dd> </dd>
1523<dl class="dl-horizontal">
1524<dt>wand</dt>
1525<dd>the magick wand. </dd>
1526
1527<dd> </dd>
1528<dt>black_point</dt>
1529<dd>the black point. </dd>
1530
1531<dd> </dd>
1532<dt>white_point</dt>
1533<dd>the white point. </dd>
1534
1535<dd>  </dd>
1536</dl>
1537<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickConvolveImage">MagickConvolveImage</a></h2>
1538
1539<p>MagickConvolveImage() applies a custom convolution kernel to the image.</p>
1540
1541<p>The format of the MagickConvolveImage method is:</p>
1542
1543<pre class="text">
1544MagickBooleanType MagickConvolveImage(MagickWand *wand,
1545  const KernelInfo *kernel)
1546</pre>
1547
1548<p>A description of each parameter follows:</p>
1549
1550<dd>
1551</dd>
1552
1553<dd> </dd>
1554<dl class="dl-horizontal">
1555<dt>wand</dt>
1556<dd>the magick wand. </dd>
1557
1558<dd> </dd>
1559<dt>kernel</dt>
1560<dd>An array of doubles representing the convolution kernel. </dd>
1561
1562<dd>  </dd>
1563</dl>
1564<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCropImage">MagickCropImage</a></h2>
1565
1566<p>MagickCropImage() extracts a region of the image.</p>
1567
1568<p>The format of the MagickCropImage method is:</p>
1569
1570<pre class="text">
1571MagickBooleanType MagickCropImage(MagickWand *wand,
1572  const size_t width,const size_t height,const ssize_t x,const ssize_t y)
1573</pre>
1574
1575<p>A description of each parameter follows:</p>
1576
1577<dd>
1578</dd>
1579
1580<dd> </dd>
1581<dl class="dl-horizontal">
1582<dt>wand</dt>
1583<dd>the magick wand. </dd>
1584
1585<dd> </dd>
1586<dt>width</dt>
1587<dd>the region width. </dd>
1588
1589<dd> </dd>
1590<dt>height</dt>
1591<dd>the region height. </dd>
1592
1593<dd> </dd>
1594<dt>x</dt>
1595<dd>the region x-offset. </dd>
1596
1597<dd> </dd>
1598<dt>y</dt>
1599<dd>the region y-offset. </dd>
1600
1601<dd>  </dd>
1602</dl>
1603<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCycleColormapImage">MagickCycleColormapImage</a></h2>
1604
1605<p>MagickCycleColormapImage() displaces an image's colormap by a given number of positions.  If you cycle the colormap a number of times you can produce a psychodelic effect.</p>
1606
1607<p>The format of the MagickCycleColormapImage method is:</p>
1608
1609<pre class="text">
1610MagickBooleanType MagickCycleColormapImage(MagickWand *wand,
1611  const ssize_t displace)
1612</pre>
1613
1614<p>A description of each parameter follows:</p>
1615
1616<dd>
1617</dd>
1618
1619<dd> </dd>
1620<dl class="dl-horizontal">
1621<dt>wand</dt>
1622<dd>the magick wand. </dd>
1623
1624<dd> </dd>
1625<dt>pixel_wand</dt>
1626<dd>the pixel wand. </dd>
1627
1628<dd>  </dd>
1629</dl>
1630<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickConstituteImage">MagickConstituteImage</a></h2>
1631
1632<p>MagickConstituteImage() adds an image to the wand comprised of the pixel data you supply.  The pixel data must be in scanline order top-to-bottom. The data can be char, short int, int, float, or double.  Float and double require the pixels to be normalized [0..1], otherwise [0..Max],  where Max is the maximum value the type can accomodate (e.g. 255 for char).  For example, to create a 640x480 image from unsigned red-green-blue character data, use</p>
1633
1634<p>MagickConstituteImage(wand,640,480,"RGB",CharPixel,pixels);</p>
1635
1636<p>The format of the MagickConstituteImage method is:</p>
1637
1638<pre class="text">
1639MagickBooleanType MagickConstituteImage(MagickWand *wand,
1640  const size_t columns,const size_t rows,const char *map,
1641  const StorageType storage,void *pixels)
1642</pre>
1643
1644<p>A description of each parameter follows:</p>
1645
1646<dd>
1647</dd>
1648
1649<dd> </dd>
1650<dl class="dl-horizontal">
1651<dt>wand</dt>
1652<dd>the magick wand. </dd>
1653
1654<dd> </dd>
1655<dt>columns</dt>
1656<dd>width in pixels of the image. </dd>
1657
1658<dd> </dd>
1659<dt>rows</dt>
1660<dd>height in pixels of the image. </dd>
1661
1662<dd> </dd>
1663<dt>map</dt>
1664<dd> This string reflects the expected ordering of the pixel array. It can be any combination or order of R = red, G = green, B = blue, A = alpha (0 is transparent), O = alpha (0 is opaque), C = cyan, Y = yellow, M = magenta, K = black, I = intensity (for grayscale), P = pad. </dd>
1665
1666<dd> </dd>
1667<dt>storage</dt>
1668<dd>Define the data type of the pixels.  Float and double types are expected to be normalized [0..1] otherwise [0..QuantumRange].  Choose from these types: CharPixel, DoublePixel, FloatPixel, IntegerPixel, LongPixel, QuantumPixel, or ShortPixel. </dd>
1669
1670<dd> </dd>
1671<dt>pixels</dt>
1672<dd>This array of values contain the pixel components as defined by map and type.  You must preallocate this array where the expected length varies depending on the values of width, height, map, and type. </dd>
1673
1674<dd> </dd>
1675
1676<dd>  </dd>
1677</dl>
1678<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickDecipherImage">MagickDecipherImage</a></h2>
1679
1680<p>MagickDecipherImage() converts cipher pixels to plain pixels.</p>
1681
1682<p>The format of the MagickDecipherImage method is:</p>
1683
1684<pre class="text">
1685MagickBooleanType MagickDecipherImage(MagickWand *wand,
1686  const char *passphrase)
1687</pre>
1688
1689<p>A description of each parameter follows:</p>
1690
1691<dd>
1692</dd>
1693
1694<dd> </dd>
1695<dl class="dl-horizontal">
1696<dt>wand</dt>
1697<dd>the magick wand. </dd>
1698
1699<dd> </dd>
1700<dt>passphrase</dt>
1701<dd>the passphrase. </dd>
1702
1703<dd>  </dd>
1704</dl>
1705<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickDeconstructImages">MagickDeconstructImages</a></h2>
1706
1707<p>MagickDeconstructImages() compares each image with the next in a sequence and returns the maximum bounding region of any pixel differences it discovers.</p>
1708
1709<p>The format of the MagickDeconstructImages method is:</p>
1710
1711<pre class="text">
1712MagickWand *MagickDeconstructImages(MagickWand *wand)
1713</pre>
1714
1715<p>A description of each parameter follows:</p>
1716
1717<dd>
1718</dd>
1719
1720<dd> </dd>
1721<dl class="dl-horizontal">
1722<dt>wand</dt>
1723<dd>the magick wand. </dd>
1724
1725<dd>  </dd>
1726</dl>
1727<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickDeskewImage">MagickDeskewImage</a></h2>
1728
1729<p>MagickDeskewImage() removes skew from the image.  Skew is an artifact that occurs in scanned images because of the camera being misaligned, imperfections in the scanning or surface, or simply because the paper was not placed completely flat when scanned.</p>
1730
1731<p>The format of the MagickDeskewImage method is:</p>
1732
1733<pre class="text">
1734MagickBooleanType MagickDeskewImage(MagickWand *wand,
1735  const double threshold)
1736</pre>
1737
1738<p>A description of each parameter follows:</p>
1739
1740<dd>
1741</dd>
1742
1743<dd> </dd>
1744<dl class="dl-horizontal">
1745<dt>wand</dt>
1746<dd>the magick wand. </dd>
1747
1748<dd> </dd>
1749<dt>threshold</dt>
1750<dd>separate background from foreground. </dd>
1751
1752<dd>  </dd>
1753</dl>
1754<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickDespeckleImage">MagickDespeckleImage</a></h2>
1755
1756<p>MagickDespeckleImage() reduces the speckle noise in an image while perserving the edges of the original image.</p>
1757
1758<p>The format of the MagickDespeckleImage method is:</p>
1759
1760<pre class="text">
1761MagickBooleanType MagickDespeckleImage(MagickWand *wand)
1762</pre>
1763
1764<p>A description of each parameter follows:</p>
1765
1766<dd>
1767</dd>
1768
1769<dd> </dd>
1770<dl class="dl-horizontal">
1771<dt>wand</dt>
1772<dd>the magick wand. </dd>
1773
1774<dd>  </dd>
1775</dl>
1776<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickDestroyImage">MagickDestroyImage</a></h2>
1777
1778<p>MagickDestroyImage() dereferences an image, deallocating memory associated with the image if the reference count becomes zero.</p>
1779
1780<p>The format of the MagickDestroyImage method is:</p>
1781
1782<pre class="text">
1783Image *MagickDestroyImage(Image *image)
1784</pre>
1785
1786<p>A description of each parameter follows:</p>
1787
1788<dd>
1789</dd>
1790
1791<dd> </dd>
1792<dl class="dl-horizontal">
1793<dt>image</dt>
1794<dd>the image. </dd>
1795
1796<dd>  </dd>
1797</dl>
1798<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickDisplayImage">MagickDisplayImage</a></h2>
1799
1800<p>MagickDisplayImage() displays an image.</p>
1801
1802<p>The format of the MagickDisplayImage method is:</p>
1803
1804<pre class="text">
1805MagickBooleanType MagickDisplayImage(MagickWand *wand,
1806  const char *server_name)
1807</pre>
1808
1809<p>A description of each parameter follows:</p>
1810
1811<dd>
1812</dd>
1813
1814<dd> </dd>
1815<dl class="dl-horizontal">
1816<dt>wand</dt>
1817<dd>the magick wand. </dd>
1818
1819<dd> </dd>
1820<dt>server_name</dt>
1821<dd>the X server name. </dd>
1822
1823<dd>  </dd>
1824</dl>
1825<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickDisplayImages">MagickDisplayImages</a></h2>
1826
1827<p>MagickDisplayImages() displays an image or image sequence.</p>
1828
1829<p>The format of the MagickDisplayImages method is:</p>
1830
1831<pre class="text">
1832MagickBooleanType MagickDisplayImages(MagickWand *wand,
1833  const char *server_name)
1834</pre>
1835
1836<p>A description of each parameter follows:</p>
1837
1838<dd>
1839</dd>
1840
1841<dd> </dd>
1842<dl class="dl-horizontal">
1843<dt>wand</dt>
1844<dd>the magick wand. </dd>
1845
1846<dd> </dd>
1847<dt>server_name</dt>
1848<dd>the X server name. </dd>
1849
1850<dd>  </dd>
1851</dl>
1852<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickDistortImage">MagickDistortImage</a></h2>
1853
1854<p>MagickDistortImage() distorts an image using various distortion methods, by mapping color lookups of the source image to a new destination image usally of the same size as the source image, unless 'bestfit' is set to true.</p>
1855
1856<p>If 'bestfit' is enabled, and distortion allows it, the destination image is adjusted to ensure the whole source 'image' will just fit within the final destination image, which will be sized and offset accordingly.  Also in many cases the virtual offset of the source image will be taken into account in the mapping.</p>
1857
1858<p>The format of the MagickDistortImage method is:</p>
1859
1860<pre class="text">
1861MagickBooleanType MagickDistortImage(MagickWand *wand,
1862  const DistortMethod method,const size_t number_arguments,
1863  const double *arguments,const MagickBooleanType bestfit)
1864</pre>
1865
1866<p>A description of each parameter follows:</p>
1867
1868<dd>
1869</dd>
1870
1871<dd> </dd>
1872<dl class="dl-horizontal">
1873<dt>image</dt>
1874<dd>the image to be distorted. </dd>
1875
1876<dd> </dd>
1877<dt>method</dt>
1878<dd>the method of image distortion. </dd>
1879
1880<dd> ArcDistortion always ignores the source image offset, and always 'bestfit' the destination image with the top left corner offset relative to the polar mapping center. </dd>
1881
1882<dd> Bilinear has no simple inverse mapping so it does not allow 'bestfit' style of image distortion. </dd>
1883
1884<dd> Affine, Perspective, and Bilinear, do least squares fitting of the distortion when more than the minimum number of control point pairs are provided. </dd>
1885
1886<dd> Perspective, and Bilinear, falls back to a Affine distortion when less that 4 control point pairs are provided. While Affine distortions let you use any number of control point pairs, that is Zero pairs is a no-Op (viewport only) distrotion, one pair is a translation and two pairs of control points do a scale-rotate-translate, without any shearing. </dd>
1887
1888<dd> </dd>
1889<dt>number_arguments</dt>
1890<dd>the number of arguments given for this distortion method. </dd>
1891
1892<dd> </dd>
1893<dt>arguments</dt>
1894<dd>the arguments for this distortion method. </dd>
1895
1896<dd> </dd>
1897<dt>bestfit</dt>
1898<dd>Attempt to resize destination to fit distorted source. </dd>
1899
1900<dd>  </dd>
1901</dl>
1902<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickDrawImage">MagickDrawImage</a></h2>
1903
1904<p>MagickDrawImage() renders the drawing wand on the current image.</p>
1905
1906<p>The format of the MagickDrawImage method is:</p>
1907
1908<pre class="text">
1909MagickBooleanType MagickDrawImage(MagickWand *wand,
1910  const DrawingWand *drawing_wand)
1911</pre>
1912
1913<p>A description of each parameter follows:</p>
1914
1915<dd>
1916</dd>
1917
1918<dd> </dd>
1919<dl class="dl-horizontal">
1920<dt>wand</dt>
1921<dd>the magick wand. </dd>
1922
1923<dd> </dd>
1924<dt>drawing_wand</dt>
1925<dd>the draw wand. </dd>
1926
1927<dd>  </dd>
1928</dl>
1929<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickEdgeImage">MagickEdgeImage</a></h2>
1930
1931<p>MagickEdgeImage() enhance edges within the image with a convolution filter of the given radius.  Use a radius of 0 and Edge() selects a suitable radius for you.</p>
1932
1933<p>The format of the MagickEdgeImage method is:</p>
1934
1935<pre class="text">
1936MagickBooleanType MagickEdgeImage(MagickWand *wand,const double radius)
1937</pre>
1938
1939<p>A description of each parameter follows:</p>
1940
1941<dd>
1942</dd>
1943
1944<dd> </dd>
1945<dl class="dl-horizontal">
1946<dt>wand</dt>
1947<dd>the magick wand. </dd>
1948
1949<dd> </dd>
1950<dt>radius</dt>
1951<dd>the radius of the pixel neighborhood. </dd>
1952
1953<dd>  </dd>
1954</dl>
1955<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickEmbossImage">MagickEmbossImage</a></h2>
1956
1957<p>MagickEmbossImage() returns a grayscale image with a three-dimensional effect.  We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma).  For reasonable results, radius should be larger than sigma.  Use a radius of 0 and Emboss() selects a suitable radius for you.</p>
1958
1959<p>The format of the MagickEmbossImage method is:</p>
1960
1961<pre class="text">
1962MagickBooleanType MagickEmbossImage(MagickWand *wand,const double radius,
1963  const double sigma)
1964</pre>
1965
1966<p>A description of each parameter follows:</p>
1967
1968<dd>
1969</dd>
1970
1971<dd> </dd>
1972<dl class="dl-horizontal">
1973<dt>wand</dt>
1974<dd>the magick wand. </dd>
1975
1976<dd> </dd>
1977<dt>radius</dt>
1978<dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
1979
1980<dd> </dd>
1981<dt>sigma</dt>
1982<dd>the standard deviation of the Gaussian, in pixels. </dd>
1983
1984<dd>  </dd>
1985</dl>
1986<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickEncipherImage">MagickEncipherImage</a></h2>
1987
1988<p>MagickEncipherImage() converts plaint pixels to cipher pixels.</p>
1989
1990<p>The format of the MagickEncipherImage method is:</p>
1991
1992<pre class="text">
1993MagickBooleanType MagickEncipherImage(MagickWand *wand,
1994  const char *passphrase)
1995</pre>
1996
1997<p>A description of each parameter follows:</p>
1998
1999<dd>
2000</dd>
2001
2002<dd> </dd>
2003<dl class="dl-horizontal">
2004<dt>wand</dt>
2005<dd>the magick wand. </dd>
2006
2007<dd> </dd>
2008<dt>passphrase</dt>
2009<dd>the passphrase. </dd>
2010
2011<dd>  </dd>
2012</dl>
2013<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickEnhanceImage">MagickEnhanceImage</a></h2>
2014
2015<p>MagickEnhanceImage() applies a digital filter that improves the quality of a noisy image.</p>
2016
2017<p>The format of the MagickEnhanceImage method is:</p>
2018
2019<pre class="text">
2020MagickBooleanType MagickEnhanceImage(MagickWand *wand)
2021</pre>
2022
2023<p>A description of each parameter follows:</p>
2024
2025<dd>
2026</dd>
2027
2028<dd> </dd>
2029<dl class="dl-horizontal">
2030<dt>wand</dt>
2031<dd>the magick wand. </dd>
2032
2033<dd>  </dd>
2034</dl>
2035<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickEqualizeImage">MagickEqualizeImage</a></h2>
2036
2037<p>MagickEqualizeImage() equalizes the image histogram.</p>
2038
2039<p>The format of the MagickEqualizeImage method is:</p>
2040
2041<pre class="text">
2042MagickBooleanType MagickEqualizeImage(MagickWand *wand)
2043</pre>
2044
2045<p>A description of each parameter follows:</p>
2046
2047<dd>
2048</dd>
2049
2050<dd> </dd>
2051<dl class="dl-horizontal">
2052<dt>wand</dt>
2053<dd>the magick wand. </dd>
2054
2055<dd> </dd>
2056<dt>channel</dt>
2057<dd>the image channel(s). </dd>
2058
2059<dd>  </dd>
2060</dl>
2061<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickEvaluateImage">MagickEvaluateImage</a></h2>
2062
2063<p>MagickEvaluateImage() applys an arithmetic, relational, or logical expression to an image.  Use these operators to lighten or darken an image, to increase or decrease contrast in an image, or to produce the "negative" of an image.</p>
2064
2065<p>The format of the MagickEvaluateImage method is:</p>
2066
2067<pre class="text">
2068MagickBooleanType MagickEvaluateImage(MagickWand *wand,
2069  const MagickEvaluateOperator operator,const double value)
2070MagickBooleanType MagickEvaluateImages(MagickWand *wand,
2071  const MagickEvaluateOperator operator)
2072</pre>
2073
2074<p>A description of each parameter follows:</p>
2075
2076<dd>
2077</dd>
2078
2079<dd> </dd>
2080<dl class="dl-horizontal">
2081<dt>wand</dt>
2082<dd>the magick wand. </dd>
2083
2084<dd> </dd>
2085<dt>op</dt>
2086<dd>A channel operator. </dd>
2087
2088<dd> </dd>
2089<dt>value</dt>
2090<dd>A value value. </dd>
2091
2092<dd>  </dd>
2093</dl>
2094<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickExportImagePixels">MagickExportImagePixels</a></h2>
2095
2096<p>MagickExportImagePixels() extracts pixel data from an image and returns it to you.  The method returns MagickTrue on success otherwise MagickFalse if an error is encountered.  The data is returned as char, short int, int, ssize_t, float, or double in the order specified by map.</p>
2097
2098<p>Suppose you want to extract the first scanline of a 640x480 image as character data in red-green-blue order:</p>
2099
2100<pre class="text">
2101MagickExportImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels);
2102</pre>
2103
2104<p>The format of the MagickExportImagePixels method is:</p>
2105
2106<pre class="text">
2107MagickBooleanType MagickExportImagePixels(MagickWand *wand,
2108  const ssize_t x,const ssize_t y,const size_t columns,
2109  const size_t rows,const char *map,const StorageType storage,
2110  void *pixels)
2111</pre>
2112
2113<p>A description of each parameter follows:</p>
2114
2115<dd>
2116</dd>
2117
2118<dd> </dd>
2119<dl class="dl-horizontal">
2120<dt>wand</dt>
2121<dd>the magick wand. </dd>
2122
2123<dd> </dd>
2124<dt>x, y, columns, rows</dt>
2125<dd> These values define the perimeter of a region of pixels you want to extract. </dd>
2126
2127<dd> </dd>
2128<dt>map</dt>
2129<dd> This string reflects the expected ordering of the pixel array. It can be any combination or order of R = red, G = green, B = blue, A = alpha (0 is transparent), O = alpha (0 is opaque), C = cyan, Y = yellow, M = magenta, K = black, I = intensity (for grayscale), P = pad. </dd>
2130
2131<dd> </dd>
2132<dt>storage</dt>
2133<dd>Define the data type of the pixels.  Float and double types are expected to be normalized [0..1] otherwise [0..QuantumRange].  Choose from these types: CharPixel, DoublePixel, FloatPixel, IntegerPixel, LongPixel, QuantumPixel, or ShortPixel. </dd>
2134
2135<dd> </dd>
2136<dt>pixels</dt>
2137<dd>This array of values contain the pixel components as defined by map and type.  You must preallocate this array where the expected length varies depending on the values of width, height, map, and type. </dd>
2138
2139<dd>  </dd>
2140</dl>
2141<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickExtentImage">MagickExtentImage</a></h2>
2142
2143<p>MagickExtentImage() extends the image as defined by the geometry, gravity, and wand background color.  Set the (x,y) offset of the geometry to move the original wand relative to the extended wand.</p>
2144
2145<p>The format of the MagickExtentImage method is:</p>
2146
2147<pre class="text">
2148MagickBooleanType MagickExtentImage(MagickWand *wand,const size_t width,
2149  const size_t height,const ssize_t x,const ssize_t y)
2150</pre>
2151
2152<p>A description of each parameter follows:</p>
2153
2154<dd>
2155</dd>
2156
2157<dd> </dd>
2158<dl class="dl-horizontal">
2159<dt>wand</dt>
2160<dd>the magick wand. </dd>
2161
2162<dd> </dd>
2163<dt>width</dt>
2164<dd>the region width. </dd>
2165
2166<dd> </dd>
2167<dt>height</dt>
2168<dd>the region height. </dd>
2169
2170<dd> </dd>
2171<dt>x</dt>
2172<dd>the region x offset. </dd>
2173
2174<dd> </dd>
2175<dt>y</dt>
2176<dd>the region y offset. </dd>
2177
2178<dd>  </dd>
2179</dl>
2180<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickFlipImage">MagickFlipImage</a></h2>
2181
2182<p>MagickFlipImage() creates a vertical mirror image by reflecting the pixels around the central x-axis.</p>
2183
2184<p>The format of the MagickFlipImage method is:</p>
2185
2186<pre class="text">
2187MagickBooleanType MagickFlipImage(MagickWand *wand)
2188</pre>
2189
2190<p>A description of each parameter follows:</p>
2191
2192<dd>
2193</dd>
2194
2195<dd> </dd>
2196<dl class="dl-horizontal">
2197<dt>wand</dt>
2198<dd>the magick wand. </dd>
2199
2200<dd>  </dd>
2201</dl>
2202<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickFloodfillPaintImage">MagickFloodfillPaintImage</a></h2>
2203
2204<p>MagickFloodfillPaintImage() changes the color value of any pixel that matches target and is an immediate neighbor.  If the method FillToBorderMethod is specified, the color value is changed for any neighbor pixel that does not match the bordercolor member of image.</p>
2205
2206<p>The format of the MagickFloodfillPaintImage method is:</p>
2207
2208<pre class="text">
2209MagickBooleanType MagickFloodfillPaintImage(MagickWand *wand,
2210  const PixelWand *fill,const double fuzz,const PixelWand *bordercolor,
2211  const ssize_t x,const ssize_t y,const MagickBooleanType invert)
2212</pre>
2213
2214<p>A description of each parameter follows:</p>
2215
2216<dd>
2217</dd>
2218
2219<dd> </dd>
2220<dl class="dl-horizontal">
2221<dt>wand</dt>
2222<dd>the magick wand. </dd>
2223
2224<dd> </dd>
2225<dt>fill</dt>
2226<dd>the floodfill color pixel wand. </dd>
2227
2228<dd> </dd>
2229<dt>fuzz</dt>
2230<dd>By default target must match a particular pixel color exactly.  However, in many cases two colors may differ by a small amount. The fuzz member of image defines how much tolerance is acceptable to consider two colors as the same.  For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color for the purposes of the floodfill. </dd>
2231
2232<dd> </dd>
2233<dt>bordercolor</dt>
2234<dd>the border color pixel wand. </dd>
2235
2236<dd> </dd>
2237<dt>x,y</dt>
2238<dd>the starting location of the operation. </dd>
2239
2240<dd> </dd>
2241<dt>invert</dt>
2242<dd>paint any pixel that does not match the target color. </dd>
2243
2244<dd>  </dd>
2245</dl>
2246<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickFlopImage">MagickFlopImage</a></h2>
2247
2248<p>MagickFlopImage() creates a horizontal mirror image by reflecting the pixels around the central y-axis.</p>
2249
2250<p>The format of the MagickFlopImage method is:</p>
2251
2252<pre class="text">
2253MagickBooleanType MagickFlopImage(MagickWand *wand)
2254</pre>
2255
2256<p>A description of each parameter follows:</p>
2257
2258<dd>
2259</dd>
2260
2261<dd> </dd>
2262<dl class="dl-horizontal">
2263<dt>wand</dt>
2264<dd>the magick wand. </dd>
2265
2266<dd>  </dd>
2267</dl>
2268<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickForwardFourierTransformImage">MagickForwardFourierTransformImage</a></h2>
2269
2270<p>MagickForwardFourierTransformImage() implements the discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.</p>
2271
2272<p>The format of the MagickForwardFourierTransformImage method is:</p>
2273
2274<pre class="text">
2275MagickBooleanType MagickForwardFourierTransformImage(MagickWand *wand,
2276  const MagickBooleanType magnitude)
2277</pre>
2278
2279<p>A description of each parameter follows:</p>
2280
2281<dd>
2282</dd>
2283
2284<dd> </dd>
2285<dl class="dl-horizontal">
2286<dt>wand</dt>
2287<dd>the magick wand. </dd>
2288
2289<dd> </dd>
2290<dt>magnitude</dt>
2291<dd>if true, return as magnitude / phase pair otherwise a real / imaginary image pair. </dd>
2292
2293<dd>  </dd>
2294</dl>
2295<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickFrameImage">MagickFrameImage</a></h2>
2296
2297<p>MagickFrameImage() adds a simulated three-dimensional border around the image.  The width and height specify the border width of the vertical and horizontal sides of the frame.  The inner and outer bevels indicate the width of the inner and outer shadows of the frame.</p>
2298
2299<p>The format of the MagickFrameImage method is:</p>
2300
2301<pre class="text">
2302MagickBooleanType MagickFrameImage(MagickWand *wand,
2303  const PixelWand *matte_color,const size_t width,
2304  const size_t height,const ssize_t inner_bevel,
2305  const ssize_t outer_bevel,const CompositeOperator compose)
2306</pre>
2307
2308<p>A description of each parameter follows:</p>
2309
2310<dd>
2311</dd>
2312
2313<dd> </dd>
2314<dl class="dl-horizontal">
2315<dt>wand</dt>
2316<dd>the magick wand. </dd>
2317
2318<dd> </dd>
2319<dt>matte_color</dt>
2320<dd>the frame color pixel wand. </dd>
2321
2322<dd> </dd>
2323<dt>width</dt>
2324<dd>the border width. </dd>
2325
2326<dd> </dd>
2327<dt>height</dt>
2328<dd>the border height. </dd>
2329
2330<dd> </dd>
2331<dt>inner_bevel</dt>
2332<dd>the inner bevel width. </dd>
2333
2334<dd> </dd>
2335<dt>outer_bevel</dt>
2336<dd>the outer bevel width. </dd>
2337
2338<dd> </dd>
2339<dt>compose</dt>
2340<dd>the composite operator. </dd>
2341
2342<dd>  </dd>
2343</dl>
2344<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickFunctionImage">MagickFunctionImage</a></h2>
2345
2346<p>MagickFunctionImage() applys an arithmetic, relational, or logical expression to an image.  Use these operators to lighten or darken an image, to increase or decrease contrast in an image, or to produce the "negative" of an image.</p>
2347
2348<p>The format of the MagickFunctionImage method is:</p>
2349
2350<pre class="text">
2351MagickBooleanType MagickFunctionImage(MagickWand *wand,
2352  const MagickFunction function,const size_t number_arguments,
2353  const double *arguments)
2354</pre>
2355
2356<p>A description of each parameter follows:</p>
2357
2358<dd>
2359</dd>
2360
2361<dd> </dd>
2362<dl class="dl-horizontal">
2363<dt>wand</dt>
2364<dd>the magick wand. </dd>
2365
2366<dd> </dd>
2367<dt>function</dt>
2368<dd>the image function. </dd>
2369
2370<dd> </dd>
2371<dt>number_arguments</dt>
2372<dd>the number of function arguments. </dd>
2373
2374<dd> </dd>
2375<dt>arguments</dt>
2376<dd>the function arguments. </dd>
2377
2378<dd>  </dd>
2379</dl>
2380<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickFxImage">MagickFxImage</a></h2>
2381
2382<p>MagickFxImage() evaluate expression for each pixel in the image.</p>
2383
2384<p>The format of the MagickFxImage method is:</p>
2385
2386<pre class="text">
2387MagickWand *MagickFxImage(MagickWand *wand,const char *expression)
2388</pre>
2389
2390<p>A description of each parameter follows:</p>
2391
2392<dd>
2393</dd>
2394
2395<dd> </dd>
2396<dl class="dl-horizontal">
2397<dt>wand</dt>
2398<dd>the magick wand. </dd>
2399
2400<dd> </dd>
2401<dt>expression</dt>
2402<dd>the expression. </dd>
2403
2404<dd>  </dd>
2405</dl>
2406<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGammaImage">MagickGammaImage</a></h2>
2407
2408<p>MagickGammaImage() gamma-corrects an image.  The same image viewed on different devices will have perceptual differences in the way the image's intensities are represented on the screen.  Specify individual gamma levels for the red, green, and blue channels, or adjust all three with the gamma parameter.  Values typically range from 0.8 to 2.3.</p>
2409
2410<p>You can also reduce the influence of a particular channel with a gamma value of 0.</p>
2411
2412<p>The format of the MagickGammaImage method is:</p>
2413
2414<pre class="text">
2415MagickBooleanType MagickGammaImage(MagickWand *wand,const double gamma)
2416</pre>
2417
2418<p>A description of each parameter follows:</p>
2419
2420<dd>
2421</dd>
2422
2423<dd> </dd>
2424<dl class="dl-horizontal">
2425<dt>wand</dt>
2426<dd>the magick wand. </dd>
2427
2428<dd> </dd>
2429<dt>level</dt>
2430<dd>Define the level of gamma correction. </dd>
2431
2432<dd>  </dd>
2433</dl>
2434<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGaussianBlurImage">MagickGaussianBlurImage</a></h2>
2435
2436<p>MagickGaussianBlurImage() blurs an image.  We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, the radius should be larger than sigma.  Use a radius of 0 and MagickGaussianBlurImage() selects a suitable radius for you.</p>
2437
2438<p>The format of the MagickGaussianBlurImage method is:</p>
2439
2440<pre class="text">
2441MagickBooleanType MagickGaussianBlurImage(MagickWand *wand,
2442  const double radius,const double sigma)
2443</pre>
2444
2445<p>A description of each parameter follows:</p>
2446
2447<dd>
2448</dd>
2449
2450<dd> </dd>
2451<dl class="dl-horizontal">
2452<dt>wand</dt>
2453<dd>the magick wand. </dd>
2454
2455<dd> </dd>
2456<dt>radius</dt>
2457<dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
2458
2459<dd> </dd>
2460<dt>sigma</dt>
2461<dd>the standard deviation of the Gaussian, in pixels. </dd>
2462
2463<dd>  </dd>
2464</dl>
2465<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImage">MagickGetImage</a></h2>
2466
2467<p>MagickGetImage() gets the image at the current image index.</p>
2468
2469<p>The format of the MagickGetImage method is:</p>
2470
2471<pre class="text">
2472MagickWand *MagickGetImage(MagickWand *wand)
2473</pre>
2474
2475<p>A description of each parameter follows:</p>
2476
2477<dd>
2478</dd>
2479
2480<dd> </dd>
2481<dl class="dl-horizontal">
2482<dt>wand</dt>
2483<dd>the magick wand. </dd>
2484
2485<dd>  </dd>
2486</dl>
2487<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageAlphaChannel">MagickGetImageAlphaChannel</a></h2>
2488
2489<p>MagickGetImageAlphaChannel() returns MagickFalse if the image alpha channel is not activated.  That is, the image is RGB rather than RGBA or CMYK rather than CMYKA.</p>
2490
2491<p>The format of the MagickGetImageAlphaChannel method is:</p>
2492
2493<pre class="text">
2494MagickBooleanType MagickGetImageAlphaChannel(MagickWand *wand)
2495</pre>
2496
2497<p>A description of each parameter follows:</p>
2498
2499<dd>
2500</dd>
2501
2502<dd> </dd>
2503<dl class="dl-horizontal">
2504<dt>wand</dt>
2505<dd>the magick wand. </dd>
2506
2507<dd>  </dd>
2508</dl>
2509<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageMask">MagickGetImageMask</a></h2>
2510
2511<p>MagickGetImageMask() gets the image clip mask at the current image index.</p>
2512
2513<p>The format of the MagickGetImageMask method is:</p>
2514
2515<pre class="text">
2516MagickWand *MagickGetImageMask(MagickWand *wand)
2517</pre>
2518
2519<p>A description of each parameter follows:</p>
2520
2521<dd>
2522</dd>
2523
2524<dd> </dd>
2525<dl class="dl-horizontal">
2526<dt>wand</dt>
2527<dd>the magick wand. </dd>
2528
2529<dd> </dd>
2530<dt>type</dt>
2531<dd>type of mask, ReadPixelMask or WritePixelMask. </dd>
2532
2533<dd>  </dd>
2534</dl>
2535<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageBackgroundColor">MagickGetImageBackgroundColor</a></h2>
2536
2537<p>MagickGetImageBackgroundColor() returns the image background color.</p>
2538
2539<p>The format of the MagickGetImageBackgroundColor method is:</p>
2540
2541<pre class="text">
2542MagickBooleanType MagickGetImageBackgroundColor(MagickWand *wand,
2543  PixelWand *background_color)
2544</pre>
2545
2546<p>A description of each parameter follows:</p>
2547
2548<dd>
2549</dd>
2550
2551<dd> </dd>
2552<dl class="dl-horizontal">
2553<dt>wand</dt>
2554<dd>the magick wand. </dd>
2555
2556<dd> </dd>
2557<dt>background_color</dt>
2558<dd>Return the background color. </dd>
2559
2560<dd>  </dd>
2561</dl>
2562<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageBlob">MagickGetImageBlob</a></h2>
2563
2564<p>MagickGetImageBlob() implements direct to memory image formats.  It returns the image as a blob (a formatted "file" in memory) and its length, starting from the current position in the image sequence.  Use MagickSetImageFormat() to set the format to write to the blob (GIF, JPEG,  PNG, etc.).</p>
2565
2566<p>Utilize MagickResetIterator() to ensure the write is from the beginning of the image sequence.</p>
2567
2568<p>Use MagickRelinquishMemory() to free the blob when you are done with it.</p>
2569
2570<p>The format of the MagickGetImageBlob method is:</p>
2571
2572<pre class="text">
2573unsigned char *MagickGetImageBlob(MagickWand *wand,size_t *length)
2574</pre>
2575
2576<p>A description of each parameter follows:</p>
2577
2578<dd>
2579</dd>
2580
2581<dd> </dd>
2582<dl class="dl-horizontal">
2583<dt>wand</dt>
2584<dd>the magick wand. </dd>
2585
2586<dd> </dd>
2587<dt>length</dt>
2588<dd>the length of the blob. </dd>
2589
2590<dd>  </dd>
2591</dl>
2592<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImagesBlob">MagickGetImagesBlob</a></h2>
2593
2594<p>MagickGetImagesBlob() implements direct to memory image formats.  It returns the image sequence as a blob and its length.  The format of the image determines the format of the returned blob (GIF, JPEG,  PNG, etc.).  To return a different image format, use MagickSetImageFormat().</p>
2595
2596<p>Note, some image formats do not permit multiple images to the same image stream (e.g. JPEG).  in this instance, just the first image of the sequence is returned as a blob.</p>
2597
2598<p>The format of the MagickGetImagesBlob method is:</p>
2599
2600<pre class="text">
2601unsigned char *MagickGetImagesBlob(MagickWand *wand,size_t *length)
2602</pre>
2603
2604<p>A description of each parameter follows:</p>
2605
2606<dd>
2607</dd>
2608
2609<dd> </dd>
2610<dl class="dl-horizontal">
2611<dt>wand</dt>
2612<dd>the magick wand. </dd>
2613
2614<dd> </dd>
2615<dt>length</dt>
2616<dd>the length of the blob. </dd>
2617
2618<dd>  </dd>
2619</dl>
2620<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageBluePrimary">MagickGetImageBluePrimary</a></h2>
2621
2622<p>MagickGetImageBluePrimary() returns the chromaticy blue primary point for the image.</p>
2623
2624<p>The format of the MagickGetImageBluePrimary method is:</p>
2625
2626<pre class="text">
2627MagickBooleanType MagickGetImageBluePrimary(MagickWand *wand,double *x,
2628  double *y,double *z)
2629</pre>
2630
2631<p>A description of each parameter follows:</p>
2632
2633<dd>
2634</dd>
2635
2636<dd> </dd>
2637<dl class="dl-horizontal">
2638<dt>wand</dt>
2639<dd>the magick wand. </dd>
2640
2641<dd> </dd>
2642<dt>x</dt>
2643<dd>the chromaticity blue primary x-point. </dd>
2644
2645<dd> </dd>
2646<dt>y</dt>
2647<dd>the chromaticity blue primary y-point. </dd>
2648
2649<dd> </dd>
2650<dt>z</dt>
2651<dd>the chromaticity blue primary z-point. </dd>
2652
2653<dd>  </dd>
2654</dl>
2655<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageBorderColor">MagickGetImageBorderColor</a></h2>
2656
2657<p>MagickGetImageBorderColor() returns the image border color.</p>
2658
2659<p>The format of the MagickGetImageBorderColor method is:</p>
2660
2661<pre class="text">
2662MagickBooleanType MagickGetImageBorderColor(MagickWand *wand,
2663  PixelWand *border_color)
2664</pre>
2665
2666<p>A description of each parameter follows:</p>
2667
2668<dd>
2669</dd>
2670
2671<dd> </dd>
2672<dl class="dl-horizontal">
2673<dt>wand</dt>
2674<dd>the magick wand. </dd>
2675
2676<dd> </dd>
2677<dt>border_color</dt>
2678<dd>Return the border color. </dd>
2679
2680<dd>  </dd>
2681</dl>
2682<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageFeatures">MagickGetImageFeatures</a></h2>
2683
2684<p>MagickGetImageFeatures() returns features for each channel in the image in each of four directions (horizontal, vertical, left and right diagonals) for the specified distance.  The features include the angular second moment, contrast, correlation, sum of squares: variance, inverse difference moment, sum average, sum varience, sum entropy, entropy, difference variance, difference entropy, information measures of correlation 1, information measures of correlation 2, and maximum correlation coefficient.  You can access the red channel contrast, for example, like this:</p>
2685
2686<pre class="text">
2687channel_features=MagickGetImageFeatures(wand,1);
2688contrast=channel_features[RedPixelChannel].contrast[0];
2689</pre>
2690
2691<p>Use MagickRelinquishMemory() to free the statistics buffer.</p>
2692
2693<p>The format of the MagickGetImageFeatures method is:</p>
2694
2695<pre class="text">
2696ChannelFeatures *MagickGetImageFeatures(MagickWand *wand,
2697  const size_t distance)
2698</pre>
2699
2700<p>A description of each parameter follows:</p>
2701
2702<dd>
2703</dd>
2704
2705<dd> </dd>
2706<dl class="dl-horizontal">
2707<dt>wand</dt>
2708<dd>the magick wand. </dd>
2709
2710<dd> </dd>
2711<dt>distance</dt>
2712<dd>the distance. </dd>
2713
2714<dd>  </dd>
2715</dl>
2716<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageKurtosis">MagickGetImageKurtosis</a></h2>
2717
2718<p>MagickGetImageKurtosis() gets the kurtosis and skewness of one or more image channels.</p>
2719
2720<p>The format of the MagickGetImageKurtosis method is:</p>
2721
2722<pre class="text">
2723MagickBooleanType MagickGetImageKurtosis(MagickWand *wand,
2724  double *kurtosis,double *skewness)
2725</pre>
2726
2727<p>A description of each parameter follows:</p>
2728
2729<dd>
2730</dd>
2731
2732<dd> </dd>
2733<dl class="dl-horizontal">
2734<dt>wand</dt>
2735<dd>the magick wand. </dd>
2736
2737<dd> </dd>
2738<dt>kurtosis</dt>
2739<dd> The kurtosis for the specified channel(s). </dd>
2740
2741<dd> </dd>
2742<dt>skewness</dt>
2743<dd> The skewness for the specified channel(s). </dd>
2744
2745<dd>  </dd>
2746</dl>
2747<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageMean">MagickGetImageMean</a></h2>
2748
2749<p>MagickGetImageMean() gets the mean and standard deviation of one or more image channels.</p>
2750
2751<p>The format of the MagickGetImageMean method is:</p>
2752
2753<pre class="text">
2754MagickBooleanType MagickGetImageMean(MagickWand *wand,double *mean,
2755  double *standard_deviation)
2756</pre>
2757
2758<p>A description of each parameter follows:</p>
2759
2760<dd>
2761</dd>
2762
2763<dd> </dd>
2764<dl class="dl-horizontal">
2765<dt>wand</dt>
2766<dd>the magick wand. </dd>
2767
2768<dd> </dd>
2769<dt>channel</dt>
2770<dd>the image channel(s). </dd>
2771
2772<dd> </dd>
2773<dt>mean</dt>
2774<dd> The mean pixel value for the specified channel(s). </dd>
2775
2776<dd> </dd>
2777<dt>standard_deviation</dt>
2778<dd> The standard deviation for the specified channel(s). </dd>
2779
2780<dd>  </dd>
2781</dl>
2782<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageRange">MagickGetImageRange</a></h2>
2783
2784<p>MagickGetImageRange() gets the range for one or more image channels.</p>
2785
2786<p>The format of the MagickGetImageRange method is:</p>
2787
2788<pre class="text">
2789MagickBooleanType MagickGetImageRange(MagickWand *wand,double *minima,
2790  double *maxima)
2791</pre>
2792
2793<p>A description of each parameter follows:</p>
2794
2795<dd>
2796</dd>
2797
2798<dd> </dd>
2799<dl class="dl-horizontal">
2800<dt>wand</dt>
2801<dd>the magick wand. </dd>
2802
2803<dd> </dd>
2804<dt>minima</dt>
2805<dd> The minimum pixel value for the specified channel(s). </dd>
2806
2807<dd> </dd>
2808<dt>maxima</dt>
2809<dd> The maximum pixel value for the specified channel(s). </dd>
2810
2811<dd>  </dd>
2812</dl>
2813<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageStatistics">MagickGetImageStatistics</a></h2>
2814
2815<p>MagickGetImageStatistics() returns statistics for each channel in the image.  The statistics include the channel depth, its minima and maxima, the mean, the standard deviation, the kurtosis and the skewness. You can access the red channel mean, for example, like this:</p>
2816
2817<pre class="text">
2818channel_statistics=MagickGetImageStatistics(wand);
2819red_mean=channel_statistics[RedPixelChannel].mean;
2820</pre>
2821
2822<p>Use MagickRelinquishMemory() to free the statistics buffer.</p>
2823
2824<p>The format of the MagickGetImageStatistics method is:</p>
2825
2826<pre class="text">
2827ChannelStatistics *MagickGetImageStatistics(MagickWand *wand)
2828</pre>
2829
2830<p>A description of each parameter follows:</p>
2831
2832<dd>
2833</dd>
2834
2835<dd> </dd>
2836<dl class="dl-horizontal">
2837<dt>wand</dt>
2838<dd>the magick wand. </dd>
2839
2840<dd>  </dd>
2841</dl>
2842<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageColormapColor">MagickGetImageColormapColor</a></h2>
2843
2844<p>MagickGetImageColormapColor() returns the color of the specified colormap index.</p>
2845
2846<p>The format of the MagickGetImageColormapColor method is:</p>
2847
2848<pre class="text">
2849MagickBooleanType MagickGetImageColormapColor(MagickWand *wand,
2850  const size_t index,PixelWand *color)
2851</pre>
2852
2853<p>A description of each parameter follows:</p>
2854
2855<dd>
2856</dd>
2857
2858<dd> </dd>
2859<dl class="dl-horizontal">
2860<dt>wand</dt>
2861<dd>the magick wand. </dd>
2862
2863<dd> </dd>
2864<dt>index</dt>
2865<dd>the offset into the image colormap. </dd>
2866
2867<dd> </dd>
2868<dt>color</dt>
2869<dd>Return the colormap color in this wand. </dd>
2870
2871<dd>  </dd>
2872</dl>
2873<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageColors">MagickGetImageColors</a></h2>
2874
2875<p>MagickGetImageColors() gets the number of unique colors in the image.</p>
2876
2877<p>The format of the MagickGetImageColors method is:</p>
2878
2879<pre class="text">
2880size_t MagickGetImageColors(MagickWand *wand)
2881</pre>
2882
2883<p>A description of each parameter follows:</p>
2884
2885<dd>
2886</dd>
2887
2888<dd> </dd>
2889<dl class="dl-horizontal">
2890<dt>wand</dt>
2891<dd>the magick wand. </dd>
2892
2893<dd>  </dd>
2894</dl>
2895<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageColorspace">MagickGetImageColorspace</a></h2>
2896
2897<p>MagickGetImageColorspace() gets the image colorspace.</p>
2898
2899<p>The format of the MagickGetImageColorspace method is:</p>
2900
2901<pre class="text">
2902ColorspaceType MagickGetImageColorspace(MagickWand *wand)
2903</pre>
2904
2905<p>A description of each parameter follows:</p>
2906
2907<dd>
2908</dd>
2909
2910<dd> </dd>
2911<dl class="dl-horizontal">
2912<dt>wand</dt>
2913<dd>the magick wand. </dd>
2914
2915<dd>  </dd>
2916</dl>
2917<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageCompose">MagickGetImageCompose</a></h2>
2918
2919<p>MagickGetImageCompose() returns the composite operator associated with the image.</p>
2920
2921<p>The format of the MagickGetImageCompose method is:</p>
2922
2923<pre class="text">
2924CompositeOperator MagickGetImageCompose(MagickWand *wand)
2925</pre>
2926
2927<p>A description of each parameter follows:</p>
2928
2929<dd>
2930</dd>
2931
2932<dd> </dd>
2933<dl class="dl-horizontal">
2934<dt>wand</dt>
2935<dd>the magick wand. </dd>
2936
2937<dd>  </dd>
2938</dl>
2939<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageCompression">MagickGetImageCompression</a></h2>
2940
2941<p>MagickGetImageCompression() gets the image compression.</p>
2942
2943<p>The format of the MagickGetImageCompression method is:</p>
2944
2945<pre class="text">
2946CompressionType MagickGetImageCompression(MagickWand *wand)
2947</pre>
2948
2949<p>A description of each parameter follows:</p>
2950
2951<dd>
2952</dd>
2953
2954<dd> </dd>
2955<dl class="dl-horizontal">
2956<dt>wand</dt>
2957<dd>the magick wand. </dd>
2958
2959<dd>  </dd>
2960</dl>
2961<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageCompressionQuality">MagickGetImageCompressionQuality</a></h2>
2962
2963<p>MagickGetImageCompressionQuality() gets the image compression quality.</p>
2964
2965<p>The format of the MagickGetImageCompressionQuality method is:</p>
2966
2967<pre class="text">
2968size_t MagickGetImageCompressionQuality(MagickWand *wand)
2969</pre>
2970
2971<p>A description of each parameter follows:</p>
2972
2973<dd>
2974</dd>
2975
2976<dd> </dd>
2977<dl class="dl-horizontal">
2978<dt>wand</dt>
2979<dd>the magick wand. </dd>
2980
2981<dd>  </dd>
2982</dl>
2983<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageDelay">MagickGetImageDelay</a></h2>
2984
2985<p>MagickGetImageDelay() gets the image delay.</p>
2986
2987<p>The format of the MagickGetImageDelay method is:</p>
2988
2989<pre class="text">
2990size_t MagickGetImageDelay(MagickWand *wand)
2991</pre>
2992
2993<p>A description of each parameter follows:</p>
2994
2995<dd>
2996</dd>
2997
2998<dd> </dd>
2999<dl class="dl-horizontal">
3000<dt>wand</dt>
3001<dd>the magick wand. </dd>
3002
3003<dd>  </dd>
3004</dl>
3005<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageDepth">MagickGetImageDepth</a></h2>
3006
3007<p>MagickGetImageDepth() gets the image depth.</p>
3008
3009<p>The format of the MagickGetImageDepth method is:</p>
3010
3011<pre class="text">
3012size_t MagickGetImageDepth(MagickWand *wand)
3013</pre>
3014
3015<p>A description of each parameter follows:</p>
3016
3017<dd>
3018</dd>
3019
3020<dd> </dd>
3021<dl class="dl-horizontal">
3022<dt>wand</dt>
3023<dd>the magick wand. </dd>
3024
3025<dd>  </dd>
3026</dl>
3027<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageDispose">MagickGetImageDispose</a></h2>
3028
3029<p>MagickGetImageDispose() gets the image disposal method.</p>
3030
3031<p>The format of the MagickGetImageDispose method is:</p>
3032
3033<pre class="text">
3034DisposeType MagickGetImageDispose(MagickWand *wand)
3035</pre>
3036
3037<p>A description of each parameter follows:</p>
3038
3039<dd>
3040</dd>
3041
3042<dd> </dd>
3043<dl class="dl-horizontal">
3044<dt>wand</dt>
3045<dd>the magick wand. </dd>
3046
3047<dd>  </dd>
3048</dl>
3049<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageDistortion">MagickGetImageDistortion</a></h2>
3050
3051<p>MagickGetImageDistortion() compares an image to a reconstructed image and returns the specified distortion metric.</p>
3052
3053<p>The format of the MagickGetImageDistortion method is:</p>
3054
3055<pre class="text">
3056MagickBooleanType MagickGetImageDistortion(MagickWand *wand,
3057  const MagickWand *reference,const MetricType metric,
3058  double *distortion)
3059</pre>
3060
3061<p>A description of each parameter follows:</p>
3062
3063<dd>
3064</dd>
3065
3066<dd> </dd>
3067<dl class="dl-horizontal">
3068<dt>wand</dt>
3069<dd>the magick wand. </dd>
3070
3071<dd> </dd>
3072<dt>reference</dt>
3073<dd>the reference wand. </dd>
3074
3075<dd> </dd>
3076<dt>metric</dt>
3077<dd>the metric. </dd>
3078
3079<dd> </dd>
3080<dt>distortion</dt>
3081<dd>the computed distortion between the images. </dd>
3082
3083<dd>  </dd>
3084</dl>
3085<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageDistortions">MagickGetImageDistortions</a></h2>
3086
3087<p>MagickGetImageDistortions() compares one or more pixel channels of an image to a reconstructed image and returns the specified distortion metrics.</p>
3088
3089<p>Use MagickRelinquishMemory() to free the metrics when you are done with them.</p>
3090
3091<p>The format of the MagickGetImageDistortion method is:</p>
3092
3093<pre class="text">
3094double *MagickGetImageDistortion(MagickWand *wand,
3095  const MagickWand *reference,const MetricType metric)
3096</pre>
3097
3098<p>A description of each parameter follows:</p>
3099
3100<dd>
3101</dd>
3102
3103<dd> </dd>
3104<dl class="dl-horizontal">
3105<dt>wand</dt>
3106<dd>the magick wand. </dd>
3107
3108<dd> </dd>
3109<dt>reference</dt>
3110<dd>the reference wand. </dd>
3111
3112<dd> </dd>
3113<dt>metric</dt>
3114<dd>the metric. </dd>
3115
3116<dd>  </dd>
3117</dl>
3118<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageEndian">MagickGetImageEndian</a></h2>
3119
3120<p>MagickGetImageEndian() gets the image endian.</p>
3121
3122<p>The format of the MagickGetImageEndian method is:</p>
3123
3124<pre class="text">
3125EndianType MagickGetImageEndian(MagickWand *wand)
3126</pre>
3127
3128<p>A description of each parameter follows:</p>
3129
3130<dd>
3131</dd>
3132
3133<dd> </dd>
3134<dl class="dl-horizontal">
3135<dt>wand</dt>
3136<dd>the magick wand. </dd>
3137
3138<dd>  </dd>
3139</dl>
3140<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageFilename">MagickGetImageFilename</a></h2>
3141
3142<p>MagickGetImageFilename() returns the filename of a particular image in a sequence.</p>
3143
3144<p>The format of the MagickGetImageFilename method is:</p>
3145
3146<pre class="text">
3147char *MagickGetImageFilename(MagickWand *wand)
3148</pre>
3149
3150<p>A description of each parameter follows:</p>
3151
3152<dd>
3153</dd>
3154
3155<dd> </dd>
3156<dl class="dl-horizontal">
3157<dt>wand</dt>
3158<dd>the magick wand. </dd>
3159
3160<dd>  </dd>
3161</dl>
3162<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageFormat">MagickGetImageFormat</a></h2>
3163
3164<p>MagickGetImageFormat() returns the format of a particular image in a sequence.</p>
3165
3166<p>The format of the MagickGetImageFormat method is:</p>
3167
3168<pre class="text">
3169char *MagickGetImageFormat(MagickWand *wand)
3170</pre>
3171
3172<p>A description of each parameter follows:</p>
3173
3174<dd>
3175</dd>
3176
3177<dd> </dd>
3178<dl class="dl-horizontal">
3179<dt>wand</dt>
3180<dd>the magick wand. </dd>
3181
3182<dd>  </dd>
3183</dl>
3184<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageFuzz">MagickGetImageFuzz</a></h2>
3185
3186<p>MagickGetImageFuzz() gets the image fuzz.</p>
3187
3188<p>The format of the MagickGetImageFuzz method is:</p>
3189
3190<pre class="text">
3191double MagickGetImageFuzz(MagickWand *wand)
3192</pre>
3193
3194<p>A description of each parameter follows:</p>
3195
3196<dd>
3197</dd>
3198
3199<dd> </dd>
3200<dl class="dl-horizontal">
3201<dt>wand</dt>
3202<dd>the magick wand. </dd>
3203
3204<dd>  </dd>
3205</dl>
3206<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageGamma">MagickGetImageGamma</a></h2>
3207
3208<p>MagickGetImageGamma() gets the image gamma.</p>
3209
3210<p>The format of the MagickGetImageGamma method is:</p>
3211
3212<pre class="text">
3213double MagickGetImageGamma(MagickWand *wand)
3214</pre>
3215
3216<p>A description of each parameter follows:</p>
3217
3218<dd>
3219</dd>
3220
3221<dd> </dd>
3222<dl class="dl-horizontal">
3223<dt>wand</dt>
3224<dd>the magick wand. </dd>
3225
3226<dd>  </dd>
3227</dl>
3228<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageGravity">MagickGetImageGravity</a></h2>
3229
3230<p>MagickGetImageGravity() gets the image gravity.</p>
3231
3232<p>The format of the MagickGetImageGravity method is:</p>
3233
3234<pre class="text">
3235GravityType MagickGetImageGravity(MagickWand *wand)
3236</pre>
3237
3238<p>A description of each parameter follows:</p>
3239
3240<dd>
3241</dd>
3242
3243<dd> </dd>
3244<dl class="dl-horizontal">
3245<dt>wand</dt>
3246<dd>the magick wand. </dd>
3247
3248<dd>  </dd>
3249</dl>
3250<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageGreenPrimary">MagickGetImageGreenPrimary</a></h2>
3251
3252<p>MagickGetImageGreenPrimary() returns the chromaticy green primary point.</p>
3253
3254<p>The format of the MagickGetImageGreenPrimary method is:</p>
3255
3256<pre class="text">
3257MagickBooleanType MagickGetImageGreenPrimary(MagickWand *wand,double *x,
3258  double *y,double *z)
3259</pre>
3260
3261<p>A description of each parameter follows:</p>
3262
3263<dd>
3264</dd>
3265
3266<dd> </dd>
3267<dl class="dl-horizontal">
3268<dt>wand</dt>
3269<dd>the magick wand. </dd>
3270
3271<dd> </dd>
3272<dt>x</dt>
3273<dd>the chromaticity green primary x-point. </dd>
3274
3275<dd> </dd>
3276<dt>y</dt>
3277<dd>the chromaticity green primary y-point. </dd>
3278
3279<dd> </dd>
3280<dt>z</dt>
3281<dd>the chromaticity green primary z-point. </dd>
3282
3283<dd>  </dd>
3284</dl>
3285<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageHeight">MagickGetImageHeight</a></h2>
3286
3287<p>MagickGetImageHeight() returns the image height.</p>
3288
3289<p>The format of the MagickGetImageHeight method is:</p>
3290
3291<pre class="text">
3292size_t MagickGetImageHeight(MagickWand *wand)
3293</pre>
3294
3295<p>A description of each parameter follows:</p>
3296
3297<dd>
3298</dd>
3299
3300<dd> </dd>
3301<dl class="dl-horizontal">
3302<dt>wand</dt>
3303<dd>the magick wand. </dd>
3304
3305<dd>  </dd>
3306</dl>
3307<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageHistogram">MagickGetImageHistogram</a></h2>
3308
3309<p>MagickGetImageHistogram() returns the image histogram as an array of PixelWand wands.</p>
3310
3311<p>The format of the MagickGetImageHistogram method is:</p>
3312
3313<pre class="text">
3314PixelWand **MagickGetImageHistogram(MagickWand *wand,
3315  size_t *number_colors)
3316</pre>
3317
3318<p>A description of each parameter follows:</p>
3319
3320<dd>
3321</dd>
3322
3323<dd> </dd>
3324<dl class="dl-horizontal">
3325<dt>wand</dt>
3326<dd>the magick wand. </dd>
3327
3328<dd> </dd>
3329<dt>number_colors</dt>
3330<dd>the number of unique colors in the image and the number of pixel wands returned. </dd>
3331
3332<dd>  </dd>
3333</dl>
3334<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageInterlaceScheme">MagickGetImageInterlaceScheme</a></h2>
3335
3336<p>MagickGetImageInterlaceScheme() gets the image interlace scheme.</p>
3337
3338<p>The format of the MagickGetImageInterlaceScheme method is:</p>
3339
3340<pre class="text">
3341InterlaceType MagickGetImageInterlaceScheme(MagickWand *wand)
3342</pre>
3343
3344<p>A description of each parameter follows:</p>
3345
3346<dd>
3347</dd>
3348
3349<dd> </dd>
3350<dl class="dl-horizontal">
3351<dt>wand</dt>
3352<dd>the magick wand. </dd>
3353
3354<dd>  </dd>
3355</dl>
3356<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageInterpolateMethod">MagickGetImageInterpolateMethod</a></h2>
3357
3358<p>MagickGetImageInterpolateMethod() returns the interpolation method for the sepcified image.</p>
3359
3360<p>The format of the MagickGetImageInterpolateMethod method is:</p>
3361
3362<pre class="text">
3363PixelInterpolateMethod MagickGetImageInterpolateMethod(MagickWand *wand)
3364</pre>
3365
3366<p>A description of each parameter follows:</p>
3367
3368<dd>
3369</dd>
3370
3371<dd> </dd>
3372<dl class="dl-horizontal">
3373<dt>wand</dt>
3374<dd>the magick wand. </dd>
3375
3376<dd>  </dd>
3377</dl>
3378<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageIterations">MagickGetImageIterations</a></h2>
3379
3380<p>MagickGetImageIterations() gets the image iterations.</p>
3381
3382<p>The format of the MagickGetImageIterations method is:</p>
3383
3384<pre class="text">
3385size_t MagickGetImageIterations(MagickWand *wand)
3386</pre>
3387
3388<p>A description of each parameter follows:</p>
3389
3390<dd>
3391</dd>
3392
3393<dd> </dd>
3394<dl class="dl-horizontal">
3395<dt>wand</dt>
3396<dd>the magick wand. </dd>
3397
3398<dd>  </dd>
3399</dl>
3400<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageLength">MagickGetImageLength</a></h2>
3401
3402<p>MagickGetImageLength() returns the image length in bytes.</p>
3403
3404<p>The format of the MagickGetImageLength method is:</p>
3405
3406<pre class="text">
3407MagickBooleanType MagickGetImageLength(MagickWand *wand,
3408  MagickSizeType *length)
3409</pre>
3410
3411<p>A description of each parameter follows:</p>
3412
3413<dd>
3414</dd>
3415
3416<dd> </dd>
3417<dl class="dl-horizontal">
3418<dt>wand</dt>
3419<dd>the magick wand. </dd>
3420
3421<dd> </dd>
3422<dt>length</dt>
3423<dd>the image length in bytes. </dd>
3424
3425<dd>  </dd>
3426</dl>
3427<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageMatteColor">MagickGetImageMatteColor</a></h2>
3428
3429<p>MagickGetImageMatteColor() returns the image matte color.</p>
3430
3431<p>The format of the MagickGetImageMatteColor method is:</p>
3432
3433<pre class="text">
3434MagickBooleanType MagickGetImageMatteColor(MagickWand *wand,
3435  PixelWand *matte_color)
3436</pre>
3437
3438<p>A description of each parameter follows:</p>
3439
3440<dd>
3441</dd>
3442
3443<dd> </dd>
3444<dl class="dl-horizontal">
3445<dt>wand</dt>
3446<dd>the magick wand. </dd>
3447
3448<dd> </dd>
3449<dt>matte_color</dt>
3450<dd>return the alpha color. </dd>
3451
3452<dd>  </dd>
3453</dl>
3454<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageOrientation">MagickGetImageOrientation</a></h2>
3455
3456<p>MagickGetImageOrientation() returns the image orientation.</p>
3457
3458<p>The format of the MagickGetImageOrientation method is:</p>
3459
3460<pre class="text">
3461OrientationType MagickGetImageOrientation(MagickWand *wand)
3462</pre>
3463
3464<p>A description of each parameter follows:</p>
3465
3466<dd>
3467</dd>
3468
3469<dd> </dd>
3470<dl class="dl-horizontal">
3471<dt>wand</dt>
3472<dd>the magick wand. </dd>
3473
3474<dd>  </dd>
3475</dl>
3476<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImagePage">MagickGetImagePage</a></h2>
3477
3478<p>MagickGetImagePage() returns the page geometry associated with the image.</p>
3479
3480<p>The format of the MagickGetImagePage method is:</p>
3481
3482<pre class="text">
3483MagickBooleanType MagickGetImagePage(MagickWand *wand,
3484  size_t *width,size_t *height,ssize_t *x,ssize_t *y)
3485</pre>
3486
3487<p>A description of each parameter follows:</p>
3488
3489<dd>
3490</dd>
3491
3492<dd> </dd>
3493<dl class="dl-horizontal">
3494<dt>wand</dt>
3495<dd>the magick wand. </dd>
3496
3497<dd> </dd>
3498<dt>width</dt>
3499<dd>the page width. </dd>
3500
3501<dd> </dd>
3502<dt>height</dt>
3503<dd>the page height. </dd>
3504
3505<dd> </dd>
3506<dt>x</dt>
3507<dd>the page x-offset. </dd>
3508
3509<dd> </dd>
3510<dt>y</dt>
3511<dd>the page y-offset. </dd>
3512
3513<dd>  </dd>
3514</dl>
3515<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImagePixelColor">MagickGetImagePixelColor</a></h2>
3516
3517<p>MagickGetImagePixelColor() gets the color of the specified pixel.</p>
3518
3519<p>The format of the MagickGetImagePixelColor method is:</p>
3520
3521<pre class="text">
3522MagickBooleanType MagickGetImagePixelColor(MagickWand *wand,
3523  const ssize_t x,const ssize_t y,PixelWand *color)
3524</pre>
3525
3526<p>A description of each parameter follows:</p>
3527
3528<dd>
3529</dd>
3530
3531<dd> </dd>
3532<dl class="dl-horizontal">
3533<dt>wand</dt>
3534<dd>the magick wand. </dd>
3535
3536<dd> </dd>
3537<dt>x,y</dt>
3538<dd>the pixel offset into the image. </dd>
3539
3540<dd> </dd>
3541<dt>color</dt>
3542<dd>Return the colormap color in this wand. </dd>
3543
3544<dd>  </dd>
3545</dl>
3546<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageRedPrimary">MagickGetImageRedPrimary</a></h2>
3547
3548<p>MagickGetImageRedPrimary() returns the chromaticy red primary point.</p>
3549
3550<p>The format of the MagickGetImageRedPrimary method is:</p>
3551
3552<pre class="text">
3553MagickBooleanType MagickGetImageRedPrimary(MagickWand *wand,double *x,
3554  double *y, double *z)
3555</pre>
3556
3557<p>A description of each parameter follows:</p>
3558
3559<dd>
3560</dd>
3561
3562<dd> </dd>
3563<dl class="dl-horizontal">
3564<dt>wand</dt>
3565<dd>the magick wand. </dd>
3566
3567<dd> </dd>
3568<dt>x</dt>
3569<dd>the chromaticity red primary x-point. </dd>
3570
3571<dd> </dd>
3572<dt>y</dt>
3573<dd>the chromaticity red primary y-point. </dd>
3574
3575<dd> </dd>
3576<dt>z</dt>
3577<dd>the chromaticity red primary z-point. </dd>
3578
3579<dd>  </dd>
3580</dl>
3581<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageRegion">MagickGetImageRegion</a></h2>
3582
3583<p>MagickGetImageRegion() extracts a region of the image and returns it as a a new wand.</p>
3584
3585<p>The format of the MagickGetImageRegion method is:</p>
3586
3587<pre class="text">
3588MagickWand *MagickGetImageRegion(MagickWand *wand,
3589  const size_t width,const size_t height,const ssize_t x,
3590  const ssize_t y)
3591</pre>
3592
3593<p>A description of each parameter follows:</p>
3594
3595<dd>
3596</dd>
3597
3598<dd> </dd>
3599<dl class="dl-horizontal">
3600<dt>wand</dt>
3601<dd>the magick wand. </dd>
3602
3603<dd> </dd>
3604<dt>width</dt>
3605<dd>the region width. </dd>
3606
3607<dd> </dd>
3608<dt>height</dt>
3609<dd>the region height. </dd>
3610
3611<dd> </dd>
3612<dt>x</dt>
3613<dd>the region x offset. </dd>
3614
3615<dd> </dd>
3616<dt>y</dt>
3617<dd>the region y offset. </dd>
3618
3619<dd>  </dd>
3620</dl>
3621<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageRenderingIntent">MagickGetImageRenderingIntent</a></h2>
3622
3623<p>MagickGetImageRenderingIntent() gets the image rendering intent.</p>
3624
3625<p>The format of the MagickGetImageRenderingIntent method is:</p>
3626
3627<pre class="text">
3628RenderingIntent MagickGetImageRenderingIntent(MagickWand *wand)
3629</pre>
3630
3631<p>A description of each parameter follows:</p>
3632
3633<dd>
3634</dd>
3635
3636<dd> </dd>
3637<dl class="dl-horizontal">
3638<dt>wand</dt>
3639<dd>the magick wand. </dd>
3640
3641<dd>  </dd>
3642</dl>
3643<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageResolution">MagickGetImageResolution</a></h2>
3644
3645<p>MagickGetImageResolution() gets the image X and Y resolution.</p>
3646
3647<p>The format of the MagickGetImageResolution method is:</p>
3648
3649<pre class="text">
3650MagickBooleanType MagickGetImageResolution(MagickWand *wand,double *x,
3651  double *y)
3652</pre>
3653
3654<p>A description of each parameter follows:</p>
3655
3656<dd>
3657</dd>
3658
3659<dd> </dd>
3660<dl class="dl-horizontal">
3661<dt>wand</dt>
3662<dd>the magick wand. </dd>
3663
3664<dd> </dd>
3665<dt>x</dt>
3666<dd>the image x-resolution. </dd>
3667
3668<dd> </dd>
3669<dt>y</dt>
3670<dd>the image y-resolution. </dd>
3671
3672<dd>  </dd>
3673</dl>
3674<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageScene">MagickGetImageScene</a></h2>
3675
3676<p>MagickGetImageScene() gets the image scene.</p>
3677
3678<p>The format of the MagickGetImageScene method is:</p>
3679
3680<pre class="text">
3681size_t MagickGetImageScene(MagickWand *wand)
3682</pre>
3683
3684<p>A description of each parameter follows:</p>
3685
3686<dd>
3687</dd>
3688
3689<dd> </dd>
3690<dl class="dl-horizontal">
3691<dt>wand</dt>
3692<dd>the magick wand. </dd>
3693
3694<dd>  </dd>
3695</dl>
3696<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageSignature">MagickGetImageSignature</a></h2>
3697
3698<p>MagickGetImageSignature() generates an SHA-256 message digest for the image pixel stream.</p>
3699
3700<p>The format of the MagickGetImageSignature method is:</p>
3701
3702<pre class="text">
3703char *MagickGetImageSignature(MagickWand *wand)
3704</pre>
3705
3706<p>A description of each parameter follows:</p>
3707
3708<dd>
3709</dd>
3710
3711<dd> </dd>
3712<dl class="dl-horizontal">
3713<dt>wand</dt>
3714<dd>the magick wand. </dd>
3715
3716<dd>  </dd>
3717</dl>
3718<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageTicksPerSecond">MagickGetImageTicksPerSecond</a></h2>
3719
3720<p>MagickGetImageTicksPerSecond() gets the image ticks-per-second.</p>
3721
3722<p>The format of the MagickGetImageTicksPerSecond method is:</p>
3723
3724<pre class="text">
3725size_t MagickGetImageTicksPerSecond(MagickWand *wand)
3726</pre>
3727
3728<p>A description of each parameter follows:</p>
3729
3730<dd>
3731</dd>
3732
3733<dd> </dd>
3734<dl class="dl-horizontal">
3735<dt>wand</dt>
3736<dd>the magick wand. </dd>
3737
3738<dd>  </dd>
3739</dl>
3740<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageType">MagickGetImageType</a></h2>
3741
3742<p>MagickGetImageType() gets the potential image type:</p>
3743
3744<p>Bilevel        Grayscale       GrayscaleMatte Palette        PaletteMatte    TrueColor TrueColorMatte ColorSeparation ColorSeparationMatte</p>
3745
3746<p>The format of the MagickGetImageType method is:</p>
3747
3748<pre class="text">
3749ImageType MagickGetImageType(MagickWand *wand)
3750</pre>
3751
3752<p>A description of each parameter follows:</p>
3753
3754<dd>
3755</dd>
3756
3757<dd> </dd>
3758<dl class="dl-horizontal">
3759<dt>wand</dt>
3760<dd>the magick wand. </dd>
3761
3762<dd>  </dd>
3763</dl>
3764<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageUnits">MagickGetImageUnits</a></h2>
3765
3766<p>MagickGetImageUnits() gets the image units of resolution.</p>
3767
3768<p>The format of the MagickGetImageUnits method is:</p>
3769
3770<pre class="text">
3771ResolutionType MagickGetImageUnits(MagickWand *wand)
3772</pre>
3773
3774<p>A description of each parameter follows:</p>
3775
3776<dd>
3777</dd>
3778
3779<dd> </dd>
3780<dl class="dl-horizontal">
3781<dt>wand</dt>
3782<dd>the magick wand. </dd>
3783
3784<dd>  </dd>
3785</dl>
3786<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageVirtualPixelMethod">MagickGetImageVirtualPixelMethod</a></h2>
3787
3788<p>MagickGetImageVirtualPixelMethod() returns the virtual pixel method for the sepcified image.</p>
3789
3790<p>The format of the MagickGetImageVirtualPixelMethod method is:</p>
3791
3792<pre class="text">
3793VirtualPixelMethod MagickGetImageVirtualPixelMethod(MagickWand *wand)
3794</pre>
3795
3796<p>A description of each parameter follows:</p>
3797
3798<dd>
3799</dd>
3800
3801<dd> </dd>
3802<dl class="dl-horizontal">
3803<dt>wand</dt>
3804<dd>the magick wand. </dd>
3805
3806<dd>  </dd>
3807</dl>
3808<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageWhitePoint">MagickGetImageWhitePoint</a></h2>
3809
3810<p>MagickGetImageWhitePoint() returns the chromaticy white point.</p>
3811
3812<p>The format of the MagickGetImageWhitePoint method is:</p>
3813
3814<pre class="text">
3815MagickBooleanType MagickGetImageWhitePoint(MagickWand *wand,double *x,
3816  double *y,double *z)
3817</pre>
3818
3819<p>A description of each parameter follows:</p>
3820
3821<dd>
3822</dd>
3823
3824<dd> </dd>
3825<dl class="dl-horizontal">
3826<dt>wand</dt>
3827<dd>the magick wand. </dd>
3828
3829<dd> </dd>
3830<dt>x</dt>
3831<dd>the chromaticity white x-point. </dd>
3832
3833<dd> </dd>
3834<dt>y</dt>
3835<dd>the chromaticity white y-point. </dd>
3836
3837<dd> </dd>
3838<dt>z</dt>
3839<dd>the chromaticity white z-point. </dd>
3840
3841<dd>  </dd>
3842</dl>
3843<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageWidth">MagickGetImageWidth</a></h2>
3844
3845<p>MagickGetImageWidth() returns the image width.</p>
3846
3847<p>The format of the MagickGetImageWidth method is:</p>
3848
3849<pre class="text">
3850size_t MagickGetImageWidth(MagickWand *wand)
3851</pre>
3852
3853<p>A description of each parameter follows:</p>
3854
3855<dd>
3856</dd>
3857
3858<dd> </dd>
3859<dl class="dl-horizontal">
3860<dt>wand</dt>
3861<dd>the magick wand. </dd>
3862
3863<dd>  </dd>
3864</dl>
3865<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetNumberImages">MagickGetNumberImages</a></h2>
3866
3867<p>MagickGetNumberImages() returns the number of images associated with a magick wand.</p>
3868
3869<p>The format of the MagickGetNumberImages method is:</p>
3870
3871<pre class="text">
3872size_t MagickGetNumberImages(MagickWand *wand)
3873</pre>
3874
3875<p>A description of each parameter follows:</p>
3876
3877<dd>
3878</dd>
3879
3880<dd> </dd>
3881<dl class="dl-horizontal">
3882<dt>wand</dt>
3883<dd>the magick wand. </dd>
3884
3885<dd>  </dd>
3886</dl>
3887<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageTotalInkDensity">MagickGetImageTotalInkDensity</a></h2>
3888
3889<p>MagickGetImageTotalInkDensity() gets the image total ink density.</p>
3890
3891<p>The format of the MagickGetImageTotalInkDensity method is:</p>
3892
3893<pre class="text">
3894double MagickGetImageTotalInkDensity(MagickWand *wand)
3895</pre>
3896
3897<p>A description of each parameter follows:</p>
3898
3899<dd>
3900</dd>
3901
3902<dd> </dd>
3903<dl class="dl-horizontal">
3904<dt>wand</dt>
3905<dd>the magick wand. </dd>
3906
3907<dd>  </dd>
3908</dl>
3909<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickHaldClutImage">MagickHaldClutImage</a></h2>
3910
3911<p>MagickHaldClutImage() replaces colors in the image from a Hald color lookup table.   A Hald color lookup table is a 3-dimensional color cube mapped to 2 dimensions.  Create it with the HALD coder.  You can apply any color transformation to the Hald image and then use this method to apply the transform to the image.</p>
3912
3913<p>The format of the MagickHaldClutImage method is:</p>
3914
3915<pre class="text">
3916MagickBooleanType MagickHaldClutImage(MagickWand *wand,
3917  const MagickWand *hald_wand)
3918</pre>
3919
3920<p>A description of each parameter follows:</p>
3921
3922<dd>
3923</dd>
3924
3925<dd> </dd>
3926<dl class="dl-horizontal">
3927<dt>wand</dt>
3928<dd>the magick wand. </dd>
3929
3930<dd> </dd>
3931<dt>hald_image</dt>
3932<dd>the hald CLUT image. </dd>
3933
3934<dd>  </dd>
3935</dl>
3936<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickHasNextImage">MagickHasNextImage</a></h2>
3937
3938<p>MagickHasNextImage() returns MagickTrue if the wand has more images when traversing the list in the forward direction</p>
3939
3940<p>The format of the MagickHasNextImage method is:</p>
3941
3942<pre class="text">
3943MagickBooleanType MagickHasNextImage(MagickWand *wand)
3944</pre>
3945
3946<p>A description of each parameter follows:</p>
3947
3948<dd>
3949</dd>
3950
3951<dd> </dd>
3952<dl class="dl-horizontal">
3953<dt>wand</dt>
3954<dd>the magick wand. </dd>
3955
3956<dd>  </dd>
3957</dl>
3958<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickHasPreviousImage">MagickHasPreviousImage</a></h2>
3959
3960<p>MagickHasPreviousImage() returns MagickTrue if the wand has more images when traversing the list in the reverse direction</p>
3961
3962<p>The format of the MagickHasPreviousImage method is:</p>
3963
3964<pre class="text">
3965MagickBooleanType MagickHasPreviousImage(MagickWand *wand)
3966</pre>
3967
3968<p>A description of each parameter follows:</p>
3969
3970<dd>
3971</dd>
3972
3973<dd> </dd>
3974<dl class="dl-horizontal">
3975<dt>wand</dt>
3976<dd>the magick wand. </dd>
3977
3978<dd>  </dd>
3979</dl>
3980<h2><a href="../../api/MagickWand/magick-image_8c.html" id="Use_MagickHoughLineImage">Use MagickHoughLineImage</a></h2>
3981
3982<p>Use MagickHoughLineImage() in conjunction with any binary edge extracted image (we recommand Canny) to identify lines in the image.  The algorithm accumulates counts for every white pixel for every possible orientation (for angles from 0 to 179 in 1 degree increments) and distance from the center of the image to the corner (in 1 px increments) and stores the counts in an accumulator matrix of angle vs distance. The size of the accumulator is 180x(diagonal/2). Next it searches this space for peaks in counts and converts the locations of the peaks to slope and intercept in the normal x,y input image space. Use the slope/intercepts to find the endpoints clipped to the bounds of the image. The lines are then drawn. The counts are a measure of the length of the lines.</p>
3983
3984<p>The format of the MagickHoughLineImage method is:</p>
3985
3986<pre class="text">
3987MagickBooleanType MagickHoughLineImage(MagickWand *wand,
3988  const size_t width,const size_t height,const size_t threshold)
3989</pre>
3990
3991<p>A description of each parameter follows:</p>
3992
3993<dd>
3994</dd>
3995
3996<dd> </dd>
3997<dl class="dl-horizontal">
3998<dt>wand</dt>
3999<dd>the magick wand. </dd>
4000
4001<dd> </dd>
4002<dt>width, height</dt>
4003<dd>find line pairs as local maxima in this neighborhood. </dd>
4004
4005<dd> </dd>
4006<dt>threshold</dt>
4007<dd>the line count threshold. </dd>
4008
4009<dd>  </dd>
4010</dl>
4011<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickIdentifyImage">MagickIdentifyImage</a></h2>
4012
4013<p>MagickIdentifyImage() identifies an image by printing its attributes to the file.  Attributes include the image width, height, size, and others.</p>
4014
4015<p>The format of the MagickIdentifyImage method is:</p>
4016
4017<pre class="text">
4018const char *MagickIdentifyImage(MagickWand *wand)
4019</pre>
4020
4021<p>A description of each parameter follows:</p>
4022
4023<dd>
4024</dd>
4025
4026<dd> </dd>
4027<dl class="dl-horizontal">
4028<dt>wand</dt>
4029<dd>the magick wand. </dd>
4030
4031<dd>  </dd>
4032</dl>
4033<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickIdentifyImageType">MagickIdentifyImageType</a></h2>
4034
4035<p>MagickIdentifyImageType() gets the potential image type:</p>
4036
4037<p>Bilevel        Grayscale       GrayscaleMatte Palette        PaletteMatte    TrueColor TrueColorMatte ColorSeparation ColorSeparationMatte</p>
4038
4039<p>To ensure the image type matches its potential, use MagickSetImageType():</p>
4040
4041<pre class="text">
4042    (void) MagickSetImageType(wand,MagickIdentifyImageType(wand));
4043</pre>
4044
4045<p>The format of the MagickIdentifyImageType method is:</p>
4046
4047<pre class="text">
4048ImageType MagickIdentifyImageType(MagickWand *wand)
4049</pre>
4050
4051<p>A description of each parameter follows:</p>
4052
4053<dd>
4054</dd>
4055
4056<dd> </dd>
4057<dl class="dl-horizontal">
4058<dt>wand</dt>
4059<dd>the magick wand. </dd>
4060
4061<dd>  </dd>
4062</dl>
4063<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickImplodeImage">MagickImplodeImage</a></h2>
4064
4065<p>MagickImplodeImage() creates a new image that is a copy of an existing one with the image pixels "implode" by the specified percentage.  It allocates the memory necessary for the new Image structure and returns a pointer to the new image.</p>
4066
4067<p>The format of the MagickImplodeImage method is:</p>
4068
4069<pre class="text">
4070MagickBooleanType MagickImplodeImage(MagickWand *wand,
4071  const double radius,const PixelInterpolateMethod method)
4072</pre>
4073
4074<p>A description of each parameter follows:</p>
4075
4076<dd>
4077</dd>
4078
4079<dd> </dd>
4080<dl class="dl-horizontal">
4081<dt>wand</dt>
4082<dd>the magick wand. </dd>
4083
4084<dd> </dd>
4085<dt>amount</dt>
4086<dd>Define the extent of the implosion. </dd>
4087
4088<dd> </dd>
4089<dt>method</dt>
4090<dd>the pixel interpolation method. </dd>
4091
4092<dd>  </dd>
4093</dl>
4094<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickImportImagePixels">MagickImportImagePixels</a></h2>
4095
4096<p>MagickImportImagePixels() accepts pixel datand stores it in the image at the location you specify.  The method returns MagickTrue on success otherwise MagickFalse if an error is encountered.  The pixel data can be either char, short int, int, ssize_t, float, or double in the order specified by map.</p>
4097
4098<p>Suppose your want to upload the first scanline of a 640x480 image from character data in red-green-blue order:</p>
4099
4100<pre class="text">
4101MagickImportImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels);
4102</pre>
4103
4104<p>The format of the MagickImportImagePixels method is:</p>
4105
4106<pre class="text">
4107MagickBooleanType MagickImportImagePixels(MagickWand *wand,
4108  const ssize_t x,const ssize_t y,const size_t columns,
4109  const size_t rows,const char *map,const StorageType storage,
4110  const void *pixels)
4111</pre>
4112
4113<p>A description of each parameter follows:</p>
4114
4115<dd>
4116</dd>
4117
4118<dd> </dd>
4119<dl class="dl-horizontal">
4120<dt>wand</dt>
4121<dd>the magick wand. </dd>
4122
4123<dd> </dd>
4124<dt>x, y, columns, rows</dt>
4125<dd> These values define the perimeter of a region of pixels you want to define. </dd>
4126
4127<dd> </dd>
4128<dt>map</dt>
4129<dd> This string reflects the expected ordering of the pixel array. It can be any combination or order of R = red, G = green, B = blue, A = alpha (0 is transparent), O = alpha (0 is opaque), C = cyan, Y = yellow, M = magenta, K = black, I = intensity (for grayscale), P = pad. </dd>
4130
4131<dd> </dd>
4132<dt>storage</dt>
4133<dd>Define the data type of the pixels.  Float and double types are expected to be normalized [0..1] otherwise [0..QuantumRange].  Choose from these types: CharPixel, ShortPixel, IntegerPixel, LongPixel, FloatPixel, or DoublePixel. </dd>
4134
4135<dd> </dd>
4136<dt>pixels</dt>
4137<dd>This array of values contain the pixel components as defined by map and type.  You must preallocate this array where the expected length varies depending on the values of width, height, map, and type. </dd>
4138
4139<dd>  </dd>
4140</dl>
4141<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickInterpolativeResizeImage">MagickInterpolativeResizeImage</a></h2>
4142
4143<p>MagickInterpolativeResizeImage() resize image using a interpolative method.</p>
4144
4145<p>MagickBooleanType MagickInterpolativeResizeImage(MagickWand *wand, const size_t columns,const size_t rows, const PixelInterpolateMethod method)</p>
4146
4147<p>A description of each parameter follows:</p>
4148
4149<dd>
4150</dd>
4151
4152<dd> </dd>
4153<dl class="dl-horizontal">
4154<dt>wand</dt>
4155<dd>the magick wand. </dd>
4156
4157<dd> </dd>
4158<dt>columns</dt>
4159<dd>the number of columns in the scaled image. </dd>
4160
4161<dd> </dd>
4162<dt>rows</dt>
4163<dd>the number of rows in the scaled image. </dd>
4164
4165<dd> </dd>
4166<dt>interpolate</dt>
4167<dd>the pixel interpolation method. </dd>
4168
4169<dd>  </dd>
4170</dl>
4171<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickInverseFourierTransformImage">MagickInverseFourierTransformImage</a></h2>
4172
4173<p>MagickInverseFourierTransformImage() implements the inverse discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.</p>
4174
4175<p>The format of the MagickInverseFourierTransformImage method is:</p>
4176
4177<pre class="text">
4178MagickBooleanType MagickInverseFourierTransformImage(
4179  MagickWand *magnitude_wand,MagickWand *phase_wand,
4180  const MagickBooleanType magnitude)
4181</pre>
4182
4183<p>A description of each parameter follows:</p>
4184
4185<dd>
4186</dd>
4187
4188<dd> </dd>
4189<dl class="dl-horizontal">
4190<dt>magnitude_wand</dt>
4191<dd>the magnitude or real wand. </dd>
4192
4193<dd> </dd>
4194<dt>phase_wand</dt>
4195<dd>the phase or imaginary wand. </dd>
4196
4197<dd> </dd>
4198<dt>magnitude</dt>
4199<dd>if true, return as magnitude / phase pair otherwise a real / imaginary image pair. </dd>
4200
4201<dd>  </dd>
4202</dl>
4203<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickKmeansImage">MagickKmeansImage</a></h2>
4204
4205<p>MagickKmeansImage() applies k-means color reduction to an image. This is a colorspace clustering or segmentation technique.</p>
4206
4207<p>The format of the MagickKuwaharaImage method is:</p>
4208
4209<pre class="text">
4210MagickBooleanType MagickKmeansImage(MagickWand *wand,
4211  const size_t number_colors, const size_t max_iterations,
4212  const double tolerance)
4213</pre>
4214
4215<p>A description of each parameter follows:</p>
4216
4217<dd>
4218</dd>
4219
4220<dd> </dd>
4221<dl class="dl-horizontal">
4222<dt>wand</dt>
4223<dd>the magick wand. </dd>
4224
4225<dd> </dd>
4226<dt>number_colors</dt>
4227<dd>number of colors to use as seeds. </dd>
4228
4229<dd> </dd>
4230<dt>max_iterations</dt>
4231<dd>maximum number of iterations while converging. </dd>
4232
4233<dd> </dd>
4234<dt>tolerance</dt>
4235<dd>the maximum tolerance. </dd>
4236
4237<dd>  </dd>
4238</dl>
4239<h2><a href="../../api/MagickWand/magick-image_8c.html" id="Use_MagickKuwaharaImage">Use MagickKuwaharaImage</a></h2>
4240
4241<p>Use MagickKuwaharaImage() is an edge preserving noise reduction filter.</p>
4242
4243<p>The format of the MagickKuwaharaImage method is:</p>
4244
4245<pre class="text">
4246MagickBooleanType MagickKuwaharaImage(MagickWand *wand,
4247  const double radius,const double sigma)
4248</pre>
4249
4250<p>A description of each parameter follows:</p>
4251
4252<dd>
4253</dd>
4254
4255<dd> </dd>
4256<dl class="dl-horizontal">
4257<dt>wand</dt>
4258<dd>the magick wand. </dd>
4259
4260<dd> </dd>
4261<dt>radius</dt>
4262<dd>the square window radius. </dd>
4263
4264<dd> </dd>
4265<dt>sigma</dt>
4266<dd>the standard deviation of the Gaussian, in pixels. </dd>
4267
4268<dd>  </dd>
4269</dl>
4270<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickLabelImage">MagickLabelImage</a></h2>
4271
4272<p>MagickLabelImage() adds a label to your image.</p>
4273
4274<p>The format of the MagickLabelImage method is:</p>
4275
4276<pre class="text">
4277MagickBooleanType MagickLabelImage(MagickWand *wand,const char *label)
4278</pre>
4279
4280<p>A description of each parameter follows:</p>
4281
4282<dd>
4283</dd>
4284
4285<dd> </dd>
4286<dl class="dl-horizontal">
4287<dt>wand</dt>
4288<dd>the magick wand. </dd>
4289
4290<dd> </dd>
4291<dt>label</dt>
4292<dd>the image label. </dd>
4293
4294<dd>  </dd>
4295</dl>
4296<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickLevelImage">MagickLevelImage</a></h2>
4297
4298<p>MagickLevelImage() adjusts the levels of an image by scaling the colors falling between specified white and black points to the full available quantum range. The parameters provided represent the black, mid, and white points. The black point specifies the darkest color in the image. Colors darker than the black point are set to zero. Mid point specifies a gamma correction to apply to the image.  White point specifies the lightest color in the image. Colors brighter than the white point are set to the maximum quantum value.</p>
4299
4300<p>The format of the MagickLevelImage method is:</p>
4301
4302<pre class="text">
4303MagickBooleanType MagickLevelImage(MagickWand *wand,
4304  const double black_point,const double gamma,const double white_point)
4305</pre>
4306
4307<p>A description of each parameter follows:</p>
4308
4309<dd>
4310</dd>
4311
4312<dd> </dd>
4313<dl class="dl-horizontal">
4314<dt>wand</dt>
4315<dd>the magick wand. </dd>
4316
4317<dd> </dd>
4318<dt>channel</dt>
4319<dd>Identify which channel to level: RedPixelChannel, GreenPixelChannel, etc. </dd>
4320
4321<dd> </dd>
4322<dt>black_point</dt>
4323<dd>the black point. </dd>
4324
4325<dd> </dd>
4326<dt>gamma</dt>
4327<dd>the gamma. </dd>
4328
4329<dd> </dd>
4330<dt>white_point</dt>
4331<dd>the white point. </dd>
4332
4333<dd>  </dd>
4334</dl>
4335<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickLevelImageColors">MagickLevelImageColors</a></h2>
4336
4337<p>MagickLevelImageColors() maps the given color to "black" and "white" values, linearly spreading out the colors, and level values on a channel by channel bases, as per LevelImage().  The given colors allows you to specify different level ranges for each of the color channels separately.</p>
4338
4339<p>The format of the MagickLevelImageColors method is:</p>
4340
4341<pre class="text">
4342MagickBooleanType MagickLevelImageColors(MagickWand *wand,
4343  const PixelWand *black_color,const PixelWand *white_color,
4344  const MagickBooleanType invert)
4345</pre>
4346
4347<p>A description of each parameter follows:</p>
4348
4349<dd>
4350</dd>
4351
4352<dd> </dd>
4353<dl class="dl-horizontal">
4354<dt>wand</dt>
4355<dd>the magick wand. </dd>
4356
4357<dd> </dd>
4358<dt>black_color</dt>
4359<dd>the black color. </dd>
4360
4361<dd> </dd>
4362<dt>white_color</dt>
4363<dd>the white color. </dd>
4364
4365<dd> </dd>
4366<dt>invert</dt>
4367<dd>if true map the colors (levelize), rather than from (level) </dd>
4368
4369<dd>  </dd>
4370</dl>
4371<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickLevelizeImage">MagickLevelizeImage</a></h2>
4372
4373<p>MagickLevelizeImage() applies the reversed MagickLevelImage(). It compresses the full range of color values, so that they lie between the given black and white points.  Gamma is applied before the values are mapped.  It can be used to de-contrast a greyscale image to the exact levels specified.</p>
4374
4375<p>The format of the MagickLevelizeImage method is:</p>
4376
4377<pre class="text">
4378MagickBooleanType MagickLevelizeImage(MagickWand *wand,
4379  const double black_point, const double white_point,const double gamma)
4380</pre>
4381
4382<p>A description of each parameter follows:</p>
4383
4384<dd>
4385</dd>
4386
4387<dd> </dd>
4388<dl class="dl-horizontal">
4389<dt>wand</dt>
4390<dd>the magick wand. </dd>
4391
4392<dd> </dd>
4393<dt>black_point</dt>
4394<dd>The level to map zero (black) to. </dd>
4395
4396<dd> </dd>
4397<dt>white_point</dt>
4398<dd>The level to map QuantumRange (white) to. </dd>
4399
4400<dd> </dd>
4401<dt>gamma</dt>
4402<dd>adjust gamma by this factor before mapping values. </dd>
4403
4404<dd>  </dd>
4405</dl>
4406<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickLinearStretchImage">MagickLinearStretchImage</a></h2>
4407
4408<p>MagickLinearStretchImage() stretches with saturation the image intensity.</p>
4409
4410<p>You can also reduce the influence of a particular channel with a gamma value of 0.</p>
4411
4412<p>The format of the MagickLinearStretchImage method is:</p>
4413
4414<pre class="text">
4415MagickBooleanType MagickLinearStretchImage(MagickWand *wand,
4416  const double black_point,const double white_point)
4417</pre>
4418
4419<p>A description of each parameter follows:</p>
4420
4421<dd>
4422</dd>
4423
4424<dd> </dd>
4425<dl class="dl-horizontal">
4426<dt>wand</dt>
4427<dd>the magick wand. </dd>
4428
4429<dd> </dd>
4430<dt>black_point</dt>
4431<dd>the black point. </dd>
4432
4433<dd> </dd>
4434<dt>white_point</dt>
4435<dd>the white point. </dd>
4436
4437<dd>  </dd>
4438</dl>
4439<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickLiquidRescaleImage">MagickLiquidRescaleImage</a></h2>
4440
4441<p>MagickLiquidRescaleImage() rescales image with seam carving.</p>
4442
4443<p>MagickBooleanType MagickLiquidRescaleImage(MagickWand *wand, const size_t columns,const size_t rows, const double delta_x,const double rigidity)</p>
4444
4445<p>A description of each parameter follows:</p>
4446
4447<dd>
4448</dd>
4449
4450<dd> </dd>
4451<dl class="dl-horizontal">
4452<dt>wand</dt>
4453<dd>the magick wand. </dd>
4454
4455<dd> </dd>
4456<dt>columns</dt>
4457<dd>the number of columns in the scaled image. </dd>
4458
4459<dd> </dd>
4460<dt>rows</dt>
4461<dd>the number of rows in the scaled image. </dd>
4462
4463<dd> </dd>
4464<dt>delta_x</dt>
4465<dd>maximum seam transversal step (0 means straight seams). </dd>
4466
4467<dd> </dd>
4468<dt>rigidity</dt>
4469<dd>introduce a bias for non-straight seams (typically 0). </dd>
4470
4471<dd>  </dd>
4472</dl>
4473<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickLocalContrastImage">MagickLocalContrastImage</a></h2>
4474
4475<p>MagickLocalContrastImage() attempts to increase the appearance of large-scale light-dark transitions. Local contrast enhancement works similarly to sharpening with an unsharp mask, however the mask is instead created using an image with a greater blur distance.</p>
4476
4477<p>MagickBooleanType MagickLocalContrastImage(MagickWand *wand, const double radius,const double strength)</p>
4478
4479<p>A description of each parameter follows:</p>
4480
4481<dd>
4482</dd>
4483
4484<dd> </dd>
4485<dl class="dl-horizontal">
4486<dt>image</dt>
4487<dd>the image. </dd>
4488
4489<dd> </dd>
4490<dt>radius</dt>
4491<dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
4492
4493<dd> </dd>
4494<dt>strength</dt>
4495<dd>the strength of the blur mask in percentage. </dd>
4496
4497<dd>  </dd>
4498</dl>
4499<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickMagnifyImage">MagickMagnifyImage</a></h2>
4500
4501<p>MagickMagnifyImage() is a convenience method that scales an image proportionally to twice its original size.</p>
4502
4503<p>The format of the MagickMagnifyImage method is:</p>
4504
4505<pre class="text">
4506MagickBooleanType MagickMagnifyImage(MagickWand *wand)
4507</pre>
4508
4509<p>A description of each parameter follows:</p>
4510
4511<dd>
4512</dd>
4513
4514<dd> </dd>
4515<dl class="dl-horizontal">
4516<dt>wand</dt>
4517<dd>the magick wand. </dd>
4518
4519<dd>  </dd>
4520</dl>
4521<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickMeanShiftImage">MagickMeanShiftImage</a></h2>
4522
4523<p>MagickMeanShiftImage() elineate arbitrarily shaped clusters in the image. For each pixel, it visits all the pixels in the neighborhood specified by the window centered at the pixel and excludes those that are outside the radius=(window-1)/2 surrounding the pixel. From those pixels, it finds those that are within the specified color distance from the current mean, and computes a new x,y centroid from those coordinates and a new mean. This new x,y centroid is used as the center for a new window. This process iterates until it converges and the final mean is replaces the (original window center) pixel value. It repeats this process for the next pixel, etc., until it processes all pixels in the image. Results are typically better with colorspaces other than sRGB. We recommend YIQ, YUV or YCbCr.</p>
4524
4525<p>The format of the MagickMeanShiftImage method is:</p>
4526
4527<pre class="text">
4528MagickBooleanType MagickMeanShiftImage(MagickWand *wand,
4529  const size_t number_terms,const double *terms)
4530</pre>
4531
4532<p>A description of each parameter follows:</p>
4533
4534<dd>
4535</dd>
4536
4537<dd> </dd>
4538<dl class="dl-horizontal">
4539<dt>wand</dt>
4540<dd>the magick wand. </dd>
4541
4542<dd> </dd>
4543<dt>width, height</dt>
4544<dd>find pixels in this neighborhood. </dd>
4545
4546<dd> </dd>
4547<dt>color_distance</dt>
4548<dd>the color distance. </dd>
4549
4550<dd>  </dd>
4551</dl>
4552<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickMergeImageLayers">MagickMergeImageLayers</a></h2>
4553
4554<p>MagickMergeImageLayers() composes all the image layers from the current given image onward to produce a single image of the merged layers.</p>
4555
4556<p>The inital canvas's size depends on the given LayerMethod, and is initialized using the first images background color.  The images are then compositied onto that image in sequence using the given composition that has been assigned to each individual image.</p>
4557
4558<p>The format of the MagickMergeImageLayers method is:</p>
4559
4560<pre class="text">
4561MagickWand *MagickMergeImageLayers(MagickWand *wand,
4562  const LayerMethod method)
4563</pre>
4564
4565<p>A description of each parameter follows:</p>
4566
4567<dd>
4568</dd>
4569
4570<dd> </dd>
4571<dl class="dl-horizontal">
4572<dt>wand</dt>
4573<dd>the magick wand. </dd>
4574
4575<dd> </dd>
4576<dt>method</dt>
4577<dd>the method of selecting the size of the initial canvas. </dd>
4578
4579<dd> MergeLayer: Merge all layers onto a canvas just large enough to hold all the actual images. The virtual canvas of the first image is preserved but otherwise ignored. </dd>
4580
4581<dd> FlattenLayer: Use the virtual canvas size of first image. Images which fall outside this canvas is clipped. This can be used to 'fill out' a given virtual canvas. </dd>
4582
4583<dd> MosaicLayer: Start with the virtual canvas of the first image, enlarging left and right edges to contain all images. Images with negative offsets will be clipped. </dd>
4584
4585<dd>  </dd>
4586</dl>
4587<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickMinifyImage">MagickMinifyImage</a></h2>
4588
4589<p>MagickMinifyImage() is a convenience method that scales an image proportionally to one-half its original size</p>
4590
4591<p>The format of the MagickMinifyImage method is:</p>
4592
4593<pre class="text">
4594MagickBooleanType MagickMinifyImage(MagickWand *wand)
4595</pre>
4596
4597<p>A description of each parameter follows:</p>
4598
4599<dd>
4600</dd>
4601
4602<dd> </dd>
4603<dl class="dl-horizontal">
4604<dt>wand</dt>
4605<dd>the magick wand. </dd>
4606
4607<dd>  </dd>
4608</dl>
4609<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickModulateImage">MagickModulateImage</a></h2>
4610
4611<p>MagickModulateImage() lets you control the brightness, saturation, and hue of an image.  Hue is the percentage of absolute rotation from the current position.  For example 50 results in a counter-clockwise rotation of 90 degrees, 150 results in a clockwise rotation of 90 degrees, with 0 and 200 both resulting in a rotation of 180 degrees.</p>
4612
4613<p>To increase the color brightness by 20 and decrease the color saturation by 10 and leave the hue unchanged, use: 120,90,100.</p>
4614
4615<p>The format of the MagickModulateImage method is:</p>
4616
4617<pre class="text">
4618MagickBooleanType MagickModulateImage(MagickWand *wand,
4619  const double brightness,const double saturation,const double hue)
4620</pre>
4621
4622<p>A description of each parameter follows:</p>
4623
4624<dd>
4625</dd>
4626
4627<dd> </dd>
4628<dl class="dl-horizontal">
4629<dt>wand</dt>
4630<dd>the magick wand. </dd>
4631
4632<dd> </dd>
4633<dt>brightness</dt>
4634<dd>the percent change in brighness. </dd>
4635
4636<dd> </dd>
4637<dt>saturation</dt>
4638<dd>the percent change in saturation. </dd>
4639
4640<dd> </dd>
4641<dt>hue</dt>
4642<dd>the percent change in hue. </dd>
4643
4644<dd>  </dd>
4645</dl>
4646<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickMontageImage">MagickMontageImage</a></h2>
4647
4648<p>MagickMontageImage() creates a composite image by combining several separate images. The images are tiled on the composite image with the name of the image optionally appearing just below the individual tile.</p>
4649
4650<p>The format of the MagickMontageImage method is:</p>
4651
4652<pre class="text">
4653MagickWand *MagickMontageImage(MagickWand *wand,
4654  const DrawingWand drawing_wand,const char *tile_geometry,
4655  const char *thumbnail_geometry,const MontageMode mode,
4656  const char *frame)
4657</pre>
4658
4659<p>A description of each parameter follows:</p>
4660
4661<dd>
4662</dd>
4663
4664<dd> </dd>
4665<dl class="dl-horizontal">
4666<dt>wand</dt>
4667<dd>the magick wand. </dd>
4668
4669<dd> </dd>
4670<dt>drawing_wand</dt>
4671<dd>the drawing wand.  The font name, size, and color are obtained from this wand. </dd>
4672
4673<dd> </dd>
4674<dt>tile_geometry</dt>
4675<dd>the number of tiles per row and page (e.g. 6x4+0+0). </dd>
4676
4677<dd> </dd>
4678<dt>thumbnail_geometry</dt>
4679<dd>Preferred image size and border size of each thumbnail (e.g. 120x120+4+3&gt;). </dd>
4680
4681<dd> </dd>
4682<dt>mode</dt>
4683<dd>Thumbnail framing mode: Frame, Unframe, or Concatenate. </dd>
4684
4685<dd> </dd>
4686<dt>frame</dt>
4687<dd>Surround the image with an ornamental border (e.g. 15x15+3+3). The frame color is that of the thumbnail's matte color. </dd>
4688
4689<dd>  </dd>
4690</dl>
4691<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickMorphImages">MagickMorphImages</a></h2>
4692
4693<p>MagickMorphImages() method morphs a set of images.  Both the image pixels and size are linearly interpolated to give the appearance of a meta-morphosis from one image to the next.</p>
4694
4695<p>The format of the MagickMorphImages method is:</p>
4696
4697<pre class="text">
4698MagickWand *MagickMorphImages(MagickWand *wand,
4699  const size_t number_frames)
4700</pre>
4701
4702<p>A description of each parameter follows:</p>
4703
4704<dd>
4705</dd>
4706
4707<dd> </dd>
4708<dl class="dl-horizontal">
4709<dt>wand</dt>
4710<dd>the magick wand. </dd>
4711
4712<dd> </dd>
4713<dt>number_frames</dt>
4714<dd>the number of in-between images to generate. </dd>
4715
4716<dd>  </dd>
4717</dl>
4718<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickMorphologyImage">MagickMorphologyImage</a></h2>
4719
4720<p>MagickMorphologyImage() applies a user supplied kernel to the image according to the given mophology method.</p>
4721
4722<p>The format of the MagickMorphologyImage method is:</p>
4723
4724<pre class="text">
4725MagickBooleanType MagickMorphologyImage(MagickWand *wand,
4726  const MorphologyMethod method,const ssize_t iterations,
4727  const KernelInfo *kernel)
4728</pre>
4729
4730<p>A description of each parameter follows:</p>
4731
4732<dd>
4733</dd>
4734
4735<dd> </dd>
4736<dl class="dl-horizontal">
4737<dt>wand</dt>
4738<dd>the magick wand. </dd>
4739
4740<dd> </dd>
4741<dt>method</dt>
4742<dd>the morphology method to be applied. </dd>
4743
4744<dd> </dd>
4745<dt>iterations</dt>
4746<dd>apply the operation this many times (or no change). A value of -1 means loop until no change found.  How this is applied may depend on the morphology method.  Typically this is a value of 1. </dd>
4747
4748<dd> </dd>
4749<dt>kernel</dt>
4750<dd>An array of doubles representing the morphology kernel. </dd>
4751
4752<dd>  </dd>
4753</dl>
4754<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickMotionBlurImage">MagickMotionBlurImage</a></h2>
4755
4756<p>MagickMotionBlurImage() simulates motion blur.  We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma.  Use a radius of 0 and MotionBlurImage() selects a suitable radius for you. Angle gives the angle of the blurring motion.</p>
4757
4758<p>The format of the MagickMotionBlurImage method is:</p>
4759
4760<pre class="text">
4761MagickBooleanType MagickMotionBlurImage(MagickWand *wand,
4762  const double radius,const double sigma,const double angle)
4763</pre>
4764
4765<p>A description of each parameter follows:</p>
4766
4767<dd>
4768</dd>
4769
4770<dd> </dd>
4771<dl class="dl-horizontal">
4772<dt>wand</dt>
4773<dd>the magick wand. </dd>
4774
4775<dd> </dd>
4776<dt>radius</dt>
4777<dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
4778
4779<dd> </dd>
4780<dt>sigma</dt>
4781<dd>the standard deviation of the Gaussian, in pixels. </dd>
4782
4783<dd> </dd>
4784<dt>angle</dt>
4785<dd>Apply the effect along this angle. </dd>
4786
4787<dd>  </dd>
4788</dl>
4789<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickNegateImage">MagickNegateImage</a></h2>
4790
4791<p>MagickNegateImage() negates the colors in the reference image.  The Grayscale option means that only grayscale values within the image are negated.</p>
4792
4793<p>You can also reduce the influence of a particular channel with a gamma value of 0.</p>
4794
4795<p>The format of the MagickNegateImage method is:</p>
4796
4797<pre class="text">
4798MagickBooleanType MagickNegateImage(MagickWand *wand,
4799  const MagickBooleanType gray)
4800</pre>
4801
4802<p>A description of each parameter follows:</p>
4803
4804<dd>
4805</dd>
4806
4807<dd> </dd>
4808<dl class="dl-horizontal">
4809<dt>wand</dt>
4810<dd>the magick wand. </dd>
4811
4812<dd> </dd>
4813<dt>gray</dt>
4814<dd>If MagickTrue, only negate grayscale pixels within the image. </dd>
4815
4816<dd>  </dd>
4817</dl>
4818<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickNewImage">MagickNewImage</a></h2>
4819
4820<p>MagickNewImage() adds a blank image canvas of the specified size and background color to the wand.</p>
4821
4822<p>The format of the MagickNewImage method is:</p>
4823
4824<pre class="text">
4825MagickBooleanType MagickNewImage(MagickWand *wand,
4826  const size_t columns,const size_t rows,
4827  const PixelWand *background)
4828</pre>
4829
4830<p>A description of each parameter follows:</p>
4831
4832<dd>
4833</dd>
4834
4835<dd> </dd>
4836<dl class="dl-horizontal">
4837<dt>wand</dt>
4838<dd>the magick wand. </dd>
4839
4840<dd> </dd>
4841<dt>width</dt>
4842<dd>the image width. </dd>
4843
4844<dd> </dd>
4845<dt>height</dt>
4846<dd>the image height. </dd>
4847
4848<dd> </dd>
4849<dt>background</dt>
4850<dd>the image color. </dd>
4851
4852<dd>  </dd>
4853</dl>
4854<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickNextImage">MagickNextImage</a></h2>
4855
4856<p>MagickNextImage() sets the next image in the wand as the current image.</p>
4857
4858<p>It is typically used after MagickResetIterator(), after which its first use will set the first image as the current image (unless the wand is empty).</p>
4859
4860<p>It will return MagickFalse when no more images are left to be returned which happens when the wand is empty, or the current image is the last image.</p>
4861
4862<p>When the above condition (end of image list) is reached, the iterator is automaticall set so that you can start using MagickPreviousImage() to again iterate over the images in the reverse direction, starting with the last image (again).  You can jump to this condition immeditally using MagickSetLastIterator().</p>
4863
4864<p>The format of the MagickNextImage method is:</p>
4865
4866<pre class="text">
4867MagickBooleanType MagickNextImage(MagickWand *wand)
4868</pre>
4869
4870<p>A description of each parameter follows:</p>
4871
4872<dd>
4873</dd>
4874
4875<dd> </dd>
4876<dl class="dl-horizontal">
4877<dt>wand</dt>
4878<dd>the magick wand. </dd>
4879
4880<dd>  </dd>
4881</dl>
4882<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickNormalizeImage">MagickNormalizeImage</a></h2>
4883
4884<p>MagickNormalizeImage() enhances the contrast of a color image by adjusting the pixels color to span the entire range of colors available</p>
4885
4886<p>You can also reduce the influence of a particular channel with a gamma value of 0.</p>
4887
4888<p>The format of the MagickNormalizeImage method is:</p>
4889
4890<pre class="text">
4891MagickBooleanType MagickNormalizeImage(MagickWand *wand)
4892</pre>
4893
4894<p>A description of each parameter follows:</p>
4895
4896<dd>
4897</dd>
4898
4899<dd> </dd>
4900<dl class="dl-horizontal">
4901<dt>wand</dt>
4902<dd>the magick wand. </dd>
4903
4904<dd>  </dd>
4905</dl>
4906<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickOilPaintImage">MagickOilPaintImage</a></h2>
4907
4908<p>MagickOilPaintImage() applies a special effect filter that simulates an oil painting.  Each pixel is replaced by the most frequent color occurring in a circular region defined by radius.</p>
4909
4910<p>The format of the MagickOilPaintImage method is:</p>
4911
4912<pre class="text">
4913MagickBooleanType MagickOilPaintImage(MagickWand *wand,
4914  const double radius,const double sigma)
4915</pre>
4916
4917<p>A description of each parameter follows:</p>
4918
4919<dd>
4920</dd>
4921
4922<dd> </dd>
4923<dl class="dl-horizontal">
4924<dt>wand</dt>
4925<dd>the magick wand. </dd>
4926
4927<dd> </dd>
4928<dt>radius</dt>
4929<dd>the radius of the circular neighborhood. </dd>
4930
4931<dd> </dd>
4932<dt>sigma</dt>
4933<dd>the standard deviation of the Gaussian, in pixels. </dd>
4934
4935<dd>  </dd>
4936</dl>
4937<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickOpaquePaintImage">MagickOpaquePaintImage</a></h2>
4938
4939<p>MagickOpaquePaintImage() changes any pixel that matches color with the color defined by fill.</p>
4940
4941<p>The format of the MagickOpaquePaintImage method is:</p>
4942
4943<pre class="text">
4944MagickBooleanType MagickOpaquePaintImage(MagickWand *wand,
4945  const PixelWand *target,const PixelWand *fill,const double fuzz,
4946  const MagickBooleanType invert)
4947</pre>
4948
4949<p>A description of each parameter follows:</p>
4950
4951<dd>
4952</dd>
4953
4954<dd> </dd>
4955<dl class="dl-horizontal">
4956<dt>wand</dt>
4957<dd>the magick wand. </dd>
4958
4959<dd> </dd>
4960<dt>target</dt>
4961<dd>Change this target color to the fill color within the image. </dd>
4962
4963<dd> </dd>
4964<dt>fill</dt>
4965<dd>the fill pixel wand. </dd>
4966
4967<dd> </dd>
4968<dt>fuzz</dt>
4969<dd>By default target must match a particular pixel color exactly.  However, in many cases two colors may differ by a small amount. The fuzz member of image defines how much tolerance is acceptable to consider two colors as the same.  For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color for the purposes of the floodfill. </dd>
4970
4971<dd> </dd>
4972<dt>invert</dt>
4973<dd>paint any pixel that does not match the target color. </dd>
4974
4975<dd>  </dd>
4976</dl>
4977<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickOptimizeImageLayers">MagickOptimizeImageLayers</a></h2>
4978
4979<p>MagickOptimizeImageLayers() compares each image the GIF disposed forms of the previous image in the sequence.  From this it attempts to select the smallest cropped image to replace each frame, while preserving the results of the animation.</p>
4980
4981<p>The format of the MagickOptimizeImageLayers method is:</p>
4982
4983<pre class="text">
4984MagickWand *MagickOptimizeImageLayers(MagickWand *wand)
4985</pre>
4986
4987<p>A description of each parameter follows:</p>
4988
4989<dd>
4990</dd>
4991
4992<dd> </dd>
4993<dl class="dl-horizontal">
4994<dt>wand</dt>
4995<dd>the magick wand. </dd>
4996
4997<dd>  </dd>
4998</dl>
4999<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickOptimizeImageTransparency">MagickOptimizeImageTransparency</a></h2>
5000
5001<p>MagickOptimizeImageTransparency() takes a frame optimized GIF animation, and compares the overlayed pixels against the disposal image resulting from all the previous frames in the animation.  Any pixel that does not change the disposal image (and thus does not effect the outcome of an overlay) is made transparent.</p>
5002
5003<p>WARNING: This modifies the current images directly, rather than generate a new image sequence. The format of the MagickOptimizeImageTransparency method is:</p>
5004
5005<pre class="text">
5006MagickBooleanType MagickOptimizeImageTransparency(MagickWand *wand)
5007</pre>
5008
5009<p>A description of each parameter follows:</p>
5010
5011<dd>
5012</dd>
5013
5014<dd> </dd>
5015<dl class="dl-horizontal">
5016<dt>wand</dt>
5017<dd>the magick wand. </dd>
5018
5019<dd>  </dd>
5020</dl>
5021<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickOrderedDitherImage">MagickOrderedDitherImage</a></h2>
5022
5023<p>MagickOrderedDitherImage() performs an ordered dither based on a number of pre-defined dithering threshold maps, but over multiple intensity levels, which can be different for different channels, according to the input arguments.</p>
5024
5025<p>The format of the MagickOrderedDitherImage method is:</p>
5026
5027<pre class="text">
5028MagickBooleanType MagickOrderedDitherImage(MagickWand *wand,
5029  const char *threshold_map)
5030</pre>
5031
5032<p>A description of each parameter follows:</p>
5033
5034<dd>
5035</dd>
5036
5037<dd> </dd>
5038<dl class="dl-horizontal">
5039<dt>image</dt>
5040<dd>the image. </dd>
5041
5042<dd> </dd>
5043<dt>threshold_map</dt>
5044<dd>A string containing the name of the threshold dither map to use, followed by zero or more numbers representing the number of color levels tho dither between. </dd>
5045
5046<dd> Any level number less than 2 is equivalent to 2, and means only binary dithering will be applied to each color channel. </dd>
5047
5048<dd> No numbers also means a 2 level (bitmap) dither will be applied to all channels, while a single number is the number of levels applied to each channel in sequence.  More numbers will be applied in turn to each of the color channels. </dd>
5049
5050<dd> For example: "o3x3,6" generates a 6 level posterization of the image with a ordered 3x3 diffused pixel dither being applied between each level. While checker,8,8,4 will produce a 332 colormaped image with only a single checkerboard hash pattern (50 grey) between each color level, to basically double the number of color levels with a bare minimim of dithering. </dd>
5051
5052<dd>  </dd>
5053</dl>
5054<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickPingImage">MagickPingImage</a></h2>
5055
5056<p>MagickPingImage() is the same as MagickReadImage() except the only valid information returned is the image width, height, size, and format.  It is designed to efficiently obtain this information from a file without reading the entire image sequence into memory.</p>
5057
5058<p>The format of the MagickPingImage method is:</p>
5059
5060<pre class="text">
5061MagickBooleanType MagickPingImage(MagickWand *wand,const char *filename)
5062</pre>
5063
5064<p>A description of each parameter follows:</p>
5065
5066<dd>
5067</dd>
5068
5069<dd> </dd>
5070<dl class="dl-horizontal">
5071<dt>wand</dt>
5072<dd>the magick wand. </dd>
5073
5074<dd> </dd>
5075<dt>filename</dt>
5076<dd>the image filename. </dd>
5077
5078<dd>  </dd>
5079</dl>
5080<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickPingImageBlob">MagickPingImageBlob</a></h2>
5081
5082<p>MagickPingImageBlob() pings an image or image sequence from a blob.</p>
5083
5084<p>The format of the MagickPingImageBlob method is:</p>
5085
5086<pre class="text">
5087MagickBooleanType MagickPingImageBlob(MagickWand *wand,
5088  const void *blob,const size_t length)
5089</pre>
5090
5091<p>A description of each parameter follows:</p>
5092
5093<dd>
5094</dd>
5095
5096<dd> </dd>
5097<dl class="dl-horizontal">
5098<dt>wand</dt>
5099<dd>the magick wand. </dd>
5100
5101<dd> </dd>
5102<dt>blob</dt>
5103<dd>the blob. </dd>
5104
5105<dd> </dd>
5106<dt>length</dt>
5107<dd>the blob length. </dd>
5108
5109<dd>  </dd>
5110</dl>
5111<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickPingImageFile">MagickPingImageFile</a></h2>
5112
5113<p>MagickPingImageFile() pings an image or image sequence from an open file descriptor.</p>
5114
5115<p>The format of the MagickPingImageFile method is:</p>
5116
5117<pre class="text">
5118MagickBooleanType MagickPingImageFile(MagickWand *wand,FILE *file)
5119</pre>
5120
5121<p>A description of each parameter follows:</p>
5122
5123<dd>
5124</dd>
5125
5126<dd> </dd>
5127<dl class="dl-horizontal">
5128<dt>wand</dt>
5129<dd>the magick wand. </dd>
5130
5131<dd> </dd>
5132<dt>file</dt>
5133<dd>the file descriptor. </dd>
5134
5135<dd>  </dd>
5136</dl>
5137<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickPolaroidImage">MagickPolaroidImage</a></h2>
5138
5139<p>MagickPolaroidImage() simulates a Polaroid picture.</p>
5140
5141<p>The format of the MagickPolaroidImage method is:</p>
5142
5143<pre class="text">
5144MagickBooleanType MagickPolaroidImage(MagickWand *wand,
5145  const DrawingWand *drawing_wand,const char *caption,const double angle,
5146  const PixelInterpolateMethod method)
5147</pre>
5148
5149<p>A description of each parameter follows:</p>
5150
5151<dd>
5152</dd>
5153
5154<dd> </dd>
5155<dl class="dl-horizontal">
5156<dt>wand</dt>
5157<dd>the magick wand. </dd>
5158
5159<dd> </dd>
5160<dt>drawing_wand</dt>
5161<dd>the draw wand. </dd>
5162
5163<dd> </dd>
5164<dt>caption</dt>
5165<dd>the Polaroid caption. </dd>
5166
5167<dd> </dd>
5168<dt>angle</dt>
5169<dd>Apply the effect along this angle. </dd>
5170
5171<dd> </dd>
5172<dt>method</dt>
5173<dd>the pixel interpolation method. </dd>
5174
5175<dd>  </dd>
5176</dl>
5177<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickPolynomialImage">MagickPolynomialImage</a></h2>
5178
5179<p>MagickPolynomialImage() returns an image where each pixel is the sum of the pixels in the image sequence after applying its corresponding terms (coefficient and degree pairs).</p>
5180
5181<p>The format of the MagickPolynomialImage method is:</p>
5182
5183<pre class="text">
5184MagickBooleanType MagickPolynomialImage(MagickWand *wand,
5185  const size_t number_terms,const double *terms)
5186</pre>
5187
5188<p>A description of each parameter follows:</p>
5189
5190<dd>
5191</dd>
5192
5193<dd> </dd>
5194<dl class="dl-horizontal">
5195<dt>wand</dt>
5196<dd>the magick wand. </dd>
5197
5198<dd> </dd>
5199<dt>number_terms</dt>
5200<dd>the number of terms in the list.  The actual list length is 2 x number_terms + 1 (the constant). </dd>
5201
5202<dd> </dd>
5203<dt>terms</dt>
5204<dd>the list of polynomial coefficients and degree pairs and a constant. </dd>
5205
5206<dd>  </dd>
5207</dl>
5208<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickPosterizeImage">MagickPosterizeImage</a></h2>
5209
5210<p>MagickPosterizeImage() reduces the image to a limited number of color level.</p>
5211
5212<p>The format of the MagickPosterizeImage method is:</p>
5213
5214<pre class="text">
5215MagickBooleanType MagickPosterizeImage(MagickWand *wand,
5216  const size_t levels,const DitherMethod method)
5217</pre>
5218
5219<p>A description of each parameter follows:</p>
5220
5221<dd>
5222</dd>
5223
5224<dd> </dd>
5225<dl class="dl-horizontal">
5226<dt>wand</dt>
5227<dd>the magick wand. </dd>
5228
5229<dd> </dd>
5230<dt>levels</dt>
5231<dd>Number of color levels allowed in each channel.  Very low values (2, 3, or 4) have the most visible effect. </dd>
5232
5233<dd> </dd>
5234<dt>method</dt>
5235<dd>choose the dither method: UndefinedDitherMethod, NoDitherMethod, RiemersmaDitherMethod, or FloydSteinbergDitherMethod. </dd>
5236
5237<dd>  </dd>
5238</dl>
5239<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickPreviewImages">MagickPreviewImages</a></h2>
5240
5241<p>MagickPreviewImages() tiles 9 thumbnails of the specified image with an image processing operation applied at varying strengths.  This helpful to quickly pin-point an appropriate parameter for an image processing operation.</p>
5242
5243<p>The format of the MagickPreviewImages method is:</p>
5244
5245<pre class="text">
5246MagickWand *MagickPreviewImages(MagickWand *wand,
5247  const PreviewType preview)
5248</pre>
5249
5250<p>A description of each parameter follows:</p>
5251
5252<dd>
5253</dd>
5254
5255<dd> </dd>
5256<dl class="dl-horizontal">
5257<dt>wand</dt>
5258<dd>the magick wand. </dd>
5259
5260<dd> </dd>
5261<dt>preview</dt>
5262<dd>the preview type. </dd>
5263
5264<dd>  </dd>
5265</dl>
5266<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickPreviousImage">MagickPreviousImage</a></h2>
5267
5268<p>MagickPreviousImage() sets the previous image in the wand as the current image.</p>
5269
5270<p>It is typically used after MagickSetLastIterator(), after which its first use will set the last image as the current image (unless the wand is empty).</p>
5271
5272<p>It will return MagickFalse when no more images are left to be returned which happens when the wand is empty, or the current image is the first image.  At that point the iterator is than reset to again process images in the forward direction, again starting with the first image in list. Images added at this point are prepended.</p>
5273
5274<p>Also at that point any images added to the wand using MagickAddImages() or MagickReadImages() will be prepended before the first image. In this sense the condition is not quite exactly the same as MagickResetIterator().</p>
5275
5276<p>The format of the MagickPreviousImage method is:</p>
5277
5278<pre class="text">
5279MagickBooleanType MagickPreviousImage(MagickWand *wand)
5280</pre>
5281
5282<p>A description of each parameter follows:</p>
5283
5284<dd>
5285</dd>
5286
5287<dd> </dd>
5288<dl class="dl-horizontal">
5289<dt>wand</dt>
5290<dd>the magick wand. </dd>
5291
5292<dd>  </dd>
5293</dl>
5294<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickQuantizeImage">MagickQuantizeImage</a></h2>
5295
5296<p>MagickQuantizeImage() analyzes the colors within a reference image and chooses a fixed number of colors to represent the image.  The goal of the algorithm is to minimize the color difference between the input and output image while minimizing the processing time.</p>
5297
5298<p>The format of the MagickQuantizeImage method is:</p>
5299
5300<pre class="text">
5301MagickBooleanType MagickQuantizeImage(MagickWand *wand,
5302  const size_t number_colors,const ColorspaceType colorspace,
5303  const size_t treedepth,const DitherMethod dither_method,
5304  const MagickBooleanType measure_error)
5305</pre>
5306
5307<p>A description of each parameter follows:</p>
5308
5309<dd>
5310</dd>
5311
5312<dd> </dd>
5313<dl class="dl-horizontal">
5314<dt>wand</dt>
5315<dd>the magick wand. </dd>
5316
5317<dd> </dd>
5318<dt>number_colors</dt>
5319<dd>the number of colors. </dd>
5320
5321<dd> </dd>
5322<dt>colorspace</dt>
5323<dd>Perform color reduction in this colorspace, typically RGBColorspace. </dd>
5324
5325<dd> </dd>
5326<dt>treedepth</dt>
5327<dd>Normally, this integer value is zero or one.  A zero or one tells Quantize to choose a optimal tree depth of Log4(number_colors).      A tree of this depth generally allows the best representation of the reference image with the least amount of memory and the fastest computational speed.  In some cases, such as an image with low color dispersion (a few number of colors), a value other than Log4(number_colors) is required.  To expand the color tree completely, use a value of 8. </dd>
5328
5329<dd> </dd>
5330<dt>dither_method</dt>
5331<dd>choose from UndefinedDitherMethod, NoDitherMethod, RiemersmaDitherMethod, FloydSteinbergDitherMethod. </dd>
5332
5333<dd> </dd>
5334<dt>measure_error</dt>
5335<dd>A value other than zero measures the difference between the original and quantized images.  This difference is the total quantization error.  The error is computed by summing over all pixels in an image the distance squared in RGB space between each reference pixel value and its quantized value. </dd>
5336
5337<dd>  </dd>
5338</dl>
5339<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickQuantizeImages">MagickQuantizeImages</a></h2>
5340
5341<p>MagickQuantizeImages() analyzes the colors within a sequence of images and chooses a fixed number of colors to represent the image.  The goal of the algorithm is to minimize the color difference between the input and output image while minimizing the processing time.</p>
5342
5343<p>The format of the MagickQuantizeImages method is:</p>
5344
5345<pre class="text">
5346MagickBooleanType MagickQuantizeImages(MagickWand *wand,
5347  const size_t number_colors,const ColorspaceType colorspace,
5348  const size_t treedepth,const DitherMethod dither_method,
5349  const MagickBooleanType measure_error)
5350</pre>
5351
5352<p>A description of each parameter follows:</p>
5353
5354<dd>
5355</dd>
5356
5357<dd> </dd>
5358<dl class="dl-horizontal">
5359<dt>wand</dt>
5360<dd>the magick wand. </dd>
5361
5362<dd> </dd>
5363<dt>number_colors</dt>
5364<dd>the number of colors. </dd>
5365
5366<dd> </dd>
5367<dt>colorspace</dt>
5368<dd>Perform color reduction in this colorspace, typically RGBColorspace. </dd>
5369
5370<dd> </dd>
5371<dt>treedepth</dt>
5372<dd>Normally, this integer value is zero or one.  A zero or one tells Quantize to choose a optimal tree depth of Log4(number_colors).      A tree of this depth generally allows the best representation of the reference image with the least amount of memory and the fastest computational speed.  In some cases, such as an image with low color dispersion (a few number of colors), a value other than Log4(number_colors) is required.  To expand the color tree completely, use a value of 8. </dd>
5373
5374<dd> </dd>
5375<dt>dither_method</dt>
5376<dd>choose from these dither methods: NoDitherMethod, RiemersmaDitherMethod, or FloydSteinbergDitherMethod. </dd>
5377
5378<dd> </dd>
5379<dt>measure_error</dt>
5380<dd>A value other than zero measures the difference between the original and quantized images.  This difference is the total quantization error.  The error is computed by summing over all pixels in an image the distance squared in RGB space between each reference pixel value and its quantized value. </dd>
5381
5382<dd>  </dd>
5383</dl>
5384<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickRangeThresholdImage">MagickRangeThresholdImage</a></h2>
5385
5386<p>MagickRangeThresholdImage() applies soft and hard thresholding.</p>
5387
5388<p>The format of the RangeThresholdImage method is:</p>
5389
5390<pre class="text">
5391MagickBooleanType MagickRangeThresholdImage(MagickWand *wand,
5392  const double low_black,const double low_white,const double high_white,
5393  const double high_black)
5394</pre>
5395
5396<p>A description of each parameter follows:</p>
5397
5398<dd>
5399</dd>
5400
5401<dd> </dd>
5402<dl class="dl-horizontal">
5403<dt>wand</dt>
5404<dd>the magick wand. </dd>
5405
5406<dd> </dd>
5407<dt>low_black</dt>
5408<dd>Define the minimum threshold value. </dd>
5409
5410<dd> </dd>
5411<dt>low_white</dt>
5412<dd>Define the maximum threshold value. </dd>
5413
5414<dd> </dd>
5415<dt>high_white</dt>
5416<dd>Define the minimum threshold value. </dd>
5417
5418<dd> </dd>
5419<dt>low_white</dt>
5420<dd>Define the maximum threshold value. </dd>
5421
5422<dd>  </dd>
5423</dl>
5424<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickRotationalBlurImage">MagickRotationalBlurImage</a></h2>
5425
5426<p>MagickRotationalBlurImage() rotational blurs an image.</p>
5427
5428<p>The format of the MagickRotationalBlurImage method is:</p>
5429
5430<pre class="text">
5431MagickBooleanType MagickRotationalBlurImage(MagickWand *wand,
5432  const double angle)
5433</pre>
5434
5435<p>A description of each parameter follows:</p>
5436
5437<dd>
5438</dd>
5439
5440<dd> </dd>
5441<dl class="dl-horizontal">
5442<dt>wand</dt>
5443<dd>the magick wand. </dd>
5444
5445<dd> </dd>
5446<dt>angle</dt>
5447<dd>the angle of the blur in degrees. </dd>
5448
5449<dd>  </dd>
5450</dl>
5451<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickRaiseImage">MagickRaiseImage</a></h2>
5452
5453<p>MagickRaiseImage() creates a simulated three-dimensional button-like effect by lightening and darkening the edges of the image.  Members width and height of raise_info define the width of the vertical and horizontal edge of the effect.</p>
5454
5455<p>The format of the MagickRaiseImage method is:</p>
5456
5457<pre class="text">
5458MagickBooleanType MagickRaiseImage(MagickWand *wand,
5459  const size_t width,const size_t height,const ssize_t x,
5460  const ssize_t y,const MagickBooleanType raise)
5461</pre>
5462
5463<p>A description of each parameter follows:</p>
5464
5465<dd>
5466</dd>
5467
5468<dd> </dd>
5469<dl class="dl-horizontal">
5470<dt>wand</dt>
5471<dd>the magick wand. </dd>
5472
5473<dd> </dd>
5474<dt>width,height,x,y</dt>
5475<dd> Define the dimensions of the area to raise. </dd>
5476
5477<dd> </dd>
5478<dt>raise</dt>
5479<dd>A value other than zero creates a 3-D raise effect, otherwise it has a lowered effect. </dd>
5480
5481<dd>  </dd>
5482</dl>
5483<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickRandomThresholdImage">MagickRandomThresholdImage</a></h2>
5484
5485<p>MagickRandomThresholdImage() changes the value of individual pixels based on the intensity of each pixel compared to threshold.  The result is a high-contrast, two color image.</p>
5486
5487<p>The format of the MagickRandomThresholdImage method is:</p>
5488
5489<pre class="text">
5490MagickBooleanType MagickRandomThresholdImage(MagickWand *wand,
5491  const double low,const double high)
5492</pre>
5493
5494<p>A description of each parameter follows:</p>
5495
5496<dd>
5497</dd>
5498
5499<dd> </dd>
5500<dl class="dl-horizontal">
5501<dt>wand</dt>
5502<dd>the magick wand. </dd>
5503
5504<dd> </dd>
5505<dt>low,high</dt>
5506<dd>Specify the high and low thresholds. These values range from 0 to QuantumRange. </dd>
5507
5508<dd>  </dd>
5509</dl>
5510<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickReadImage">MagickReadImage</a></h2>
5511
5512<p>MagickReadImage() reads an image or image sequence.  The images are inserted just before the current image pointer position.</p>
5513
5514<p>Use MagickSetFirstIterator(), to insert new images before all the current images in the wand, MagickSetLastIterator() to append add to the end, MagickSetIteratorIndex() to place images just after the given index.</p>
5515
5516<p>The format of the MagickReadImage method is:</p>
5517
5518<pre class="text">
5519MagickBooleanType MagickReadImage(MagickWand *wand,const char *filename)
5520</pre>
5521
5522<p>A description of each parameter follows:</p>
5523
5524<dd>
5525</dd>
5526
5527<dd> </dd>
5528<dl class="dl-horizontal">
5529<dt>wand</dt>
5530<dd>the magick wand. </dd>
5531
5532<dd> </dd>
5533<dt>filename</dt>
5534<dd>the image filename. </dd>
5535
5536<dd>  </dd>
5537</dl>
5538<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickReadImageBlob">MagickReadImageBlob</a></h2>
5539
5540<p>MagickReadImageBlob() reads an image or image sequence from a blob. In all other respects it is like MagickReadImage().</p>
5541
5542<p>The format of the MagickReadImageBlob method is:</p>
5543
5544<pre class="text">
5545MagickBooleanType MagickReadImageBlob(MagickWand *wand,
5546  const void *blob,const size_t length)
5547</pre>
5548
5549<p>A description of each parameter follows:</p>
5550
5551<dd>
5552</dd>
5553
5554<dd> </dd>
5555<dl class="dl-horizontal">
5556<dt>wand</dt>
5557<dd>the magick wand. </dd>
5558
5559<dd> </dd>
5560<dt>blob</dt>
5561<dd>the blob. </dd>
5562
5563<dd> </dd>
5564<dt>length</dt>
5565<dd>the blob length. </dd>
5566
5567<dd>  </dd>
5568</dl>
5569<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickReadImageFile">MagickReadImageFile</a></h2>
5570
5571<p>MagickReadImageFile() reads an image or image sequence from an already opened file descriptor.  Otherwise it is like MagickReadImage().</p>
5572
5573<p>The format of the MagickReadImageFile method is:</p>
5574
5575<pre class="text">
5576MagickBooleanType MagickReadImageFile(MagickWand *wand,FILE *file)
5577</pre>
5578
5579<p>A description of each parameter follows:</p>
5580
5581<dd>
5582</dd>
5583
5584<dd> </dd>
5585<dl class="dl-horizontal">
5586<dt>wand</dt>
5587<dd>the magick wand. </dd>
5588
5589<dd> </dd>
5590<dt>file</dt>
5591<dd>the file descriptor. </dd>
5592
5593<dd>  </dd>
5594</dl>
5595<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickRemapImage">MagickRemapImage</a></h2>
5596
5597<p>MagickRemapImage() replaces the colors of an image with the closest color from a reference image.</p>
5598
5599<p>The format of the MagickRemapImage method is:</p>
5600
5601<pre class="text">
5602MagickBooleanType MagickRemapImage(MagickWand *wand,
5603  const MagickWand *remap_wand,const DitherMethod method)
5604</pre>
5605
5606<p>A description of each parameter follows:</p>
5607
5608<dd>
5609</dd>
5610
5611<dd> </dd>
5612<dl class="dl-horizontal">
5613<dt>wand</dt>
5614<dd>the magick wand. </dd>
5615
5616<dd> </dd>
5617<dt>affinity</dt>
5618<dd>the affinity wand. </dd>
5619
5620<dd> </dd>
5621<dt>method</dt>
5622<dd>choose from these dither methods: NoDitherMethod, RiemersmaDitherMethod, or FloydSteinbergDitherMethod. </dd>
5623
5624<dd>  </dd>
5625</dl>
5626<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickRemoveImage">MagickRemoveImage</a></h2>
5627
5628<p>MagickRemoveImage() removes an image from the image list.</p>
5629
5630<p>The format of the MagickRemoveImage method is:</p>
5631
5632<pre class="text">
5633MagickBooleanType MagickRemoveImage(MagickWand *wand)
5634</pre>
5635
5636<p>A description of each parameter follows:</p>
5637
5638<dd>
5639</dd>
5640
5641<dd> </dd>
5642<dl class="dl-horizontal">
5643<dt>wand</dt>
5644<dd>the magick wand. </dd>
5645
5646<dd> </dd>
5647<dt>insert</dt>
5648<dd>the splice wand. </dd>
5649
5650<dd>  </dd>
5651</dl>
5652<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickResampleImage">MagickResampleImage</a></h2>
5653
5654<p>MagickResampleImage() resample image to desired resolution.</p>
5655
5656<p>Bessel   Blackman   Box Catrom   Cubic      Gaussian Hanning  Hermite    Lanczos Mitchell Point      Quandratic Sinc     Triangle</p>
5657
5658<p>Most of the filters are FIR (finite impulse response), however, Bessel, Gaussian, and Sinc are IIR (infinite impulse response).  Bessel and Sinc are windowed (brought down to zero) with the Blackman filter.</p>
5659
5660<p>The format of the MagickResampleImage method is:</p>
5661
5662<pre class="text">
5663MagickBooleanType MagickResampleImage(MagickWand *wand,
5664  const double x_resolution,const double y_resolution,
5665  const FilterType filter)
5666</pre>
5667
5668<p>A description of each parameter follows:</p>
5669
5670<dd>
5671</dd>
5672
5673<dd> </dd>
5674<dl class="dl-horizontal">
5675<dt>wand</dt>
5676<dd>the magick wand. </dd>
5677
5678<dd> </dd>
5679<dt>x_resolution</dt>
5680<dd>the new image x resolution. </dd>
5681
5682<dd> </dd>
5683<dt>y_resolution</dt>
5684<dd>the new image y resolution. </dd>
5685
5686<dd> </dd>
5687<dt>filter</dt>
5688<dd>Image filter to use. </dd>
5689
5690<dd>  </dd>
5691</dl>
5692<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickResetImagePage">MagickResetImagePage</a></h2>
5693
5694<p>MagickResetImagePage() resets the Wand page canvas and position.</p>
5695
5696<p>The format of the MagickResetImagePage method is:</p>
5697
5698<pre class="text">
5699MagickBooleanType MagickResetImagePage(MagickWand *wand,
5700  const char *page)
5701</pre>
5702
5703<p>A description of each parameter follows:</p>
5704
5705<dd>
5706</dd>
5707
5708<dd> </dd>
5709<dl class="dl-horizontal">
5710<dt>wand</dt>
5711<dd>the magick wand. </dd>
5712
5713<dd> </dd>
5714<dt>page</dt>
5715<dd>the relative page specification. </dd>
5716
5717<dd>  </dd>
5718</dl>
5719<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickResizeImage">MagickResizeImage</a></h2>
5720
5721<p>MagickResizeImage() scales an image to the desired dimensions with one of these filters:</p>
5722
5723<pre class="text">
5724    Bessel   Blackman   Box
5725    Catrom   CubicGaussian
5726    Hanning  Hermite    Lanczos
5727    Mitchell PointQuandratic
5728    Sinc     Triangle
5729</pre>
5730
5731<p>Most of the filters are FIR (finite impulse response), however, Bessel, Gaussian, and Sinc are IIR (infinite impulse response).  Bessel and Sinc are windowed (brought down to zero) with the Blackman filter.</p>
5732
5733<p>The format of the MagickResizeImage method is:</p>
5734
5735<pre class="text">
5736MagickBooleanType MagickResizeImage(MagickWand *wand,
5737  const size_t columns,const size_t rows,const FilterType filter)
5738</pre>
5739
5740<p>A description of each parameter follows:</p>
5741
5742<dd>
5743</dd>
5744
5745<dd> </dd>
5746<dl class="dl-horizontal">
5747<dt>wand</dt>
5748<dd>the magick wand. </dd>
5749
5750<dd> </dd>
5751<dt>columns</dt>
5752<dd>the number of columns in the scaled image. </dd>
5753
5754<dd> </dd>
5755<dt>rows</dt>
5756<dd>the number of rows in the scaled image. </dd>
5757
5758<dd> </dd>
5759<dt>filter</dt>
5760<dd>Image filter to use. </dd>
5761
5762<dd>  </dd>
5763</dl>
5764<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickRollImage">MagickRollImage</a></h2>
5765
5766<p>MagickRollImage() offsets an image as defined by x and y.</p>
5767
5768<p>The format of the MagickRollImage method is:</p>
5769
5770<pre class="text">
5771MagickBooleanType MagickRollImage(MagickWand *wand,const ssize_t x,
5772  const size_t y)
5773</pre>
5774
5775<p>A description of each parameter follows:</p>
5776
5777<dd>
5778</dd>
5779
5780<dd> </dd>
5781<dl class="dl-horizontal">
5782<dt>wand</dt>
5783<dd>the magick wand. </dd>
5784
5785<dd> </dd>
5786<dt>x</dt>
5787<dd>the x offset. </dd>
5788
5789<dd> </dd>
5790<dt>y</dt>
5791<dd>the y offset. </dd>
5792
5793<dd> </dd>
5794
5795<dd>  </dd>
5796</dl>
5797<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickRotateImage">MagickRotateImage</a></h2>
5798
5799<p>MagickRotateImage() rotates an image the specified number of degrees. Empty triangles left over from rotating the image are filled with the background color.</p>
5800
5801<p>The format of the MagickRotateImage method is:</p>
5802
5803<pre class="text">
5804MagickBooleanType MagickRotateImage(MagickWand *wand,
5805  const PixelWand *background,const double degrees)
5806</pre>
5807
5808<p>A description of each parameter follows:</p>
5809
5810<dd>
5811</dd>
5812
5813<dd> </dd>
5814<dl class="dl-horizontal">
5815<dt>wand</dt>
5816<dd>the magick wand. </dd>
5817
5818<dd> </dd>
5819<dt>background</dt>
5820<dd>the background pixel wand. </dd>
5821
5822<dd> </dd>
5823<dt>degrees</dt>
5824<dd>the number of degrees to rotate the image. </dd>
5825
5826<dd> </dd>
5827
5828<dd>  </dd>
5829</dl>
5830<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSampleImage">MagickSampleImage</a></h2>
5831
5832<p>MagickSampleImage() scales an image to the desired dimensions with pixel sampling.  Unlike other scaling methods, this method does not introduce any additional color into the scaled image.</p>
5833
5834<p>The format of the MagickSampleImage method is:</p>
5835
5836<pre class="text">
5837MagickBooleanType MagickSampleImage(MagickWand *wand,
5838  const size_t columns,const size_t rows)
5839</pre>
5840
5841<p>A description of each parameter follows:</p>
5842
5843<dd>
5844</dd>
5845
5846<dd> </dd>
5847<dl class="dl-horizontal">
5848<dt>wand</dt>
5849<dd>the magick wand. </dd>
5850
5851<dd> </dd>
5852<dt>columns</dt>
5853<dd>the number of columns in the scaled image. </dd>
5854
5855<dd> </dd>
5856<dt>rows</dt>
5857<dd>the number of rows in the scaled image. </dd>
5858
5859<dd> </dd>
5860
5861<dd>  </dd>
5862</dl>
5863<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickScaleImage">MagickScaleImage</a></h2>
5864
5865<p>MagickScaleImage() scales the size of an image to the given dimensions.</p>
5866
5867<p>The format of the MagickScaleImage method is:</p>
5868
5869<pre class="text">
5870MagickBooleanType MagickScaleImage(MagickWand *wand,
5871  const size_t columns,const size_t rows)
5872</pre>
5873
5874<p>A description of each parameter follows:</p>
5875
5876<dd>
5877</dd>
5878
5879<dd> </dd>
5880<dl class="dl-horizontal">
5881<dt>wand</dt>
5882<dd>the magick wand. </dd>
5883
5884<dd> </dd>
5885<dt>columns</dt>
5886<dd>the number of columns in the scaled image. </dd>
5887
5888<dd> </dd>
5889<dt>rows</dt>
5890<dd>the number of rows in the scaled image. </dd>
5891
5892<dd> </dd>
5893
5894<dd>  </dd>
5895</dl>
5896<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSegmentImage">MagickSegmentImage</a></h2>
5897
5898<p>MagickSegmentImage() segments an image by analyzing the histograms of the color components and identifying units that are homogeneous with the fuzzy C-means technique.</p>
5899
5900<p>The format of the SegmentImage method is:</p>
5901
5902<pre class="text">
5903MagickBooleanType MagickSegmentImage(MagickWand *wand,
5904  const ColorspaceType colorspace,const MagickBooleanType verbose,
5905  const double cluster_threshold,const double smooth_threshold)
5906</pre>
5907
5908<p>A description of each parameter follows.</p>
5909
5910<dt>wand</dt>
5911<p>the wand.</p>
5912
5913<dt>colorspace</dt>
5914<p>the image colorspace.</p>
5915
5916<dt>verbose</dt>
5917<p>Set to MagickTrue to print detailed information about the identified classes.</p>
5918
5919<dt>cluster_threshold</dt>
5920<p>This represents the minimum number of pixels contained in a hexahedra before it can be considered valid (expressed as a percentage).</p>
5921
5922<dt>smooth_threshold</dt>
5923<p>the smoothing threshold eliminates noise in the second derivative of the histogram.  As the value is increased, you can expect a smoother second derivative.</p>
5924
5925<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSelectiveBlurImage">MagickSelectiveBlurImage</a></h2>
5926
5927<p>MagickSelectiveBlurImage() selectively blur an image within a contrast threshold. It is similar to the unsharpen mask that sharpens everything with contrast above a certain threshold.</p>
5928
5929<p>The format of the MagickSelectiveBlurImage method is:</p>
5930
5931<pre class="text">
5932MagickBooleanType MagickSelectiveBlurImage(MagickWand *wand,
5933  const double radius,const double sigma,const double threshold)
5934</pre>
5935
5936<p>A description of each parameter follows:</p>
5937
5938<dd>
5939</dd>
5940
5941<dd> </dd>
5942<dl class="dl-horizontal">
5943<dt>wand</dt>
5944<dd>the magick wand. </dd>
5945
5946<dd> </dd>
5947<dt>radius</dt>
5948<dd>the radius of the gaussian, in pixels, not counting the center pixel. </dd>
5949
5950<dd> </dd>
5951<dt>sigma</dt>
5952<dd>the standard deviation of the gaussian, in pixels. </dd>
5953
5954<dd> </dd>
5955<dt>threshold</dt>
5956<dd>only pixels within this contrast threshold are included in the blur operation. </dd>
5957
5958<dd>  </dd>
5959</dl>
5960<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSeparateImage">MagickSeparateImage</a></h2>
5961
5962<p>MagickSeparateImage() separates a channel from the image and returns a grayscale image.  A channel is a particular color component of each pixel in the image.</p>
5963
5964<p>The format of the MagickSeparateImage method is:</p>
5965
5966<pre class="text">
5967MagickBooleanType MagickSeparateImage(MagickWand *wand,
5968  const ChannelType channel)
5969</pre>
5970
5971<p>A description of each parameter follows:</p>
5972
5973<dd>
5974</dd>
5975
5976<dd> </dd>
5977<dl class="dl-horizontal">
5978<dt>wand</dt>
5979<dd>the magick wand. </dd>
5980
5981<dd> </dd>
5982<dt>channel</dt>
5983<dd>the channel. </dd>
5984
5985<dd>  </dd>
5986</dl>
5987<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSepiaToneImage">MagickSepiaToneImage</a></h2>
5988
5989<p>MagickSepiaToneImage() applies a special effect to the image, similar to the effect achieved in a photo darkroom by sepia toning.  Threshold ranges from 0 to QuantumRange and is a measure of the extent of the sepia toning.  A threshold of 80 is a good starting point for a reasonable tone.</p>
5990
5991<p>The format of the MagickSepiaToneImage method is:</p>
5992
5993<pre class="text">
5994MagickBooleanType MagickSepiaToneImage(MagickWand *wand,
5995  const double threshold)
5996</pre>
5997
5998<p>A description of each parameter follows:</p>
5999
6000<dd>
6001</dd>
6002
6003<dd> </dd>
6004<dl class="dl-horizontal">
6005<dt>wand</dt>
6006<dd>the magick wand. </dd>
6007
6008<dd> </dd>
6009<dt>threshold</dt>
6010<dd> Define the extent of the sepia toning. </dd>
6011
6012<dd>  </dd>
6013</dl>
6014<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImage">MagickSetImage</a></h2>
6015
6016<p>MagickSetImage() replaces the last image returned by MagickSetIteratorIndex(), MagickNextImage(), MagickPreviousImage() with the images from the specified wand.</p>
6017
6018<p>The format of the MagickSetImage method is:</p>
6019
6020<pre class="text">
6021MagickBooleanType MagickSetImage(MagickWand *wand,
6022  const MagickWand *set_wand)
6023</pre>
6024
6025<p>A description of each parameter follows:</p>
6026
6027<dd>
6028</dd>
6029
6030<dd> </dd>
6031<dl class="dl-horizontal">
6032<dt>wand</dt>
6033<dd>the magick wand. </dd>
6034
6035<dd> </dd>
6036<dt>set_wand</dt>
6037<dd>the set_wand wand. </dd>
6038
6039<dd>  </dd>
6040</dl>
6041<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageAlphaChannel">MagickSetImageAlphaChannel</a></h2>
6042
6043<p>MagickSetImageAlphaChannel() activates, deactivates, resets, or sets the alpha channel.</p>
6044
6045<p>The format of the MagickSetImageAlphaChannel method is:</p>
6046
6047<pre class="text">
6048MagickBooleanType MagickSetImageAlphaChannel(MagickWand *wand,
6049  const AlphaChannelOption alpha_type)
6050</pre>
6051
6052<p>A description of each parameter follows:</p>
6053
6054<dd>
6055</dd>
6056
6057<dd> </dd>
6058<dl class="dl-horizontal">
6059<dt>wand</dt>
6060<dd>the magick wand. </dd>
6061
6062<dd> </dd>
6063<dt>alpha_type</dt>
6064<dd>the alpha channel type: ActivateAlphaChannel, DeactivateAlphaChannel, OpaqueAlphaChannel, or SetAlphaChannel. </dd>
6065
6066<dd>  </dd>
6067</dl>
6068<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageBackgroundColor">MagickSetImageBackgroundColor</a></h2>
6069
6070<p>MagickSetImageBackgroundColor() sets the image background color.</p>
6071
6072<p>The format of the MagickSetImageBackgroundColor method is:</p>
6073
6074<pre class="text">
6075MagickBooleanType MagickSetImageBackgroundColor(MagickWand *wand,
6076  const PixelWand *background)
6077</pre>
6078
6079<p>A description of each parameter follows:</p>
6080
6081<dd>
6082</dd>
6083
6084<dd> </dd>
6085<dl class="dl-horizontal">
6086<dt>wand</dt>
6087<dd>the magick wand. </dd>
6088
6089<dd> </dd>
6090<dt>background</dt>
6091<dd>the background pixel wand. </dd>
6092
6093<dd>  </dd>
6094</dl>
6095<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageBluePrimary">MagickSetImageBluePrimary</a></h2>
6096
6097<p>MagickSetImageBluePrimary() sets the image chromaticity blue primary point.</p>
6098
6099<p>The format of the MagickSetImageBluePrimary method is:</p>
6100
6101<pre class="text">
6102MagickBooleanType MagickSetImageBluePrimary(MagickWand *wand,
6103  const double x,const double y,const double z)
6104</pre>
6105
6106<p>A description of each parameter follows:</p>
6107
6108<dd>
6109</dd>
6110
6111<dd> </dd>
6112<dl class="dl-horizontal">
6113<dt>wand</dt>
6114<dd>the magick wand. </dd>
6115
6116<dd> </dd>
6117<dt>x</dt>
6118<dd>the blue primary x-point. </dd>
6119
6120<dd> </dd>
6121<dt>y</dt>
6122<dd>the blue primary y-point. </dd>
6123
6124<dd> </dd>
6125<dt>z</dt>
6126<dd>the blue primary z-point. </dd>
6127
6128<dd>  </dd>
6129</dl>
6130<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageBorderColor">MagickSetImageBorderColor</a></h2>
6131
6132<p>MagickSetImageBorderColor() sets the image border color.</p>
6133
6134<p>The format of the MagickSetImageBorderColor method is:</p>
6135
6136<pre class="text">
6137MagickBooleanType MagickSetImageBorderColor(MagickWand *wand,
6138  const PixelWand *border)
6139</pre>
6140
6141<p>A description of each parameter follows:</p>
6142
6143<dd>
6144</dd>
6145
6146<dd> </dd>
6147<dl class="dl-horizontal">
6148<dt>wand</dt>
6149<dd>the magick wand. </dd>
6150
6151<dd> </dd>
6152<dt>border</dt>
6153<dd>the border pixel wand. </dd>
6154
6155<dd>  </dd>
6156</dl>
6157<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageChannelMask">MagickSetImageChannelMask</a></h2>
6158
6159<p>MagickSetImageChannelMask() sets image channel mask.</p>
6160
6161<p>The format of the MagickSetImageChannelMask method is:</p>
6162
6163<pre class="text">
6164ChannelType MagickSetImageChannelMask(MagickWand *wand,
6165  const ChannelType channel_mask)
6166</pre>
6167
6168<p>A description of each parameter follows:</p>
6169
6170<dd>
6171</dd>
6172
6173<dd> </dd>
6174<dl class="dl-horizontal">
6175<dt>wand</dt>
6176<dd>the magick wand. </dd>
6177
6178<dd> </dd>
6179<dt>channel_mask</dt>
6180<dd>the channel_mask wand. </dd>
6181
6182<dd>  </dd>
6183</dl>
6184<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageMask">MagickSetImageMask</a></h2>
6185
6186<p>MagickSetImageMask() sets image clip mask.</p>
6187
6188<p>The format of the MagickSetImageMask method is:</p>
6189
6190<pre class="text">
6191MagickBooleanType MagickSetImageMask(MagickWand *wand,
6192  const PixelMask type,const MagickWand *clip_mask)
6193</pre>
6194
6195<p>A description of each parameter follows:</p>
6196
6197<dd>
6198</dd>
6199
6200<dd> </dd>
6201<dl class="dl-horizontal">
6202<dt>wand</dt>
6203<dd>the magick wand. </dd>
6204
6205<dd> </dd>
6206<dt>type</dt>
6207<dd>type of mask, ReadPixelMask or WritePixelMask. </dd>
6208
6209<dd> </dd>
6210<dt>clip_mask</dt>
6211<dd>the clip_mask wand. </dd>
6212
6213<dd>  </dd>
6214</dl>
6215<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageColor">MagickSetImageColor</a></h2>
6216
6217<p>MagickSetImageColor() set the entire wand canvas to the specified color.</p>
6218
6219<p>The format of the MagickSetImageColor method is:</p>
6220
6221<pre class="text">
6222MagickBooleanType MagickSetImageColor(MagickWand *wand,
6223  const PixelWand *color)
6224</pre>
6225
6226<p>A description of each parameter follows:</p>
6227
6228<dd>
6229</dd>
6230
6231<dd> </dd>
6232<dl class="dl-horizontal">
6233<dt>wand</dt>
6234<dd>the magick wand. </dd>
6235
6236<dd> </dd>
6237<dt>background</dt>
6238<dd>the image color. </dd>
6239
6240<dd>  </dd>
6241</dl>
6242<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageColormapColor">MagickSetImageColormapColor</a></h2>
6243
6244<p>MagickSetImageColormapColor() sets the color of the specified colormap index.</p>
6245
6246<p>The format of the MagickSetImageColormapColor method is:</p>
6247
6248<pre class="text">
6249MagickBooleanType MagickSetImageColormapColor(MagickWand *wand,
6250  const size_t index,const PixelWand *color)
6251</pre>
6252
6253<p>A description of each parameter follows:</p>
6254
6255<dd>
6256</dd>
6257
6258<dd> </dd>
6259<dl class="dl-horizontal">
6260<dt>wand</dt>
6261<dd>the magick wand. </dd>
6262
6263<dd> </dd>
6264<dt>index</dt>
6265<dd>the offset into the image colormap. </dd>
6266
6267<dd> </dd>
6268<dt>color</dt>
6269<dd>Return the colormap color in this wand. </dd>
6270
6271<dd>  </dd>
6272</dl>
6273<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageColorspace">MagickSetImageColorspace</a></h2>
6274
6275<p>MagickSetImageColorspace() sets the image colorspace. But does not modify the image data.</p>
6276
6277<p>The format of the MagickSetImageColorspace method is:</p>
6278
6279<pre class="text">
6280MagickBooleanType MagickSetImageColorspace(MagickWand *wand,
6281  const ColorspaceType colorspace)
6282</pre>
6283
6284<p>A description of each parameter follows:</p>
6285
6286<dd>
6287</dd>
6288
6289<dd> </dd>
6290<dl class="dl-horizontal">
6291<dt>wand</dt>
6292<dd>the magick wand. </dd>
6293
6294<dd> </dd>
6295<dt>colorspace</dt>
6296<dd>the image colorspace:   UndefinedColorspace, RGBColorspace, GRAYColorspace, TransparentColorspace, OHTAColorspace, XYZColorspace, YCbCrColorspace, YCCColorspace, YIQColorspace, YPbPrColorspace, YPbPrColorspace, YUVColorspace, CMYKColorspace, sRGBColorspace, HSLColorspace, or HWBColorspace. </dd>
6297
6298<dd>  </dd>
6299</dl>
6300<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageCompose">MagickSetImageCompose</a></h2>
6301
6302<p>MagickSetImageCompose() sets the image composite operator, useful for specifying how to composite the image thumbnail when using the MagickMontageImage() method.</p>
6303
6304<p>The format of the MagickSetImageCompose method is:</p>
6305
6306<pre class="text">
6307MagickBooleanType MagickSetImageCompose(MagickWand *wand,
6308  const CompositeOperator compose)
6309</pre>
6310
6311<p>A description of each parameter follows:</p>
6312
6313<dd>
6314</dd>
6315
6316<dd> </dd>
6317<dl class="dl-horizontal">
6318<dt>wand</dt>
6319<dd>the magick wand. </dd>
6320
6321<dd> </dd>
6322<dt>compose</dt>
6323<dd>the image composite operator. </dd>
6324
6325<dd>  </dd>
6326</dl>
6327<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageCompression">MagickSetImageCompression</a></h2>
6328
6329<p>MagickSetImageCompression() sets the image compression.</p>
6330
6331<p>The format of the MagickSetImageCompression method is:</p>
6332
6333<pre class="text">
6334MagickBooleanType MagickSetImageCompression(MagickWand *wand,
6335  const CompressionType compression)
6336</pre>
6337
6338<p>A description of each parameter follows:</p>
6339
6340<dd>
6341</dd>
6342
6343<dd> </dd>
6344<dl class="dl-horizontal">
6345<dt>wand</dt>
6346<dd>the magick wand. </dd>
6347
6348<dd> </dd>
6349<dt>compression</dt>
6350<dd>the image compression type. </dd>
6351
6352<dd>  </dd>
6353</dl>
6354<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageCompressionQuality">MagickSetImageCompressionQuality</a></h2>
6355
6356<p>MagickSetImageCompressionQuality() sets the image compression quality.</p>
6357
6358<p>The format of the MagickSetImageCompressionQuality method is:</p>
6359
6360<pre class="text">
6361MagickBooleanType MagickSetImageCompressionQuality(MagickWand *wand,
6362  const size_t quality)
6363</pre>
6364
6365<p>A description of each parameter follows:</p>
6366
6367<dd>
6368</dd>
6369
6370<dd> </dd>
6371<dl class="dl-horizontal">
6372<dt>wand</dt>
6373<dd>the magick wand. </dd>
6374
6375<dd> </dd>
6376<dt>quality</dt>
6377<dd>the image compression tlityype. </dd>
6378
6379<dd>  </dd>
6380</dl>
6381<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageDelay">MagickSetImageDelay</a></h2>
6382
6383<p>MagickSetImageDelay() sets the image delay.</p>
6384
6385<p>The format of the MagickSetImageDelay method is:</p>
6386
6387<pre class="text">
6388MagickBooleanType MagickSetImageDelay(MagickWand *wand,
6389  const size_t delay)
6390</pre>
6391
6392<p>A description of each parameter follows:</p>
6393
6394<dd>
6395</dd>
6396
6397<dd> </dd>
6398<dl class="dl-horizontal">
6399<dt>wand</dt>
6400<dd>the magick wand. </dd>
6401
6402<dd> </dd>
6403<dt>delay</dt>
6404<dd>the image delay in ticks-per-second units. </dd>
6405
6406<dd>  </dd>
6407</dl>
6408<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageDepth">MagickSetImageDepth</a></h2>
6409
6410<p>MagickSetImageDepth() sets the image depth.</p>
6411
6412<p>The format of the MagickSetImageDepth method is:</p>
6413
6414<pre class="text">
6415MagickBooleanType MagickSetImageDepth(MagickWand *wand,
6416  const size_t depth)
6417</pre>
6418
6419<p>A description of each parameter follows:</p>
6420
6421<dd>
6422</dd>
6423
6424<dd> </dd>
6425<dl class="dl-horizontal">
6426<dt>wand</dt>
6427<dd>the magick wand. </dd>
6428
6429<dd> </dd>
6430<dt>depth</dt>
6431<dd>the image depth in bits: 8, 16, or 32. </dd>
6432
6433<dd>  </dd>
6434</dl>
6435<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageDispose">MagickSetImageDispose</a></h2>
6436
6437<p>MagickSetImageDispose() sets the image disposal method.</p>
6438
6439<p>The format of the MagickSetImageDispose method is:</p>
6440
6441<pre class="text">
6442MagickBooleanType MagickSetImageDispose(MagickWand *wand,
6443  const DisposeType dispose)
6444</pre>
6445
6446<p>A description of each parameter follows:</p>
6447
6448<dd>
6449</dd>
6450
6451<dd> </dd>
6452<dl class="dl-horizontal">
6453<dt>wand</dt>
6454<dd>the magick wand. </dd>
6455
6456<dd> </dd>
6457<dt>dispose</dt>
6458<dd>the image disposeal type. </dd>
6459
6460<dd>  </dd>
6461</dl>
6462<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageEndian">MagickSetImageEndian</a></h2>
6463
6464<p>MagickSetImageEndian() sets the image endian method.</p>
6465
6466<p>The format of the MagickSetImageEndian method is:</p>
6467
6468<pre class="text">
6469MagickBooleanType MagickSetImageEndian(MagickWand *wand,
6470  const EndianType endian)
6471</pre>
6472
6473<p>A description of each parameter follows:</p>
6474
6475<dd>
6476</dd>
6477
6478<dd> </dd>
6479<dl class="dl-horizontal">
6480<dt>wand</dt>
6481<dd>the magick wand. </dd>
6482
6483<dd> </dd>
6484<dt>endian</dt>
6485<dd>the image endian type. </dd>
6486
6487<dd>  </dd>
6488</dl>
6489<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageExtent">MagickSetImageExtent</a></h2>
6490
6491<p>MagickSetImageExtent() sets the image size (i.e. columns &amp; rows).</p>
6492
6493<p>The format of the MagickSetImageExtent method is:</p>
6494
6495<pre class="text">
6496MagickBooleanType MagickSetImageExtent(MagickWand *wand,
6497  const size_t columns,const unsigned rows)
6498</pre>
6499
6500<p>A description of each parameter follows:</p>
6501
6502<dd>
6503</dd>
6504
6505<dd> </dd>
6506<dl class="dl-horizontal">
6507<dt>wand</dt>
6508<dd>the magick wand. </dd>
6509
6510<dd> </dd>
6511<dt>columns</dt>
6512<dd> The image width in pixels. </dd>
6513
6514<dd> </dd>
6515<dt>rows</dt>
6516<dd> The image height in pixels. </dd>
6517
6518<dd>  </dd>
6519</dl>
6520<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageFilename">MagickSetImageFilename</a></h2>
6521
6522<p>MagickSetImageFilename() sets the filename of a particular image in a sequence.</p>
6523
6524<p>The format of the MagickSetImageFilename method is:</p>
6525
6526<pre class="text">
6527MagickBooleanType MagickSetImageFilename(MagickWand *wand,
6528  const char *filename)
6529</pre>
6530
6531<p>A description of each parameter follows:</p>
6532
6533<dd>
6534</dd>
6535
6536<dd> </dd>
6537<dl class="dl-horizontal">
6538<dt>wand</dt>
6539<dd>the magick wand. </dd>
6540
6541<dd> </dd>
6542<dt>filename</dt>
6543<dd>the image filename. </dd>
6544
6545<dd>  </dd>
6546</dl>
6547<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageFormat">MagickSetImageFormat</a></h2>
6548
6549<p>MagickSetImageFormat() sets the format of a particular image in a sequence.</p>
6550
6551<p>The format of the MagickSetImageFormat method is:</p>
6552
6553<pre class="text">
6554MagickBooleanType MagickSetImageFormat(MagickWand *wand,
6555  const char *format)
6556</pre>
6557
6558<p>A description of each parameter follows:</p>
6559
6560<dd>
6561</dd>
6562
6563<dd> </dd>
6564<dl class="dl-horizontal">
6565<dt>wand</dt>
6566<dd>the magick wand. </dd>
6567
6568<dd> </dd>
6569<dt>format</dt>
6570<dd>the image format. </dd>
6571
6572<dd>  </dd>
6573</dl>
6574<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageFuzz">MagickSetImageFuzz</a></h2>
6575
6576<p>MagickSetImageFuzz() sets the image fuzz.</p>
6577
6578<p>The format of the MagickSetImageFuzz method is:</p>
6579
6580<pre class="text">
6581MagickBooleanType MagickSetImageFuzz(MagickWand *wand,
6582  const double fuzz)
6583</pre>
6584
6585<p>A description of each parameter follows:</p>
6586
6587<dd>
6588</dd>
6589
6590<dd> </dd>
6591<dl class="dl-horizontal">
6592<dt>wand</dt>
6593<dd>the magick wand. </dd>
6594
6595<dd> </dd>
6596<dt>fuzz</dt>
6597<dd>the image fuzz. </dd>
6598
6599<dd>  </dd>
6600</dl>
6601<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageGamma">MagickSetImageGamma</a></h2>
6602
6603<p>MagickSetImageGamma() sets the image gamma.</p>
6604
6605<p>The format of the MagickSetImageGamma method is:</p>
6606
6607<pre class="text">
6608MagickBooleanType MagickSetImageGamma(MagickWand *wand,
6609  const double gamma)
6610</pre>
6611
6612<p>A description of each parameter follows:</p>
6613
6614<dd>
6615</dd>
6616
6617<dd> </dd>
6618<dl class="dl-horizontal">
6619<dt>wand</dt>
6620<dd>the magick wand. </dd>
6621
6622<dd> </dd>
6623<dt>gamma</dt>
6624<dd>the image gamma. </dd>
6625
6626<dd>  </dd>
6627</dl>
6628<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageGravity">MagickSetImageGravity</a></h2>
6629
6630<p>MagickSetImageGravity() sets the image gravity type.</p>
6631
6632<p>The format of the MagickSetImageGravity method is:</p>
6633
6634<pre class="text">
6635MagickBooleanType MagickSetImageGravity(MagickWand *wand,
6636  const GravityType gravity)
6637</pre>
6638
6639<p>A description of each parameter follows:</p>
6640
6641<dd>
6642</dd>
6643
6644<dd> </dd>
6645<dl class="dl-horizontal">
6646<dt>wand</dt>
6647<dd>the magick wand. </dd>
6648
6649<dd> </dd>
6650<dt>gravity</dt>
6651<dd>positioning gravity (NorthWestGravity, NorthGravity, NorthEastGravity, WestGravity, CenterGravity, EastGravity, SouthWestGravity, SouthGravity, SouthEastGravity) </dd>
6652
6653<dd>  </dd>
6654</dl>
6655<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageGreenPrimary">MagickSetImageGreenPrimary</a></h2>
6656
6657<p>MagickSetImageGreenPrimary() sets the image chromaticity green primary point.</p>
6658
6659<p>The format of the MagickSetImageGreenPrimary method is:</p>
6660
6661<pre class="text">
6662MagickBooleanType MagickSetImageGreenPrimary(MagickWand *wand,
6663  const double x,const double y,const double z)
6664</pre>
6665
6666<p>A description of each parameter follows:</p>
6667
6668<dd>
6669</dd>
6670
6671<dd> </dd>
6672<dl class="dl-horizontal">
6673<dt>wand</dt>
6674<dd>the magick wand. </dd>
6675
6676<dd> </dd>
6677<dt>x</dt>
6678<dd>the green primary x-point. </dd>
6679
6680<dd> </dd>
6681<dt>y</dt>
6682<dd>the green primary y-point. </dd>
6683
6684<dd> </dd>
6685<dt>z</dt>
6686<dd>the green primary z-point. </dd>
6687
6688<dd>  </dd>
6689</dl>
6690<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageInterlaceScheme">MagickSetImageInterlaceScheme</a></h2>
6691
6692<p>MagickSetImageInterlaceScheme() sets the image interlace scheme.</p>
6693
6694<p>The format of the MagickSetImageInterlaceScheme method is:</p>
6695
6696<pre class="text">
6697MagickBooleanType MagickSetImageInterlaceScheme(MagickWand *wand,
6698  const InterlaceType interlace)
6699</pre>
6700
6701<p>A description of each parameter follows:</p>
6702
6703<dd>
6704</dd>
6705
6706<dd> </dd>
6707<dl class="dl-horizontal">
6708<dt>wand</dt>
6709<dd>the magick wand. </dd>
6710
6711<dd> </dd>
6712<dt>interlace</dt>
6713<dd>the image interlace scheme: NoInterlace, LineInterlace, PlaneInterlace, PartitionInterlace. </dd>
6714
6715<dd>  </dd>
6716</dl>
6717<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageInterpolateMethod">MagickSetImageInterpolateMethod</a></h2>
6718
6719<p>MagickSetImageInterpolateMethod() sets the image interpolate pixel method.</p>
6720
6721<p>The format of the MagickSetImageInterpolateMethod method is:</p>
6722
6723<pre class="text">
6724MagickBooleanType MagickSetImageInterpolateMethod(MagickWand *wand,
6725  const PixelInterpolateMethod method)
6726</pre>
6727
6728<p>A description of each parameter follows:</p>
6729
6730<dd>
6731</dd>
6732
6733<dd> </dd>
6734<dl class="dl-horizontal">
6735<dt>wand</dt>
6736<dd>the magick wand. </dd>
6737
6738<dd> </dd>
6739<dt>method</dt>
6740<dd>the image interpole pixel methods: choose from Undefined, Average, Bicubic, Bilinear, Filter, Integer, Mesh, NearestNeighbor. </dd>
6741
6742<dd>  </dd>
6743</dl>
6744<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageIterations">MagickSetImageIterations</a></h2>
6745
6746<p>MagickSetImageIterations() sets the image iterations.</p>
6747
6748<p>The format of the MagickSetImageIterations method is:</p>
6749
6750<pre class="text">
6751MagickBooleanType MagickSetImageIterations(MagickWand *wand,
6752  const size_t iterations)
6753</pre>
6754
6755<p>A description of each parameter follows:</p>
6756
6757<dd>
6758</dd>
6759
6760<dd> </dd>
6761<dl class="dl-horizontal">
6762<dt>wand</dt>
6763<dd>the magick wand. </dd>
6764
6765<dd> </dd>
6766<dt>delay</dt>
6767<dd>the image delay in 1/100th of a second. </dd>
6768
6769<dd>  </dd>
6770</dl>
6771<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageMatte">MagickSetImageMatte</a></h2>
6772
6773<p>MagickSetImageMatte() sets the image matte channel.</p>
6774
6775<p>The format of the MagickSetImageMatte method is:</p>
6776
6777<pre class="text">
6778MagickBooleanType MagickSetImageMatte(MagickWand *wand,
6779  const MagickBooleanType *matte)
6780</pre>
6781
6782<p>A description of each parameter follows:</p>
6783
6784<dd>
6785</dd>
6786
6787<dd> </dd>
6788<dl class="dl-horizontal">
6789<dt>wand</dt>
6790<dd>the magick wand. </dd>
6791
6792<dd> </dd>
6793<dt>matte</dt>
6794<dd>Set to MagickTrue to enable the image matte channel otherwise MagickFalse. </dd>
6795
6796<dd>  </dd>
6797</dl>
6798<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageMatteColor">MagickSetImageMatteColor</a></h2>
6799
6800<p>MagickSetImageMatteColor() sets the image alpha color.</p>
6801
6802<p>The format of the MagickSetImageMatteColor method is:</p>
6803
6804<pre class="text">
6805MagickBooleanType MagickSetImageMatteColor(MagickWand *wand,
6806  const PixelWand *matte)
6807</pre>
6808
6809<p>A description of each parameter follows:</p>
6810
6811<dd>
6812</dd>
6813
6814<dd> </dd>
6815<dl class="dl-horizontal">
6816<dt>wand</dt>
6817<dd>the magick wand. </dd>
6818
6819<dd> </dd>
6820<dt>matte</dt>
6821<dd>the alpha pixel wand. </dd>
6822
6823<dd>  </dd>
6824</dl>
6825<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageAlpha">MagickSetImageAlpha</a></h2>
6826
6827<p>MagickSetImageAlpha() sets the image to the specified alpha level.</p>
6828
6829<p>The format of the MagickSetImageAlpha method is:</p>
6830
6831<pre class="text">
6832MagickBooleanType MagickSetImageAlpha(MagickWand *wand,
6833  const double alpha)
6834</pre>
6835
6836<p>A description of each parameter follows:</p>
6837
6838<dd>
6839</dd>
6840
6841<dd> </dd>
6842<dl class="dl-horizontal">
6843<dt>wand</dt>
6844<dd>the magick wand. </dd>
6845
6846<dd> </dd>
6847<dt>alpha</dt>
6848<dd>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent. </dd>
6849
6850<dd>  </dd>
6851</dl>
6852<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageOrientation">MagickSetImageOrientation</a></h2>
6853
6854<p>MagickSetImageOrientation() sets the image orientation.</p>
6855
6856<p>The format of the MagickSetImageOrientation method is:</p>
6857
6858<pre class="text">
6859MagickBooleanType MagickSetImageOrientation(MagickWand *wand,
6860  const OrientationType orientation)
6861</pre>
6862
6863<p>A description of each parameter follows:</p>
6864
6865<dd>
6866</dd>
6867
6868<dd> </dd>
6869<dl class="dl-horizontal">
6870<dt>wand</dt>
6871<dd>the magick wand. </dd>
6872
6873<dd> </dd>
6874<dt>orientation</dt>
6875<dd>the image orientation type. </dd>
6876
6877<dd>  </dd>
6878</dl>
6879<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImagePage">MagickSetImagePage</a></h2>
6880
6881<p>MagickSetImagePage() sets the page geometry of the image.</p>
6882
6883<p>The format of the MagickSetImagePage method is:</p>
6884
6885<pre class="text">
6886MagickBooleanType MagickSetImagePage(MagickWand *wand,const size_t width,        const size_t height,const ssize_t x,const ssize_t y)
6887</pre>
6888
6889<p>A description of each parameter follows:</p>
6890
6891<dd>
6892</dd>
6893
6894<dd> </dd>
6895<dl class="dl-horizontal">
6896<dt>wand</dt>
6897<dd>the magick wand. </dd>
6898
6899<dd> </dd>
6900<dt>width</dt>
6901<dd>the page width. </dd>
6902
6903<dd> </dd>
6904<dt>height</dt>
6905<dd>the page height. </dd>
6906
6907<dd> </dd>
6908<dt>x</dt>
6909<dd>the page x-offset. </dd>
6910
6911<dd> </dd>
6912<dt>y</dt>
6913<dd>the page y-offset. </dd>
6914
6915<dd>  </dd>
6916</dl>
6917<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImagePixelColor">MagickSetImagePixelColor</a></h2>
6918
6919<p>MagickSetImagePixelColor() sets the color of the specified pixel.</p>
6920
6921<p>The format of the MagickSetImagePixelColor method is:</p>
6922
6923<pre class="text">
6924MagickBooleanType MagickSetImagePixelColor(MagickWand *wand,
6925  const ssize_t x,const ssize_t y,const PixelWand *color)
6926</pre>
6927
6928<p>A description of each parameter follows:</p>
6929
6930<dd>
6931</dd>
6932
6933<dd> </dd>
6934<dl class="dl-horizontal">
6935<dt>wand</dt>
6936<dd>the magick wand. </dd>
6937
6938<dd> </dd>
6939<dt>x,y</dt>
6940<dd>the pixel offset into the image. </dd>
6941
6942<dd> </dd>
6943<dt>color</dt>
6944<dd>Return the colormap color in this wand. </dd>
6945
6946<dd>  </dd>
6947</dl>
6948<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageProgressMonitor">MagickSetImageProgressMonitor</a></h2>
6949
6950<p>MagickSetImageProgressMonitor() sets the wand image progress monitor to the specified method and returns the previous progress monitor if any.  The progress monitor method looks like this:</p>
6951
6952<pre class="text">
6953    MagickBooleanType MagickProgressMonitor(const char *text,
6954const MagickOffsetType offset,const MagickSizeType span,
6955void *client_data)
6956</pre>
6957
6958<p>If the progress monitor returns MagickFalse, the current operation is interrupted.</p>
6959
6960<p>The format of the MagickSetImageProgressMonitor method is:</p>
6961
6962<pre class="text">
6963MagickProgressMonitor MagickSetImageProgressMonitor(MagickWand *wand
6964  const MagickProgressMonitor progress_monitor,void *client_data)
6965</pre>
6966
6967<p>A description of each parameter follows:</p>
6968
6969<dd>
6970</dd>
6971
6972<dd> </dd>
6973<dl class="dl-horizontal">
6974<dt>wand</dt>
6975<dd>the magick wand. </dd>
6976
6977<dd> </dd>
6978<dt>progress_monitor</dt>
6979<dd>Specifies a pointer to a method to monitor progress of an image operation. </dd>
6980
6981<dd> </dd>
6982<dt>client_data</dt>
6983<dd>Specifies a pointer to any client data. </dd>
6984
6985<dd>  </dd>
6986</dl>
6987<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageRedPrimary">MagickSetImageRedPrimary</a></h2>
6988
6989<p>MagickSetImageRedPrimary() sets the image chromaticity red primary point.</p>
6990
6991<p>The format of the MagickSetImageRedPrimary method is:</p>
6992
6993<pre class="text">
6994MagickBooleanType MagickSetImageRedPrimary(MagickWand *wand,
6995  const double x,const double y,const double z)
6996</pre>
6997
6998<p>A description of each parameter follows:</p>
6999
7000<dd>
7001</dd>
7002
7003<dd> </dd>
7004<dl class="dl-horizontal">
7005<dt>wand</dt>
7006<dd>the magick wand. </dd>
7007
7008<dd> </dd>
7009<dt>x</dt>
7010<dd>the red primary x-point. </dd>
7011
7012<dd> </dd>
7013<dt>y</dt>
7014<dd>the red primary y-point. </dd>
7015
7016<dd> </dd>
7017<dt>z</dt>
7018<dd>the red primary z-point. </dd>
7019
7020<dd>  </dd>
7021</dl>
7022<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageRenderingIntent">MagickSetImageRenderingIntent</a></h2>
7023
7024<p>MagickSetImageRenderingIntent() sets the image rendering intent.</p>
7025
7026<p>The format of the MagickSetImageRenderingIntent method is:</p>
7027
7028<pre class="text">
7029MagickBooleanType MagickSetImageRenderingIntent(MagickWand *wand,
7030  const RenderingIntent rendering_intent)
7031</pre>
7032
7033<p>A description of each parameter follows:</p>
7034
7035<dd>
7036</dd>
7037
7038<dd> </dd>
7039<dl class="dl-horizontal">
7040<dt>wand</dt>
7041<dd>the magick wand. </dd>
7042
7043<dd> </dd>
7044<dt>rendering_intent</dt>
7045<dd>the image rendering intent: UndefinedIntent, SaturationIntent, PerceptualIntent, AbsoluteIntent, or RelativeIntent. </dd>
7046
7047<dd>  </dd>
7048</dl>
7049<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageResolution">MagickSetImageResolution</a></h2>
7050
7051<p>MagickSetImageResolution() sets the image resolution.</p>
7052
7053<p>The format of the MagickSetImageResolution method is:</p>
7054
7055<pre class="text">
7056MagickBooleanType MagickSetImageResolution(MagickWand *wand,
7057  const double x_resolution,const double y_resolution)
7058</pre>
7059
7060<p>A description of each parameter follows:</p>
7061
7062<dd>
7063</dd>
7064
7065<dd> </dd>
7066<dl class="dl-horizontal">
7067<dt>wand</dt>
7068<dd>the magick wand. </dd>
7069
7070<dd> </dd>
7071<dt>x_resolution</dt>
7072<dd>the image x resolution. </dd>
7073
7074<dd> </dd>
7075<dt>y_resolution</dt>
7076<dd>the image y resolution. </dd>
7077
7078<dd>  </dd>
7079</dl>
7080<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageScene">MagickSetImageScene</a></h2>
7081
7082<p>MagickSetImageScene() sets the image scene.</p>
7083
7084<p>The format of the MagickSetImageScene method is:</p>
7085
7086<pre class="text">
7087MagickBooleanType MagickSetImageScene(MagickWand *wand,
7088  const size_t scene)
7089</pre>
7090
7091<p>A description of each parameter follows:</p>
7092
7093<dd>
7094</dd>
7095
7096<dd> </dd>
7097<dl class="dl-horizontal">
7098<dt>wand</dt>
7099<dd>the magick wand. </dd>
7100
7101<dd> </dd>
7102<dt>delay</dt>
7103<dd>the image scene number. </dd>
7104
7105<dd>  </dd>
7106</dl>
7107<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageTicksPerSecond">MagickSetImageTicksPerSecond</a></h2>
7108
7109<p>MagickSetImageTicksPerSecond() sets the image ticks-per-second.</p>
7110
7111<p>The format of the MagickSetImageTicksPerSecond method is:</p>
7112
7113<pre class="text">
7114MagickBooleanType MagickSetImageTicksPerSecond(MagickWand *wand,
7115  const ssize_t ticks_per-second)
7116</pre>
7117
7118<p>A description of each parameter follows:</p>
7119
7120<dd>
7121</dd>
7122
7123<dd> </dd>
7124<dl class="dl-horizontal">
7125<dt>wand</dt>
7126<dd>the magick wand. </dd>
7127
7128<dd> </dd>
7129<dt>ticks_per_second</dt>
7130<dd>the units to use for the image delay. </dd>
7131
7132<dd>  </dd>
7133</dl>
7134<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageType">MagickSetImageType</a></h2>
7135
7136<p>MagickSetImageType() sets the image type.</p>
7137
7138<p>The format of the MagickSetImageType method is:</p>
7139
7140<pre class="text">
7141MagickBooleanType MagickSetImageType(MagickWand *wand,
7142  const ImageType image_type)
7143</pre>
7144
7145<p>A description of each parameter follows:</p>
7146
7147<dd>
7148</dd>
7149
7150<dd> </dd>
7151<dl class="dl-horizontal">
7152<dt>wand</dt>
7153<dd>the magick wand. </dd>
7154
7155<dd> </dd>
7156<dt>image_type</dt>
7157<dd>the image type:   UndefinedType, BilevelType, GrayscaleType, GrayscaleAlphaType, PaletteType, PaletteAlphaType, TrueColorType, TrueColorAlphaType, ColorSeparationType, ColorSeparationAlphaType, or OptimizeType. </dd>
7158
7159<dd>  </dd>
7160</dl>
7161<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageUnits">MagickSetImageUnits</a></h2>
7162
7163<p>MagickSetImageUnits() sets the image units of resolution.</p>
7164
7165<p>The format of the MagickSetImageUnits method is:</p>
7166
7167<pre class="text">
7168MagickBooleanType MagickSetImageUnits(MagickWand *wand,
7169  const ResolutionType units)
7170</pre>
7171
7172<p>A description of each parameter follows:</p>
7173
7174<dd>
7175</dd>
7176
7177<dd> </dd>
7178<dl class="dl-horizontal">
7179<dt>wand</dt>
7180<dd>the magick wand. </dd>
7181
7182<dd> </dd>
7183<dt>units</dt>
7184<dd>the image units of resolution : UndefinedResolution, PixelsPerInchResolution, or PixelsPerCentimeterResolution. </dd>
7185
7186<dd>  </dd>
7187</dl>
7188<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageVirtualPixelMethod">MagickSetImageVirtualPixelMethod</a></h2>
7189
7190<p>MagickSetImageVirtualPixelMethod() sets the image virtual pixel method.</p>
7191
7192<p>The format of the MagickSetImageVirtualPixelMethod method is:</p>
7193
7194<pre class="text">
7195VirtualPixelMethod MagickSetImageVirtualPixelMethod(MagickWand *wand,
7196  const VirtualPixelMethod method)
7197</pre>
7198
7199<p>A description of each parameter follows:</p>
7200
7201<dd>
7202</dd>
7203
7204<dd> </dd>
7205<dl class="dl-horizontal">
7206<dt>wand</dt>
7207<dd>the magick wand. </dd>
7208
7209<dd> </dd>
7210<dt>method</dt>
7211<dd>the image virtual pixel method : UndefinedVirtualPixelMethod, ConstantVirtualPixelMethod,  EdgeVirtualPixelMethod, MirrorVirtualPixelMethod, or TileVirtualPixelMethod. </dd>
7212
7213<dd>  </dd>
7214</dl>
7215<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageWhitePoint">MagickSetImageWhitePoint</a></h2>
7216
7217<p>MagickSetImageWhitePoint() sets the image chromaticity white point.</p>
7218
7219<p>The format of the MagickSetImageWhitePoint method is:</p>
7220
7221<pre class="text">
7222MagickBooleanType MagickSetImageWhitePoint(MagickWand *wand,
7223  const double x,const double y,const double z)
7224</pre>
7225
7226<p>A description of each parameter follows:</p>
7227
7228<dd>
7229</dd>
7230
7231<dd> </dd>
7232<dl class="dl-horizontal">
7233<dt>wand</dt>
7234<dd>the magick wand. </dd>
7235
7236<dd> </dd>
7237<dt>x</dt>
7238<dd>the white x-point. </dd>
7239
7240<dd> </dd>
7241<dt>y</dt>
7242<dd>the white y-point. </dd>
7243
7244<dd> </dd>
7245<dt>z</dt>
7246<dd>the white z-point. </dd>
7247
7248<dd>  </dd>
7249</dl>
7250<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickShadeImage">MagickShadeImage</a></h2>
7251
7252<p>MagickShadeImage() shines a distant light on an image to create a three-dimensional effect. You control the positioning of the light with azimuth and elevation; azimuth is measured in degrees off the x axis and elevation is measured in pixels above the Z axis.</p>
7253
7254<p>The format of the MagickShadeImage method is:</p>
7255
7256<pre class="text">
7257MagickBooleanType MagickShadeImage(MagickWand *wand,
7258  const MagickBooleanType gray,const double azimuth,
7259  const double elevation)
7260</pre>
7261
7262<p>A description of each parameter follows:</p>
7263
7264<dd>
7265</dd>
7266
7267<dd> </dd>
7268<dl class="dl-horizontal">
7269<dt>wand</dt>
7270<dd>the magick wand. </dd>
7271
7272<dd> </dd>
7273<dt>gray</dt>
7274<dd>A value other than zero shades the intensity of each pixel. </dd>
7275
7276<dd> </dd>
7277<dt>azimuth, elevation</dt>
7278<dd> Define the light source direction. </dd>
7279
7280<dd>  </dd>
7281</dl>
7282<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickShadowImage">MagickShadowImage</a></h2>
7283
7284<p>MagickShadowImage() simulates an image shadow.</p>
7285
7286<p>The format of the MagickShadowImage method is:</p>
7287
7288<pre class="text">
7289MagickBooleanType MagickShadowImage(MagickWand *wand,const double alpha,
7290  const double sigma,const ssize_t x,const ssize_t y)
7291</pre>
7292
7293<p>A description of each parameter follows:</p>
7294
7295<dd>
7296</dd>
7297
7298<dd> </dd>
7299<dl class="dl-horizontal">
7300<dt>wand</dt>
7301<dd>the magick wand. </dd>
7302
7303<dd> </dd>
7304<dt>alpha</dt>
7305<dd>percentage transparency. </dd>
7306
7307<dd> </dd>
7308<dt>sigma</dt>
7309<dd>the standard deviation of the Gaussian, in pixels. </dd>
7310
7311<dd> </dd>
7312<dt>x</dt>
7313<dd>the shadow x-offset. </dd>
7314
7315<dd> </dd>
7316<dt>y</dt>
7317<dd>the shadow y-offset. </dd>
7318
7319<dd>  </dd>
7320</dl>
7321<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSharpenImage">MagickSharpenImage</a></h2>
7322
7323<p>MagickSharpenImage() sharpens an image.  We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, the radius should be larger than sigma.  Use a radius of 0 and MagickSharpenImage() selects a suitable radius for you.</p>
7324
7325<p>The format of the MagickSharpenImage method is:</p>
7326
7327<pre class="text">
7328MagickBooleanType MagickSharpenImage(MagickWand *wand,
7329  const double radius,const double sigma)
7330</pre>
7331
7332<p>A description of each parameter follows:</p>
7333
7334<dd>
7335</dd>
7336
7337<dd> </dd>
7338<dl class="dl-horizontal">
7339<dt>wand</dt>
7340<dd>the magick wand. </dd>
7341
7342<dd> </dd>
7343<dt>radius</dt>
7344<dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
7345
7346<dd> </dd>
7347<dt>sigma</dt>
7348<dd>the standard deviation of the Gaussian, in pixels. </dd>
7349
7350<dd>  </dd>
7351</dl>
7352<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickShaveImage">MagickShaveImage</a></h2>
7353
7354<p>MagickShaveImage() shaves pixels from the image edges.  It allocates the memory necessary for the new Image structure and returns a pointer to the new image.</p>
7355
7356<p>The format of the MagickShaveImage method is:</p>
7357
7358<pre class="text">
7359MagickBooleanType MagickShaveImage(MagickWand *wand,
7360  const size_t columns,const size_t rows)
7361</pre>
7362
7363<p>A description of each parameter follows:</p>
7364
7365<dd>
7366</dd>
7367
7368<dd> </dd>
7369<dl class="dl-horizontal">
7370<dt>wand</dt>
7371<dd>the magick wand. </dd>
7372
7373<dd> </dd>
7374<dt>columns</dt>
7375<dd>the number of columns in the scaled image. </dd>
7376
7377<dd> </dd>
7378<dt>rows</dt>
7379<dd>the number of rows in the scaled image. </dd>
7380
7381<dd> </dd>
7382
7383<dd>  </dd>
7384</dl>
7385<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickShearImage">MagickShearImage</a></h2>
7386
7387<p>MagickShearImage() slides one edge of an image along the X or Y axis, creating a parallelogram.  An X direction shear slides an edge along the X axis, while a Y direction shear slides an edge along the Y axis.  The amount of the shear is controlled by a shear angle.  For X direction shears, x_shear is measured relative to the Y axis, and similarly, for Y direction shears y_shear is measured relative to the X axis.  Empty triangles left over from shearing the image are filled with the background color.</p>
7388
7389<p>The format of the MagickShearImage method is:</p>
7390
7391<pre class="text">
7392MagickBooleanType MagickShearImage(MagickWand *wand,
7393  const PixelWand *background,const double x_shear,const double y_shear)
7394</pre>
7395
7396<p>A description of each parameter follows:</p>
7397
7398<dd>
7399</dd>
7400
7401<dd> </dd>
7402<dl class="dl-horizontal">
7403<dt>wand</dt>
7404<dd>the magick wand. </dd>
7405
7406<dd> </dd>
7407<dt>background</dt>
7408<dd>the background pixel wand. </dd>
7409
7410<dd> </dd>
7411<dt>x_shear</dt>
7412<dd>the number of degrees to shear the image. </dd>
7413
7414<dd> </dd>
7415<dt>y_shear</dt>
7416<dd>the number of degrees to shear the image. </dd>
7417
7418<dd>  </dd>
7419</dl>
7420<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSigmoidalContrastImage">MagickSigmoidalContrastImage</a></h2>
7421
7422<p>MagickSigmoidalContrastImage() adjusts the contrast of an image with a non-linear sigmoidal contrast algorithm.  Increase the contrast of the image using a sigmoidal transfer function without saturating highlights or shadows.  Contrast indicates how much to increase the contrast (0 is none; 3 is typical; 20 is pushing it); mid-point indicates where midtones fall in the resultant image (0 is white; 50 is middle-gray; 100 is black).  Set sharpen to MagickTrue to increase the image contrast otherwise the contrast is reduced.</p>
7423
7424<p>The format of the MagickSigmoidalContrastImage method is:</p>
7425
7426<pre class="text">
7427MagickBooleanType MagickSigmoidalContrastImage(MagickWand *wand,
7428  const MagickBooleanType sharpen,const double alpha,const double beta)
7429</pre>
7430
7431<p>A description of each parameter follows:</p>
7432
7433<dd>
7434</dd>
7435
7436<dd> </dd>
7437<dl class="dl-horizontal">
7438<dt>wand</dt>
7439<dd>the magick wand. </dd>
7440
7441<dd> </dd>
7442<dt>sharpen</dt>
7443<dd>Increase or decrease image contrast. </dd>
7444
7445<dd> </dd>
7446<dt>alpha</dt>
7447<dd>strength of the contrast, the larger the number the more 'threshold-like' it becomes. </dd>
7448
7449<dd> </dd>
7450<dt>beta</dt>
7451<dd>midpoint of the function as a color value 0 to QuantumRange. </dd>
7452
7453<dd>  </dd>
7454</dl>
7455<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSimilarityImage">MagickSimilarityImage</a></h2>
7456
7457<p>MagickSimilarityImage() compares the reference image of the image and returns the best match offset.  In addition, it returns a similarity image such that an exact match location is completely white and if none of the pixels match, black, otherwise some gray level in-between.</p>
7458
7459<p>The format of the MagickSimilarityImage method is:</p>
7460
7461<pre class="text">
7462MagickWand *MagickSimilarityImage(MagickWand *wand,
7463  const MagickWand *reference,const MetricType metric,
7464  const double similarity_threshold,RectangeInfo *offset,
7465  double *similarity)
7466</pre>
7467
7468<p>A description of each parameter follows:</p>
7469
7470<dd>
7471</dd>
7472
7473<dd> </dd>
7474<dl class="dl-horizontal">
7475<dt>wand</dt>
7476<dd>the magick wand. </dd>
7477
7478<dd> </dd>
7479<dt>reference</dt>
7480<dd>the reference wand. </dd>
7481
7482<dd> </dd>
7483<dt>metric</dt>
7484<dd>the metric. </dd>
7485
7486<dd> </dd>
7487<dt>similarity_threshold</dt>
7488<dd>minimum distortion for (sub)image match. </dd>
7489
7490<dd> </dd>
7491<dt>offset</dt>
7492<dd>the best match offset of the reference image within the image. </dd>
7493
7494<dd> </dd>
7495<dt>similarity</dt>
7496<dd>the computed similarity between the images. </dd>
7497
7498<dd>  </dd>
7499</dl>
7500<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSketchImage">MagickSketchImage</a></h2>
7501
7502<p>MagickSketchImage() simulates a pencil sketch.  We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma.  Use a radius of 0 and SketchImage() selects a suitable radius for you. Angle gives the angle of the blurring motion.</p>
7503
7504<p>The format of the MagickSketchImage method is:</p>
7505
7506<pre class="text">
7507MagickBooleanType MagickSketchImage(MagickWand *wand,
7508  const double radius,const double sigma,const double angle)
7509</pre>
7510
7511<p>A description of each parameter follows:</p>
7512
7513<dd>
7514</dd>
7515
7516<dd> </dd>
7517<dl class="dl-horizontal">
7518<dt>wand</dt>
7519<dd>the magick wand. </dd>
7520
7521<dd> </dd>
7522<dt>radius</dt>
7523<dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
7524
7525<dd> </dd>
7526<dt>sigma</dt>
7527<dd>the standard deviation of the Gaussian, in pixels. </dd>
7528
7529<dd> </dd>
7530<dt>angle</dt>
7531<dd>apply the effect along this angle. </dd>
7532
7533<dd>  </dd>
7534</dl>
7535<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSmushImages">MagickSmushImages</a></h2>
7536
7537<p>MagickSmushImages() takes all images from the current image pointer to the end of the image list and smushs them to each other top-to-bottom if the stack parameter is true, otherwise left-to-right.</p>
7538
7539<p>The format of the MagickSmushImages method is:</p>
7540
7541<pre class="text">
7542MagickWand *MagickSmushImages(MagickWand *wand,
7543  const MagickBooleanType stack,const ssize_t offset)
7544</pre>
7545
7546<p>A description of each parameter follows:</p>
7547
7548<dd>
7549</dd>
7550
7551<dd> </dd>
7552<dl class="dl-horizontal">
7553<dt>wand</dt>
7554<dd>the magick wand. </dd>
7555
7556<dd> </dd>
7557<dt>stack</dt>
7558<dd>By default, images are stacked left-to-right. Set stack to MagickTrue to stack them top-to-bottom. </dd>
7559
7560<dd> </dd>
7561<dt>offset</dt>
7562<dd>minimum distance in pixels between images. </dd>
7563
7564<dd>  </dd>
7565</dl>
7566<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSolarizeImage">MagickSolarizeImage</a></h2>
7567
7568<p>MagickSolarizeImage() applies a special effect to the image, similar to the effect achieved in a photo darkroom by selectively exposing areas of photo sensitive paper to light.  Threshold ranges from 0 to QuantumRange and is a measure of the extent of the solarization.</p>
7569
7570<p>The format of the MagickSolarizeImage method is:</p>
7571
7572<pre class="text">
7573MagickBooleanType MagickSolarizeImage(MagickWand *wand,
7574  const double threshold)
7575</pre>
7576
7577<p>A description of each parameter follows:</p>
7578
7579<dd>
7580</dd>
7581
7582<dd> </dd>
7583<dl class="dl-horizontal">
7584<dt>wand</dt>
7585<dd>the magick wand. </dd>
7586
7587<dd> </dd>
7588<dt>threshold</dt>
7589<dd> Define the extent of the solarization. </dd>
7590
7591<dd>  </dd>
7592</dl>
7593<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSparseColorImage">MagickSparseColorImage</a></h2>
7594
7595<p>MagickSparseColorImage(), given a set of coordinates, interpolates the colors found at those coordinates, across the whole image, using various methods.</p>
7596
7597<p>The format of the MagickSparseColorImage method is:</p>
7598
7599<pre class="text">
7600MagickBooleanType MagickSparseColorImage(MagickWand *wand,
7601  const SparseColorMethod method,const size_t number_arguments,
7602  const double *arguments)
7603</pre>
7604
7605<p>A description of each parameter follows:</p>
7606
7607<dd>
7608</dd>
7609
7610<dd> </dd>
7611<dl class="dl-horizontal">
7612<dt>image</dt>
7613<dd>the image to be sparseed. </dd>
7614
7615<dd> </dd>
7616<dt>method</dt>
7617<dd>the method of image sparseion. </dd>
7618
7619<dd> ArcSparseColorion will always ignore source image offset, and always 'bestfit' the destination image with the top left corner offset relative to the polar mapping center. </dd>
7620
7621<dd> Bilinear has no simple inverse mapping so will not allow 'bestfit' style of image sparseion. </dd>
7622
7623<dd> Affine, Perspective, and Bilinear, will do least squares fitting of the distrotion when more than the minimum number of control point pairs are provided. </dd>
7624
7625<dd> Perspective, and Bilinear, will fall back to a Affine sparseion when less than 4 control point pairs are provided. While Affine sparseions will let you use any number of control point pairs, that is Zero pairs is a No-Op (viewport only) distrotion, one pair is a translation and two pairs of control points will do a scale-rotate-translate, without any shearing. </dd>
7626
7627<dd> </dd>
7628<dt>number_arguments</dt>
7629<dd>the number of arguments given for this sparseion method. </dd>
7630
7631<dd> </dd>
7632<dt>arguments</dt>
7633<dd>the arguments for this sparseion method. </dd>
7634
7635<dd>  </dd>
7636</dl>
7637<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSpliceImage">MagickSpliceImage</a></h2>
7638
7639<p>MagickSpliceImage() splices a solid color into the image.</p>
7640
7641<p>The format of the MagickSpliceImage method is:</p>
7642
7643<pre class="text">
7644MagickBooleanType MagickSpliceImage(MagickWand *wand,
7645  const size_t width,const size_t height,const ssize_t x,
7646  const ssize_t y)
7647</pre>
7648
7649<p>A description of each parameter follows:</p>
7650
7651<dd>
7652</dd>
7653
7654<dd> </dd>
7655<dl class="dl-horizontal">
7656<dt>wand</dt>
7657<dd>the magick wand. </dd>
7658
7659<dd> </dd>
7660<dt>width</dt>
7661<dd>the region width. </dd>
7662
7663<dd> </dd>
7664<dt>height</dt>
7665<dd>the region height. </dd>
7666
7667<dd> </dd>
7668<dt>x</dt>
7669<dd>the region x offset. </dd>
7670
7671<dd> </dd>
7672<dt>y</dt>
7673<dd>the region y offset. </dd>
7674
7675<dd>  </dd>
7676</dl>
7677<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSpreadImage">MagickSpreadImage</a></h2>
7678
7679<p>MagickSpreadImage() is a special effects method that randomly displaces each pixel in a block defined by the radius parameter.</p>
7680
7681<p>The format of the MagickSpreadImage method is:</p>
7682
7683<pre class="text">
7684MagickBooleanType MagickSpreadImage(MagickWand *wand,
7685  const PixelInterpolateMethod method,const double radius)
7686</pre>
7687
7688<p>A description of each parameter follows:</p>
7689
7690<dd>
7691</dd>
7692
7693<dd> </dd>
7694<dl class="dl-horizontal">
7695<dt>wand</dt>
7696<dd>the magick wand. </dd>
7697
7698<dd> </dd>
7699<dt>method</dt>
7700<dd> intepolation method. </dd>
7701
7702<dd> </dd>
7703<dt>radius</dt>
7704<dd> Choose a random pixel in a neighborhood of this extent. </dd>
7705
7706<dd>  </dd>
7707</dl>
7708<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickStatisticImage">MagickStatisticImage</a></h2>
7709
7710<p>MagickStatisticImage() replace each pixel with corresponding statistic from the neighborhood of the specified width and height.</p>
7711
7712<p>The format of the MagickStatisticImage method is:</p>
7713
7714<pre class="text">
7715MagickBooleanType MagickStatisticImage(MagickWand *wand,
7716  const StatisticType type,const double width,const size_t height)
7717</pre>
7718
7719<p>A description of each parameter follows:</p>
7720
7721<dd>
7722</dd>
7723
7724<dd> </dd>
7725<dl class="dl-horizontal">
7726<dt>wand</dt>
7727<dd>the magick wand. </dd>
7728
7729<dd> </dd>
7730<dt>type</dt>
7731<dd>the statistic type (e.g. median, mode, etc.). </dd>
7732
7733<dd> </dd>
7734<dt>width</dt>
7735<dd>the width of the pixel neighborhood. </dd>
7736
7737<dd> </dd>
7738<dt>height</dt>
7739<dd>the height of the pixel neighborhood. </dd>
7740
7741<dd>  </dd>
7742</dl>
7743<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSteganoImage">MagickSteganoImage</a></h2>
7744
7745<p>MagickSteganoImage() hides a digital watermark within the image. Recover the hidden watermark later to prove that the authenticity of an image.  Offset defines the start position within the image to hide the watermark.</p>
7746
7747<p>The format of the MagickSteganoImage method is:</p>
7748
7749<pre class="text">
7750MagickWand *MagickSteganoImage(MagickWand *wand,
7751  const MagickWand *watermark_wand,const ssize_t offset)
7752</pre>
7753
7754<p>A description of each parameter follows:</p>
7755
7756<dd>
7757</dd>
7758
7759<dd> </dd>
7760<dl class="dl-horizontal">
7761<dt>wand</dt>
7762<dd>the magick wand. </dd>
7763
7764<dd> </dd>
7765<dt>watermark_wand</dt>
7766<dd>the watermark wand. </dd>
7767
7768<dd> </dd>
7769<dt>offset</dt>
7770<dd>Start hiding at this offset into the image. </dd>
7771
7772<dd>  </dd>
7773</dl>
7774<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickStereoImage">MagickStereoImage</a></h2>
7775
7776<p>MagickStereoImage() composites two images and produces a single image that is the composite of a left and right image of a stereo pair</p>
7777
7778<p>The format of the MagickStereoImage method is:</p>
7779
7780<pre class="text">
7781MagickWand *MagickStereoImage(MagickWand *wand,
7782  const MagickWand *offset_wand)
7783</pre>
7784
7785<p>A description of each parameter follows:</p>
7786
7787<dd>
7788</dd>
7789
7790<dd> </dd>
7791<dl class="dl-horizontal">
7792<dt>wand</dt>
7793<dd>the magick wand. </dd>
7794
7795<dd> </dd>
7796<dt>offset_wand</dt>
7797<dd>Another image wand. </dd>
7798
7799<dd>  </dd>
7800</dl>
7801<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickStripImage">MagickStripImage</a></h2>
7802
7803<p>MagickStripImage() strips an image of all profiles and comments.</p>
7804
7805<p>The format of the MagickStripImage method is:</p>
7806
7807<pre class="text">
7808MagickBooleanType MagickStripImage(MagickWand *wand)
7809</pre>
7810
7811<p>A description of each parameter follows:</p>
7812
7813<dd>
7814</dd>
7815
7816<dd> </dd>
7817<dl class="dl-horizontal">
7818<dt>wand</dt>
7819<dd>the magick wand. </dd>
7820
7821<dd>  </dd>
7822</dl>
7823<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSwirlImage">MagickSwirlImage</a></h2>
7824
7825<p>MagickSwirlImage() swirls the pixels about the center of the image, where degrees indicates the sweep of the arc through which each pixel is moved. You get a more dramatic effect as the degrees move from 1 to 360.</p>
7826
7827<p>The format of the MagickSwirlImage method is:</p>
7828
7829<pre class="text">
7830MagickBooleanType MagickSwirlImage(MagickWand *wand,const double degrees,
7831  const PixelInterpolateMethod method)
7832</pre>
7833
7834<p>A description of each parameter follows:</p>
7835
7836<dd>
7837</dd>
7838
7839<dd> </dd>
7840<dl class="dl-horizontal">
7841<dt>wand</dt>
7842<dd>the magick wand. </dd>
7843
7844<dd> </dd>
7845<dt>degrees</dt>
7846<dd>Define the tightness of the swirling effect. </dd>
7847
7848<dd> </dd>
7849<dt>method</dt>
7850<dd>the pixel interpolation method. </dd>
7851
7852<dd>  </dd>
7853</dl>
7854<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickTextureImage">MagickTextureImage</a></h2>
7855
7856<p>MagickTextureImage() repeatedly tiles the texture image across and down the image canvas.</p>
7857
7858<p>The format of the MagickTextureImage method is:</p>
7859
7860<pre class="text">
7861MagickWand *MagickTextureImage(MagickWand *wand,
7862  const MagickWand *texture_wand)
7863</pre>
7864
7865<p>A description of each parameter follows:</p>
7866
7867<dd>
7868</dd>
7869
7870<dd> </dd>
7871<dl class="dl-horizontal">
7872<dt>wand</dt>
7873<dd>the magick wand. </dd>
7874
7875<dd> </dd>
7876<dt>texture_wand</dt>
7877<dd>the texture wand </dd>
7878
7879<dd>  </dd>
7880</dl>
7881<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickThresholdImage">MagickThresholdImage</a></h2>
7882
7883<p>MagickThresholdImage() changes the value of individual pixels based on the intensity of each pixel compared to threshold.  The result is a high-contrast, two color image.</p>
7884
7885<p>The format of the MagickThresholdImage method is:</p>
7886
7887<pre class="text">
7888MagickBooleanType MagickThresholdImage(MagickWand *wand,
7889  const double threshold)
7890MagickBooleanType MagickThresholdImageChannel(MagickWand *wand,
7891  const ChannelType channel,const double threshold)
7892</pre>
7893
7894<p>A description of each parameter follows:</p>
7895
7896<dd>
7897</dd>
7898
7899<dd> </dd>
7900<dl class="dl-horizontal">
7901<dt>wand</dt>
7902<dd>the magick wand. </dd>
7903
7904<dd> </dd>
7905<dt>channel</dt>
7906<dd>the image channel(s). </dd>
7907
7908<dd> </dd>
7909<dt>threshold</dt>
7910<dd>Define the threshold value. </dd>
7911
7912<dd>  </dd>
7913</dl>
7914<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickThumbnailImage">MagickThumbnailImage</a></h2>
7915
7916<p>MagickThumbnailImage()  changes the size of an image to the given dimensions and removes any associated profiles.  The goal is to produce small low cost thumbnail images suited for display on the Web.</p>
7917
7918<p>The format of the MagickThumbnailImage method is:</p>
7919
7920<pre class="text">
7921MagickBooleanType MagickThumbnailImage(MagickWand *wand,
7922  const size_t columns,const size_t rows)
7923</pre>
7924
7925<p>A description of each parameter follows:</p>
7926
7927<dd>
7928</dd>
7929
7930<dd> </dd>
7931<dl class="dl-horizontal">
7932<dt>wand</dt>
7933<dd>the magick wand. </dd>
7934
7935<dd> </dd>
7936<dt>columns</dt>
7937<dd>the number of columns in the scaled image. </dd>
7938
7939<dd> </dd>
7940<dt>rows</dt>
7941<dd>the number of rows in the scaled image. </dd>
7942
7943<dd>  </dd>
7944</dl>
7945<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickTintImage">MagickTintImage</a></h2>
7946
7947<p>MagickTintImage() applies a color vector to each pixel in the image.  The length of the vector is 0 for black and white and at its maximum for the midtones.  The vector weighting function is f(x)=(1-(4.0*((x-0.5)*(x-0.5)))).</p>
7948
7949<p>The format of the MagickTintImage method is:</p>
7950
7951<pre class="text">
7952MagickBooleanType MagickTintImage(MagickWand *wand,
7953  const PixelWand *tint,const PixelWand *blend)
7954</pre>
7955
7956<p>A description of each parameter follows:</p>
7957
7958<dd>
7959</dd>
7960
7961<dd> </dd>
7962<dl class="dl-horizontal">
7963<dt>wand</dt>
7964<dd>the magick wand. </dd>
7965
7966<dd> </dd>
7967<dt>tint</dt>
7968<dd>the tint pixel wand. </dd>
7969
7970<dd> </dd>
7971<dt>alpha</dt>
7972<dd>the alpha pixel wand. </dd>
7973
7974<dd>  </dd>
7975</dl>
7976<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickTransformImageColorspace">MagickTransformImageColorspace</a></h2>
7977
7978<p>MagickTransformImageColorspace() transform the image colorspace, setting the images colorspace while transforming the images data to that colorspace.</p>
7979
7980<p>The format of the MagickTransformImageColorspace method is:</p>
7981
7982<pre class="text">
7983MagickBooleanType MagickTransformImageColorspace(MagickWand *wand,
7984  const ColorspaceType colorspace)
7985</pre>
7986
7987<p>A description of each parameter follows:</p>
7988
7989<dd>
7990</dd>
7991
7992<dd> </dd>
7993<dl class="dl-horizontal">
7994<dt>wand</dt>
7995<dd>the magick wand. </dd>
7996
7997<dd> </dd>
7998<dt>colorspace</dt>
7999<dd>the image colorspace:   UndefinedColorspace, sRGBColorspace, RGBColorspace, GRAYColorspace, OHTAColorspace, XYZColorspace, YCbCrColorspace, YCCColorspace, YIQColorspace, YPbPrColorspace, YPbPrColorspace, YUVColorspace, CMYKColorspace, HSLColorspace, HWBColorspace. </dd>
8000
8001<dd>  </dd>
8002</dl>
8003<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickTransparentPaintImage">MagickTransparentPaintImage</a></h2>
8004
8005<p>MagickTransparentPaintImage() changes any pixel that matches color with the color defined by fill.</p>
8006
8007<p>The format of the MagickTransparentPaintImage method is:</p>
8008
8009<pre class="text">
8010MagickBooleanType MagickTransparentPaintImage(MagickWand *wand,
8011  const PixelWand *target,const double alpha,const double fuzz,
8012  const MagickBooleanType invert)
8013</pre>
8014
8015<p>A description of each parameter follows:</p>
8016
8017<dd>
8018</dd>
8019
8020<dd> </dd>
8021<dl class="dl-horizontal">
8022<dt>wand</dt>
8023<dd>the magick wand. </dd>
8024
8025<dd> </dd>
8026<dt>target</dt>
8027<dd>Change this target color to specified alpha value within the image. </dd>
8028
8029<dd> </dd>
8030<dt>alpha</dt>
8031<dd>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent. </dd>
8032
8033<dd> </dd>
8034<dt>fuzz</dt>
8035<dd>By default target must match a particular pixel color exactly.  However, in many cases two colors may differ by a small amount. The fuzz member of image defines how much tolerance is acceptable to consider two colors as the same.  For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color for the purposes of the floodfill. </dd>
8036
8037<dd> </dd>
8038<dt>invert</dt>
8039<dd>paint any pixel that does not match the target color. </dd>
8040
8041<dd>  </dd>
8042</dl>
8043<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickTransposeImage">MagickTransposeImage</a></h2>
8044
8045<p>MagickTransposeImage() creates a vertical mirror image by reflecting the pixels around the central x-axis while rotating them 90-degrees.</p>
8046
8047<p>The format of the MagickTransposeImage method is:</p>
8048
8049<pre class="text">
8050MagickBooleanType MagickTransposeImage(MagickWand *wand)
8051</pre>
8052
8053<p>A description of each parameter follows:</p>
8054
8055<dd>
8056</dd>
8057
8058<dd> </dd>
8059<dl class="dl-horizontal">
8060<dt>wand</dt>
8061<dd>the magick wand. </dd>
8062
8063<dd>  </dd>
8064</dl>
8065<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickTransverseImage">MagickTransverseImage</a></h2>
8066
8067<p>MagickTransverseImage() creates a horizontal mirror image by reflecting the pixels around the central y-axis while rotating them 270-degrees.</p>
8068
8069<p>The format of the MagickTransverseImage method is:</p>
8070
8071<pre class="text">
8072MagickBooleanType MagickTransverseImage(MagickWand *wand)
8073</pre>
8074
8075<p>A description of each parameter follows:</p>
8076
8077<dd>
8078</dd>
8079
8080<dd> </dd>
8081<dl class="dl-horizontal">
8082<dt>wand</dt>
8083<dd>the magick wand. </dd>
8084
8085<dd>  </dd>
8086</dl>
8087<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickTrimImage">MagickTrimImage</a></h2>
8088
8089<p>MagickTrimImage() remove edges that are the background color from the image.</p>
8090
8091<p>The format of the MagickTrimImage method is:</p>
8092
8093<pre class="text">
8094MagickBooleanType MagickTrimImage(MagickWand *wand,const double fuzz)
8095</pre>
8096
8097<p>A description of each parameter follows:</p>
8098
8099<dd>
8100</dd>
8101
8102<dd> </dd>
8103<dl class="dl-horizontal">
8104<dt>wand</dt>
8105<dd>the magick wand. </dd>
8106
8107<dd> </dd>
8108<dt>fuzz</dt>
8109<dd>By default target must match a particular pixel color exactly.  However, in many cases two colors may differ by a small amount. The fuzz member of image defines how much tolerance is acceptable to consider two colors as the same.  For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color for the purposes of the floodfill. </dd>
8110
8111<dd>  </dd>
8112</dl>
8113<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickUniqueImageColors">MagickUniqueImageColors</a></h2>
8114
8115<p>MagickUniqueImageColors() discards all but one of any pixel color.</p>
8116
8117<p>The format of the MagickUniqueImageColors method is:</p>
8118
8119<pre class="text">
8120MagickBooleanType MagickUniqueImageColors(MagickWand *wand)
8121</pre>
8122
8123<p>A description of each parameter follows:</p>
8124
8125<dd>
8126</dd>
8127
8128<dd> </dd>
8129<dl class="dl-horizontal">
8130<dt>wand</dt>
8131<dd>the magick wand. </dd>
8132
8133<dd>  </dd>
8134</dl>
8135<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickUnsharpMaskImage">MagickUnsharpMaskImage</a></h2>
8136
8137<p>MagickUnsharpMaskImage() sharpens an image.  We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma.  Use a radius of 0 and UnsharpMaskImage() selects a suitable radius for you.</p>
8138
8139<p>The format of the MagickUnsharpMaskImage method is:</p>
8140
8141<pre class="text">
8142MagickBooleanType MagickUnsharpMaskImage(MagickWand *wand,
8143  const double radius,const double sigma,const double gain,
8144  const double threshold)
8145</pre>
8146
8147<p>A description of each parameter follows:</p>
8148
8149<dd>
8150</dd>
8151
8152<dd> </dd>
8153<dl class="dl-horizontal">
8154<dt>wand</dt>
8155<dd>the magick wand. </dd>
8156
8157<dd> </dd>
8158<dt>radius</dt>
8159<dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
8160
8161<dd> </dd>
8162<dt>sigma</dt>
8163<dd>the standard deviation of the Gaussian, in pixels. </dd>
8164
8165<dd> </dd>
8166<dt>gain</dt>
8167<dd>the percentage of the difference between the original and the blur image that is added back into the original. </dd>
8168
8169<dd> </dd>
8170<dt>threshold</dt>
8171<dd>the threshold in pixels needed to apply the diffence gain. </dd>
8172
8173<dd>  </dd>
8174</dl>
8175<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickVignetteImage">MagickVignetteImage</a></h2>
8176
8177<p>MagickVignetteImage() softens the edges of the image in vignette style.</p>
8178
8179<p>The format of the MagickVignetteImage method is:</p>
8180
8181<pre class="text">
8182MagickBooleanType MagickVignetteImage(MagickWand *wand,
8183  const double radius,const double sigma,const ssize_t x,
8184  const ssize_t y)
8185</pre>
8186
8187<p>A description of each parameter follows:</p>
8188
8189<dd>
8190</dd>
8191
8192<dd> </dd>
8193<dl class="dl-horizontal">
8194<dt>wand</dt>
8195<dd>the magick wand. </dd>
8196
8197<dd> </dd>
8198<dt>radius</dt>
8199<dd>the radius. </dd>
8200
8201<dd> </dd>
8202<dt>sigma</dt>
8203<dd>the sigma. </dd>
8204
8205<dd> </dd>
8206<dt>x, y</dt>
8207<dd> Define the x and y ellipse offset. </dd>
8208
8209<dd>  </dd>
8210</dl>
8211<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickWaveImage">MagickWaveImage</a></h2>
8212
8213<p>MagickWaveImage()  creates a "ripple" effect in the image by shifting the pixels vertically along a sine wave whose amplitude and wavelength is specified by the given parameters.</p>
8214
8215<p>The format of the MagickWaveImage method is:</p>
8216
8217<pre class="text">
8218MagickBooleanType MagickWaveImage(MagickWand *wand,
8219  const double amplitude,const double wave_length,
8220  const PixelInterpolateMethod method)
8221</pre>
8222
8223<p>A description of each parameter follows:</p>
8224
8225<dd>
8226</dd>
8227
8228<dd> </dd>
8229<dl class="dl-horizontal">
8230<dt>wand</dt>
8231<dd>the magick wand. </dd>
8232
8233<dd> </dd>
8234<dt>amplitude, wave_length</dt>
8235<dd> Define the amplitude and wave length of the sine wave. </dd>
8236
8237<dd> </dd>
8238<dt>method</dt>
8239<dd>the pixel interpolation method. </dd>
8240
8241<dd>  </dd>
8242</dl>
8243<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickWaveletDenoiseImage">MagickWaveletDenoiseImage</a></h2>
8244
8245<p>MagickWaveletDenoiseImage() removes noise from the image using a wavelet transform.  The wavelet transform is a fast hierarchical scheme for processing an image using a set of consecutive lowpass and high_pass filters, followed by a decimation.  This results in a decomposition into different scales which can be regarded as different “frequency bands”, determined by the mother wavelet.</p>
8246
8247<p>The format of the MagickWaveletDenoiseImage method is:</p>
8248
8249<pre class="text">
8250MagickBooleanType MagickWaveletDenoiseImage(MagickWand *wand,
8251  const double threshold,const double softness)
8252</pre>
8253
8254<p>A description of each parameter follows:</p>
8255
8256<dd>
8257</dd>
8258
8259<dd> </dd>
8260<dl class="dl-horizontal">
8261<dt>wand</dt>
8262<dd>the magick wand. </dd>
8263
8264<dd> </dd>
8265<dt>threshold</dt>
8266<dd>set the threshold for smoothing. </dd>
8267
8268<dd> </dd>
8269<dt>softness</dt>
8270<dd>attenuate the smoothing threshold. </dd>
8271
8272<dd>  </dd>
8273</dl>
8274<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickWhiteBalanceImage">MagickWhiteBalanceImage</a></h2>
8275
8276<p>MagickWhiteBalanceImage() applies white balancing to an image according to a grayworld assumption in the LAB colorspace.</p>
8277
8278<p>The format of the WhiteBalanceImage method is:</p>
8279
8280<pre class="text">
8281MagickBooleanType WhiteBalanceImage(MagickWand *wand)
8282</pre>
8283
8284<p>A description of each parameter follows:</p>
8285
8286<dd>
8287</dd>
8288
8289<dd> </dd>
8290<dl class="dl-horizontal">
8291<dt>wand</dt>
8292<dd>the magick wand. </dd>
8293
8294<dd>  </dd>
8295</dl>
8296<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickWhiteThresholdImage">MagickWhiteThresholdImage</a></h2>
8297
8298<p>MagickWhiteThresholdImage() is like ThresholdImage() but  force all pixels above the threshold into white while leaving all pixels below the threshold unchanged.</p>
8299
8300<p>The format of the MagickWhiteThresholdImage method is:</p>
8301
8302<pre class="text">
8303MagickBooleanType MagickWhiteThresholdImage(MagickWand *wand,
8304  const PixelWand *threshold)
8305</pre>
8306
8307<p>A description of each parameter follows:</p>
8308
8309<dd>
8310</dd>
8311
8312<dd> </dd>
8313<dl class="dl-horizontal">
8314<dt>wand</dt>
8315<dd>the magick wand. </dd>
8316
8317<dd> </dd>
8318<dt>threshold</dt>
8319<dd>the pixel wand. </dd>
8320
8321<dd>  </dd>
8322</dl>
8323<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickWriteImage">MagickWriteImage</a></h2>
8324
8325<p>MagickWriteImage() writes an image to the specified filename.  If the filename parameter is NULL, the image is written to the filename set by MagickReadImage() or MagickSetImageFilename().</p>
8326
8327<p>The format of the MagickWriteImage method is:</p>
8328
8329<pre class="text">
8330MagickBooleanType MagickWriteImage(MagickWand *wand,
8331  const char *filename)
8332</pre>
8333
8334<p>A description of each parameter follows:</p>
8335
8336<dd>
8337</dd>
8338
8339<dd> </dd>
8340<dl class="dl-horizontal">
8341<dt>wand</dt>
8342<dd>the magick wand. </dd>
8343
8344<dd> </dd>
8345<dt>filename</dt>
8346<dd>the image filename. </dd>
8347
8348<dd> </dd>
8349
8350<dd>  </dd>
8351</dl>
8352<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickWriteImageFile">MagickWriteImageFile</a></h2>
8353
8354<p>MagickWriteImageFile() writes an image to an open file descriptor.</p>
8355
8356<p>The format of the MagickWriteImageFile method is:</p>
8357
8358<pre class="text">
8359MagickBooleanType MagickWriteImageFile(MagickWand *wand,FILE *file)
8360</pre>
8361
8362<p>A description of each parameter follows:</p>
8363
8364<dd>
8365</dd>
8366
8367<dd> </dd>
8368<dl class="dl-horizontal">
8369<dt>wand</dt>
8370<dd>the magick wand. </dd>
8371
8372<dd> </dd>
8373<dt>file</dt>
8374<dd>the file descriptor. </dd>
8375
8376<dd>  </dd>
8377</dl>
8378<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickWriteImages">MagickWriteImages</a></h2>
8379
8380<p>MagickWriteImages() writes an image or image sequence.</p>
8381
8382<p>The format of the MagickWriteImages method is:</p>
8383
8384<pre class="text">
8385MagickBooleanType MagickWriteImages(MagickWand *wand,
8386  const char *filename,const MagickBooleanType adjoin)
8387</pre>
8388
8389<p>A description of each parameter follows:</p>
8390
8391<dd>
8392</dd>
8393
8394<dd> </dd>
8395<dl class="dl-horizontal">
8396<dt>wand</dt>
8397<dd>the magick wand. </dd>
8398
8399<dd> </dd>
8400<dt>filename</dt>
8401<dd>the image filename. </dd>
8402
8403<dd> </dd>
8404<dt>adjoin</dt>
8405<dd>join images into a single multi-image file. </dd>
8406
8407<dd>  </dd>
8408</dl>
8409<h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickWriteImagesFile">MagickWriteImagesFile</a></h2>
8410
8411<p>MagickWriteImagesFile() writes an image sequence to an open file descriptor.</p>
8412
8413<p>The format of the MagickWriteImagesFile method is:</p>
8414
8415<pre class="text">
8416MagickBooleanType MagickWriteImagesFile(MagickWand *wand,FILE *file)
8417</pre>
8418
8419<p>A description of each parameter follows:</p>
8420
8421<dd>
8422</dd>
8423
8424<dd> </dd>
8425<dl class="dl-horizontal">
8426<dt>wand</dt>
8427<dd>the magick wand. </dd>
8428
8429<dd> </dd>
8430<dt>file</dt>
8431<dd>the file descriptor. </dd>
8432
8433<dd>  </dd>
8434</dl>
8435</div>
8436  </div>
8437  </main><!-- /.container -->
8438  <footer class="magick-footer">
8439    <div class="container-fluid">
8440      <a href="../../www/security-policy.html">Security</a> •
8441      <a href="../../www/news.html">News</a>
8442
8443      <a href="magick-image.html#"><img class="d-inline" id="wand" alt="And Now a Touch of Magick" width="16" height="16" src="../../../images/wand.ico"/></a>
8444
8445      <a href="../../www/links.html">Related</a> •
8446      <a href="../../www/sitemap.html">Sitemap</a>
8447   <br/>
8448     <a href="../../www/support.html">Sponsor</a> •
8449     <a href="../../www/cite.html">Cite</a> •
8450     <a href="http://pgp.mit.edu/pks/lookup?op=get&amp;search=0x89AB63D48277377A">Public Key</a> •
8451     <a href="../../www/contact.html">Contact Us</a>
8452   <br/>
8453     <a href="https://github.com/imagemagick/imagemagick" target="_blank" rel="noopener" aria-label="GitHub"><svg xmlns="http://www.w3.org/2000/svg" class="navbar-nav-svg" viewBox="0 0 512 499.36" width="2%" height="2%" role="img" focusable="false"><title>GitHub</title><path fill="currentColor" fill-rule="evenodd" d="M256 0C114.64 0 0 114.61 0 256c0 113.09 73.34 209 175.08 242.9 12.8 2.35 17.47-5.56 17.47-12.34 0-6.08-.22-22.18-.35-43.54-71.2 15.49-86.2-34.34-86.2-34.34-11.64-29.57-28.42-37.45-28.42-37.45-23.27-15.84 1.73-15.55 1.73-15.55 25.69 1.81 39.21 26.38 39.21 26.38 22.84 39.12 59.92 27.82 74.5 21.27 2.33-16.54 8.94-27.82 16.25-34.22-56.84-6.43-116.6-28.43-116.6-126.49 0-27.95 10-50.8 26.35-68.69-2.63-6.48-11.42-32.5 2.51-67.75 0 0 21.49-6.88 70.4 26.24a242.65 242.65 0 0 1 128.18 0c48.87-33.13 70.33-26.24 70.33-26.24 14 35.25 5.18 61.27 2.55 67.75 16.41 17.9 26.31 40.75 26.31 68.69 0 98.35-59.85 120-116.88 126.32 9.19 7.9 17.38 23.53 17.38 47.41 0 34.22-.31 61.83-.31 70.23 0 6.85 4.61 14.81 17.6 12.31C438.72 464.97 512 369.08 512 256.02 512 114.62 397.37 0 256 0z"/></svg></a> •
8454     <a href="https://twitter.com/imagemagick" target="_blank" rel="noopener" aria-label="Twitter"><svg xmlns="http://www.w3.org/2000/svg" class="navbar-nav-svg" viewBox="0 0 512 416.32" width="2%" height="2%" role="img" focusable="false"><title>Twitter</title><path fill="currentColor" d="M160.83 416.32c193.2 0 298.92-160.22 298.92-298.92 0-4.51 0-9-.2-13.52A214 214 0 0 0 512 49.38a212.93 212.93 0 0 1-60.44 16.6 105.7 105.7 0 0 0 46.3-58.19 209 209 0 0 1-66.79 25.37 105.09 105.09 0 0 0-181.73 71.91 116.12 116.12 0 0 0 2.66 24c-87.28-4.3-164.73-46.3-216.56-109.82A105.48 105.48 0 0 0 68 159.6a106.27 106.27 0 0 1-47.53-13.11v1.43a105.28 105.28 0 0 0 84.21 103.06 105.67 105.67 0 0 1-47.33 1.84 105.06 105.06 0 0 0 98.14 72.94A210.72 210.72 0 0 1 25 370.84a202.17 202.17 0 0 1-25-1.43 298.85 298.85 0 0 0 160.83 46.92"/></svg></a>
8455    <br/>
8456    <small>© 1999-2021 ImageMagick Studio LLC</small>
8457    </div>
8458  </footer>
8459
8460  <!-- Javascript assets -->
8461  <script src="../../assets/magick.js" ></script>
8462  </body>
8463</html>
8464