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