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