1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
\r
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
\r
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
\r
5 <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
\r
6 <meta name="verify-v1" content="g222frIIxcQTrvDR3NBRUSKP3AnMNoqxOkIniCEkV7U=" />
\r
7 <link rel="meta" type="application/rdf+xml" title="ICI" href="http://imagemagick.org/ici.rdf" />
\r
8 <style type="text/css" media="all">
\r
9 @import url("../../www/magick.css");
\r
11 <link rel="shortcut icon" href="../../images/wand.ico" type="images/vnd.microsoft.icon"/>
12 <title>ImageMagick: MagickWand, C API for ImageMagick: Image Methods</title>
13 <meta http-equiv="Content-Language" content="en-US"/>
14 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
15 <meta http-equiv="Reply-to" content="magick-users@imagemagick.org"/>
16 <meta name="Generator" content="PHP"/>
17 <meta name="Keywords" content="magickwc, api, for, imagemagick:, image, methods, ImageMagick, ImageMagic, MagickCore, MagickWand, PerlMagick, Magick++, RMagick, PythonMagick, JMagick, TclMagick, Image, Magick, Magic, Wand, ImageMagickObject, Swiss, Army, Knife, Image, Processing"/>
18 <meta name="Description" content="ImageMagick® is a software suite to create, edit, and compose bitmap images. It can read, convert and write images in a variety of formats (about 100) including GIF, JPEG, JPEG-2000, PNG, PDF, PhotoCD, TIFF, and DPX. Use ImageMagick to translate, flip, mirror, rotate, scale, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves. ImageMagick is free software delivered as a ready-to-run binary distribution or as source code that you can freely use, copy, modify, and distribute. Its license is compatible with the GPL. It runs on all major operating systems. The functionality of ImageMagick is typically utilized from the command line or you can use the features from programs written in your favorite programming language. Choose from these interfaces: MagickCore (C), MagickWand (C), ChMagick (Ch), Magick++ (C++), JMagick (Java), L-Magick (Lisp), PascalMagick (Pascal), PerlMagick (Perl), MagickWand for PHP (PHP), PythonMagick (Python), RMagick (Ruby), or TclMagick (Tcl/TK). With a language interface, use ImageMagick to modify or create images automagically and dynamically."/>
19 <meta name="Rating" content="GENERAL"/>
20 <meta name="Robots" content="INDEX, FOLLOW"/>
21 <meta name="Generator" content="ImageMagick Studio LLC"/>
22 <meta name="Author" content="ImageMagick Studio LLC"/>
23 <meta name="Revisit-after" content="2 DAYS"/>
24 <meta name="Resource-type" content="document"/>
25 <meta name="Copyright" content="Copyright (c) 1999-2010 ImageMagick Studio LLC"/>
26 <meta name="Distribution" content="Global"/>
29 <body id="www-imagemagick-org">
\r
30 <div class="titlebar">
\r
31 <a href="../../index.html">
\r
32 <img src="../../images/script.png" alt="[ImageMagick]"
\r
33 style="width: 350px; height: 60px; margin: 28px auto; float: left;" /></a>
\r
34 <a href="http://www.networkredux.com">
\r
35 <img src="../../images/networkredux.png" alt="[sponsor]"
\r
36 style="margin: 45px auto; border: 0px; float: left;" /></a>
\r
37 <a href="http://www.imagemagick.org/discourse-server/">
\r
38 <img src="../../images/logo.jpg" alt=""
\r
39 style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
\r
40 <a href="../../index.html">
\r
41 <img src="../../images/sprite.jpg" alt=""
\r
42 style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
\r
45 <div class="westbar">
\r
48 <a title="About ImageMagick" href="../../index.html">About ImageMagick</a>
50 <div class="sep"></div>
\r
52 <a title="Binary Releases" href="../../www/binary-releases.html">Binary Releases</a>
55 <a title="Binary Release: Unix" href="../../www/binary-releases.html#unix">Unix</a>
58 <a title="Binary Release: MacOS X" href="../../www/binary-releases.html#macosx">Mac OS X</a>
61 <a title="Binary Release: Windows" href="../../www/binary-releases.html#windows">Windows</a>
63 <div class="sep"></div>
\r
65 <a title="Command-line Tools" href="../../www/command-line-tools.html">Command-line Tools</a>
68 <a title="Command-line Tools: Processing" href="../../www/command-line-processing.html">Processing</a>
71 <a title="Command-line Tools: Options" href="../../www/command-line-options.html">Options</a>
74 <a title="Command-line Tools: Usage" href="http://www.imagemagick.org/Usage/">Usage</a>
77 <a title="Program Interfaces" href="../../www/api.html">Program Interfaces</a>
80 <a title="Program Interface: MagickWand" href="../../www/magick-wand.html">MagickWand</a>
83 <a title="Program Interface: MagickCore" href="../../www/magick-core.html">MagickCore</a>
86 <a title="Program Interface: PerlMagick" href="../../www/perl-magick.html">PerlMagick</a>
89 <a title="Program Interface: Magick++" href="../../Magick++/">Magick++</a>
91 <div class="sep"></div>
\r
93 <a title="Install from Source" href="../../www/install-source.html">Install from Source</a>
96 <a title="Install from Source: Unix" href="../../www/install-source.html#unix">Unix</a>
99 <a title="Install from Source: Windows" href="../../www/install-source.html#windows">Windows</a>
102 <a title="Resources" href="../../www/resources.html">Resources</a>
105 <a title="Architecture" href="../../www/architecture.html">Architecture</a>
108 <a title="Download" href="../../www/download.html">Download</a>
110 <div class="sep"></div>
\r
112 <a title="Search" href="../http://www.imagemagick.org/script/search.php">Search</a>
114 <div class="sep"></div>
\r
116 <a title="Site Map"href="../../www/sitemap.html">Site Map</a>
119 <a title="Site Map: Links"href="../../www/links.html">Links</a>
121 <div class="sep"></div>
\r
123 <a title="Sponsors" href="../../www/sponsors.html">Sponsors:</a>
125 <div class="sponsbox">
126 <div class="sponsor">
127 <a title="Sponsor: Webdesign Agentur" href="http://www.ventzke-partner.de">Webdesign Agentur</a><!-- 201101010480 invendio.de-->
129 <div class="sponsor">
130 <a title="Sponsor: LVM Versicherung" href="http://www.neu-reich.de">LVM Versicherung</a><!-- 201101010480 -->
132 <div class="sponsor">
133 <a title="Sponsor: Deko.net" href="http://www.deko.net">Deko.net</a><!-- 201101010600 Peterssen-->
135 <div class="sponsor">
136 <a title="Sponsor: Druckerei" href="http://www.print24.de/">Druckerei</a><!-- 201009010720 -->
138 <div class="sponsor">
139 <a title="Sponsor: Druckerei Online" href="http://www.allesdruck.de">Druckerei Online</a><!-- 201012011200 allesdruck.de-->
141 <div class="sponsor">
142 <a title="Sponsor: Online-Magazin" href="http://www.unkostenbeitrag.de/">Online-Magazin</a><!-- 20101101000200 -->
148 <div class="eastbar">
\r
149 <script type="text/javascript">
\r
151 google_ad_client = "pub-3129977114552745";
\r
152 /* 160x600, created 7/27/10 */
\r
153 google_ad_slot = "0574824969";
\r
154 google_ad_width = 160;
\r
155 google_ad_height = 600;
\r
158 <script type="text/javascript"
\r
159 src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
\r
165 <p class="navigation-index">[<a href="#GetImageFromMagickWand">GetImageFromMagickWand</a> • <a href="#MagickAdaptiveBlurImage">MagickAdaptiveBlurImage</a> • <a href="#MagickAdaptiveResizeImage">MagickAdaptiveResizeImage</a> • <a href="#MagickAdaptiveSharpenImage">MagickAdaptiveSharpenImage</a> • <a href="#MagickAdaptiveThresholdImage">MagickAdaptiveThresholdImage</a> • <a href="#MagickAddImage">MagickAddImage</a> • <a href="#MagickAddNoiseImage">MagickAddNoiseImage</a> • <a href="#MagickAffineTransformImage">MagickAffineTransformImage</a> • <a href="#MagickAnnotateImage">MagickAnnotateImage</a> • <a href="#MagickAnimateImages">MagickAnimateImages</a> • <a href="#MagickAppendImages">MagickAppendImages</a> • <a href="#MagickAutoGammaImage">MagickAutoGammaImage</a> • <a href="#MagickAutoLevelImage">MagickAutoLevelImage</a> • <a href="#MagickBlackThresholdImage">MagickBlackThresholdImage</a> • <a href="#MagickBlueShiftImage">MagickBlueShiftImage</a> • <a href="#MagickBlurImage">MagickBlurImage</a> • <a href="#MagickBorderImage">MagickBorderImage</a> • <a href="#Use MagickBrightnessContrastImage">Use MagickBrightnessContrastImage</a> • <a href="#MagickCharcoalImage">MagickCharcoalImage</a> • <a href="#MagickChopImage">MagickChopImage</a> • <a href="#MagickClampImage">MagickClampImage</a> • <a href="#MagickClipImage">MagickClipImage</a> • <a href="#MagickClipImagePath">MagickClipImagePath</a> • <a href="#MagickClutImage">MagickClutImage</a> • <a href="#MagickCoalesceImages">MagickCoalesceImages</a> • <a href="#MagickColorDecisionListImage">MagickColorDecisionListImage</a> • <a href="#MagickColorizeImage">MagickColorizeImage</a> • <a href="#MagickColorMatrixImage">MagickColorMatrixImage</a> • <a href="#MagickCombineImages">MagickCombineImages</a> • <a href="#MagickCommentImage">MagickCommentImage</a> • <a href="#MagickCompareImageChannels">MagickCompareImageChannels</a> • <a href="#MagickCompareImageLayers">MagickCompareImageLayers</a> • <a href="#MagickCompareImages">MagickCompareImages</a> • <a href="#MagickCompositeImage">MagickCompositeImage</a> • <a href="#MagickContrastImage">MagickContrastImage</a> • <a href="#MagickContrastStretchImage">MagickContrastStretchImage</a> • <a href="#MagickConvolveImage">MagickConvolveImage</a> • <a href="#MagickCropImage">MagickCropImage</a> • <a href="#MagickCycleColormapImage">MagickCycleColormapImage</a> • <a href="#MagickConstituteImage">MagickConstituteImage</a> • <a href="#MagickDecipherImage">MagickDecipherImage</a> • <a href="#MagickDeconstructImages">MagickDeconstructImages</a> • <a href="#MagickDeskewImage">MagickDeskewImage</a> • <a href="#MagickDespeckleImage">MagickDespeckleImage</a> • <a href="#MagickDestroyImage">MagickDestroyImage</a> • <a href="#MagickDisplayImage">MagickDisplayImage</a> • <a href="#MagickDisplayImages">MagickDisplayImages</a> • <a href="#MagickDistortImage">MagickDistortImage</a> • <a href="#MagickDrawImage">MagickDrawImage</a> • <a href="#MagickEdgeImage">MagickEdgeImage</a> • <a href="#MagickEmbossImage">MagickEmbossImage</a> • <a href="#MagickEncipherImage">MagickEncipherImage</a> • <a href="#MagickEnhanceImage">MagickEnhanceImage</a> • <a href="#MagickEqualizeImage">MagickEqualizeImage</a> • <a href="#MagickEvaluateImage">MagickEvaluateImage</a> • <a href="#MagickExportImagePixels">MagickExportImagePixels</a> • <a href="#MagickExtentImage">MagickExtentImage</a> • <a href="#MagickFilterImage">MagickFilterImage</a> • <a href="#MagickFlipImage">MagickFlipImage</a> • <a href="#MagickFloodfillPaintImage">MagickFloodfillPaintImage</a> • <a href="#MagickFlopImage">MagickFlopImage</a> • <a href="#MagickForwardFourierTransformImage">MagickForwardFourierTransformImage</a> • <a href="#MagickFrameImage">MagickFrameImage</a> • <a href="#MagickFunctionImage">MagickFunctionImage</a> • <a href="#MagickFxImage">MagickFxImage</a> • <a href="#MagickGammaImage">MagickGammaImage</a> • <a href="#MagickGaussianBlurImage">MagickGaussianBlurImage</a> • <a href="#MagickGetImage">MagickGetImage</a> • <a href="#MagickGetImageAlphaChannel">MagickGetImageAlphaChannel</a> • <a href="#MagickGetImageClipMask">MagickGetImageClipMask</a> • <a href="#MagickGetImageBackgroundColor">MagickGetImageBackgroundColor</a> • <a href="#MagickGetImageBlob">MagickGetImageBlob</a> • <a href="#MagickGetImageBlob">MagickGetImageBlob</a> • <a href="#MagickGetImageBluePrimary">MagickGetImageBluePrimary</a> • <a href="#MagickGetImageBorderColor">MagickGetImageBorderColor</a> • <a href="#MagickGetImageChannelDepth">MagickGetImageChannelDepth</a> • <a href="#MagickGetImageChannelDistortion">MagickGetImageChannelDistortion</a> • <a href="#MagickGetImageChannelDistortions">MagickGetImageChannelDistortions</a> • <a href="#MagickGetImageChannelFeatures">MagickGetImageChannelFeatures</a> • <a href="#MagickGetImageChannelKurtosis">MagickGetImageChannelKurtosis</a> • <a href="#MagickGetImageChannelMean">MagickGetImageChannelMean</a> • <a href="#MagickGetImageChannelRange">MagickGetImageChannelRange</a> • <a href="#MagickGetImageChannelStatistics">MagickGetImageChannelStatistics</a> • <a href="#MagickGetImageColormapColor">MagickGetImageColormapColor</a> • <a href="#MagickGetImageColors">MagickGetImageColors</a> • <a href="#MagickGetImageColorspace">MagickGetImageColorspace</a> • <a href="#MagickGetImageCompose">MagickGetImageCompose</a> • <a href="#MagickGetImageCompression">MagickGetImageCompression</a> • <a href="#MagickGetImageCompression">MagickGetImageCompression</a> • <a href="#MagickGetImageDelay">MagickGetImageDelay</a> • <a href="#MagickGetImageDepth">MagickGetImageDepth</a> • <a href="#MagickGetImageDistortion">MagickGetImageDistortion</a> • <a href="#MagickGetImageDispose">MagickGetImageDispose</a> • <a href="#MagickGetImageFilename">MagickGetImageFilename</a> • <a href="#MagickGetImageFormat">MagickGetImageFormat</a> • <a href="#MagickGetImageFuzz">MagickGetImageFuzz</a> • <a href="#MagickGetImageGamma">MagickGetImageGamma</a> • <a href="#MagickGetImageGravity">MagickGetImageGravity</a> • <a href="#MagickGetImageGreenPrimary">MagickGetImageGreenPrimary</a> • <a href="#MagickGetImageHeight">MagickGetImageHeight</a> • <a href="#MagickGetImageHistogram">MagickGetImageHistogram</a> • <a href="#MagickGetImageInterlaceScheme">MagickGetImageInterlaceScheme</a> • <a href="#MagickGetImageInterpolateMethod">MagickGetImageInterpolateMethod</a> • <a href="#MagickGetImageIterations">MagickGetImageIterations</a> • <a href="#MagickGetImageLength">MagickGetImageLength</a> • <a href="#MagickGetImageMatteColor">MagickGetImageMatteColor</a> • <a href="#MagickGetImageOrientation">MagickGetImageOrientation</a> • <a href="#MagickGetImagePage">MagickGetImagePage</a> • <a href="#MagickGetImagePixelColor">MagickGetImagePixelColor</a> • <a href="#MagickGetImageRedPrimary">MagickGetImageRedPrimary</a> • <a href="#MagickGetImageRegion">MagickGetImageRegion</a> • <a href="#MagickGetImageRenderingIntent">MagickGetImageRenderingIntent</a> • <a href="#MagickGetImageResolution">MagickGetImageResolution</a> • <a href="#MagickGetImageScene">MagickGetImageScene</a> • <a href="#MagickGetImageSignature">MagickGetImageSignature</a> • <a href="#MagickGetImageTicksPerSecond">MagickGetImageTicksPerSecond</a> • <a href="#MagickGetImageType">MagickGetImageType</a> • <a href="#MagickGetImageUnits">MagickGetImageUnits</a> • <a href="#MagickGetImageVirtualPixelMethod">MagickGetImageVirtualPixelMethod</a> • <a href="#MagickGetImageWhitePoint">MagickGetImageWhitePoint</a> • <a href="#MagickGetImageWidth">MagickGetImageWidth</a> • <a href="#MagickGetNumberImages">MagickGetNumberImages</a> • <a href="#MagickGetImageTotalInkDensity">MagickGetImageTotalInkDensity</a> • <a href="#MagickHaldClutImage">MagickHaldClutImage</a> • <a href="#MagickHasNextImage">MagickHasNextImage</a> • <a href="#MagickHasPreviousImage">MagickHasPreviousImage</a> • <a href="#MagickIdentifyImage">MagickIdentifyImage</a> • <a href="#MagickImplodeImage">MagickImplodeImage</a> • <a href="#MagickImportImagePixels">MagickImportImagePixels</a> • <a href="#MagickInverseFourierTransformImage">MagickInverseFourierTransformImage</a> • <a href="#MagickLabelImage">MagickLabelImage</a> • <a href="#MagickLevelImage">MagickLevelImage</a> • <a href="#MagickLinearStretchImage">MagickLinearStretchImage</a> • <a href="#MagickLiquidRescaleImage">MagickLiquidRescaleImage</a> • <a href="#MagickMagnifyImage">MagickMagnifyImage</a> • <a href="#MagickMedianFilterImage">MagickMedianFilterImage</a> • <a href="#MagickMergeImageLayers">MagickMergeImageLayers</a> • <a href="#MagickMinifyImage">MagickMinifyImage</a> • <a href="#MagickModulateImage">MagickModulateImage</a> • <a href="#MagickMontageImage">MagickMontageImage</a> • <a href="#MagickMorphImages">MagickMorphImages</a> • <a href="#MagickMorphologyImage">MagickMorphologyImage</a> • <a href="#MagickMotionBlurImage">MagickMotionBlurImage</a> • <a href="#MagickNegateImage">MagickNegateImage</a> • <a href="#MagickNewImage">MagickNewImage</a> • <a href="#MagickNextImage">MagickNextImage</a> • <a href="#MagickNormalizeImage">MagickNormalizeImage</a> • <a href="#MagickOilPaintImage">MagickOilPaintImage</a> • <a href="#MagickOpaquePaintImage">MagickOpaquePaintImage</a> • <a href="#MagickOptimizeImageLayers">MagickOptimizeImageLayers</a> • <a href="#MagickOrderedPosterizeImage">MagickOrderedPosterizeImage</a> • <a href="#MagickPingImage">MagickPingImage</a> • <a href="#MagickPingImageBlob">MagickPingImageBlob</a> • <a href="#MagickPingImageFile">MagickPingImageFile</a> • <a href="#MagickPolaroidImage">MagickPolaroidImage</a> • <a href="#MagickPosterizeImage">MagickPosterizeImage</a> • <a href="#MagickPreviewImages">MagickPreviewImages</a> • <a href="#MagickPreviousImage">MagickPreviousImage</a> • <a href="#MagickQuantizeImage">MagickQuantizeImage</a> • <a href="#MagickQuantizeImages">MagickQuantizeImages</a> • <a href="#MagickRadialBlurImage">MagickRadialBlurImage</a> • <a href="#MagickRaiseImage">MagickRaiseImage</a> • <a href="#MagickRandomThresholdImage">MagickRandomThresholdImage</a> • <a href="#MagickReadImage">MagickReadImage</a> • <a href="#MagickReadImageBlob">MagickReadImageBlob</a> • <a href="#MagickReadImageFile">MagickReadImageFile</a> • <a href="#MagickReduceNoiseImage">MagickReduceNoiseImage</a> • <a href="#MagickRemapImage">MagickRemapImage</a> • <a href="#MagickRemoveImage">MagickRemoveImage</a> • <a href="#MagickResampleImage">MagickResampleImage</a> • <a href="#MagickResetImagePage">MagickResetImagePage</a> • <a href="#MagickResizeImage">MagickResizeImage</a> • <a href="#MagickRollImage">MagickRollImage</a> • <a href="#MagickRotateImage">MagickRotateImage</a> • <a href="#MagickSampleImage">MagickSampleImage</a> • <a href="#MagickScaleImage">MagickScaleImage</a> • <a href="#MagickSegmentImage">MagickSegmentImage</a> • <a href="#MagickSelectiveBlurImage">MagickSelectiveBlurImage</a> • <a href="#MagickSeparateImageChannel">MagickSeparateImageChannel</a> • <a href="#MagickSepiaToneImage">MagickSepiaToneImage</a> • <a href="#MagickSetImage">MagickSetImage</a> • <a href="#MagickSetImageAlphaChannel">MagickSetImageAlphaChannel</a> • <a href="#MagickSetImageBackgroundColor">MagickSetImageBackgroundColor</a> • <a href="#MagickSetImageBias">MagickSetImageBias</a> • <a href="#MagickSetImageBluePrimary">MagickSetImageBluePrimary</a> • <a href="#MagickSetImageBorderColor">MagickSetImageBorderColor</a> • <a href="#MagickSetImageChannelDepth">MagickSetImageChannelDepth</a> • <a href="#MagickSetImageClipMask">MagickSetImageClipMask</a> • <a href="#MagickSetImageColor">MagickSetImageColor</a> • <a href="#MagickSetImageColormapColor">MagickSetImageColormapColor</a> • <a href="#MagickSetImageColorspace">MagickSetImageColorspace</a> • <a href="#MagickSetImageCompose">MagickSetImageCompose</a> • <a href="#MagickSetImageCompression">MagickSetImageCompression</a> • <a href="#MagickSetImageCompressionQuality">MagickSetImageCompressionQuality</a> • <a href="#MagickSetImageDelay">MagickSetImageDelay</a> • <a href="#MagickSetImageDepth">MagickSetImageDepth</a> • <a href="#MagickSetImageDispose">MagickSetImageDispose</a> • <a href="#MagickSetImageExtent">MagickSetImageExtent</a> • <a href="#MagickSetImageFilename">MagickSetImageFilename</a> • <a href="#MagickSetImageFormat">MagickSetImageFormat</a> • <a href="#MagickSetImageFuzz">MagickSetImageFuzz</a> • <a href="#MagickSetImageGamma">MagickSetImageGamma</a> • <a href="#MagickSetImageGravity">MagickSetImageGravity</a> • <a href="#MagickSetImageGreenPrimary">MagickSetImageGreenPrimary</a> • <a href="#MagickSetImageInterlaceScheme">MagickSetImageInterlaceScheme</a> • <a href="#MagickSetImageInterpolateMethod">MagickSetImageInterpolateMethod</a> • <a href="#MagickSetImageIterations">MagickSetImageIterations</a> • <a href="#MagickSetImageMatte">MagickSetImageMatte</a> • <a href="#MagickSetImageMatteColor">MagickSetImageMatteColor</a> • <a href="#MagickSetImageOpacity">MagickSetImageOpacity</a> • <a href="#MagickSetImageOrientation">MagickSetImageOrientation</a> • <a href="#MagickSetImagePage">MagickSetImagePage</a> • <a href="#MagickSetImageProgressMonitor">MagickSetImageProgressMonitor</a> • <a href="#MagickSetImageRedPrimary">MagickSetImageRedPrimary</a> • <a href="#MagickSetImageRenderingIntent">MagickSetImageRenderingIntent</a> • <a href="#MagickSetImageResolution">MagickSetImageResolution</a> • <a href="#MagickSetImageScene">MagickSetImageScene</a> • <a href="#MagickSetImageTicksPerSecond">MagickSetImageTicksPerSecond</a> • <a href="#MagickSetImageType">MagickSetImageType</a> • <a href="#MagickSetImageUnits">MagickSetImageUnits</a> • <a href="#MagickSetImageVirtualPixelMethod">MagickSetImageVirtualPixelMethod</a> • <a href="#MagickSetImageWhitePoint">MagickSetImageWhitePoint</a> • <a href="#MagickShadeImage">MagickShadeImage</a> • <a href="#MagickShadowImage">MagickShadowImage</a> • <a href="#MagickSharpenImage">MagickSharpenImage</a> • <a href="#MagickShaveImage">MagickShaveImage</a> • <a href="#MagickShearImage">MagickShearImage</a> • <a href="#MagickSigmoidalContrastImage">MagickSigmoidalContrastImage</a> • <a href="#MagickSimilarityImage">MagickSimilarityImage</a> • <a href="#MagickSketchImage">MagickSketchImage</a> • <a href="#MagickSolarizeImage">MagickSolarizeImage</a> • <a href="#MagickSparseColorImage">MagickSparseColorImage</a> • <a href="#MagickSpliceImage">MagickSpliceImage</a> • <a href="#MagickSpreadImage">MagickSpreadImage</a> • <a href="#MagickSteganoImage">MagickSteganoImage</a> • <a href="#MagickStereoImage">MagickStereoImage</a> • <a href="#MagickStripImage">MagickStripImage</a> • <a href="#MagickSwirlImage">MagickSwirlImage</a> • <a href="#MagickTextureImage">MagickTextureImage</a> • <a href="#MagickThresholdImage">MagickThresholdImage</a> • <a href="#MagickThumbnailImage">MagickThumbnailImage</a> • <a href="#MagickTintImage">MagickTintImage</a> • <a href="#MagickTransformImage">MagickTransformImage</a> • <a href="#MagickTransformImageColorspace">MagickTransformImageColorspace</a> • <a href="#MagickTransparentPaintImage">MagickTransparentPaintImage</a> • <a href="#MagickTransposeImage">MagickTransposeImage</a> • <a href="#MagickTransverseImage">MagickTransverseImage</a> • <a href="#MagickTrimImage">MagickTrimImage</a> • <a href="#MagickUniqueImageColors">MagickUniqueImageColors</a> • <a href="#MagickUnsharpMaskImage">MagickUnsharpMaskImage</a> • <a href="#MagickVignetteImage">MagickVignetteImage</a> • <a href="#MagickWaveImage">MagickWaveImage</a> • <a href="#MagickWhiteThresholdImage">MagickWhiteThresholdImage</a> • <a href="#MagickWriteImage">MagickWriteImage</a> • <a href="#MagickWriteImageFile">MagickWriteImageFile</a> • <a href="#MagickWriteImages">MagickWriteImages</a> • <a href="#MagickWriteImagesFile">MagickWriteImagesFile</a>]</p>
167 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
168 _8c.html" target="source" name="GetImageFromMagickWand">GetImageFromMagickWand</a></h2>
169 <div class="doc-section">
171 <p>GetImageFromMagickWand() returns the current image from the magick wand.</p></ol>
173 <p>The format of the GetImageFromMagickWand method is:</p>
176 Image *GetImageFromMagickWand(const MagickWand *wand)
179 <p>A description of each parameter follows:</p></ol>
182 <ol><p>the magick wand.</p></ol>
185 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
186 _8c.html" target="source" name="MagickAdaptiveBlurImage">MagickAdaptiveBlurImage</a></h2>
187 <div class="doc-section">
189 <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></ol>
191 <p>The format of the MagickAdaptiveBlurImage method is:</p>
194 MagickBooleanType MagickAdaptiveBlurImage(MagickWand *wand,
195 const double radius,const double sigma)
196 MagickBooleanType MagickAdaptiveBlurImageChannel(MagickWand *wand,
197 const ChannelType channel,const double radius,const double sigma)
200 <p>A description of each parameter follows:</p></ol>
203 <ol><p>the magick wand.</p></ol>
206 <ol><p>the image channel(s).</p></ol>
209 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
212 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
215 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
216 _8c.html" target="source" name="MagickAdaptiveResizeImage">MagickAdaptiveResizeImage</a></h2>
217 <div class="doc-section">
219 <p>MagickAdaptiveResizeImage() adaptively resize image with data dependent triangulation.</p></ol>
221 <p>MagickBooleanType MagickAdaptiveResizeImage(MagickWand *wand, const size_t columns,const size_t rows)</p></ol>
223 <p>A description of each parameter follows:</p></ol>
226 <ol><p>the magick wand.</p></ol>
229 <ol><p>the number of columns in the scaled image.</p></ol>
232 <ol><p>the number of rows in the scaled image.</p></ol>
235 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
236 _8c.html" target="source" name="MagickAdaptiveSharpenImage">MagickAdaptiveSharpenImage</a></h2>
237 <div class="doc-section">
239 <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></ol>
241 <p>The format of the MagickAdaptiveSharpenImage method is:</p>
244 MagickBooleanType MagickAdaptiveSharpenImage(MagickWand *wand,
245 const double radius,const double sigma)
246 MagickBooleanType MagickAdaptiveSharpenImageChannel(MagickWand *wand,
247 const ChannelType channel,const double radius,const double sigma)
250 <p>A description of each parameter follows:</p></ol>
253 <ol><p>the magick wand.</p></ol>
256 <ol><p>the image channel(s).</p></ol>
259 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
262 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
265 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
266 _8c.html" target="source" name="MagickAdaptiveThresholdImage">MagickAdaptiveThresholdImage</a></h2>
267 <div class="doc-section">
269 <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></ol>
271 <p>The format of the AdaptiveThresholdImage method is:</p>
274 MagickBooleanType MagickAdaptiveThresholdImage(MagickWand *wand,
275 const size_t width,const size_t height,const ssize_t offset)
278 <p>A description of each parameter follows:</p></ol>
281 <ol><p>the magick wand.</p></ol>
284 <ol><p>the width of the local neighborhood.</p></ol>
287 <ol><p>the height of the local neighborhood.</p></ol>
290 <ol><p>the mean offset.</p></ol>
293 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
294 _8c.html" target="source" name="MagickAddImage">MagickAddImage</a></h2>
295 <div class="doc-section">
297 <p>MagickAddImage() adds the specified images at the current image location.</p></ol>
299 <p>The format of the MagickAddImage method is:</p>
302 MagickBooleanType MagickAddImage(MagickWand *wand,
303 const MagickWand *add_wand)
306 <p>A description of each parameter follows:</p></ol>
309 <ol><p>the magick wand.</p></ol>
312 <ol><p>A wand that contains images to add at the current image location.</p></ol>
315 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
316 _8c.html" target="source" name="MagickAddNoiseImage">MagickAddNoiseImage</a></h2>
317 <div class="doc-section">
319 <p>MagickAddNoiseImage() adds random noise to the image.</p></ol>
321 <p>The format of the MagickAddNoiseImage method is:</p>
324 MagickBooleanType MagickAddNoiseImage(MagickWand *wand,
325 const NoiseType noise_type)
326 MagickBooleanType MagickAddNoiseImageChannel(MagickWand *wand,
327 const ChannelType channel,const NoiseType noise_type)
330 <p>A description of each parameter follows:</p></ol>
333 <ol><p>the magick wand.</p></ol>
336 <ol><p>the image channel(s).</p></ol>
339 <ol><p>The type of noise: Uniform, Gaussian, Multiplicative, Impulse, Laplacian, or Poisson.</p></ol>
342 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
343 _8c.html" target="source" name="MagickAffineTransformImage">MagickAffineTransformImage</a></h2>
344 <div class="doc-section">
346 <p>MagickAffineTransformImage() transforms an image as dictated by the affine matrix of the drawing wand.</p></ol>
348 <p>The format of the MagickAffineTransformImage method is:</p>
351 MagickBooleanType MagickAffineTransformImage(MagickWand *wand,
352 const DrawingWand *drawing_wand)
355 <p>A description of each parameter follows:</p></ol>
358 <ol><p>the magick wand.</p></ol>
360 <h5>drawing_wand</h5>
361 <ol><p>the draw wand.</p></ol>
364 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
365 _8c.html" target="source" name="MagickAnnotateImage">MagickAnnotateImage</a></h2>
366 <div class="doc-section">
368 <p>MagickAnnotateImage() annotates an image with text.</p></ol>
370 <p>The format of the MagickAnnotateImage method is:</p>
373 MagickBooleanType MagickAnnotateImage(MagickWand *wand,
374 const DrawingWand *drawing_wand,const double x,const double y,
375 const double angle,const char *text)
378 <p>A description of each parameter follows:</p></ol>
381 <ol><p>the magick wand.</p></ol>
383 <h5>drawing_wand</h5>
384 <ol><p>the draw wand.</p></ol>
387 <ol><p>x ordinate to left of text</p></ol>
390 <ol><p>y ordinate to text baseline</p></ol>
393 <ol><p>rotate text relative to this angle.</p></ol>
396 <ol><p>text to draw</p></ol>
399 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
400 _8c.html" target="source" name="MagickAnimateImages">MagickAnimateImages</a></h2>
401 <div class="doc-section">
403 <p>MagickAnimateImages() animates an image or image sequence.</p></ol>
405 <p>The format of the MagickAnimateImages method is:</p>
408 MagickBooleanType MagickAnimateImages(MagickWand *wand,
409 const char *server_name)
412 <p>A description of each parameter follows:</p></ol>
415 <ol><p>the magick wand.</p></ol>
418 <ol><p>the X server name.</p></ol>
421 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
422 _8c.html" target="source" name="MagickAppendImages">MagickAppendImages</a></h2>
423 <div class="doc-section">
425 <p>MagickAppendImages() append a set of images.</p></ol>
427 <p>The format of the MagickAppendImages method is:</p>
430 MagickWand *MagickAppendImages(MagickWand *wand,
431 const MagickBooleanType stack)
434 <p>A description of each parameter follows:</p></ol>
437 <ol><p>the magick wand.</p></ol>
440 <ol><p>By default, images are stacked left-to-right. Set stack to MagickTrue to stack them top-to-bottom.</p></ol>
443 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
444 _8c.html" target="source" name="MagickAutoGammaImage">MagickAutoGammaImage</a></h2>
445 <div class="doc-section">
447 <p>MagickAutoGammaImage() extracts the 'mean' from the image and adjust the image to try make set its gamma appropriatally.</p></ol>
449 <p>The format of the MagickAutoGammaImage method is:</p>
452 MagickBooleanType MagickAutoGammaImage(MagickWand *wand)
453 MagickBooleanType MagickAutoGammaImageChannel(MagickWand *wand,
454 const ChannelType channel)
457 <p>A description of each parameter follows:</p></ol>
460 <ol><p>the magick wand.</p></ol>
463 <ol><p>the image channel(s).</p></ol>
466 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
467 _8c.html" target="source" name="MagickAutoLevelImage">MagickAutoLevelImage</a></h2>
468 <div class="doc-section">
470 <p>MagickAutoLevelImage() adjusts the levels of a particular image channel by scaling the minimum and maximum values to the full quantum range.</p></ol>
472 <p>The format of the MagickAutoLevelImage method is:</p>
475 MagickBooleanType MagickAutoLevelImage(MagickWand *wand)
476 MagickBooleanType MagickAutoLevelImageChannel(MagickWand *wand,
477 const ChannelType channel)
480 <p>A description of each parameter follows:</p></ol>
483 <ol><p>the magick wand.</p></ol>
486 <ol><p>the image channel(s).</p></ol>
489 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
490 _8c.html" target="source" name="MagickBlackThresholdImage">MagickBlackThresholdImage</a></h2>
491 <div class="doc-section">
493 <p>MagickBlackThresholdImage() is like MagickThresholdImage() but forces all pixels below the threshold into black while leaving all pixels above the threshold unchanged.</p></ol>
495 <p>The format of the MagickBlackThresholdImage method is:</p>
498 MagickBooleanType MagickBlackThresholdImage(MagickWand *wand,
499 const PixelWand *threshold)
502 <p>A description of each parameter follows:</p></ol>
505 <ol><p>the magick wand.</p></ol>
508 <ol><p>the pixel wand.</p></ol>
511 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
512 _8c.html" target="source" name="MagickBlueShiftImage">MagickBlueShiftImage</a></h2>
513 <div class="doc-section">
515 <p>MagickBlueShiftImage() mutes the colors of the image to simulate a scene at nighttime in the moonlight.</p></ol>
517 <p>The format of the MagickBlueShiftImage method is:</p>
520 MagickBooleanType MagickBlueShiftImage(MagickWand *wand,
524 <p>A description of each parameter follows:</p></ol>
527 <ol><p>the magick wand.</p></ol>
530 <ol><p>the blue shift factor (default 1.5)</p></ol>
533 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
534 _8c.html" target="source" name="MagickBlurImage">MagickBlurImage</a></h2>
535 <div class="doc-section">
537 <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></ol>
539 <p>The format of the MagickBlurImage method is:</p>
542 MagickBooleanType MagickBlurImage(MagickWand *wand,const double radius,
544 MagickBooleanType MagickBlurImageChannel(MagickWand *wand,
545 const ChannelType channel,const double radius,const double sigma)
548 <p>A description of each parameter follows:</p></ol>
551 <ol><p>the magick wand.</p></ol>
554 <ol><p>the image channel(s).</p></ol>
557 <ol><p>the radius of the , in pixels, not counting the center pixel.</p></ol>
560 <ol><p>the standard deviation of the , in pixels.</p></ol>
563 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
564 _8c.html" target="source" name="MagickBorderImage">MagickBorderImage</a></h2>
565 <div class="doc-section">
567 <p>MagickBorderImage() surrounds the image with a border of the color defined by the bordercolor pixel wand.</p></ol>
569 <p>The format of the MagickBorderImage method is:</p>
572 MagickBooleanType MagickBorderImage(MagickWand *wand,
573 const PixelWand *bordercolor,const size_t width,
577 <p>A description of each parameter follows:</p></ol>
580 <ol><p>the magick wand.</p></ol>
583 <ol><p>the border color pixel wand.</p></ol>
586 <ol><p>the border width.</p></ol>
589 <ol><p>the border height.</p></ol>
592 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
593 _8c.html" target="source" name="Use MagickBrightnessContrastImage">Use MagickBrightnessContrastImage</a></h2>
594 <div class="doc-section">
596 <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></ol>
599 <p>The format of the MagickBrightnessContrastImage method is:</p>
602 MagickBooleanType MagickBrightnessContrastImage(MagickWand *wand,
603 const double brightness,const double contrast)
604 MagickBooleanType MagickBrightnessContrastImageChannel(MagickWand *wand,
605 const ChannelType channel,const double brightness,
606 const double contrast)
609 <p>A description of each parameter follows:</p></ol>
612 <ol><p>the magick wand.</p></ol>
615 <ol><p>the image channel(s).</p></ol>
618 <ol><p>the brightness percent (-100 .. 100).</p></ol>
621 <ol><p>the contrast percent (-100 .. 100).</p></ol>
624 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
625 _8c.html" target="source" name="MagickCharcoalImage">MagickCharcoalImage</a></h2>
626 <div class="doc-section">
628 <p>MagickCharcoalImage() simulates a charcoal drawing.</p></ol>
630 <p>The format of the MagickCharcoalImage method is:</p>
633 MagickBooleanType MagickCharcoalImage(MagickWand *wand,
634 const double radius,const double sigma)
637 <p>A description of each parameter follows:</p></ol>
640 <ol><p>the magick wand.</p></ol>
643 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
646 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
649 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
650 _8c.html" target="source" name="MagickChopImage">MagickChopImage</a></h2>
651 <div class="doc-section">
653 <p>MagickChopImage() removes a region of an image and collapses the image to occupy the removed portion</p></ol>
655 <p>The format of the MagickChopImage method is:</p>
658 MagickBooleanType MagickChopImage(MagickWand *wand,
659 const size_t width,const size_t height,const ssize_t x,
663 <p>A description of each parameter follows:</p></ol>
666 <ol><p>the magick wand.</p></ol>
669 <ol><p>the region width.</p></ol>
672 <ol><p>the region height.</p></ol>
675 <ol><p>the region x offset.</p></ol>
678 <ol><p>the region y offset.</p></ol>
682 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
683 _8c.html" target="source" name="MagickClampImage">MagickClampImage</a></h2>
684 <div class="doc-section">
686 <p>MagickClampImage() restricts the color range from 0 to the quantum depth.</p></ol>
688 <p>The format of the MagickClampImage method is:</p>
691 MagickBooleanType MagickClampImage(MagickWand *wand)
692 MagickBooleanType MagickClampImageChannel(MagickWand *wand,
693 const ChannelType channel)
696 <p>A description of each parameter follows:</p></ol>
699 <ol><p>the magick wand.</p></ol>
702 <ol><p>the channel.</p></ol>
705 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
706 _8c.html" target="source" name="MagickClipImage">MagickClipImage</a></h2>
707 <div class="doc-section">
709 <p>MagickClipImage() clips along the first path from the 8BIM profile, if present.</p></ol>
711 <p>The format of the MagickClipImage method is:</p>
714 MagickBooleanType MagickClipImage(MagickWand *wand)
717 <p>A description of each parameter follows:</p></ol>
720 <ol><p>the magick wand.</p></ol>
723 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
724 _8c.html" target="source" name="MagickClipImagePath">MagickClipImagePath</a></h2>
725 <div class="doc-section">
727 <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></ol>
729 <p>The format of the MagickClipImagePath method is:</p>
732 MagickBooleanType MagickClipImagePath(MagickWand *wand,
733 const char *pathname,const MagickBooleanType inside)
736 <p>A description of each parameter follows:</p></ol>
739 <ol><p>the magick wand.</p></ol>
742 <ol><p>name of clipping path resource. If name is preceded by #, use clipping path numbered by name.</p></ol>
745 <ol><p>if non-zero, later operations take effect inside clipping path. Otherwise later operations take effect outside clipping path.</p></ol>
748 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
749 _8c.html" target="source" name="MagickClutImage">MagickClutImage</a></h2>
750 <div class="doc-section">
752 <p>MagickClutImage() replaces colors in the image from a color lookup table.</p></ol>
754 <p>The format of the MagickClutImage method is:</p>
757 MagickBooleanType MagickClutImage(MagickWand *wand,
758 const MagickWand *clut_wand)
759 MagickBooleanType MagickClutImageChannel(MagickWand *wand,
760 const ChannelType channel,const MagickWand *clut_wand)
763 <p>A description of each parameter follows:</p></ol>
766 <ol><p>the magick wand.</p></ol>
769 <ol><p>the clut image.</p></ol>
772 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
773 _8c.html" target="source" name="MagickCoalesceImages">MagickCoalesceImages</a></h2>
774 <div class="doc-section">
776 <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></ol>
778 <p>The format of the MagickCoalesceImages method is:</p>
781 MagickWand *MagickCoalesceImages(MagickWand *wand)
784 <p>A description of each parameter follows:</p></ol>
787 <ol><p>the magick wand.</p></ol>
790 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
791 _8c.html" target="source" name="MagickColorDecisionListImage">MagickColorDecisionListImage</a></h2>
792 <div class="doc-section">
794 <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>
797 <ColorCorrectionCollection xmlns="urn:ASC:CDL:v1.2">
798 <ColorCorrection id="cc03345">
800 <Slope> 0.9 1.2 0.5 </Slope>
801 <Offset> 0.4 -0.5 0.6 </Offset>
802 <Power> 1.0 0.8 1.5 </Power>
805 <Saturation> 0.85 </Saturation>
808 </ColorCorrectionCollection>
811 <p>which includes the offset, slope, and power for each of the RGB channels as well as the saturation.</p></ol>
813 <p>The format of the MagickColorDecisionListImage method is:</p>
816 MagickBooleanType MagickColorDecisionListImage(MagickWand *wand,
820 <p>A description of each parameter follows:</p></ol>
823 <ol><p>the magick wand.</p></ol>
825 <h5>color_correction_collection</h5>
826 <ol><p>the color correction collection in XML.</p></ol>
829 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
830 _8c.html" target="source" name="MagickColorizeImage">MagickColorizeImage</a></h2>
831 <div class="doc-section">
833 <p>MagickColorizeImage() blends the fill color with each pixel in the image.</p></ol>
835 <p>The format of the MagickColorizeImage method is:</p>
838 MagickBooleanType MagickColorizeImage(MagickWand *wand,
839 const PixelWand *colorize,const PixelWand *opacity)
842 <p>A description of each parameter follows:</p></ol>
845 <ol><p>the magick wand.</p></ol>
848 <ol><p>the colorize pixel wand.</p></ol>
851 <ol><p>the opacity pixel wand.</p></ol>
854 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
855 _8c.html" target="source" name="MagickColorMatrixImage">MagickColorMatrixImage</a></h2>
856 <div class="doc-section">
858 <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></ol>
860 <p>The format of the MagickColorMatrixImage method is:</p>
863 MagickBooleanType MagickColorMatrixImage(MagickWand *wand,
864 const KernelInfo *color_matrix)
867 <p>A description of each parameter follows:</p></ol>
870 <ol><p>the magick wand.</p></ol>
872 <h5>color_matrix</h5>
873 <ol><p>the color matrix.</p></ol>
876 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
877 _8c.html" target="source" name="MagickCombineImages">MagickCombineImages</a></h2>
878 <div class="doc-section">
880 <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 => Red, 2 => Green, 3 => Blue, etc.</p></ol>
882 <p>The format of the MagickCombineImages method is:</p>
885 MagickWand *MagickCombineImages(MagickWand *wand,
886 const ChannelType channel)
889 <p>A description of each parameter follows:</p></ol>
892 <ol><p>the magick wand.</p></ol>
895 <ol><p>the channel.</p></ol>
898 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
899 _8c.html" target="source" name="MagickCommentImage">MagickCommentImage</a></h2>
900 <div class="doc-section">
902 <p>MagickCommentImage() adds a comment to your image.</p></ol>
904 <p>The format of the MagickCommentImage method is:</p>
907 MagickBooleanType MagickCommentImage(MagickWand *wand,
911 <p>A description of each parameter follows:</p></ol>
914 <ol><p>the magick wand.</p></ol>
917 <ol><p>the image comment.</p></ol>
920 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
921 _8c.html" target="source" name="MagickCompareImageChannels">MagickCompareImageChannels</a></h2>
922 <div class="doc-section">
924 <p>MagickCompareImageChannels() compares one or more image channels of an image to a reconstructed image and returns the difference image.</p></ol>
926 <p>The format of the MagickCompareImageChannels method is:</p>
929 MagickWand *MagickCompareImageChannels(MagickWand *wand,
930 const MagickWand *reference,const ChannelType channel,
931 const MetricType metric,double *distortion)
934 <p>A description of each parameter follows:</p></ol>
937 <ol><p>the magick wand.</p></ol>
940 <ol><p>the reference wand.</p></ol>
943 <ol><p>the channel.</p></ol>
946 <ol><p>the metric.</p></ol>
949 <ol><p>the computed distortion between the images.</p></ol>
952 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
953 _8c.html" target="source" name="MagickCompareImageLayers">MagickCompareImageLayers</a></h2>
954 <div class="doc-section">
956 <p>MagickCompareImageLayers() compares each image with the next in a sequence and returns the maximum bounding region of any pixel differences it discovers.</p></ol>
958 <p>The format of the MagickCompareImageLayers method is:</p>
961 MagickWand *MagickCompareImageLayers(MagickWand *wand,
962 const ImageLayerMethod method)
965 <p>A description of each parameter follows:</p></ol>
968 <ol><p>the magick wand.</p></ol>
971 <ol><p>the compare method.</p></ol>
974 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
975 _8c.html" target="source" name="MagickCompareImages">MagickCompareImages</a></h2>
976 <div class="doc-section">
978 <p>MagickCompareImages() compares an image to a reconstructed image and returns the specified difference image.</p></ol>
980 <p>The format of the MagickCompareImages method is:</p>
983 MagickWand *MagickCompareImages(MagickWand *wand,
984 const MagickWand *reference,const MetricType metric,
988 <p>A description of each parameter follows:</p></ol>
991 <ol><p>the magick wand.</p></ol>
994 <ol><p>the reference wand.</p></ol>
997 <ol><p>the metric.</p></ol>
1000 <ol><p>the computed distortion between the images.</p></ol>
1003 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1004 _8c.html" target="source" name="MagickCompositeImage">MagickCompositeImage</a></h2>
1005 <div class="doc-section">
1007 <p>MagickCompositeImage() composite one image onto another at the specified offset.</p></ol>
1009 <p>The format of the MagickCompositeImage method is:</p>
1012 MagickBooleanType MagickCompositeImage(MagickWand *wand,
1013 const MagickWand *composite_wand,const CompositeOperator compose,
1014 const ssize_t x,const ssize_t y)
1015 MagickBooleanType MagickCompositeImageChannel(MagickWand *wand,
1016 const ChannelType channel,const MagickWand *composite_wand,
1017 const CompositeOperator compose,const ssize_t x,const ssize_t y)
1020 <p>A description of each parameter follows:</p></ol>
1023 <ol><p>the magick wand.</p></ol>
1025 <h5>composite_image</h5>
1026 <ol><p>the composite image.</p></ol>
1029 <ol><p>This operator affects how the composite is applied to the image. The default is Over. Choose from these operators:</p>
1032 OverCompositeOp InCompositeOp OutCompositeOp
1033 AtopCompositeOp XorCompositeOp PlusCompositeOp
1034 MinusCompositeOp AddCompositeOp SubtractCompositeOp
1035 DifferenceCompositeOp BumpmapCompositeOp CopyCompositeOp
1040 <ol><p>the column offset of the composited image.</p></ol>
1043 <ol><p>the row offset of the composited image.</p></ol>
1046 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1047 _8c.html" target="source" name="MagickContrastImage">MagickContrastImage</a></h2>
1048 <div class="doc-section">
1050 <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></ol>
1052 <p>The format of the MagickContrastImage method is:</p>
1055 MagickBooleanType MagickContrastImage(MagickWand *wand,
1056 const MagickBooleanType sharpen)
1059 <p>A description of each parameter follows:</p></ol>
1062 <ol><p>the magick wand.</p></ol>
1065 <ol><p>Increase or decrease image contrast.</p></ol>
1069 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1070 _8c.html" target="source" name="MagickContrastStretchImage">MagickContrastStretchImage</a></h2>
1071 <div class="doc-section">
1073 <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></ol>
1075 <p>The format of the MagickContrastStretchImage method is:</p>
1078 MagickBooleanType MagickContrastStretchImage(MagickWand *wand,
1079 const double black_point,const double white_point)
1080 MagickBooleanType MagickContrastStretchImageChannel(MagickWand *wand,
1081 const ChannelType channel,const double black_point,
1082 const double white_point)
1085 <p>A description of each parameter follows:</p></ol>
1088 <ol><p>the magick wand.</p></ol>
1091 <ol><p>the image channel(s).</p></ol>
1093 <h5>black_point</h5>
1094 <ol><p>the black point.</p></ol>
1096 <h5>white_point</h5>
1097 <ol><p>the white point.</p></ol>
1100 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1101 _8c.html" target="source" name="MagickConvolveImage">MagickConvolveImage</a></h2>
1102 <div class="doc-section">
1104 <p>MagickConvolveImage() applies a custom convolution kernel to the image.</p></ol>
1106 <p>The format of the MagickConvolveImage method is:</p>
1109 MagickBooleanType MagickConvolveImage(MagickWand *wand,
1110 const size_t order,const double *kernel)
1111 MagickBooleanType MagickConvolveImageChannel(MagickWand *wand,
1112 const ChannelType channel,const size_t order,
1113 const double *kernel)
1116 <p>A description of each parameter follows:</p></ol>
1119 <ol><p>the magick wand.</p></ol>
1122 <ol><p>the image channel(s).</p></ol>
1125 <ol><p>the number of columns and rows in the filter kernel.</p></ol>
1128 <ol><p>An array of doubles representing the convolution kernel.</p></ol>
1131 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1132 _8c.html" target="source" name="MagickCropImage">MagickCropImage</a></h2>
1133 <div class="doc-section">
1135 <p>MagickCropImage() extracts a region of the image.</p></ol>
1137 <p>The format of the MagickCropImage method is:</p>
1140 MagickBooleanType MagickCropImage(MagickWand *wand,
1141 const size_t width,const size_t height,const ssize_t x,const ssize_t y)
1144 <p>A description of each parameter follows:</p></ol>
1147 <ol><p>the magick wand.</p></ol>
1150 <ol><p>the region width.</p></ol>
1153 <ol><p>the region height.</p></ol>
1156 <ol><p>the region x-offset.</p></ol>
1159 <ol><p>the region y-offset.</p></ol>
1162 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1163 _8c.html" target="source" name="MagickCycleColormapImage">MagickCycleColormapImage</a></h2>
1164 <div class="doc-section">
1166 <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></ol>
1168 <p>The format of the MagickCycleColormapImage method is:</p>
1171 MagickBooleanType MagickCycleColormapImage(MagickWand *wand,
1172 const ssize_t displace)
1175 <p>A description of each parameter follows:</p></ol>
1178 <ol><p>the magick wand.</p></ol>
1181 <ol><p>the pixel wand.</p></ol>
1184 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1185 _8c.html" target="source" name="MagickConstituteImage">MagickConstituteImage</a></h2>
1186 <div class="doc-section">
1188 <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></ol>
1190 <p>MagickConstituteImage(wand,640,640,"RGB",CharPixel,pixels);</p></ol>
1192 <p>The format of the MagickConstituteImage method is:</p>
1195 MagickBooleanType MagickConstituteImage(MagickWand *wand,
1196 const size_t columns,const size_t rows,const char *map,
1197 const StorageType storage,void *pixels)
1200 <p>A description of each parameter follows:</p></ol>
1203 <ol><p>the magick wand.</p></ol>
1206 <ol><p>width in pixels of the image.</p></ol>
1209 <ol><p>height in pixels of the image.</p></ol>
1212 <ol><p>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 = opacity (0 is opaque), C = cyan, Y = yellow, M = magenta, K = black, I = intensity (for grayscale), P = pad.</p></ol>
1215 <ol><p>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.</p></ol>
1218 <ol><p>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.</p></ol>
1222 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1223 _8c.html" target="source" name="MagickDecipherImage">MagickDecipherImage</a></h2>
1224 <div class="doc-section">
1226 <p>MagickDecipherImage() converts cipher pixels to plain pixels.</p></ol>
1228 <p>The format of the MagickDecipherImage method is:</p>
1231 MagickBooleanType MagickDecipherImage(MagickWand *wand,
1232 const char *passphrase)
1235 <p>A description of each parameter follows:</p></ol>
1238 <ol><p>the magick wand.</p></ol>
1241 <ol><p>the passphrase.</p></ol>
1244 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1245 _8c.html" target="source" name="MagickDeconstructImages">MagickDeconstructImages</a></h2>
1246 <div class="doc-section">
1248 <p>MagickDeconstructImages() compares each image with the next in a sequence and returns the maximum bounding region of any pixel differences it discovers.</p></ol>
1250 <p>The format of the MagickDeconstructImages method is:</p>
1253 MagickWand *MagickDeconstructImages(MagickWand *wand)
1256 <p>A description of each parameter follows:</p></ol>
1259 <ol><p>the magick wand.</p></ol>
1262 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1263 _8c.html" target="source" name="MagickDeskewImage">MagickDeskewImage</a></h2>
1264 <div class="doc-section">
1266 <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></ol>
1268 <p>The format of the MagickDeskewImage method is:</p>
1271 MagickBooleanType MagickDeskewImage(MagickWand *wand,
1272 const double threshold)
1275 <p>A description of each parameter follows:</p></ol>
1278 <ol><p>the magick wand.</p></ol>
1281 <ol><p>separate background from foreground.</p></ol>
1284 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1285 _8c.html" target="source" name="MagickDespeckleImage">MagickDespeckleImage</a></h2>
1286 <div class="doc-section">
1288 <p>MagickDespeckleImage() reduces the speckle noise in an image while perserving the edges of the original image.</p></ol>
1290 <p>The format of the MagickDespeckleImage method is:</p>
1293 MagickBooleanType MagickDespeckleImage(MagickWand *wand)
1296 <p>A description of each parameter follows:</p></ol>
1299 <ol><p>the magick wand.</p></ol>
1302 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1303 _8c.html" target="source" name="MagickDestroyImage">MagickDestroyImage</a></h2>
1304 <div class="doc-section">
1306 <p>MagickDestroyImage() dereferences an image, deallocating memory associated with the image if the reference count becomes zero.</p></ol>
1308 <p>The format of the MagickDestroyImage method is:</p>
1311 Image *MagickDestroyImage(Image *image)
1314 <p>A description of each parameter follows:</p></ol>
1317 <ol><p>the image.</p></ol>
1320 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1321 _8c.html" target="source" name="MagickDisplayImage">MagickDisplayImage</a></h2>
1322 <div class="doc-section">
1324 <p>MagickDisplayImage() displays an image.</p></ol>
1326 <p>The format of the MagickDisplayImage method is:</p>
1329 MagickBooleanType MagickDisplayImage(MagickWand *wand,
1330 const char *server_name)
1333 <p>A description of each parameter follows:</p></ol>
1336 <ol><p>the magick wand.</p></ol>
1338 <h5>server_name</h5>
1339 <ol><p>the X server name.</p></ol>
1342 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1343 _8c.html" target="source" name="MagickDisplayImages">MagickDisplayImages</a></h2>
1344 <div class="doc-section">
1346 <p>MagickDisplayImages() displays an image or image sequence.</p></ol>
1348 <p>The format of the MagickDisplayImages method is:</p>
1351 MagickBooleanType MagickDisplayImages(MagickWand *wand,
1352 const char *server_name)
1355 <p>A description of each parameter follows:</p></ol>
1358 <ol><p>the magick wand.</p></ol>
1360 <h5>server_name</h5>
1361 <ol><p>the X server name.</p></ol>
1364 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1365 _8c.html" target="source" name="MagickDistortImage">MagickDistortImage</a></h2>
1366 <div class="doc-section">
1368 <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></ol>
1370 <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></ol>
1372 <p>The format of the MagickDistortImage method is:</p>
1375 MagickBooleanType MagickDistortImage(MagickWand *wand,
1376 const DistortImageMethod method,const size_t number_arguments,
1377 const double *arguments,const MagickBooleanType bestfit)
1380 <p>A description of each parameter follows:</p></ol>
1383 <ol><p>the image to be distorted.</p></ol>
1386 <ol><p>the method of image distortion.</p></ol>
1388 <p>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.</p></ol>
1390 <p>Bilinear has no simple inverse mapping so it does not allow 'bestfit' style of image distortion.</p></ol>
1392 <p>Affine, Perspective, and Bilinear, do least squares fitting of the distortion when more than the minimum number of control point pairs are provided.</p></ol>
1394 <p>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.</p></ol>
1396 <h5>number_arguments</h5>
1397 <ol><p>the number of arguments given for this distortion method.</p></ol>
1400 <ol><p>the arguments for this distortion method.</p></ol>
1403 <ol><p>Attempt to resize destination to fit distorted source.</p></ol>
1406 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1407 _8c.html" target="source" name="MagickDrawImage">MagickDrawImage</a></h2>
1408 <div class="doc-section">
1410 <p>MagickDrawImage() renders the drawing wand on the current image.</p></ol>
1412 <p>The format of the MagickDrawImage method is:</p>
1415 MagickBooleanType MagickDrawImage(MagickWand *wand,
1416 const DrawingWand *drawing_wand)
1419 <p>A description of each parameter follows:</p></ol>
1422 <ol><p>the magick wand.</p></ol>
1424 <h5>drawing_wand</h5>
1425 <ol><p>the draw wand.</p></ol>
1428 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1429 _8c.html" target="source" name="MagickEdgeImage">MagickEdgeImage</a></h2>
1430 <div class="doc-section">
1432 <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></ol>
1434 <p>The format of the MagickEdgeImage method is:</p>
1437 MagickBooleanType MagickEdgeImage(MagickWand *wand,const double radius)
1440 <p>A description of each parameter follows:</p></ol>
1443 <ol><p>the magick wand.</p></ol>
1446 <ol><p>the radius of the pixel neighborhood.</p></ol>
1449 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1450 _8c.html" target="source" name="MagickEmbossImage">MagickEmbossImage</a></h2>
1451 <div class="doc-section">
1453 <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></ol>
1455 <p>The format of the MagickEmbossImage method is:</p>
1458 MagickBooleanType MagickEmbossImage(MagickWand *wand,const double radius,
1462 <p>A description of each parameter follows:</p></ol>
1465 <ol><p>the magick wand.</p></ol>
1468 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
1471 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
1474 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1475 _8c.html" target="source" name="MagickEncipherImage">MagickEncipherImage</a></h2>
1476 <div class="doc-section">
1478 <p>MagickEncipherImage() converts plaint pixels to cipher pixels.</p></ol>
1480 <p>The format of the MagickEncipherImage method is:</p>
1483 MagickBooleanType MagickEncipherImage(MagickWand *wand,
1484 const char *passphrase)
1487 <p>A description of each parameter follows:</p></ol>
1490 <ol><p>the magick wand.</p></ol>
1493 <ol><p>the passphrase.</p></ol>
1496 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1497 _8c.html" target="source" name="MagickEnhanceImage">MagickEnhanceImage</a></h2>
1498 <div class="doc-section">
1500 <p>MagickEnhanceImage() applies a digital filter that improves the quality of a noisy image.</p></ol>
1502 <p>The format of the MagickEnhanceImage method is:</p>
1505 MagickBooleanType MagickEnhanceImage(MagickWand *wand)
1508 <p>A description of each parameter follows:</p></ol>
1511 <ol><p>the magick wand.</p></ol>
1514 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1515 _8c.html" target="source" name="MagickEqualizeImage">MagickEqualizeImage</a></h2>
1516 <div class="doc-section">
1518 <p>MagickEqualizeImage() equalizes the image histogram.</p></ol>
1520 <p>The format of the MagickEqualizeImage method is:</p>
1523 MagickBooleanType MagickEqualizeImage(MagickWand *wand)
1524 MagickBooleanType MagickEqualizeImageChannel(MagickWand *wand,
1525 const ChannelType channel)
1528 <p>A description of each parameter follows:</p></ol>
1531 <ol><p>the magick wand.</p></ol>
1534 <ol><p>the image channel(s).</p></ol>
1537 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1538 _8c.html" target="source" name="MagickEvaluateImage">MagickEvaluateImage</a></h2>
1539 <div class="doc-section">
1541 <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></ol>
1543 <p>The format of the MagickEvaluateImage method is:</p>
1546 MagickBooleanType MagickEvaluateImage(MagickWand *wand,
1547 const MagickEvaluateOperator operator,const double value)
1548 MagickBooleanType MagickEvaluateImages(MagickWand *wand,
1549 const MagickEvaluateOperator operator)
1550 MagickBooleanType MagickEvaluateImageChannel(MagickWand *wand,
1551 const ChannelType channel,const MagickEvaluateOperator op,
1555 <p>A description of each parameter follows:</p></ol>
1558 <ol><p>the magick wand.</p></ol>
1561 <ol><p>the channel(s).</p></ol>
1564 <ol><p>A channel operator.</p></ol>
1567 <ol><p>A value value.</p></ol>
1570 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1571 _8c.html" target="source" name="MagickExportImagePixels">MagickExportImagePixels</a></h2>
1572 <div class="doc-section">
1574 <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></ol>
1576 <p>Suppose you want to extract the first scanline of a 640x480 image as character data in red-green-blue order:</p>
1579 MagickExportImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels);
1582 <p>The format of the MagickExportImagePixels method is:</p>
1585 MagickBooleanType MagickExportImagePixels(MagickWand *wand,
1586 const ssize_t x,const ssize_t y,const size_t columns,
1587 const size_t rows,const char *map,const StorageType storage,
1591 <p>A description of each parameter follows:</p></ol>
1594 <ol><p>the magick wand.</p></ol>
1596 <h5>x, y, columns, rows</h5>
1597 <ol><p>These values define the perimeter of a region of pixels you want to extract.</p></ol>
1600 <ol><p>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 = opacity (0 is opaque), C = cyan, Y = yellow, M = magenta, K = black, I = intensity (for grayscale), P = pad.</p></ol>
1603 <ol><p>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.</p></ol>
1606 <ol><p>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.</p></ol>
1609 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1610 _8c.html" target="source" name="MagickExtentImage">MagickExtentImage</a></h2>
1611 <div class="doc-section">
1613 <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></ol>
1615 <p>The format of the MagickExtentImage method is:</p>
1618 MagickBooleanType MagickExtentImage(MagickWand *wand,
1619 const size_t width,const size_t height,const ssize_t x,
1623 <p>A description of each parameter follows:</p></ol>
1626 <ol><p>the magick wand.</p></ol>
1629 <ol><p>the region width.</p></ol>
1632 <ol><p>the region height.</p></ol>
1635 <ol><p>the region x offset.</p></ol>
1638 <ol><p>the region y offset.</p></ol>
1641 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1642 _8c.html" target="source" name="MagickFilterImage">MagickFilterImage</a></h2>
1643 <div class="doc-section">
1645 <p>MagickFilterImage() applies a custom convolution kernel to the image.</p></ol>
1647 <p>The format of the MagickFilterImage method is:</p>
1650 MagickBooleanType MagickFilterImage(MagickWand *wand,
1651 const KernelInfo *kernel)
1652 MagickBooleanType MagickFilterImageChannel(MagickWand *wand,
1653 const ChannelType channel,const KernelInfo *kernel)
1656 <p>A description of each parameter follows:</p></ol>
1659 <ol><p>the magick wand.</p></ol>
1662 <ol><p>the image channel(s).</p></ol>
1665 <ol><p>An array of doubles representing the convolution kernel.</p></ol>
1668 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1669 _8c.html" target="source" name="MagickFlipImage">MagickFlipImage</a></h2>
1670 <div class="doc-section">
1672 <p>MagickFlipImage() creates a vertical mirror image by reflecting the pixels around the central x-axis.</p></ol>
1674 <p>The format of the MagickFlipImage method is:</p>
1677 MagickBooleanType MagickFlipImage(MagickWand *wand)
1680 <p>A description of each parameter follows:</p></ol>
1683 <ol><p>the magick wand.</p></ol>
1686 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1687 _8c.html" target="source" name="MagickFloodfillPaintImage">MagickFloodfillPaintImage</a></h2>
1688 <div class="doc-section">
1690 <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></ol>
1692 <p>The format of the MagickFloodfillPaintImage method is:</p>
1695 MagickBooleanType MagickFloodfillPaintImage(MagickWand *wand,
1696 const ChannelType channel,const PixelWand *fill,const double fuzz,
1697 const PixelWand *bordercolor,const ssize_t x,const ssize_t y,
1698 const MagickBooleanType invert)
1701 <p>A description of each parameter follows:</p></ol>
1704 <ol><p>the magick wand.</p></ol>
1707 <ol><p>the channel(s).</p></ol>
1710 <ol><p>the floodfill color pixel wand.</p></ol>
1713 <ol><p>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.</p></ol>
1715 <h5>bordercolor</h5>
1716 <ol><p>the border color pixel wand.</p></ol>
1719 <ol><p>the starting location of the operation.</p></ol>
1722 <ol><p>paint any pixel that does not match the target color.</p></ol>
1725 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1726 _8c.html" target="source" name="MagickFlopImage">MagickFlopImage</a></h2>
1727 <div class="doc-section">
1729 <p>MagickFlopImage() creates a horizontal mirror image by reflecting the pixels around the central y-axis.</p></ol>
1731 <p>The format of the MagickFlopImage method is:</p>
1734 MagickBooleanType MagickFlopImage(MagickWand *wand)
1737 <p>A description of each parameter follows:</p></ol>
1740 <ol><p>the magick wand.</p></ol>
1743 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1744 _8c.html" target="source" name="MagickForwardFourierTransformImage">MagickForwardFourierTransformImage</a></h2>
1745 <div class="doc-section">
1747 <p>MagickForwardFourierTransformImage() implements the discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.</p></ol>
1749 <p>The format of the MagickForwardFourierTransformImage method is:</p>
1752 MagickBooleanType MagickForwardFourierTransformImage(MagickWand *wand,
1753 const MagickBooleanType magnitude)
1756 <p>A description of each parameter follows:</p></ol>
1759 <ol><p>the magick wand.</p></ol>
1762 <ol><p>if true, return as magnitude / phase pair otherwise a real / imaginary image pair.</p></ol>
1765 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1766 _8c.html" target="source" name="MagickFrameImage">MagickFrameImage</a></h2>
1767 <div class="doc-section">
1769 <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></ol>
1771 <p>The format of the MagickFrameImage method is:</p>
1774 MagickBooleanType MagickFrameImage(MagickWand *wand,
1775 const PixelWand *matte_color,const size_t width,
1776 const size_t height,const ssize_t inner_bevel,
1777 const ssize_t outer_bevel)
1780 <p>A description of each parameter follows:</p></ol>
1783 <ol><p>the magick wand.</p></ol>
1785 <h5>matte_color</h5>
1786 <ol><p>the frame color pixel wand.</p></ol>
1789 <ol><p>the border width.</p></ol>
1792 <ol><p>the border height.</p></ol>
1794 <h5>inner_bevel</h5>
1795 <ol><p>the inner bevel width.</p></ol>
1797 <h5>outer_bevel</h5>
1798 <ol><p>the outer bevel width.</p></ol>
1801 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1802 _8c.html" target="source" name="MagickFunctionImage">MagickFunctionImage</a></h2>
1803 <div class="doc-section">
1805 <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></ol>
1807 <p>The format of the MagickFunctionImage method is:</p>
1810 MagickBooleanType MagickFunctionImage(MagickWand *wand,
1811 const MagickFunction function,const size_t number_arguments,
1812 const double *arguments)
1813 MagickBooleanType MagickFunctionImageChannel(MagickWand *wand,
1814 const ChannelType channel,const MagickFunction function,
1815 const size_t number_arguments,const double *arguments)
1818 <p>A description of each parameter follows:</p></ol>
1821 <ol><p>the magick wand.</p></ol>
1824 <ol><p>the channel(s).</p></ol>
1827 <ol><p>the image function.</p></ol>
1829 <h5>number_arguments</h5>
1830 <ol><p>the number of function arguments.</p></ol>
1833 <ol><p>the function arguments.</p></ol>
1836 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1837 _8c.html" target="source" name="MagickFxImage">MagickFxImage</a></h2>
1838 <div class="doc-section">
1840 <p>MagickFxImage() evaluate expression for each pixel in the image.</p></ol>
1842 <p>The format of the MagickFxImage method is:</p>
1845 MagickWand *MagickFxImage(MagickWand *wand,const char *expression)
1846 MagickWand *MagickFxImageChannel(MagickWand *wand,
1847 const ChannelType channel,const char *expression)
1850 <p>A description of each parameter follows:</p></ol>
1853 <ol><p>the magick wand.</p></ol>
1856 <ol><p>the image channel(s).</p></ol>
1859 <ol><p>the expression.</p></ol>
1862 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1863 _8c.html" target="source" name="MagickGammaImage">MagickGammaImage</a></h2>
1864 <div class="doc-section">
1866 <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></ol>
1868 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p></ol>
1870 <p>The format of the MagickGammaImage method is:</p>
1873 MagickBooleanType MagickGammaImage(MagickWand *wand,const double gamma)
1874 MagickBooleanType MagickGammaImageChannel(MagickWand *wand,
1875 const ChannelType channel,const double gamma)
1878 <p>A description of each parameter follows:</p></ol>
1881 <ol><p>the magick wand.</p></ol>
1884 <ol><p>the channel.</p></ol>
1887 <ol><p>Define the level of gamma correction.</p></ol>
1890 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1891 _8c.html" target="source" name="MagickGaussianBlurImage">MagickGaussianBlurImage</a></h2>
1892 <div class="doc-section">
1894 <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></ol>
1896 <p>The format of the MagickGaussianBlurImage method is:</p>
1899 MagickBooleanType MagickGaussianBlurImage(MagickWand *wand,
1900 const double radius,const double sigma)
1901 MagickBooleanType MagickGaussianBlurImageChannel(MagickWand *wand,
1902 const ChannelType channel,const double radius,const double sigma)
1905 <p>A description of each parameter follows:</p></ol>
1908 <ol><p>the magick wand.</p></ol>
1911 <ol><p>the image channel(s).</p></ol>
1914 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
1917 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
1920 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1921 _8c.html" target="source" name="MagickGetImage">MagickGetImage</a></h2>
1922 <div class="doc-section">
1924 <p>MagickGetImage() gets the image at the current image index.</p></ol>
1926 <p>The format of the MagickGetImage method is:</p>
1929 MagickWand *MagickGetImage(MagickWand *wand)
1932 <p>A description of each parameter follows:</p></ol>
1935 <ol><p>the magick wand.</p></ol>
1938 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1939 _8c.html" target="source" name="MagickGetImageAlphaChannel">MagickGetImageAlphaChannel</a></h2>
1940 <div class="doc-section">
1942 <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></ol>
1944 <p>The format of the MagickGetImageAlphaChannel method is:</p>
1947 size_t MagickGetImageAlphaChannel(MagickWand *wand)
1950 <p>A description of each parameter follows:</p></ol>
1953 <ol><p>the magick wand.</p></ol>
1956 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1957 _8c.html" target="source" name="MagickGetImageClipMask">MagickGetImageClipMask</a></h2>
1958 <div class="doc-section">
1960 <p>MagickGetImageClipMask() gets the image clip mask at the current image index.</p></ol>
1962 <p>The format of the MagickGetImageClipMask method is:</p>
1965 MagickWand *MagickGetImageClipMask(MagickWand *wand)
1968 <p>A description of each parameter follows:</p></ol>
1971 <ol><p>the magick wand.</p></ol>
1974 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1975 _8c.html" target="source" name="MagickGetImageBackgroundColor">MagickGetImageBackgroundColor</a></h2>
1976 <div class="doc-section">
1978 <p>MagickGetImageBackgroundColor() returns the image background color.</p></ol>
1980 <p>The format of the MagickGetImageBackgroundColor method is:</p>
1983 MagickBooleanType MagickGetImageBackgroundColor(MagickWand *wand,
1984 PixelWand *background_color)
1987 <p>A description of each parameter follows:</p></ol>
1990 <ol><p>the magick wand.</p></ol>
1992 <h5>background_color</h5>
1993 <ol><p>Return the background color.</p></ol>
1996 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1997 _8c.html" target="source" name="MagickGetImageBlob">MagickGetImageBlob</a></h2>
1998 <div class="doc-section">
2000 <p>MagickGetImageBlob() implements direct to memory image formats. It returns the image as a blob and its length. Use MagickSetFormat() to set the format of the returned blob (GIF, JPEG, PNG, etc.).</p></ol>
2002 <p>Use MagickRelinquishMemory() to free the blob when you are done with it.</p></ol>
2004 <p>The format of the MagickGetImageBlob method is:</p>
2007 unsigned char *MagickGetImageBlob(MagickWand *wand,size_t *length)
2010 <p>A description of each parameter follows:</p></ol>
2013 <ol><p>the magick wand.</p></ol>
2016 <ol><p>the length of the blob.</p></ol>
2019 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2020 _8c.html" target="source" name="MagickGetImageBlob">MagickGetImageBlob</a></h2>
2021 <div class="doc-section">
2023 <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></ol>
2025 <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></ol>
2027 <p>The format of the MagickGetImagesBlob method is:</p>
2030 unsigned char *MagickGetImagesBlob(MagickWand *wand,size_t *length)
2033 <p>A description of each parameter follows:</p></ol>
2036 <ol><p>the magick wand.</p></ol>
2039 <ol><p>the length of the blob.</p></ol>
2042 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2043 _8c.html" target="source" name="MagickGetImageBluePrimary">MagickGetImageBluePrimary</a></h2>
2044 <div class="doc-section">
2046 <p>MagickGetImageBluePrimary() returns the chromaticy blue primary point for the image.</p></ol>
2048 <p>The format of the MagickGetImageBluePrimary method is:</p>
2051 MagickBooleanType MagickGetImageBluePrimary(MagickWand *wand,double *x,
2055 <p>A description of each parameter follows:</p></ol>
2058 <ol><p>the magick wand.</p></ol>
2061 <ol><p>the chromaticity blue primary x-point.</p></ol>
2064 <ol><p>the chromaticity blue primary y-point.</p></ol>
2067 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2068 _8c.html" target="source" name="MagickGetImageBorderColor">MagickGetImageBorderColor</a></h2>
2069 <div class="doc-section">
2071 <p>MagickGetImageBorderColor() returns the image border color.</p></ol>
2073 <p>The format of the MagickGetImageBorderColor method is:</p>
2076 MagickBooleanType MagickGetImageBorderColor(MagickWand *wand,
2077 PixelWand *border_color)
2080 <p>A description of each parameter follows:</p></ol>
2083 <ol><p>the magick wand.</p></ol>
2085 <h5>border_color</h5>
2086 <ol><p>Return the border color.</p></ol>
2089 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2090 _8c.html" target="source" name="MagickGetImageChannelDepth">MagickGetImageChannelDepth</a></h2>
2091 <div class="doc-section">
2093 <p>MagickGetImageChannelDepth() gets the depth for one or more image channels.</p></ol>
2095 <p>The format of the MagickGetImageChannelDepth method is:</p>
2098 size_t MagickGetImageChannelDepth(MagickWand *wand,
2099 const ChannelType channel)
2102 <p>A description of each parameter follows:</p></ol>
2105 <ol><p>the magick wand.</p></ol>
2108 <ol><p>the image channel(s).</p></ol>
2111 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2112 _8c.html" target="source" name="MagickGetImageChannelDistortion">MagickGetImageChannelDistortion</a></h2>
2113 <div class="doc-section">
2115 <p>MagickGetImageChannelDistortion() compares one or more image channels of an image to a reconstructed image and returns the specified distortion metric.</p></ol>
2117 <p>The format of the MagickGetImageChannelDistortion method is:</p>
2120 MagickBooleanType MagickGetImageChannelDistortion(MagickWand *wand,
2121 const MagickWand *reference,const ChannelType channel,
2122 const MetricType metric,double *distortion)
2125 <p>A description of each parameter follows:</p></ol>
2128 <ol><p>the magick wand.</p></ol>
2131 <ol><p>the reference wand.</p></ol>
2134 <ol><p>the channel.</p></ol>
2137 <ol><p>the metric.</p></ol>
2140 <ol><p>the computed distortion between the images.</p></ol>
2143 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2144 _8c.html" target="source" name="MagickGetImageChannelDistortions">MagickGetImageChannelDistortions</a></h2>
2145 <div class="doc-section">
2147 <p>MagickGetImageChannelDistortions() compares one or more image channels of an image to a reconstructed image and returns the specified distortion metrics.</p></ol>
2149 <p>Use MagickRelinquishMemory() to free the metrics when you are done with them.</p></ol>
2151 <p>The format of the MagickGetImageChannelDistortion method is:</p>
2154 double *MagickGetImageChannelDistortion(MagickWand *wand,
2155 const MagickWand *reference,const MetricType metric)
2158 <p>A description of each parameter follows:</p></ol>
2161 <ol><p>the magick wand.</p></ol>
2164 <ol><p>the reference wand.</p></ol>
2167 <ol><p>the metric.</p></ol>
2170 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2171 _8c.html" target="source" name="MagickGetImageChannelFeatures">MagickGetImageChannelFeatures</a></h2>
2172 <div class="doc-section">
2174 <p>MagickGetImageChannelFeatures() 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>
2177 channel_features=MagickGetImageChannelFeatures(wand,1);
2178 contrast=channel_features[RedChannel].contrast[0];
2181 <p>Use MagickRelinquishMemory() to free the statistics buffer.</p></ol>
2183 <p>The format of the MagickGetImageChannelFeatures method is:</p>
2186 ChannelFeatures *MagickGetImageChannelFeatures(MagickWand *wand,
2187 const size_t distance)
2190 <p>A description of each parameter follows:</p></ol>
2193 <ol><p>the magick wand.</p></ol>
2196 <ol><p>the distance.</p></ol>
2199 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2200 _8c.html" target="source" name="MagickGetImageChannelKurtosis">MagickGetImageChannelKurtosis</a></h2>
2201 <div class="doc-section">
2203 <p>MagickGetImageChannelKurtosis() gets the kurtosis and skewness of one or more image channels.</p></ol>
2205 <p>The format of the MagickGetImageChannelKurtosis method is:</p>
2208 MagickBooleanType MagickGetImageChannelKurtosis(MagickWand *wand,
2209 const ChannelType channel,double *kurtosis,double *skewness)
2212 <p>A description of each parameter follows:</p></ol>
2215 <ol><p>the magick wand.</p></ol>
2218 <ol><p>the image channel(s).</p></ol>
2221 <ol><p>The kurtosis for the specified channel(s).</p></ol>
2224 <ol><p>The skewness for the specified channel(s).</p></ol>
2227 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2228 _8c.html" target="source" name="MagickGetImageChannelMean">MagickGetImageChannelMean</a></h2>
2229 <div class="doc-section">
2231 <p>MagickGetImageChannelMean() gets the mean and standard deviation of one or more image channels.</p></ol>
2233 <p>The format of the MagickGetImageChannelMean method is:</p>
2236 MagickBooleanType MagickGetImageChannelMean(MagickWand *wand,
2237 const ChannelType channel,double *mean,double *standard_deviation)
2240 <p>A description of each parameter follows:</p></ol>
2243 <ol><p>the magick wand.</p></ol>
2246 <ol><p>the image channel(s).</p></ol>
2249 <ol><p>The mean pixel value for the specified channel(s).</p></ol>
2251 <h5>standard_deviation</h5>
2252 <ol><p>The standard deviation for the specified channel(s).</p></ol>
2255 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2256 _8c.html" target="source" name="MagickGetImageChannelRange">MagickGetImageChannelRange</a></h2>
2257 <div class="doc-section">
2259 <p>MagickGetImageChannelRange() gets the range for one or more image channels.</p></ol>
2261 <p>The format of the MagickGetImageChannelRange method is:</p>
2264 MagickBooleanType MagickGetImageChannelRange(MagickWand *wand,
2265 const ChannelType channel,double *minima,double *maxima)
2268 <p>A description of each parameter follows:</p></ol>
2271 <ol><p>the magick wand.</p></ol>
2274 <ol><p>the image channel(s).</p></ol>
2277 <ol><p>The minimum pixel value for the specified channel(s).</p></ol>
2280 <ol><p>The maximum pixel value for the specified channel(s).</p></ol>
2283 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2284 _8c.html" target="source" name="MagickGetImageChannelStatistics">MagickGetImageChannelStatistics</a></h2>
2285 <div class="doc-section">
2287 <p>MagickGetImageChannelStatistics() 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>
2290 channel_statistics=MagickGetImageChannelStatistics(wand);
2291 red_mean=channel_statistics[RedChannel].mean;
2294 <p>Use MagickRelinquishMemory() to free the statistics buffer.</p></ol>
2296 <p>The format of the MagickGetImageChannelStatistics method is:</p>
2299 ChannelStatistics *MagickGetImageChannelStatistics(MagickWand *wand)
2302 <p>A description of each parameter follows:</p></ol>
2305 <ol><p>the magick wand.</p></ol>
2308 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2309 _8c.html" target="source" name="MagickGetImageColormapColor">MagickGetImageColormapColor</a></h2>
2310 <div class="doc-section">
2312 <p>MagickGetImageColormapColor() returns the color of the specified colormap index.</p></ol>
2314 <p>The format of the MagickGetImageColormapColor method is:</p>
2317 MagickBooleanType MagickGetImageColormapColor(MagickWand *wand,
2318 const size_t index,PixelWand *color)
2321 <p>A description of each parameter follows:</p></ol>
2324 <ol><p>the magick wand.</p></ol>
2327 <ol><p>the offset into the image colormap.</p></ol>
2330 <ol><p>Return the colormap color in this wand.</p></ol>
2333 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2334 _8c.html" target="source" name="MagickGetImageColors">MagickGetImageColors</a></h2>
2335 <div class="doc-section">
2337 <p>MagickGetImageColors() gets the number of unique colors in the image.</p></ol>
2339 <p>The format of the MagickGetImageColors method is:</p>
2342 size_t MagickGetImageColors(MagickWand *wand)
2345 <p>A description of each parameter follows:</p></ol>
2348 <ol><p>the magick wand.</p></ol>
2351 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2352 _8c.html" target="source" name="MagickGetImageColorspace">MagickGetImageColorspace</a></h2>
2353 <div class="doc-section">
2355 <p>MagickGetImageColorspace() gets the image colorspace.</p></ol>
2357 <p>The format of the MagickGetImageColorspace method is:</p>
2360 ColorspaceType MagickGetImageColorspace(MagickWand *wand)
2363 <p>A description of each parameter follows:</p></ol>
2366 <ol><p>the magick wand.</p></ol>
2369 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2370 _8c.html" target="source" name="MagickGetImageCompose">MagickGetImageCompose</a></h2>
2371 <div class="doc-section">
2373 <p>MagickGetImageCompose() returns the composite operator associated with the image.</p></ol>
2375 <p>The format of the MagickGetImageCompose method is:</p>
2378 CompositeOperator MagickGetImageCompose(MagickWand *wand)
2381 <p>A description of each parameter follows:</p></ol>
2384 <ol><p>the magick wand.</p></ol>
2387 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2388 _8c.html" target="source" name="MagickGetImageCompression">MagickGetImageCompression</a></h2>
2389 <div class="doc-section">
2391 <p>MagickGetImageCompression() gets the image compression.</p></ol>
2393 <p>The format of the MagickGetImageCompression method is:</p>
2396 CompressionType MagickGetImageCompression(MagickWand *wand)
2399 <p>A description of each parameter follows:</p></ol>
2402 <ol><p>the magick wand.</p></ol>
2405 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2406 _8c.html" target="source" name="MagickGetImageCompression">MagickGetImageCompression</a></h2>
2407 <div class="doc-section">
2409 <p>MagickGetImageCompression() gets the image compression quality.</p></ol>
2411 <p>The format of the MagickGetImageCompression method is:</p>
2414 size_t MagickGetImageCompression(MagickWand *wand)
2417 <p>A description of each parameter follows:</p></ol>
2420 <ol><p>the magick wand.</p></ol>
2423 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2424 _8c.html" target="source" name="MagickGetImageDelay">MagickGetImageDelay</a></h2>
2425 <div class="doc-section">
2427 <p>MagickGetImageDelay() gets the image delay.</p></ol>
2429 <p>The format of the MagickGetImageDelay method is:</p>
2432 size_t MagickGetImageDelay(MagickWand *wand)
2435 <p>A description of each parameter follows:</p></ol>
2438 <ol><p>the magick wand.</p></ol>
2441 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2442 _8c.html" target="source" name="MagickGetImageDepth">MagickGetImageDepth</a></h2>
2443 <div class="doc-section">
2445 <p>MagickGetImageDepth() gets the image depth.</p></ol>
2447 <p>The format of the MagickGetImageDepth method is:</p>
2450 size_t MagickGetImageDepth(MagickWand *wand)
2453 <p>A description of each parameter follows:</p></ol>
2456 <ol><p>the magick wand.</p></ol>
2459 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2460 _8c.html" target="source" name="MagickGetImageDistortion">MagickGetImageDistortion</a></h2>
2461 <div class="doc-section">
2463 <p>MagickGetImageDistortion() compares an image to a reconstructed image and returns the specified distortion metric.</p></ol>
2465 <p>The format of the MagickGetImageDistortion method is:</p>
2468 MagickBooleanType MagickGetImageDistortion(MagickWand *wand,
2469 const MagickWand *reference,const MetricType metric,
2473 <p>A description of each parameter follows:</p></ol>
2476 <ol><p>the magick wand.</p></ol>
2479 <ol><p>the reference wand.</p></ol>
2482 <ol><p>the metric.</p></ol>
2485 <ol><p>the computed distortion between the images.</p></ol>
2488 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2489 _8c.html" target="source" name="MagickGetImageDispose">MagickGetImageDispose</a></h2>
2490 <div class="doc-section">
2492 <p>MagickGetImageDispose() gets the image disposal method.</p></ol>
2494 <p>The format of the MagickGetImageDispose method is:</p>
2497 DisposeType MagickGetImageDispose(MagickWand *wand)
2500 <p>A description of each parameter follows:</p></ol>
2503 <ol><p>the magick wand.</p></ol>
2506 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2507 _8c.html" target="source" name="MagickGetImageFilename">MagickGetImageFilename</a></h2>
2508 <div class="doc-section">
2510 <p>MagickGetImageFilename() returns the filename of a particular image in a sequence.</p></ol>
2512 <p>The format of the MagickGetImageFilename method is:</p>
2515 char *MagickGetImageFilename(MagickWand *wand)
2518 <p>A description of each parameter follows:</p></ol>
2521 <ol><p>the magick wand.</p></ol>
2524 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2525 _8c.html" target="source" name="MagickGetImageFormat">MagickGetImageFormat</a></h2>
2526 <div class="doc-section">
2528 <p>MagickGetImageFormat() returns the format of a particular image in a sequence.</p></ol>
2530 <p>The format of the MagickGetImageFormat method is:</p>
2533 const char MagickGetImageFormat(MagickWand *wand)
2536 <p>A description of each parameter follows:</p></ol>
2539 <ol><p>the magick wand.</p></ol>
2542 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2543 _8c.html" target="source" name="MagickGetImageFuzz">MagickGetImageFuzz</a></h2>
2544 <div class="doc-section">
2546 <p>MagickGetImageFuzz() gets the image fuzz.</p></ol>
2548 <p>The format of the MagickGetImageFuzz method is:</p>
2551 double MagickGetImageFuzz(MagickWand *wand)
2554 <p>A description of each parameter follows:</p></ol>
2557 <ol><p>the magick wand.</p></ol>
2560 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2561 _8c.html" target="source" name="MagickGetImageGamma">MagickGetImageGamma</a></h2>
2562 <div class="doc-section">
2564 <p>MagickGetImageGamma() gets the image gamma.</p></ol>
2566 <p>The format of the MagickGetImageGamma method is:</p>
2569 double MagickGetImageGamma(MagickWand *wand)
2572 <p>A description of each parameter follows:</p></ol>
2575 <ol><p>the magick wand.</p></ol>
2578 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2579 _8c.html" target="source" name="MagickGetImageGravity">MagickGetImageGravity</a></h2>
2580 <div class="doc-section">
2582 <p>MagickGetImageGravity() gets the image gravity.</p></ol>
2584 <p>The format of the MagickGetImageGravity method is:</p>
2587 GravityType MagickGetImageGravity(MagickWand *wand)
2590 <p>A description of each parameter follows:</p></ol>
2593 <ol><p>the magick wand.</p></ol>
2596 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2597 _8c.html" target="source" name="MagickGetImageGreenPrimary">MagickGetImageGreenPrimary</a></h2>
2598 <div class="doc-section">
2600 <p>MagickGetImageGreenPrimary() returns the chromaticy green primary point.</p></ol>
2602 <p>The format of the MagickGetImageGreenPrimary method is:</p>
2605 MagickBooleanType MagickGetImageGreenPrimary(MagickWand *wand,double *x,
2609 <p>A description of each parameter follows:</p></ol>
2612 <ol><p>the magick wand.</p></ol>
2615 <ol><p>the chromaticity green primary x-point.</p></ol>
2618 <ol><p>the chromaticity green primary y-point.</p></ol>
2621 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2622 _8c.html" target="source" name="MagickGetImageHeight">MagickGetImageHeight</a></h2>
2623 <div class="doc-section">
2625 <p>MagickGetImageHeight() returns the image height.</p></ol>
2627 <p>The format of the MagickGetImageHeight method is:</p>
2630 size_t MagickGetImageHeight(MagickWand *wand)
2633 <p>A description of each parameter follows:</p></ol>
2636 <ol><p>the magick wand.</p></ol>
2639 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2640 _8c.html" target="source" name="MagickGetImageHistogram">MagickGetImageHistogram</a></h2>
2641 <div class="doc-section">
2643 <p>MagickGetImageHistogram() returns the image histogram as an array of PixelWand wands.</p></ol>
2645 <p>The format of the MagickGetImageHistogram method is:</p>
2648 PixelWand **MagickGetImageHistogram(MagickWand *wand,
2649 size_t *number_colors)
2652 <p>A description of each parameter follows:</p></ol>
2655 <ol><p>the magick wand.</p></ol>
2657 <h5>number_colors</h5>
2658 <ol><p>the number of unique colors in the image and the number of pixel wands returned.</p></ol>
2661 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2662 _8c.html" target="source" name="MagickGetImageInterlaceScheme">MagickGetImageInterlaceScheme</a></h2>
2663 <div class="doc-section">
2665 <p>MagickGetImageInterlaceScheme() gets the image interlace scheme.</p></ol>
2667 <p>The format of the MagickGetImageInterlaceScheme method is:</p>
2670 InterlaceType MagickGetImageInterlaceScheme(MagickWand *wand)
2673 <p>A description of each parameter follows:</p></ol>
2676 <ol><p>the magick wand.</p></ol>
2679 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2680 _8c.html" target="source" name="MagickGetImageInterpolateMethod">MagickGetImageInterpolateMethod</a></h2>
2681 <div class="doc-section">
2683 <p>MagickGetImageInterpolateMethod() returns the interpolation method for the sepcified image.</p></ol>
2685 <p>The format of the MagickGetImageInterpolateMethod method is:</p>
2688 InterpolatePixelMethod MagickGetImageInterpolateMethod(MagickWand *wand)
2691 <p>A description of each parameter follows:</p></ol>
2694 <ol><p>the magick wand.</p></ol>
2697 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2698 _8c.html" target="source" name="MagickGetImageIterations">MagickGetImageIterations</a></h2>
2699 <div class="doc-section">
2701 <p>MagickGetImageIterations() gets the image iterations.</p></ol>
2703 <p>The format of the MagickGetImageIterations method is:</p>
2706 size_t MagickGetImageIterations(MagickWand *wand)
2709 <p>A description of each parameter follows:</p></ol>
2712 <ol><p>the magick wand.</p></ol>
2715 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2716 _8c.html" target="source" name="MagickGetImageLength">MagickGetImageLength</a></h2>
2717 <div class="doc-section">
2719 <p>MagickGetImageLength() returns the image length in bytes.</p></ol>
2721 <p>The format of the MagickGetImageLength method is:</p>
2724 MagickBooleanType MagickGetImageLength(MagickWand *wand,
2725 MagickSizeType *length)
2728 <p>A description of each parameter follows:</p></ol>
2731 <ol><p>the magick wand.</p></ol>
2734 <ol><p>the image length in bytes.</p></ol>
2737 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2738 _8c.html" target="source" name="MagickGetImageMatteColor">MagickGetImageMatteColor</a></h2>
2739 <div class="doc-section">
2741 <p>MagickGetImageMatteColor() returns the image matte color.</p></ol>
2743 <p>The format of the MagickGetImageMatteColor method is:</p>
2746 MagickBooleanType MagickGetImagematteColor(MagickWand *wand,
2747 PixelWand *matte_color)
2750 <p>A description of each parameter follows:</p></ol>
2753 <ol><p>the magick wand.</p></ol>
2755 <h5>matte_color</h5>
2756 <ol><p>Return the matte color.</p></ol>
2759 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2760 _8c.html" target="source" name="MagickGetImageOrientation">MagickGetImageOrientation</a></h2>
2761 <div class="doc-section">
2763 <p>MagickGetImageOrientation() returns the image orientation.</p></ol>
2765 <p>The format of the MagickGetImageOrientation method is:</p>
2768 OrientationType MagickGetImageOrientation(MagickWand *wand)
2771 <p>A description of each parameter follows:</p></ol>
2774 <ol><p>the magick wand.</p></ol>
2777 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2778 _8c.html" target="source" name="MagickGetImagePage">MagickGetImagePage</a></h2>
2779 <div class="doc-section">
2781 <p>MagickGetImagePage() returns the page geometry associated with the image.</p></ol>
2783 <p>The format of the MagickGetImagePage method is:</p>
2786 MagickBooleanType MagickGetImagePage(MagickWand *wand,
2787 size_t *width,size_t *height,ssize_t *x,ssize_t *y)
2790 <p>A description of each parameter follows:</p></ol>
2793 <ol><p>the magick wand.</p></ol>
2796 <ol><p>the page width.</p></ol>
2799 <ol><p>the page height.</p></ol>
2802 <ol><p>the page x-offset.</p></ol>
2805 <ol><p>the page y-offset.</p></ol>
2808 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2809 _8c.html" target="source" name="MagickGetImagePixelColor">MagickGetImagePixelColor</a></h2>
2810 <div class="doc-section">
2812 <p>MagickGetImagePixelColor() returns the color of the specified pixel.</p></ol>
2814 <p>The format of the MagickGetImagePixelColor method is:</p>
2817 MagickBooleanType MagickGetImagePixelColor(MagickWand *wand,
2818 const ssize_t x,const ssize_t y,PixelWand *color)
2821 <p>A description of each parameter follows:</p></ol>
2824 <ol><p>the magick wand.</p></ol>
2827 <ol><p>the pixel offset into the image.</p></ol>
2830 <ol><p>Return the colormap color in this wand.</p></ol>
2833 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2834 _8c.html" target="source" name="MagickGetImageRedPrimary">MagickGetImageRedPrimary</a></h2>
2835 <div class="doc-section">
2837 <p>MagickGetImageRedPrimary() returns the chromaticy red primary point.</p></ol>
2839 <p>The format of the MagickGetImageRedPrimary method is:</p>
2842 MagickBooleanType MagickGetImageRedPrimary(MagickWand *wand,double *x,
2846 <p>A description of each parameter follows:</p></ol>
2849 <ol><p>the magick wand.</p></ol>
2852 <ol><p>the chromaticity red primary x-point.</p></ol>
2855 <ol><p>the chromaticity red primary y-point.</p></ol>
2858 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2859 _8c.html" target="source" name="MagickGetImageRegion">MagickGetImageRegion</a></h2>
2860 <div class="doc-section">
2862 <p>MagickGetImageRegion() extracts a region of the image and returns it as a a new wand.</p></ol>
2864 <p>The format of the MagickGetImageRegion method is:</p>
2867 MagickWand *MagickGetImageRegion(MagickWand *wand,
2868 const size_t width,const size_t height,const ssize_t x,
2872 <p>A description of each parameter follows:</p></ol>
2875 <ol><p>the magick wand.</p></ol>
2878 <ol><p>the region width.</p></ol>
2881 <ol><p>the region height.</p></ol>
2884 <ol><p>the region x offset.</p></ol>
2887 <ol><p>the region y offset.</p></ol>
2890 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2891 _8c.html" target="source" name="MagickGetImageRenderingIntent">MagickGetImageRenderingIntent</a></h2>
2892 <div class="doc-section">
2894 <p>MagickGetImageRenderingIntent() gets the image rendering intent.</p></ol>
2896 <p>The format of the MagickGetImageRenderingIntent method is:</p>
2899 RenderingIntent MagickGetImageRenderingIntent(MagickWand *wand)
2902 <p>A description of each parameter follows:</p></ol>
2905 <ol><p>the magick wand.</p></ol>
2908 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2909 _8c.html" target="source" name="MagickGetImageResolution">MagickGetImageResolution</a></h2>
2910 <div class="doc-section">
2912 <p>MagickGetImageResolution() gets the image X and Y resolution.</p></ol>
2914 <p>The format of the MagickGetImageResolution method is:</p>
2917 MagickBooleanType MagickGetImageResolution(MagickWand *wand,double *x,
2921 <p>A description of each parameter follows:</p></ol>
2924 <ol><p>the magick wand.</p></ol>
2927 <ol><p>the image x-resolution.</p></ol>
2930 <ol><p>the image y-resolution.</p></ol>
2933 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2934 _8c.html" target="source" name="MagickGetImageScene">MagickGetImageScene</a></h2>
2935 <div class="doc-section">
2937 <p>MagickGetImageScene() gets the image scene.</p></ol>
2939 <p>The format of the MagickGetImageScene method is:</p>
2942 size_t MagickGetImageScene(MagickWand *wand)
2945 <p>A description of each parameter follows:</p></ol>
2948 <ol><p>the magick wand.</p></ol>
2951 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2952 _8c.html" target="source" name="MagickGetImageSignature">MagickGetImageSignature</a></h2>
2953 <div class="doc-section">
2955 <p>MagickGetImageSignature() generates an SHA-256 message digest for the image pixel stream.</p></ol>
2957 <p>The format of the MagickGetImageSignature method is:</p>
2960 const char MagickGetImageSignature(MagickWand *wand)
2963 <p>A description of each parameter follows:</p></ol>
2966 <ol><p>the magick wand.</p></ol>
2969 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2970 _8c.html" target="source" name="MagickGetImageTicksPerSecond">MagickGetImageTicksPerSecond</a></h2>
2971 <div class="doc-section">
2973 <p>MagickGetImageTicksPerSecond() gets the image ticks-per-second.</p></ol>
2975 <p>The format of the MagickGetImageTicksPerSecond method is:</p>
2978 size_t MagickGetImageTicksPerSecond(MagickWand *wand)
2981 <p>A description of each parameter follows:</p></ol>
2984 <ol><p>the magick wand.</p></ol>
2987 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2988 _8c.html" target="source" name="MagickGetImageType">MagickGetImageType</a></h2>
2989 <div class="doc-section">
2991 <p>MagickGetImageType() gets the potential image type:</p></ol>
2993 <p>Bilevel Grayscale GrayscaleMatte Palette PaletteMatte TrueColor TrueColorMatte ColorSeparation ColorSeparationMatte</p></ol>
2995 <p>To ensure the image type matches its potential, use MagickSetImageType():</p>
2998 (void) MagickSetImageType(wand,MagickGetImageType(wand));
3001 <p>The format of the MagickGetImageType method is:</p>
3004 ImageType MagickGetImageType(MagickWand *wand)
3007 <p>A description of each parameter follows:</p></ol>
3010 <ol><p>the magick wand.</p></ol>
3013 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3014 _8c.html" target="source" name="MagickGetImageUnits">MagickGetImageUnits</a></h2>
3015 <div class="doc-section">
3017 <p>MagickGetImageUnits() gets the image units of resolution.</p></ol>
3019 <p>The format of the MagickGetImageUnits method is:</p>
3022 ResolutionType MagickGetImageUnits(MagickWand *wand)
3025 <p>A description of each parameter follows:</p></ol>
3028 <ol><p>the magick wand.</p></ol>
3031 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3032 _8c.html" target="source" name="MagickGetImageVirtualPixelMethod">MagickGetImageVirtualPixelMethod</a></h2>
3033 <div class="doc-section">
3035 <p>MagickGetImageVirtualPixelMethod() returns the virtual pixel method for the sepcified image.</p></ol>
3037 <p>The format of the MagickGetImageVirtualPixelMethod method is:</p>
3040 VirtualPixelMethod MagickGetImageVirtualPixelMethod(MagickWand *wand)
3043 <p>A description of each parameter follows:</p></ol>
3046 <ol><p>the magick wand.</p></ol>
3049 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3050 _8c.html" target="source" name="MagickGetImageWhitePoint">MagickGetImageWhitePoint</a></h2>
3051 <div class="doc-section">
3053 <p>MagickGetImageWhitePoint() returns the chromaticy white point.</p></ol>
3055 <p>The format of the MagickGetImageWhitePoint method is:</p>
3058 MagickBooleanType MagickGetImageWhitePoint(MagickWand *wand,double *x,
3062 <p>A description of each parameter follows:</p></ol>
3065 <ol><p>the magick wand.</p></ol>
3068 <ol><p>the chromaticity white x-point.</p></ol>
3071 <ol><p>the chromaticity white y-point.</p></ol>
3074 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3075 _8c.html" target="source" name="MagickGetImageWidth">MagickGetImageWidth</a></h2>
3076 <div class="doc-section">
3078 <p>MagickGetImageWidth() returns the image width.</p></ol>
3080 <p>The format of the MagickGetImageWidth method is:</p>
3083 size_t MagickGetImageWidth(MagickWand *wand)
3086 <p>A description of each parameter follows:</p></ol>
3089 <ol><p>the magick wand.</p></ol>
3092 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3093 _8c.html" target="source" name="MagickGetNumberImages">MagickGetNumberImages</a></h2>
3094 <div class="doc-section">
3096 <p>MagickGetNumberImages() returns the number of images associated with a magick wand.</p></ol>
3098 <p>The format of the MagickGetNumberImages method is:</p>
3101 size_t MagickGetNumberImages(MagickWand *wand)
3104 <p>A description of each parameter follows:</p></ol>
3107 <ol><p>the magick wand.</p></ol>
3110 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3111 _8c.html" target="source" name="MagickGetImageTotalInkDensity">MagickGetImageTotalInkDensity</a></h2>
3112 <div class="doc-section">
3114 <p>MagickGetImageTotalInkDensity() gets the image total ink density.</p></ol>
3116 <p>The format of the MagickGetImageTotalInkDensity method is:</p>
3119 double MagickGetImageTotalInkDensity(MagickWand *wand)
3122 <p>A description of each parameter follows:</p></ol>
3125 <ol><p>the magick wand.</p></ol>
3128 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3129 _8c.html" target="source" name="MagickHaldClutImage">MagickHaldClutImage</a></h2>
3130 <div class="doc-section">
3132 <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></ol>
3134 <p>The format of the MagickHaldClutImage method is:</p>
3137 MagickBooleanType MagickHaldClutImage(MagickWand *wand,
3138 const MagickWand *hald_wand)
3139 MagickBooleanType MagickHaldClutImageChannel(MagickWand *wand,
3140 const ChannelType channel,const MagickWand *hald_wand)
3143 <p>A description of each parameter follows:</p></ol>
3146 <ol><p>the magick wand.</p></ol>
3149 <ol><p>the hald CLUT image.</p></ol>
3152 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3153 _8c.html" target="source" name="MagickHasNextImage">MagickHasNextImage</a></h2>
3154 <div class="doc-section">
3156 <p>MagickHasNextImage() returns MagickTrue if the wand has more images when traversing the list in the forward direction</p></ol>
3158 <p>The format of the MagickHasNextImage method is:</p>
3161 MagickBooleanType MagickHasNextImage(MagickWand *wand)
3164 <p>A description of each parameter follows:</p></ol>
3167 <ol><p>the magick wand.</p></ol>
3170 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3171 _8c.html" target="source" name="MagickHasPreviousImage">MagickHasPreviousImage</a></h2>
3172 <div class="doc-section">
3174 <p>MagickHasPreviousImage() returns MagickTrue if the wand has more images when traversing the list in the reverse direction</p></ol>
3176 <p>The format of the MagickHasPreviousImage method is:</p>
3179 MagickBooleanType MagickHasPreviousImage(MagickWand *wand)
3182 <p>A description of each parameter follows:</p></ol>
3185 <ol><p>the magick wand.</p></ol>
3188 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3189 _8c.html" target="source" name="MagickIdentifyImage">MagickIdentifyImage</a></h2>
3190 <div class="doc-section">
3192 <p>MagickIdentifyImage() identifies an image by printing its attributes to the file. Attributes include the image width, height, size, and others.</p></ol>
3194 <p>The format of the MagickIdentifyImage method is:</p>
3197 const char *MagickIdentifyImage(MagickWand *wand)
3200 <p>A description of each parameter follows:</p></ol>
3203 <ol><p>the magick wand.</p></ol>
3206 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3207 _8c.html" target="source" name="MagickImplodeImage">MagickImplodeImage</a></h2>
3208 <div class="doc-section">
3210 <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></ol>
3212 <p>The format of the MagickImplodeImage method is:</p>
3215 MagickBooleanType MagickImplodeImage(MagickWand *wand,
3216 const double radius)
3219 <p>A description of each parameter follows:</p></ol>
3222 <ol><p>the magick wand.</p></ol>
3225 <ol><p>Define the extent of the implosion.</p></ol>
3228 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3229 _8c.html" target="source" name="MagickImportImagePixels">MagickImportImagePixels</a></h2>
3230 <div class="doc-section">
3232 <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></ol>
3234 <p>Suppose your want to upload the first scanline of a 640x480 image from character data in red-green-blue order:</p>
3237 MagickImportImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels);
3240 <p>The format of the MagickImportImagePixels method is:</p>
3243 MagickBooleanType MagickImportImagePixels(MagickWand *wand,
3244 const ssize_t x,const ssize_t y,const size_t columns,
3245 const size_t rows,const char *map,const StorageType storage,
3249 <p>A description of each parameter follows:</p></ol>
3252 <ol><p>the magick wand.</p></ol>
3254 <h5>x, y, columns, rows</h5>
3255 <ol><p>These values define the perimeter of a region of pixels you want to define.</p></ol>
3258 <ol><p>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 = opacity (0 is opaque), C = cyan, Y = yellow, M = magenta, K = black, I = intensity (for grayscale), P = pad.</p></ol>
3261 <ol><p>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.</p></ol>
3264 <ol><p>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.</p></ol>
3267 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3268 _8c.html" target="source" name="MagickInverseFourierTransformImage">MagickInverseFourierTransformImage</a></h2>
3269 <div class="doc-section">
3271 <p>MagickInverseFourierTransformImage() implements the inverse discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.</p></ol>
3273 <p>The format of the MagickInverseFourierTransformImage method is:</p>
3276 MagickBooleanType MagickInverseFourierTransformImage(
3277 MagickWand *magnitude_wand,MagickWand *phase_wand,
3278 const MagickBooleanType magnitude)
3281 <p>A description of each parameter follows:</p></ol>
3283 <h5>magnitude_wand</h5>
3284 <ol><p>the magnitude or real wand.</p></ol>
3287 <ol><p>the phase or imaginary wand.</p></ol>
3290 <ol><p>if true, return as magnitude / phase pair otherwise a real / imaginary image pair.</p></ol>
3293 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3294 _8c.html" target="source" name="MagickLabelImage">MagickLabelImage</a></h2>
3295 <div class="doc-section">
3297 <p>MagickLabelImage() adds a label to your image.</p></ol>
3299 <p>The format of the MagickLabelImage method is:</p>
3302 MagickBooleanType MagickLabelImage(MagickWand *wand,const char *label)
3305 <p>A description of each parameter follows:</p></ol>
3308 <ol><p>the magick wand.</p></ol>
3311 <ol><p>the image label.</p></ol>
3314 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3315 _8c.html" target="source" name="MagickLevelImage">MagickLevelImage</a></h2>
3316 <div class="doc-section">
3318 <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></ol>
3320 <p>The format of the MagickLevelImage method is:</p>
3323 MagickBooleanType MagickLevelImage(MagickWand *wand,
3324 const double black_point,const double gamma,const double white_point)
3325 MagickBooleanType MagickLevelImageChannel(MagickWand *wand,
3326 const ChannelType channel,const double black_point,const double gamma,
3327 const double white_point)
3330 <p>A description of each parameter follows:</p></ol>
3333 <ol><p>the magick wand.</p></ol>
3336 <ol><p>Identify which channel to level: RedChannel, GreenChannel,</p></ol>
3338 <h5>black_point</h5>
3339 <ol><p>the black point.</p></ol>
3342 <ol><p>the gamma.</p></ol>
3344 <h5>white_point</h5>
3345 <ol><p>the white point.</p></ol>
3348 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3349 _8c.html" target="source" name="MagickLinearStretchImage">MagickLinearStretchImage</a></h2>
3350 <div class="doc-section">
3352 <p>MagickLinearStretchImage() stretches with saturation the image intensity.</p></ol>
3354 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p></ol>
3356 <p>The format of the MagickLinearStretchImage method is:</p>
3359 MagickBooleanType MagickLinearStretchImage(MagickWand *wand,
3360 const double black_point,const double white_point)
3363 <p>A description of each parameter follows:</p></ol>
3366 <ol><p>the magick wand.</p></ol>
3368 <h5>black_point</h5>
3369 <ol><p>the black point.</p></ol>
3371 <h5>white_point</h5>
3372 <ol><p>the white point.</p></ol>
3375 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3376 _8c.html" target="source" name="MagickLiquidRescaleImage">MagickLiquidRescaleImage</a></h2>
3377 <div class="doc-section">
3379 <p>MagickLiquidRescaleImage() rescales image with seam carving.</p></ol>
3381 <p>MagickBooleanType MagickLiquidRescaleImage(MagickWand *wand, const size_t columns,const size_t rows, const double delta_x,const double rigidity)</p></ol>
3383 <p>A description of each parameter follows:</p></ol>
3386 <ol><p>the magick wand.</p></ol>
3389 <ol><p>the number of columns in the scaled image.</p></ol>
3392 <ol><p>the number of rows in the scaled image.</p></ol>
3395 <ol><p>maximum seam transversal step (0 means straight seams).</p></ol>
3398 <ol><p>introduce a bias for non-straight seams (typically 0).</p></ol>
3401 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3402 _8c.html" target="source" name="MagickMagnifyImage">MagickMagnifyImage</a></h2>
3403 <div class="doc-section">
3405 <p>MagickMagnifyImage() is a convenience method that scales an image proportionally to twice its original size.</p></ol>
3407 <p>The format of the MagickMagnifyImage method is:</p>
3410 MagickBooleanType MagickMagnifyImage(MagickWand *wand)
3413 <p>A description of each parameter follows:</p></ol>
3416 <ol><p>the magick wand.</p></ol>
3419 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3420 _8c.html" target="source" name="MagickMedianFilterImage">MagickMedianFilterImage</a></h2>
3421 <div class="doc-section">
3423 <p>MagickMedianFilterImage() applies a digital filter that improves the quality of a noisy image. Each pixel is replaced by the median in a set of neighboring pixels as defined by radius.</p></ol>
3425 <p>The format of the MagickMedianFilterImage method is:</p>
3428 MagickBooleanType MagickMedianFilterImage(MagickWand *wand,
3429 const double radius)
3432 <p>A description of each parameter follows:</p></ol>
3435 <ol><p>the magick wand.</p></ol>
3438 <ol><p>the radius of the pixel neighborhood.</p></ol>
3441 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3442 _8c.html" target="source" name="MagickMergeImageLayers">MagickMergeImageLayers</a></h2>
3443 <div class="doc-section">
3445 <p>MagickMergeImageLayers() composes all the image layers from the current given image onward to produce a single image of the merged layers.</p></ol>
3447 <p>The inital canvas's size depends on the given ImageLayerMethod, 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></ol>
3449 <p>The format of the MagickMergeImageLayers method is:</p>
3452 MagickWand *MagickMergeImageLayers(MagickWand *wand,
3453 const ImageLayerMethod method)
3456 <p>A description of each parameter follows:</p></ol>
3459 <ol><p>the magick wand.</p></ol>
3462 <ol><p>the method of selecting the size of the initial canvas.</p></ol>
3464 <p>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.</p></ol>
3466 <p>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.</p></ol>
3468 <p>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.</p></ol>
3471 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3472 _8c.html" target="source" name="MagickMinifyImage">MagickMinifyImage</a></h2>
3473 <div class="doc-section">
3475 <p>MagickMinifyImage() is a convenience method that scales an image proportionally to one-half its original size</p></ol>
3477 <p>The format of the MagickMinifyImage method is:</p>
3480 MagickBooleanType MagickMinifyImage(MagickWand *wand)
3483 <p>A description of each parameter follows:</p></ol>
3486 <ol><p>the magick wand.</p></ol>
3489 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3490 _8c.html" target="source" name="MagickModulateImage">MagickModulateImage</a></h2>
3491 <div class="doc-section">
3493 <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></ol>
3495 <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></ol>
3497 <p>The format of the MagickModulateImage method is:</p>
3500 MagickBooleanType MagickModulateImage(MagickWand *wand,
3501 const double brightness,const double saturation,const double hue)
3504 <p>A description of each parameter follows:</p></ol>
3507 <ol><p>the magick wand.</p></ol>
3510 <ol><p>the percent change in brighness.</p></ol>
3513 <ol><p>the percent change in saturation.</p></ol>
3516 <ol><p>the percent change in hue.</p></ol>
3519 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3520 _8c.html" target="source" name="MagickMontageImage">MagickMontageImage</a></h2>
3521 <div class="doc-section">
3523 <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></ol>
3525 <p>The format of the MagickMontageImage method is:</p>
3528 MagickWand *MagickMontageImage(MagickWand *wand,
3529 const DrawingWand drawing_wand,const char *tile_geometry,
3530 const char *thumbnail_geometry,const MontageMode mode,
3534 <p>A description of each parameter follows:</p></ol>
3537 <ol><p>the magick wand.</p></ol>
3539 <h5>drawing_wand</h5>
3540 <ol><p>the drawing wand. The font name, size, and color are obtained from this wand.</p></ol>
3542 <h5>tile_geometry</h5>
3543 <ol><p>the number of tiles per row and page (e.g. 6x4+0+0).</p></ol>
3545 <h5>thumbnail_geometry</h5>
3546 <ol><p>Preferred image size and border size of each thumbnail (e.g. 120x120+4+3>).</p></ol>
3549 <ol><p>Thumbnail framing mode: Frame, Unframe, or Concatenate.</p></ol>
3552 <ol><p>Surround the image with an ornamental border (e.g. 15x15+3+3). The frame color is that of the thumbnail's matte color.</p></ol>
3555 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3556 _8c.html" target="source" name="MagickMorphImages">MagickMorphImages</a></h2>
3557 <div class="doc-section">
3559 <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></ol>
3561 <p>The format of the MagickMorphImages method is:</p>
3564 MagickWand *MagickMorphImages(MagickWand *wand,
3565 const size_t number_frames)
3568 <p>A description of each parameter follows:</p></ol>
3571 <ol><p>the magick wand.</p></ol>
3573 <h5>number_frames</h5>
3574 <ol><p>the number of in-between images to generate.</p></ol>
3577 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3578 _8c.html" target="source" name="MagickMorphologyImage">MagickMorphologyImage</a></h2>
3579 <div class="doc-section">
3581 <p>MagickMorphologyImage() applies a user supplied kernel to the image according to the given mophology method.</p></ol>
3583 <p>The format of the MagickMorphologyImage method is:</p>
3586 MagickBooleanType MagickMorphologyImage(MagickWand *wand,
3587 MorphologyMethod method,const ssize_t iterations,KernelInfo *kernel)
3588 MagickBooleanType MagickMorphologyImageChannel(MagickWand *wand,
3589 ChannelType channel,MorphologyMethod method,const ssize_t iterations,
3593 <p>A description of each parameter follows:</p></ol>
3596 <ol><p>the magick wand.</p></ol>
3599 <ol><p>the image channel(s).</p></ol>
3602 <ol><p>the morphology method to be applied.</p></ol>
3605 <ol><p>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.</p></ol>
3608 <ol><p>An array of doubles representing the morphology kernel.</p></ol>
3611 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3612 _8c.html" target="source" name="MagickMotionBlurImage">MagickMotionBlurImage</a></h2>
3613 <div class="doc-section">
3615 <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></ol>
3617 <p>The format of the MagickMotionBlurImage method is:</p>
3620 MagickBooleanType MagickMotionBlurImage(MagickWand *wand,
3621 const double radius,const double sigma,const double angle)
3622 MagickBooleanType MagickMotionBlurImageChannel(MagickWand *wand,
3623 const ChannelType channel,const double radius,const double sigma,
3627 <p>A description of each parameter follows:</p></ol>
3630 <ol><p>the magick wand.</p></ol>
3633 <ol><p>the image channel(s).</p></ol>
3636 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
3639 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
3642 <ol><p>Apply the effect along this angle.</p></ol>
3645 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3646 _8c.html" target="source" name="MagickNegateImage">MagickNegateImage</a></h2>
3647 <div class="doc-section">
3649 <p>MagickNegateImage() negates the colors in the reference image. The Grayscale option means that only grayscale values within the image are negated.</p></ol>
3651 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p></ol>
3653 <p>The format of the MagickNegateImage method is:</p>
3656 MagickBooleanType MagickNegateImage(MagickWand *wand,
3657 const MagickBooleanType gray)
3658 MagickBooleanType MagickNegateImage(MagickWand *wand,
3659 const ChannelType channel,const MagickBooleanType gray)
3662 <p>A description of each parameter follows:</p></ol>
3665 <ol><p>the magick wand.</p></ol>
3668 <ol><p>the image channel(s).</p></ol>
3671 <ol><p>If MagickTrue, only negate grayscale pixels within the image.</p></ol>
3674 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3675 _8c.html" target="source" name="MagickNewImage">MagickNewImage</a></h2>
3676 <div class="doc-section">
3678 <p>MagickNewImage() adds a blank image canvas of the specified size and background color to the wand.</p></ol>
3680 <p>The format of the MagickNewImage method is:</p>
3683 MagickBooleanType MagickNewImage(MagickWand *wand,
3684 const size_t columns,const size_t rows,
3685 const PixelWand *background)
3688 <p>A description of each parameter follows:</p></ol>
3691 <ol><p>the magick wand.</p></ol>
3694 <ol><p>the image width.</p></ol>
3697 <ol><p>the image height.</p></ol>
3700 <ol><p>the image color.</p></ol>
3703 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3704 _8c.html" target="source" name="MagickNextImage">MagickNextImage</a></h2>
3705 <div class="doc-section">
3707 <p>MagickNextImage() associates the next image in the image list with a magick wand.</p></ol>
3709 <p>The format of the MagickNextImage method is:</p>
3712 MagickBooleanType MagickNextImage(MagickWand *wand)
3715 <p>A description of each parameter follows:</p></ol>
3718 <ol><p>the magick wand.</p></ol>
3721 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3722 _8c.html" target="source" name="MagickNormalizeImage">MagickNormalizeImage</a></h2>
3723 <div class="doc-section">
3725 <p>MagickNormalizeImage() enhances the contrast of a color image by adjusting the pixels color to span the entire range of colors available</p></ol>
3727 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p></ol>
3729 <p>The format of the MagickNormalizeImage method is:</p>
3732 MagickBooleanType MagickNormalizeImage(MagickWand *wand)
3733 MagickBooleanType MagickNormalizeImageChannel(MagickWand *wand,
3734 const ChannelType channel)
3737 <p>A description of each parameter follows:</p></ol>
3740 <ol><p>the magick wand.</p></ol>
3743 <ol><p>the image channel(s).</p></ol>
3746 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3747 _8c.html" target="source" name="MagickOilPaintImage">MagickOilPaintImage</a></h2>
3748 <div class="doc-section">
3750 <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></ol>
3752 <p>The format of the MagickOilPaintImage method is:</p>
3755 MagickBooleanType MagickOilPaintImage(MagickWand *wand,
3756 const double radius)
3759 <p>A description of each parameter follows:</p></ol>
3762 <ol><p>the magick wand.</p></ol>
3765 <ol><p>the radius of the circular neighborhood.</p></ol>
3768 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3769 _8c.html" target="source" name="MagickOpaquePaintImage">MagickOpaquePaintImage</a></h2>
3770 <div class="doc-section">
3772 <p>MagickOpaquePaintImage() changes any pixel that matches color with the color defined by fill.</p></ol>
3774 <p>The format of the MagickOpaquePaintImage method is:</p>
3777 MagickBooleanType MagickOpaquePaintImage(MagickWand *wand,
3778 const PixelWand *target,const PixelWand *fill,const double fuzz,
3779 const MagickBooleanType invert)
3780 MagickBooleanType MagickOpaquePaintImageChannel(MagickWand *wand,
3781 const ChannelType channel,const PixelWand *target,
3782 const PixelWand *fill,const double fuzz,const MagickBooleanType invert)
3785 <p>A description of each parameter follows:</p></ol>
3788 <ol><p>the magick wand.</p></ol>
3791 <ol><p>the channel(s).</p></ol>
3794 <ol><p>Change this target color to the fill color within the image.</p></ol>
3797 <ol><p>the fill pixel wand.</p></ol>
3800 <ol><p>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.</p></ol>
3803 <ol><p>paint any pixel that does not match the target color.</p></ol>
3806 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3807 _8c.html" target="source" name="MagickOptimizeImageLayers">MagickOptimizeImageLayers</a></h2>
3808 <div class="doc-section">
3810 <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></ol>
3812 <p>The format of the MagickOptimizeImageLayers method is:</p>
3815 MagickWand *MagickOptimizeImageLayers(MagickWand *wand)
3818 <p>A description of each parameter follows:</p></ol>
3821 <ol><p>the magick wand.</p></ol>
3824 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3825 _8c.html" target="source" name="MagickOrderedPosterizeImage">MagickOrderedPosterizeImage</a></h2>
3826 <div class="doc-section">
3828 <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></ol>
3830 <p>The format of the MagickOrderedPosterizeImage method is:</p>
3833 MagickBooleanType MagickOrderedPosterizeImage(MagickWand *wand,
3834 const char *threshold_map)
3835 MagickBooleanType MagickOrderedPosterizeImageChannel(MagickWand *wand,
3836 const ChannelType channel,const char *threshold_map)
3839 <p>A description of each parameter follows:</p></ol>
3842 <ol><p>the image.</p></ol>
3845 <ol><p>the channel or channels to be thresholded.</p></ol>
3847 <h5>threshold_map</h5>
3848 <ol><p>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.</p></ol>
3850 <p>Any level number less than 2 is equivelent to 2, and means only binary dithering will be applied to each color channel.</p></ol>
3852 <p>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.</p></ol>
3854 <p>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.</p></ol>
3857 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3858 _8c.html" target="source" name="MagickPingImage">MagickPingImage</a></h2>
3859 <div class="doc-section">
3861 <p>MagickPingImage() is like 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></ol>
3863 <p>The format of the MagickPingImage method is:</p>
3866 MagickBooleanType MagickPingImage(MagickWand *wand,const char *filename)
3869 <p>A description of each parameter follows:</p></ol>
3872 <ol><p>the magick wand.</p></ol>
3875 <ol><p>the image filename.</p></ol>
3878 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3879 _8c.html" target="source" name="MagickPingImageBlob">MagickPingImageBlob</a></h2>
3880 <div class="doc-section">
3882 <p>MagickPingImageBlob() pings an image or image sequence from a blob.</p></ol>
3884 <p>The format of the MagickPingImageBlob method is:</p>
3887 MagickBooleanType MagickPingImageBlob(MagickWand *wand,
3888 const void *blob,const size_t length)
3891 <p>A description of each parameter follows:</p></ol>
3894 <ol><p>the magick wand.</p></ol>
3897 <ol><p>the blob.</p></ol>
3900 <ol><p>the blob length.</p></ol>
3903 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3904 _8c.html" target="source" name="MagickPingImageFile">MagickPingImageFile</a></h2>
3905 <div class="doc-section">
3907 <p>MagickPingImageFile() pings an image or image sequence from an open file descriptor.</p></ol>
3909 <p>The format of the MagickPingImageFile method is:</p>
3912 MagickBooleanType MagickPingImageFile(MagickWand *wand,FILE *file)
3915 <p>A description of each parameter follows:</p></ol>
3918 <ol><p>the magick wand.</p></ol>
3921 <ol><p>the file descriptor.</p></ol>
3924 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3925 _8c.html" target="source" name="MagickPolaroidImage">MagickPolaroidImage</a></h2>
3926 <div class="doc-section">
3928 <p>MagickPolaroidImage() simulates a Polaroid picture.</p></ol>
3930 <p>The format of the MagickPolaroidImage method is:</p>
3933 MagickBooleanType MagickPolaroidImage(MagickWand *wand,
3934 const DrawingWand *drawing_wand,const double angle)
3937 <p>A description of each parameter follows:</p></ol>
3940 <ol><p>the magick wand.</p></ol>
3942 <h5>drawing_wand</h5>
3943 <ol><p>the draw wand.</p></ol>
3946 <ol><p>Apply the effect along this angle.</p></ol>
3949 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3950 _8c.html" target="source" name="MagickPosterizeImage">MagickPosterizeImage</a></h2>
3951 <div class="doc-section">
3953 <p>MagickPosterizeImage() reduces the image to a limited number of color level.</p></ol>
3955 <p>The format of the MagickPosterizeImage method is:</p>
3958 MagickBooleanType MagickPosterizeImage(MagickWand *wand,
3959 const unsigned levels,const MagickBooleanType dither)
3962 <p>A description of each parameter follows:</p></ol>
3965 <ol><p>the magick wand.</p></ol>
3968 <ol><p>Number of color levels allowed in each channel. Very low values (2, 3, or 4) have the most visible effect.</p></ol>
3971 <ol><p>Set this integer value to something other than zero to dither the mapped image.</p></ol>
3974 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3975 _8c.html" target="source" name="MagickPreviewImages">MagickPreviewImages</a></h2>
3976 <div class="doc-section">
3978 <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></ol>
3980 <p>The format of the MagickPreviewImages method is:</p>
3983 MagickWand *MagickPreviewImages(MagickWand *wand,
3984 const PreviewType preview)
3987 <p>A description of each parameter follows:</p></ol>
3990 <ol><p>the magick wand.</p></ol>
3993 <ol><p>the preview type.</p></ol>
3996 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3997 _8c.html" target="source" name="MagickPreviousImage">MagickPreviousImage</a></h2>
3998 <div class="doc-section">
4000 <p>MagickPreviousImage() assocates the previous image in an image list with the magick wand.</p></ol>
4002 <p>The format of the MagickPreviousImage method is:</p>
4005 MagickBooleanType MagickPreviousImage(MagickWand *wand)
4008 <p>A description of each parameter follows:</p></ol>
4011 <ol><p>the magick wand.</p></ol>
4014 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4015 _8c.html" target="source" name="MagickQuantizeImage">MagickQuantizeImage</a></h2>
4016 <div class="doc-section">
4018 <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></ol>
4020 <p>The format of the MagickQuantizeImage method is:</p>
4023 MagickBooleanType MagickQuantizeImage(MagickWand *wand,
4024 const size_t number_colors,const ColorspaceType colorspace,
4025 const size_t treedepth,const MagickBooleanType dither,
4026 const MagickBooleanType measure_error)
4029 <p>A description of each parameter follows:</p></ol>
4032 <ol><p>the magick wand.</p></ol>
4034 <h5>number_colors</h5>
4035 <ol><p>the number of colors.</p></ol>
4038 <ol><p>Perform color reduction in this colorspace, typically RGBColorspace.</p></ol>
4041 <ol><p>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.</p></ol>
4044 <ol><p>A value other than zero distributes the difference between an original image and the corresponding color reduced image to neighboring pixels along a Hilbert curve.</p></ol>
4046 <h5>measure_error</h5>
4047 <ol><p>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.</p></ol>
4050 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4051 _8c.html" target="source" name="MagickQuantizeImages">MagickQuantizeImages</a></h2>
4052 <div class="doc-section">
4054 <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></ol>
4056 <p>The format of the MagickQuantizeImages method is:</p>
4059 MagickBooleanType MagickQuantizeImages(MagickWand *wand,
4060 const size_t number_colors,const ColorspaceType colorspace,
4061 const size_t treedepth,const MagickBooleanType dither,
4062 const MagickBooleanType measure_error)
4065 <p>A description of each parameter follows:</p></ol>
4068 <ol><p>the magick wand.</p></ol>
4070 <h5>number_colors</h5>
4071 <ol><p>the number of colors.</p></ol>
4074 <ol><p>Perform color reduction in this colorspace, typically RGBColorspace.</p></ol>
4077 <ol><p>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.</p></ol>
4080 <ol><p>A value other than zero distributes the difference between an original image and the corresponding color reduced algorithm to neighboring pixels along a Hilbert curve.</p></ol>
4082 <h5>measure_error</h5>
4083 <ol><p>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.</p></ol>
4086 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4087 _8c.html" target="source" name="MagickRadialBlurImage">MagickRadialBlurImage</a></h2>
4088 <div class="doc-section">
4090 <p>MagickRadialBlurImage() radial blurs an image.</p></ol>
4092 <p>The format of the MagickRadialBlurImage method is:</p>
4095 MagickBooleanType MagickRadialBlurImage(MagickWand *wand,
4097 MagickBooleanType MagickRadialBlurImageChannel(MagickWand *wand,
4098 const ChannelType channel,const double angle)
4101 <p>A description of each parameter follows:</p></ol>
4104 <ol><p>the magick wand.</p></ol>
4107 <ol><p>the image channel(s).</p></ol>
4110 <ol><p>the angle of the blur in degrees.</p></ol>
4113 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4114 _8c.html" target="source" name="MagickRaiseImage">MagickRaiseImage</a></h2>
4115 <div class="doc-section">
4117 <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></ol>
4119 <p>The format of the MagickRaiseImage method is:</p>
4122 MagickBooleanType MagickRaiseImage(MagickWand *wand,
4123 const size_t width,const size_t height,const ssize_t x,
4124 const ssize_t y,const MagickBooleanType raise)
4127 <p>A description of each parameter follows:</p></ol>
4130 <ol><p>the magick wand.</p></ol>
4132 <h5>width,height,x,y</h5>
4133 <ol><p>Define the dimensions of the area to raise.</p></ol>
4136 <ol><p>A value other than zero creates a 3-D raise effect, otherwise it has a lowered effect.</p></ol>
4139 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4140 _8c.html" target="source" name="MagickRandomThresholdImage">MagickRandomThresholdImage</a></h2>
4141 <div class="doc-section">
4143 <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></ol>
4145 <p>The format of the MagickRandomThresholdImage method is:</p>
4148 MagickBooleanType MagickRandomThresholdImage(MagickWand *wand,
4149 const double low,const double high)
4150 MagickBooleanType MagickRandomThresholdImageChannel(MagickWand *wand,
4151 const ChannelType channel,const double low,const double high)
4154 <p>A description of each parameter follows:</p></ol>
4157 <ol><p>the magick wand.</p></ol>
4160 <ol><p>the image channel(s).</p></ol>
4163 <ol><p>Specify the high and low thresholds. These values range from 0 to QuantumRange.</p></ol>
4166 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4167 _8c.html" target="source" name="MagickReadImage">MagickReadImage</a></h2>
4168 <div class="doc-section">
4170 <p>MagickReadImage() reads an image or image sequence. The images are inserted at the current image pointer position. Use MagickSetFirstIterator(), MagickSetLastIterator, or MagickSetImageIndex() to specify the current image pointer position at the beginning of the image list, the end, or anywhere in-between respectively.</p></ol>
4172 <p>The format of the MagickReadImage method is:</p>
4175 MagickBooleanType MagickReadImage(MagickWand *wand,const char *filename)
4178 <p>A description of each parameter follows:</p></ol>
4181 <ol><p>the magick wand.</p></ol>
4184 <ol><p>the image filename.</p></ol>
4187 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4188 _8c.html" target="source" name="MagickReadImageBlob">MagickReadImageBlob</a></h2>
4189 <div class="doc-section">
4191 <p>MagickReadImageBlob() reads an image or image sequence from a blob.</p></ol>
4193 <p>The format of the MagickReadImageBlob method is:</p>
4196 MagickBooleanType MagickReadImageBlob(MagickWand *wand,
4197 const void *blob,const size_t length)
4200 <p>A description of each parameter follows:</p></ol>
4203 <ol><p>the magick wand.</p></ol>
4206 <ol><p>the blob.</p></ol>
4209 <ol><p>the blob length.</p></ol>
4212 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4213 _8c.html" target="source" name="MagickReadImageFile">MagickReadImageFile</a></h2>
4214 <div class="doc-section">
4216 <p>MagickReadImageFile() reads an image or image sequence from an open file descriptor.</p></ol>
4218 <p>The format of the MagickReadImageFile method is:</p>
4221 MagickBooleanType MagickReadImageFile(MagickWand *wand,FILE *file)
4224 <p>A description of each parameter follows:</p></ol>
4227 <ol><p>the magick wand.</p></ol>
4230 <ol><p>the file descriptor.</p></ol>
4233 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4234 _8c.html" target="source" name="MagickReduceNoiseImage">MagickReduceNoiseImage</a></h2>
4235 <div class="doc-section">
4237 <p>MagickReduceNoiseImage() smooths the contours of an image while still preserving edge information. The algorithm works by replacing each pixel with its neighbor closest in value. A neighbor is defined by radius. Use a radius of 0 and ReduceNoise() selects a suitable radius for you.</p></ol>
4239 <p>The format of the MagickReduceNoiseImage method is:</p>
4242 MagickBooleanType MagickReduceNoiseImage(MagickWand *wand,
4243 const double radius)
4246 <p>A description of each parameter follows:</p></ol>
4249 <ol><p>the magick wand.</p></ol>
4252 <ol><p>the radius of the pixel neighborhood.</p></ol>
4255 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4256 _8c.html" target="source" name="MagickRemapImage">MagickRemapImage</a></h2>
4257 <div class="doc-section">
4259 <p>MagickRemapImage() replaces the colors of an image with the closest color from a reference image.</p></ol>
4261 <p>The format of the MagickRemapImage method is:</p>
4264 MagickBooleanType MagickRemapImage(MagickWand *wand,
4265 const MagickWand *remap_wand,const DitherMethod method)
4268 <p>A description of each parameter follows:</p></ol>
4271 <ol><p>the magick wand.</p></ol>
4274 <ol><p>the affinity wand.</p></ol>
4277 <ol><p>choose from these dither methods: NoDitherMethod, RiemersmaDitherMethod, or FloydSteinbergDitherMethod.</p></ol>
4280 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4281 _8c.html" target="source" name="MagickRemoveImage">MagickRemoveImage</a></h2>
4282 <div class="doc-section">
4284 <p>MagickRemoveImage() removes an image from the image list.</p></ol>
4286 <p>The format of the MagickRemoveImage method is:</p>
4289 MagickBooleanType MagickRemoveImage(MagickWand *wand)
4292 <p>A description of each parameter follows:</p></ol>
4295 <ol><p>the magick wand.</p></ol>
4298 <ol><p>the splice wand.</p></ol>
4301 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4302 _8c.html" target="source" name="MagickResampleImage">MagickResampleImage</a></h2>
4303 <div class="doc-section">
4305 <p>MagickResampleImage() resample image to desired resolution.</p></ol>
4307 <p>Bessel Blackman Box Catrom Cubic Gaussian Hanning Hermite Lanczos Mitchell Point Quandratic Sinc Triangle</p></ol>
4309 <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></ol>
4311 <p>The format of the MagickResampleImage method is:</p>
4314 MagickBooleanType MagickResampleImage(MagickWand *wand,
4315 const double x_resolution,const double y_resolution,
4316 const FilterTypes filter,const double blur)
4319 <p>A description of each parameter follows:</p></ol>
4322 <ol><p>the magick wand.</p></ol>
4324 <h5>x_resolution</h5>
4325 <ol><p>the new image x resolution.</p></ol>
4327 <h5>y_resolution</h5>
4328 <ol><p>the new image y resolution.</p></ol>
4331 <ol><p>Image filter to use.</p></ol>
4334 <ol><p>the blur factor where > 1 is blurry, < 1 is sharp.</p></ol>
4337 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4338 _8c.html" target="source" name="MagickResetImagePage">MagickResetImagePage</a></h2>
4339 <div class="doc-section">
4341 <p>MagickResetImagePage() resets the Wand page canvas and position.</p></ol>
4343 <p>The format of the MagickResetImagePage method is:</p>
4346 MagickBooleanType MagickResetImagePage(MagickWand *wand,
4350 <p>A description of each parameter follows:</p></ol>
4353 <ol><p>the magick wand.</p></ol>
4356 <ol><p>the relative page specification.</p></ol>
4359 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4360 _8c.html" target="source" name="MagickResizeImage">MagickResizeImage</a></h2>
4361 <div class="doc-section">
4363 <p>MagickResizeImage() scales an image to the desired dimensions with one of these filters:</p>
4367 Catrom CubicGaussian
4368 Hanning Hermite Lanczos
4369 Mitchell PointQuandratic
4373 <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></ol>
4375 <p>The format of the MagickResizeImage method is:</p>
4378 MagickBooleanType MagickResizeImage(MagickWand *wand,
4379 const size_t columns,const size_t rows,
4380 const FilterTypes filter,const double blur)
4383 <p>A description of each parameter follows:</p></ol>
4386 <ol><p>the magick wand.</p></ol>
4389 <ol><p>the number of columns in the scaled image.</p></ol>
4392 <ol><p>the number of rows in the scaled image.</p></ol>
4395 <ol><p>Image filter to use.</p></ol>
4398 <ol><p>the blur factor where > 1 is blurry, < 1 is sharp.</p></ol>
4401 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4402 _8c.html" target="source" name="MagickRollImage">MagickRollImage</a></h2>
4403 <div class="doc-section">
4405 <p>MagickRollImage() offsets an image as defined by x and y.</p></ol>
4407 <p>The format of the MagickRollImage method is:</p>
4410 MagickBooleanType MagickRollImage(MagickWand *wand,const ssize_t x,
4414 <p>A description of each parameter follows:</p></ol>
4417 <ol><p>the magick wand.</p></ol>
4420 <ol><p>the x offset.</p></ol>
4423 <ol><p>the y offset.</p></ol>
4427 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4428 _8c.html" target="source" name="MagickRotateImage">MagickRotateImage</a></h2>
4429 <div class="doc-section">
4431 <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></ol>
4433 <p>The format of the MagickRotateImage method is:</p>
4436 MagickBooleanType MagickRotateImage(MagickWand *wand,
4437 const PixelWand *background,const double degrees)
4440 <p>A description of each parameter follows:</p></ol>
4443 <ol><p>the magick wand.</p></ol>
4446 <ol><p>the background pixel wand.</p></ol>
4449 <ol><p>the number of degrees to rotate the image.</p></ol>
4453 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4454 _8c.html" target="source" name="MagickSampleImage">MagickSampleImage</a></h2>
4455 <div class="doc-section">
4457 <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></ol>
4459 <p>The format of the MagickSampleImage method is:</p>
4462 MagickBooleanType MagickSampleImage(MagickWand *wand,
4463 const size_t columns,const size_t rows)
4466 <p>A description of each parameter follows:</p></ol>
4469 <ol><p>the magick wand.</p></ol>
4472 <ol><p>the number of columns in the scaled image.</p></ol>
4475 <ol><p>the number of rows in the scaled image.</p></ol>
4479 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4480 _8c.html" target="source" name="MagickScaleImage">MagickScaleImage</a></h2>
4481 <div class="doc-section">
4483 <p>MagickScaleImage() scales the size of an image to the given dimensions.</p></ol>
4485 <p>The format of the MagickScaleImage method is:</p>
4488 MagickBooleanType MagickScaleImage(MagickWand *wand,
4489 const size_t columns,const size_t rows)
4492 <p>A description of each parameter follows:</p></ol>
4495 <ol><p>the magick wand.</p></ol>
4498 <ol><p>the number of columns in the scaled image.</p></ol>
4501 <ol><p>the number of rows in the scaled image.</p></ol>
4505 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4506 _8c.html" target="source" name="MagickSegmentImage">MagickSegmentImage</a></h2>
4507 <div class="doc-section">
4509 <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></ol>
4511 <p>The format of the SegmentImage method is:</p>
4514 MagickBooleanType MagickSegmentImage(MagickWand *wand,
4515 const ColorspaceType colorspace,const MagickBooleanType verbose,
4516 const double cluster_threshold,const double smooth_threshold)
4519 <p>A description of each parameter follows.</p></ol>
4522 <ol><p>the wand.</p></ol>
4525 <ol><p>the image colorspace.</p></ol>
4528 <ol><p>Set to MagickTrue to print detailed information about the identified classes.</p></ol>
4530 <h5>cluster_threshold</h5>
4531 <ol><p>This represents the minimum number of pixels contained in a hexahedra before it can be considered valid (expressed as a percentage).</p></ol>
4533 <h5>smooth_threshold</h5>
4534 <ol><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></ol>
4537 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4538 _8c.html" target="source" name="MagickSelectiveBlurImage">MagickSelectiveBlurImage</a></h2>
4539 <div class="doc-section">
4541 <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></ol>
4543 <p>The format of the MagickSelectiveBlurImage method is:</p>
4546 MagickBooleanType MagickSelectiveBlurImage(MagickWand *wand,
4547 const double radius,const double sigma,const double threshold)
4548 MagickBooleanType MagickSelectiveBlurImageChannel(MagickWand *wand,
4549 const ChannelType channel,const double radius,const double sigma,
4550 const double threshold)
4553 <p>A description of each parameter follows:</p></ol>
4556 <ol><p>the magick wand.</p></ol>
4559 <ol><p>the image channel(s).</p></ol>
4562 <ol><p>the radius of the gaussian, in pixels, not counting the center pixel.</p></ol>
4565 <ol><p>the standard deviation of the gaussian, in pixels.</p></ol>
4568 <ol><p>only pixels within this contrast threshold are included in the blur operation.</p></ol>
4571 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4572 _8c.html" target="source" name="MagickSeparateImageChannel">MagickSeparateImageChannel</a></h2>
4573 <div class="doc-section">
4575 <p>MagickSeparateImageChannel() 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></ol>
4577 <p>The format of the MagickSeparateImageChannel method is:</p>
4580 MagickBooleanType MagickSeparateImageChannel(MagickWand *wand,
4581 const ChannelType channel)
4584 <p>A description of each parameter follows:</p></ol>
4587 <ol><p>the magick wand.</p></ol>
4590 <ol><p>the image channel(s).</p></ol>
4593 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4594 _8c.html" target="source" name="MagickSepiaToneImage">MagickSepiaToneImage</a></h2>
4595 <div class="doc-section">
4597 <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></ol>
4599 <p>The format of the MagickSepiaToneImage method is:</p>
4602 MagickBooleanType MagickSepiaToneImage(MagickWand *wand,
4603 const double threshold)
4606 <p>A description of each parameter follows:</p></ol>
4609 <ol><p>the magick wand.</p></ol>
4612 <ol><p>Define the extent of the sepia toning.</p></ol>
4615 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4616 _8c.html" target="source" name="MagickSetImage">MagickSetImage</a></h2>
4617 <div class="doc-section">
4619 <p>MagickSetImage() replaces the last image returned by MagickSetImageIndex(), MagickNextImage(), MagickPreviousImage() with the images from the specified wand.</p></ol>
4621 <p>The format of the MagickSetImage method is:</p>
4624 MagickBooleanType MagickSetImage(MagickWand *wand,
4625 const MagickWand *set_wand)
4628 <p>A description of each parameter follows:</p></ol>
4631 <ol><p>the magick wand.</p></ol>
4634 <ol><p>the set_wand wand.</p></ol>
4637 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4638 _8c.html" target="source" name="MagickSetImageAlphaChannel">MagickSetImageAlphaChannel</a></h2>
4639 <div class="doc-section">
4641 <p>MagickSetImageAlphaChannel() activates, deactivates, resets, or sets the alpha channel.</p></ol>
4643 <p>The format of the MagickSetImageAlphaChannel method is:</p>
4646 MagickBooleanType MagickSetImageAlphaChannel(MagickWand *wand,
4647 const AlphaChannelType alpha_type)
4650 <p>A description of each parameter follows:</p></ol>
4653 <ol><p>the magick wand.</p></ol>
4656 <ol><p>the alpha channel type: ActivateAlphaChannel, DeactivateAlphaChannel, OpaqueAlphaChannel, or SetAlphaChannel.</p></ol>
4659 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4660 _8c.html" target="source" name="MagickSetImageBackgroundColor">MagickSetImageBackgroundColor</a></h2>
4661 <div class="doc-section">
4663 <p>MagickSetImageBackgroundColor() sets the image background color.</p></ol>
4665 <p>The format of the MagickSetImageBackgroundColor method is:</p>
4668 MagickBooleanType MagickSetImageBackgroundColor(MagickWand *wand,
4669 const PixelWand *background)
4672 <p>A description of each parameter follows:</p></ol>
4675 <ol><p>the magick wand.</p></ol>
4678 <ol><p>the background pixel wand.</p></ol>
4681 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4682 _8c.html" target="source" name="MagickSetImageBias">MagickSetImageBias</a></h2>
4683 <div class="doc-section">
4685 <p>MagickSetImageBias() sets the image bias for any method that convolves an image (e.g. MagickConvolveImage()).</p></ol>
4687 <p>The format of the MagickSetImageBias method is:</p>
4690 MagickBooleanType MagickSetImageBias(MagickWand *wand,
4694 <p>A description of each parameter follows:</p></ol>
4697 <ol><p>the magick wand.</p></ol>
4700 <ol><p>the image bias.</p></ol>
4703 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4704 _8c.html" target="source" name="MagickSetImageBluePrimary">MagickSetImageBluePrimary</a></h2>
4705 <div class="doc-section">
4707 <p>MagickSetImageBluePrimary() sets the image chromaticity blue primary point.</p></ol>
4709 <p>The format of the MagickSetImageBluePrimary method is:</p>
4712 MagickBooleanType MagickSetImageBluePrimary(MagickWand *wand,
4713 const double x,const double y)
4716 <p>A description of each parameter follows:</p></ol>
4719 <ol><p>the magick wand.</p></ol>
4722 <ol><p>the blue primary x-point.</p></ol>
4725 <ol><p>the blue primary y-point.</p></ol>
4728 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4729 _8c.html" target="source" name="MagickSetImageBorderColor">MagickSetImageBorderColor</a></h2>
4730 <div class="doc-section">
4732 <p>MagickSetImageBorderColor() sets the image border color.</p></ol>
4734 <p>The format of the MagickSetImageBorderColor method is:</p>
4737 MagickBooleanType MagickSetImageBorderColor(MagickWand *wand,
4738 const PixelWand *border)
4741 <p>A description of each parameter follows:</p></ol>
4744 <ol><p>the magick wand.</p></ol>
4747 <ol><p>the border pixel wand.</p></ol>
4750 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4751 _8c.html" target="source" name="MagickSetImageChannelDepth">MagickSetImageChannelDepth</a></h2>
4752 <div class="doc-section">
4754 <p>MagickSetImageChannelDepth() sets the depth of a particular image channel.</p></ol>
4756 <p>The format of the MagickSetImageChannelDepth method is:</p>
4759 MagickBooleanType MagickSetImageChannelDepth(MagickWand *wand,
4760 const ChannelType channel,const size_t depth)
4763 <p>A description of each parameter follows:</p></ol>
4766 <ol><p>the magick wand.</p></ol>
4769 <ol><p>the image channel(s).</p></ol>
4772 <ol><p>the image depth in bits.</p></ol>
4775 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4776 _8c.html" target="source" name="MagickSetImageClipMask">MagickSetImageClipMask</a></h2>
4777 <div class="doc-section">
4779 <p>MagickSetImageClipMask() sets image clip mask.</p></ol>
4781 <p>The format of the MagickSetImageClipMask method is:</p>
4784 MagickBooleanType MagickSetImageClipMask(MagickWand *wand,
4785 const MagickWand *clip_mask)
4788 <p>A description of each parameter follows:</p></ol>
4791 <ol><p>the magick wand.</p></ol>
4794 <ol><p>the clip_mask wand.</p></ol>
4797 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4798 _8c.html" target="source" name="MagickSetImageColor">MagickSetImageColor</a></h2>
4799 <div class="doc-section">
4801 <p>MagickSetImageColor() set the entire wand canvas to the specified color.</p></ol>
4803 <p>The format of the MagickSetImageColor method is:</p>
4806 MagickBooleanType MagickSetImageColor(MagickWand *wand,
4807 const PixelWand *color)
4810 <p>A description of each parameter follows:</p></ol>
4813 <ol><p>the magick wand.</p></ol>
4816 <ol><p>the image color.</p></ol>
4819 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4820 _8c.html" target="source" name="MagickSetImageColormapColor">MagickSetImageColormapColor</a></h2>
4821 <div class="doc-section">
4823 <p>MagickSetImageColormapColor() sets the color of the specified colormap index.</p></ol>
4825 <p>The format of the MagickSetImageColormapColor method is:</p>
4828 MagickBooleanType MagickSetImageColormapColor(MagickWand *wand,
4829 const size_t index,const PixelWand *color)
4832 <p>A description of each parameter follows:</p></ol>
4835 <ol><p>the magick wand.</p></ol>
4838 <ol><p>the offset into the image colormap.</p></ol>
4841 <ol><p>Return the colormap color in this wand.</p></ol>
4844 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4845 _8c.html" target="source" name="MagickSetImageColorspace">MagickSetImageColorspace</a></h2>
4846 <div class="doc-section">
4848 <p>MagickSetImageColorspace() sets the image colorspace.</p></ol>
4850 <p>The format of the MagickSetImageColorspace method is:</p>
4853 MagickBooleanType MagickSetImageColorspace(MagickWand *wand,
4854 const ColorspaceType colorspace)
4857 <p>A description of each parameter follows:</p></ol>
4860 <ol><p>the magick wand.</p></ol>
4863 <ol><p>the image colorspace: UndefinedColorspace, RGBColorspace, GRAYColorspace, TransparentColorspace, OHTAColorspace, XYZColorspace, YCbCrColorspace, YCCColorspace, YIQColorspace, YPbPrColorspace, YPbPrColorspace, YUVColorspace, CMYKColorspace, sRGBColorspace, HSLColorspace, or HWBColorspace.</p></ol>
4866 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4867 _8c.html" target="source" name="MagickSetImageCompose">MagickSetImageCompose</a></h2>
4868 <div class="doc-section">
4870 <p>MagickSetImageCompose() sets the image composite operator, useful for specifying how to composite the image thumbnail when using the MagickMontageImage() method.</p></ol>
4872 <p>The format of the MagickSetImageCompose method is:</p>
4875 MagickBooleanType MagickSetImageCompose(MagickWand *wand,
4876 const CompositeOperator compose)
4879 <p>A description of each parameter follows:</p></ol>
4882 <ol><p>the magick wand.</p></ol>
4885 <ol><p>the image composite operator.</p></ol>
4888 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4889 _8c.html" target="source" name="MagickSetImageCompression">MagickSetImageCompression</a></h2>
4890 <div class="doc-section">
4892 <p>MagickSetImageCompression() sets the image compression.</p></ol>
4894 <p>The format of the MagickSetImageCompression method is:</p>
4897 MagickBooleanType MagickSetImageCompression(MagickWand *wand,
4898 const CompressionType compression)
4901 <p>A description of each parameter follows:</p></ol>
4904 <ol><p>the magick wand.</p></ol>
4906 <h5>compression</h5>
4907 <ol><p>the image compression type.</p></ol>
4910 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4911 _8c.html" target="source" name="MagickSetImageCompressionQuality">MagickSetImageCompressionQuality</a></h2>
4912 <div class="doc-section">
4914 <p>MagickSetImageCompressionQuality() sets the image compression quality.</p></ol>
4916 <p>The format of the MagickSetImageCompressionQuality method is:</p>
4919 MagickBooleanType MagickSetImageCompressionQuality(MagickWand *wand,
4920 const size_t quality)
4923 <p>A description of each parameter follows:</p></ol>
4926 <ol><p>the magick wand.</p></ol>
4929 <ol><p>the image compression tlityype.</p></ol>
4932 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4933 _8c.html" target="source" name="MagickSetImageDelay">MagickSetImageDelay</a></h2>
4934 <div class="doc-section">
4936 <p>MagickSetImageDelay() sets the image delay.</p></ol>
4938 <p>The format of the MagickSetImageDelay method is:</p>
4941 MagickBooleanType MagickSetImageDelay(MagickWand *wand,
4945 <p>A description of each parameter follows:</p></ol>
4948 <ol><p>the magick wand.</p></ol>
4951 <ol><p>the image delay in ticks-per-second units.</p></ol>
4954 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4955 _8c.html" target="source" name="MagickSetImageDepth">MagickSetImageDepth</a></h2>
4956 <div class="doc-section">
4958 <p>MagickSetImageDepth() sets the image depth.</p></ol>
4960 <p>The format of the MagickSetImageDepth method is:</p>
4963 MagickBooleanType MagickSetImageDepth(MagickWand *wand,
4967 <p>A description of each parameter follows:</p></ol>
4970 <ol><p>the magick wand.</p></ol>
4973 <ol><p>the image depth in bits: 8, 16, or 32.</p></ol>
4976 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4977 _8c.html" target="source" name="MagickSetImageDispose">MagickSetImageDispose</a></h2>
4978 <div class="doc-section">
4980 <p>MagickSetImageDispose() sets the image disposal method.</p></ol>
4982 <p>The format of the MagickSetImageDispose method is:</p>
4985 MagickBooleanType MagickSetImageDispose(MagickWand *wand,
4986 const DisposeType dispose)
4989 <p>A description of each parameter follows:</p></ol>
4992 <ol><p>the magick wand.</p></ol>
4995 <ol><p>the image disposeal type.</p></ol>
4998 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4999 _8c.html" target="source" name="MagickSetImageExtent">MagickSetImageExtent</a></h2>
5000 <div class="doc-section">
5002 <p>MagickSetImageExtent() sets the image size (i.e. columns & rows).</p></ol>
5004 <p>The format of the MagickSetImageExtent method is:</p>
5007 MagickBooleanType MagickSetImageExtent(MagickWand *wand,
5008 const size_t columns,const unsigned rows)
5011 <p>A description of each parameter follows:</p></ol>
5014 <ol><p>the magick wand.</p></ol>
5017 <ol><p>The image width in pixels.</p></ol>
5020 <ol><p>The image height in pixels.</p></ol>
5023 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5024 _8c.html" target="source" name="MagickSetImageFilename">MagickSetImageFilename</a></h2>
5025 <div class="doc-section">
5027 <p>MagickSetImageFilename() sets the filename of a particular image in a sequence.</p></ol>
5029 <p>The format of the MagickSetImageFilename method is:</p>
5032 MagickBooleanType MagickSetImageFilename(MagickWand *wand,
5033 const char *filename)
5036 <p>A description of each parameter follows:</p></ol>
5039 <ol><p>the magick wand.</p></ol>
5042 <ol><p>the image filename.</p></ol>
5045 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5046 _8c.html" target="source" name="MagickSetImageFormat">MagickSetImageFormat</a></h2>
5047 <div class="doc-section">
5049 <p>MagickSetImageFormat() sets the format of a particular image in a sequence.</p></ol>
5051 <p>The format of the MagickSetImageFormat method is:</p>
5054 MagickBooleanType MagickSetImageFormat(MagickWand *wand,
5058 <p>A description of each parameter follows:</p></ol>
5061 <ol><p>the magick wand.</p></ol>
5064 <ol><p>the image format.</p></ol>
5067 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5068 _8c.html" target="source" name="MagickSetImageFuzz">MagickSetImageFuzz</a></h2>
5069 <div class="doc-section">
5071 <p>MagickSetImageFuzz() sets the image fuzz.</p></ol>
5073 <p>The format of the MagickSetImageFuzz method is:</p>
5076 MagickBooleanType MagickSetImageFuzz(MagickWand *wand,
5080 <p>A description of each parameter follows:</p></ol>
5083 <ol><p>the magick wand.</p></ol>
5086 <ol><p>the image fuzz.</p></ol>
5089 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5090 _8c.html" target="source" name="MagickSetImageGamma">MagickSetImageGamma</a></h2>
5091 <div class="doc-section">
5093 <p>MagickSetImageGamma() sets the image gamma.</p></ol>
5095 <p>The format of the MagickSetImageGamma method is:</p>
5098 MagickBooleanType MagickSetImageGamma(MagickWand *wand,
5102 <p>A description of each parameter follows:</p></ol>
5105 <ol><p>the magick wand.</p></ol>
5108 <ol><p>the image gamma.</p></ol>
5111 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5112 _8c.html" target="source" name="MagickSetImageGravity">MagickSetImageGravity</a></h2>
5113 <div class="doc-section">
5115 <p>MagickSetImageGravity() sets the image gravity type.</p></ol>
5117 <p>The format of the MagickSetImageGravity method is:</p>
5120 MagickBooleanType MagickSetImageGravity(MagickWand *wand,
5121 const GravityType gravity)
5124 <p>A description of each parameter follows:</p></ol>
5127 <ol><p>the magick wand.</p></ol>
5130 <ol><p>the image interlace scheme: NoInterlace, LineInterlace, PlaneInterlace, PartitionInterlace.</p></ol>
5133 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5134 _8c.html" target="source" name="MagickSetImageGreenPrimary">MagickSetImageGreenPrimary</a></h2>
5135 <div class="doc-section">
5137 <p>MagickSetImageGreenPrimary() sets the image chromaticity green primary point.</p></ol>
5139 <p>The format of the MagickSetImageGreenPrimary method is:</p>
5142 MagickBooleanType MagickSetImageGreenPrimary(MagickWand *wand,
5143 const double x,const double y)
5146 <p>A description of each parameter follows:</p></ol>
5149 <ol><p>the magick wand.</p></ol>
5152 <ol><p>the green primary x-point.</p></ol>
5155 <ol><p>the green primary y-point.</p></ol>
5159 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5160 _8c.html" target="source" name="MagickSetImageInterlaceScheme">MagickSetImageInterlaceScheme</a></h2>
5161 <div class="doc-section">
5163 <p>MagickSetImageInterlaceScheme() sets the image interlace scheme.</p></ol>
5165 <p>The format of the MagickSetImageInterlaceScheme method is:</p>
5168 MagickBooleanType MagickSetImageInterlaceScheme(MagickWand *wand,
5169 const InterlaceType interlace)
5172 <p>A description of each parameter follows:</p></ol>
5175 <ol><p>the magick wand.</p></ol>
5178 <ol><p>the image interlace scheme: NoInterlace, LineInterlace, PlaneInterlace, PartitionInterlace.</p></ol>
5181 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5182 _8c.html" target="source" name="MagickSetImageInterpolateMethod">MagickSetImageInterpolateMethod</a></h2>
5183 <div class="doc-section">
5185 <p>MagickSetImageInterpolateMethod() sets the image interpolate pixel method.</p></ol>
5187 <p>The format of the MagickSetImageInterpolateMethod method is:</p>
5190 MagickBooleanType MagickSetImageInterpolateMethod(MagickWand *wand,
5191 const InterpolatePixelMethod method)
5194 <p>A description of each parameter follows:</p></ol>
5197 <ol><p>the magick wand.</p></ol>
5200 <ol><p>the image interpole pixel methods: choose from Undefined, Average, Bicubic, Bilinear, Filter, Integer, Mesh, NearestNeighbor.</p></ol>
5203 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5204 _8c.html" target="source" name="MagickSetImageIterations">MagickSetImageIterations</a></h2>
5205 <div class="doc-section">
5207 <p>MagickSetImageIterations() sets the image iterations.</p></ol>
5209 <p>The format of the MagickSetImageIterations method is:</p>
5212 MagickBooleanType MagickSetImageIterations(MagickWand *wand,
5213 const size_t iterations)
5216 <p>A description of each parameter follows:</p></ol>
5219 <ol><p>the magick wand.</p></ol>
5222 <ol><p>the image delay in 1/100th of a second.</p></ol>
5225 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5226 _8c.html" target="source" name="MagickSetImageMatte">MagickSetImageMatte</a></h2>
5227 <div class="doc-section">
5229 <p>MagickSetImageMatte() sets the image matte channel.</p></ol>
5231 <p>The format of the MagickSetImageMatteColor method is:</p>
5234 MagickBooleanType MagickSetImageMatteColor(MagickWand *wand,
5235 const MagickBooleanType *matte)
5238 <p>A description of each parameter follows:</p></ol>
5241 <ol><p>the magick wand.</p></ol>
5244 <ol><p>Set to MagickTrue to enable the image matte channel otherwise MagickFalse.</p></ol>
5247 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5248 _8c.html" target="source" name="MagickSetImageMatteColor">MagickSetImageMatteColor</a></h2>
5249 <div class="doc-section">
5251 <p>MagickSetImageMatteColor() sets the image matte color.</p></ol>
5253 <p>The format of the MagickSetImageMatteColor method is:</p>
5256 MagickBooleanType MagickSetImageMatteColor(MagickWand *wand,
5257 const PixelWand *matte)
5260 <p>A description of each parameter follows:</p></ol>
5263 <ol><p>the magick wand.</p></ol>
5266 <ol><p>the matte pixel wand.</p></ol>
5269 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5270 _8c.html" target="source" name="MagickSetImageOpacity">MagickSetImageOpacity</a></h2>
5271 <div class="doc-section">
5273 <p>MagickSetImageOpacity() sets the image to the specified opacity level.</p></ol>
5275 <p>The format of the MagickSetImageOpacity method is:</p>
5278 MagickBooleanType MagickSetImageOpacity(MagickWand *wand,
5282 <p>A description of each parameter follows:</p></ol>
5285 <ol><p>the magick wand.</p></ol>
5288 <ol><p>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.</p></ol>
5291 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5292 _8c.html" target="source" name="MagickSetImageOrientation">MagickSetImageOrientation</a></h2>
5293 <div class="doc-section">
5295 <p>MagickSetImageOrientation() sets the image orientation.</p></ol>
5297 <p>The format of the MagickSetImageOrientation method is:</p>
5300 MagickBooleanType MagickSetImageOrientation(MagickWand *wand,
5301 const OrientationType orientation)
5304 <p>A description of each parameter follows:</p></ol>
5307 <ol><p>the magick wand.</p></ol>
5309 <h5>orientation</h5>
5310 <ol><p>the image orientation type.</p></ol>
5313 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5314 _8c.html" target="source" name="MagickSetImagePage">MagickSetImagePage</a></h2>
5315 <div class="doc-section">
5317 <p>MagickSetImagePage() sets the page geometry of the image.</p></ol>
5319 <p>The format of the MagickSetImagePage method is:</p>
5322 MagickBooleanType MagickSetImagePage(MagickWand *wand,
5323 const size_t width,const size_t height,const ssize_t x,
5327 <p>A description of each parameter follows:</p></ol>
5330 <ol><p>the magick wand.</p></ol>
5333 <ol><p>the page width.</p></ol>
5336 <ol><p>the page height.</p></ol>
5339 <ol><p>the page x-offset.</p></ol>
5342 <ol><p>the page y-offset.</p></ol>
5345 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5346 _8c.html" target="source" name="MagickSetImageProgressMonitor">MagickSetImageProgressMonitor</a></h2>
5347 <div class="doc-section">
5349 <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>
5352 MagickBooleanType MagickProgressMonitor(const char *text,
5353 const MagickOffsetType offset,const MagickSizeType span,
5357 <p>If the progress monitor returns MagickFalse, the current operation is interrupted.</p></ol>
5359 <p>The format of the MagickSetImageProgressMonitor method is:</p>
5362 MagickProgressMonitor MagickSetImageProgressMonitor(MagickWand *wand
5363 const MagickProgressMonitor progress_monitor,void *client_data)
5366 <p>A description of each parameter follows:</p></ol>
5369 <ol><p>the magick wand.</p></ol>
5371 <h5>progress_monitor</h5>
5372 <ol><p>Specifies a pointer to a method to monitor progress of an image operation.</p></ol>
5374 <h5>client_data</h5>
5375 <ol><p>Specifies a pointer to any client data.</p></ol>
5378 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5379 _8c.html" target="source" name="MagickSetImageRedPrimary">MagickSetImageRedPrimary</a></h2>
5380 <div class="doc-section">
5382 <p>MagickSetImageRedPrimary() sets the image chromaticity red primary point.</p></ol>
5384 <p>The format of the MagickSetImageRedPrimary method is:</p>
5387 MagickBooleanType MagickSetImageRedPrimary(MagickWand *wand,
5388 const double x,const double y)
5391 <p>A description of each parameter follows:</p></ol>
5394 <ol><p>the magick wand.</p></ol>
5397 <ol><p>the red primary x-point.</p></ol>
5400 <ol><p>the red primary y-point.</p></ol>
5403 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5404 _8c.html" target="source" name="MagickSetImageRenderingIntent">MagickSetImageRenderingIntent</a></h2>
5405 <div class="doc-section">
5407 <p>MagickSetImageRenderingIntent() sets the image rendering intent.</p></ol>
5409 <p>The format of the MagickSetImageRenderingIntent method is:</p>
5412 MagickBooleanType MagickSetImageRenderingIntent(MagickWand *wand,
5413 const RenderingIntent rendering_intent)
5416 <p>A description of each parameter follows:</p></ol>
5419 <ol><p>the magick wand.</p></ol>
5421 <h5>rendering_intent</h5>
5422 <ol><p>the image rendering intent: UndefinedIntent, SaturationIntent, PerceptualIntent, AbsoluteIntent, or RelativeIntent.</p></ol>
5425 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5426 _8c.html" target="source" name="MagickSetImageResolution">MagickSetImageResolution</a></h2>
5427 <div class="doc-section">
5429 <p>MagickSetImageResolution() sets the image resolution.</p></ol>
5431 <p>The format of the MagickSetImageResolution method is:</p>
5434 MagickBooleanType MagickSetImageResolution(MagickWand *wand,
5435 const double x_resolution,const doubtl y_resolution)
5438 <p>A description of each parameter follows:</p></ol>
5441 <ol><p>the magick wand.</p></ol>
5443 <h5>x_resolution</h5>
5444 <ol><p>the image x resolution.</p></ol>
5446 <h5>y_resolution</h5>
5447 <ol><p>the image y resolution.</p></ol>
5450 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5451 _8c.html" target="source" name="MagickSetImageScene">MagickSetImageScene</a></h2>
5452 <div class="doc-section">
5454 <p>MagickSetImageScene() sets the image scene.</p></ol>
5456 <p>The format of the MagickSetImageScene method is:</p>
5459 MagickBooleanType MagickSetImageScene(MagickWand *wand,
5463 <p>A description of each parameter follows:</p></ol>
5466 <ol><p>the magick wand.</p></ol>
5469 <ol><p>the image scene number.</p></ol>
5472 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5473 _8c.html" target="source" name="MagickSetImageTicksPerSecond">MagickSetImageTicksPerSecond</a></h2>
5474 <div class="doc-section">
5476 <p>MagickSetImageTicksPerSecond() sets the image ticks-per-second.</p></ol>
5478 <p>The format of the MagickSetImageTicksPerSecond method is:</p>
5481 MagickBooleanType MagickSetImageTicksPerSecond(MagickWand *wand,
5482 const ssize_t ticks_per-second)
5485 <p>A description of each parameter follows:</p></ol>
5488 <ol><p>the magick wand.</p></ol>
5490 <h5>ticks_per_second</h5>
5491 <ol><p>the units to use for the image delay.</p></ol>
5494 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5495 _8c.html" target="source" name="MagickSetImageType">MagickSetImageType</a></h2>
5496 <div class="doc-section">
5498 <p>MagickSetImageType() sets the image type.</p></ol>
5500 <p>The format of the MagickSetImageType method is:</p>
5503 MagickBooleanType MagickSetImageType(MagickWand *wand,
5504 const ImageType image_type)
5507 <p>A description of each parameter follows:</p></ol>
5510 <ol><p>the magick wand.</p></ol>
5513 <ol><p>the image type: UndefinedType, BilevelType, GrayscaleType, GrayscaleMatteType, PaletteType, PaletteMatteType, TrueColorType, TrueColorMatteType, ColorSeparationType, ColorSeparationMatteType, or OptimizeType.</p></ol>
5516 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5517 _8c.html" target="source" name="MagickSetImageUnits">MagickSetImageUnits</a></h2>
5518 <div class="doc-section">
5520 <p>MagickSetImageUnits() sets the image units of resolution.</p></ol>
5522 <p>The format of the MagickSetImageUnits method is:</p>
5525 MagickBooleanType MagickSetImageUnits(MagickWand *wand,
5526 const ResolutionType units)
5529 <p>A description of each parameter follows:</p></ol>
5532 <ol><p>the magick wand.</p></ol>
5535 <ol><p>the image units of resolution : UndefinedResolution, PixelsPerInchResolution, or PixelsPerCentimeterResolution.</p></ol>
5538 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5539 _8c.html" target="source" name="MagickSetImageVirtualPixelMethod">MagickSetImageVirtualPixelMethod</a></h2>
5540 <div class="doc-section">
5542 <p>MagickSetImageVirtualPixelMethod() sets the image virtual pixel method.</p></ol>
5544 <p>The format of the MagickSetImageVirtualPixelMethod method is:</p>
5547 VirtualPixelMethod MagickSetImageVirtualPixelMethod(MagickWand *wand,
5548 const VirtualPixelMethod method)
5551 <p>A description of each parameter follows:</p></ol>
5554 <ol><p>the magick wand.</p></ol>
5557 <ol><p>the image virtual pixel method : UndefinedVirtualPixelMethod, ConstantVirtualPixelMethod, EdgeVirtualPixelMethod, MirrorVirtualPixelMethod, or TileVirtualPixelMethod.</p></ol>
5560 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5561 _8c.html" target="source" name="MagickSetImageWhitePoint">MagickSetImageWhitePoint</a></h2>
5562 <div class="doc-section">
5564 <p>MagickSetImageWhitePoint() sets the image chromaticity white point.</p></ol>
5566 <p>The format of the MagickSetImageWhitePoint method is:</p>
5569 MagickBooleanType MagickSetImageWhitePoint(MagickWand *wand,
5570 const double x,const double y)
5573 <p>A description of each parameter follows:</p></ol>
5576 <ol><p>the magick wand.</p></ol>
5579 <ol><p>the white x-point.</p></ol>
5582 <ol><p>the white y-point.</p></ol>
5585 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5586 _8c.html" target="source" name="MagickShadeImage">MagickShadeImage</a></h2>
5587 <div class="doc-section">
5589 <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></ol>
5591 <p>The format of the MagickShadeImage method is:</p>
5594 MagickBooleanType MagickShadeImage(MagickWand *wand,
5595 const MagickBooleanType gray,const double azimuth,
5596 const double elevation)
5599 <p>A description of each parameter follows:</p></ol>
5602 <ol><p>the magick wand.</p></ol>
5605 <ol><p>A value other than zero shades the intensity of each pixel.</p></ol>
5607 <h5>azimuth, elevation</h5>
5608 <ol><p>Define the light source direction.</p></ol>
5611 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5612 _8c.html" target="source" name="MagickShadowImage">MagickShadowImage</a></h2>
5613 <div class="doc-section">
5615 <p>MagickShadowImage() simulates an image shadow.</p></ol>
5617 <p>The format of the MagickShadowImage method is:</p>
5620 MagickBooleanType MagickShadowImage(MagickWand *wand,
5621 const double opacity,const double sigma,const ssize_t x,const ssize_t y)
5624 <p>A description of each parameter follows:</p></ol>
5627 <ol><p>the magick wand.</p></ol>
5630 <ol><p>percentage transparency.</p></ol>
5633 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
5636 <ol><p>the shadow x-offset.</p></ol>
5639 <ol><p>the shadow y-offset.</p></ol>
5642 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5643 _8c.html" target="source" name="MagickSharpenImage">MagickSharpenImage</a></h2>
5644 <div class="doc-section">
5646 <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></ol>
5648 <p>The format of the MagickSharpenImage method is:</p>
5651 MagickBooleanType MagickSharpenImage(MagickWand *wand,
5652 const double radius,const double sigma)
5653 MagickBooleanType MagickSharpenImageChannel(MagickWand *wand,
5654 const ChannelType channel,const double radius,const double sigma)
5657 <p>A description of each parameter follows:</p></ol>
5660 <ol><p>the magick wand.</p></ol>
5663 <ol><p>the image channel(s).</p></ol>
5666 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
5669 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
5672 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5673 _8c.html" target="source" name="MagickShaveImage">MagickShaveImage</a></h2>
5674 <div class="doc-section">
5676 <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></ol>
5678 <p>The format of the MagickShaveImage method is:</p>
5681 MagickBooleanType MagickShaveImage(MagickWand *wand,
5682 const size_t columns,const size_t rows)
5685 <p>A description of each parameter follows:</p></ol>
5688 <ol><p>the magick wand.</p></ol>
5691 <ol><p>the number of columns in the scaled image.</p></ol>
5694 <ol><p>the number of rows in the scaled image.</p></ol>
5698 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5699 _8c.html" target="source" name="MagickShearImage">MagickShearImage</a></h2>
5700 <div class="doc-section">
5702 <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></ol>
5704 <p>The format of the MagickShearImage method is:</p>
5707 MagickBooleanType MagickShearImage(MagickWand *wand,
5708 const PixelWand *background,const double x_shear,onst double y_shear)
5711 <p>A description of each parameter follows:</p></ol>
5714 <ol><p>the magick wand.</p></ol>
5717 <ol><p>the background pixel wand.</p></ol>
5720 <ol><p>the number of degrees to shear the image.</p></ol>
5723 <ol><p>the number of degrees to shear the image.</p></ol>
5726 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5727 _8c.html" target="source" name="MagickSigmoidalContrastImage">MagickSigmoidalContrastImage</a></h2>
5728 <div class="doc-section">
5730 <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></ol>
5732 <p>The format of the MagickSigmoidalContrastImage method is:</p>
5735 MagickBooleanType MagickSigmoidalContrastImage(MagickWand *wand,
5736 const MagickBooleanType sharpen,const double alpha,const double beta)
5737 MagickBooleanType MagickSigmoidalContrastImageChannel(MagickWand *wand,
5738 const ChannelType channel,const MagickBooleanType sharpen,
5739 const double alpha,const double beta)
5742 <p>A description of each parameter follows:</p></ol>
5745 <ol><p>the magick wand.</p></ol>
5748 <ol><p>Identify which channel to level: RedChannel, GreenChannel,</p></ol>
5751 <ol><p>Increase or decrease image contrast.</p></ol>
5754 <ol><p>control the "shoulder" of the contast curve.</p></ol>
5757 <ol><p>control the "toe" of the contast curve.</p></ol>
5760 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5761 _8c.html" target="source" name="MagickSimilarityImage">MagickSimilarityImage</a></h2>
5762 <div class="doc-section">
5764 <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></ol>
5766 <p>The format of the MagickSimilarityImage method is:</p>
5769 MagickWand *MagickSimilarityImage(MagickWand *wand,
5770 const MagickWand *reference,RectangeInfo *offset,double *similarity)
5773 <p>A description of each parameter follows:</p></ol>
5776 <ol><p>the magick wand.</p></ol>
5779 <ol><p>the reference wand.</p></ol>
5782 <ol><p>the best match offset of the reference image within the image.</p></ol>
5785 <ol><p>the computed similarity between the images.</p></ol>
5788 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5789 _8c.html" target="source" name="MagickSketchImage">MagickSketchImage</a></h2>
5790 <div class="doc-section">
5792 <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></ol>
5794 <p>The format of the MagickSketchImage method is:</p>
5797 MagickBooleanType MagickSketchImage(MagickWand *wand,
5798 const double radius,const double sigma,const double angle)
5801 <p>A description of each parameter follows:</p></ol>
5804 <ol><p>the magick wand.</p></ol>
5807 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
5810 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
5813 <ol><p>Apply the effect along this angle.</p></ol>
5816 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5817 _8c.html" target="source" name="MagickSolarizeImage">MagickSolarizeImage</a></h2>
5818 <div class="doc-section">
5820 <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></ol>
5822 <p>The format of the MagickSolarizeImage method is:</p>
5825 MagickBooleanType MagickSolarizeImage(MagickWand *wand,
5826 const double threshold)
5829 <p>A description of each parameter follows:</p></ol>
5832 <ol><p>the magick wand.</p></ol>
5835 <ol><p>Define the extent of the solarization.</p></ol>
5838 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5839 _8c.html" target="source" name="MagickSparseColorImage">MagickSparseColorImage</a></h2>
5840 <div class="doc-section">
5842 <p>MagickSparseColorImage(), given a set of coordinates, interpolates the colors found at those coordinates, across the whole image, using various methods.</p></ol>
5844 <p>The format of the MagickSparseColorImage method is:</p>
5847 MagickBooleanType MagickSparseColorImage(MagickWand *wand,
5848 const ChannelType channel,const SparseColorMethod method,
5849 const size_t number_arguments,const double *arguments)
5852 <p>A description of each parameter follows:</p></ol>
5855 <ol><p>the image to be sparseed.</p></ol>
5858 <ol><p>the method of image sparseion.</p></ol>
5860 <p>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.</p></ol>
5862 <p>Bilinear has no simple inverse mapping so will not allow 'bestfit' style of image sparseion.</p></ol>
5864 <p>Affine, Perspective, and Bilinear, will do least squares fitting of the distrotion when more than the minimum number of control point pairs are provided.</p></ol>
5866 <p>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.</p></ol>
5868 <h5>number_arguments</h5>
5869 <ol><p>the number of arguments given for this sparseion method.</p></ol>
5872 <ol><p>the arguments for this sparseion method.</p></ol>
5875 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5876 _8c.html" target="source" name="MagickSpliceImage">MagickSpliceImage</a></h2>
5877 <div class="doc-section">
5879 <p>MagickSpliceImage() splices a solid color into the image.</p></ol>
5881 <p>The format of the MagickSpliceImage method is:</p>
5884 MagickBooleanType MagickSpliceImage(MagickWand *wand,
5885 const size_t width,const size_t height,const ssize_t x,
5889 <p>A description of each parameter follows:</p></ol>
5892 <ol><p>the magick wand.</p></ol>
5895 <ol><p>the region width.</p></ol>
5898 <ol><p>the region height.</p></ol>
5901 <ol><p>the region x offset.</p></ol>
5904 <ol><p>the region y offset.</p></ol>
5907 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5908 _8c.html" target="source" name="MagickSpreadImage">MagickSpreadImage</a></h2>
5909 <div class="doc-section">
5911 <p>MagickSpreadImage() is a special effects method that randomly displaces each pixel in a block defined by the radius parameter.</p></ol>
5913 <p>The format of the MagickSpreadImage method is:</p>
5916 MagickBooleanType MagickSpreadImage(MagickWand *wand,const double radius)
5919 <p>A description of each parameter follows:</p></ol>
5922 <ol><p>the magick wand.</p></ol>
5925 <ol><p>Choose a random pixel in a neighborhood of this extent.</p></ol>
5928 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5929 _8c.html" target="source" name="MagickSteganoImage">MagickSteganoImage</a></h2>
5930 <div class="doc-section">
5932 <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></ol>
5934 <p>The format of the MagickSteganoImage method is:</p>
5937 MagickWand *MagickSteganoImage(MagickWand *wand,
5938 const MagickWand *watermark_wand,const ssize_t offset)
5941 <p>A description of each parameter follows:</p></ol>
5944 <ol><p>the magick wand.</p></ol>
5946 <h5>watermark_wand</h5>
5947 <ol><p>the watermark wand.</p></ol>
5950 <ol><p>Start hiding at this offset into the image.</p></ol>
5953 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5954 _8c.html" target="source" name="MagickStereoImage">MagickStereoImage</a></h2>
5955 <div class="doc-section">
5957 <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></ol>
5959 <p>The format of the MagickStereoImage method is:</p>
5962 MagickWand *MagickStereoImage(MagickWand *wand,
5963 const MagickWand *offset_wand)
5966 <p>A description of each parameter follows:</p></ol>
5969 <ol><p>the magick wand.</p></ol>
5971 <h5>offset_wand</h5>
5972 <ol><p>Another image wand.</p></ol>
5975 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5976 _8c.html" target="source" name="MagickStripImage">MagickStripImage</a></h2>
5977 <div class="doc-section">
5979 <p>MagickStripImage() strips an image of all profiles and comments.</p></ol>
5981 <p>The format of the MagickStripImage method is:</p>
5984 MagickBooleanType MagickStripImage(MagickWand *wand)
5987 <p>A description of each parameter follows:</p></ol>
5990 <ol><p>the magick wand.</p></ol>
5993 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5994 _8c.html" target="source" name="MagickSwirlImage">MagickSwirlImage</a></h2>
5995 <div class="doc-section">
5997 <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></ol>
5999 <p>The format of the MagickSwirlImage method is:</p>
6002 MagickBooleanType MagickSwirlImage(MagickWand *wand,const double degrees)
6005 <p>A description of each parameter follows:</p></ol>
6008 <ol><p>the magick wand.</p></ol>
6011 <ol><p>Define the tightness of the swirling effect.</p></ol>
6014 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6015 _8c.html" target="source" name="MagickTextureImage">MagickTextureImage</a></h2>
6016 <div class="doc-section">
6018 <p>MagickTextureImage() repeatedly tiles the texture image across and down the image canvas.</p></ol>
6020 <p>The format of the MagickTextureImage method is:</p>
6023 MagickWand *MagickTextureImage(MagickWand *wand,
6024 const MagickWand *texture_wand)
6027 <p>A description of each parameter follows:</p></ol>
6030 <ol><p>the magick wand.</p></ol>
6032 <h5>texture_wand</h5>
6033 <ol><p>the texture wand</p></ol>
6036 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6037 _8c.html" target="source" name="MagickThresholdImage">MagickThresholdImage</a></h2>
6038 <div class="doc-section">
6040 <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></ol>
6042 <p>The format of the MagickThresholdImage method is:</p>
6045 MagickBooleanType MagickThresholdImage(MagickWand *wand,
6046 const double threshold)
6047 MagickBooleanType MagickThresholdImageChannel(MagickWand *wand,
6048 const ChannelType channel,const double threshold)
6051 <p>A description of each parameter follows:</p></ol>
6054 <ol><p>the magick wand.</p></ol>
6057 <ol><p>the image channel(s).</p></ol>
6060 <ol><p>Define the threshold value.</p></ol>
6063 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6064 _8c.html" target="source" name="MagickThumbnailImage">MagickThumbnailImage</a></h2>
6065 <div class="doc-section">
6067 <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></ol>
6069 <p>The format of the MagickThumbnailImage method is:</p>
6072 MagickBooleanType MagickThumbnailImage(MagickWand *wand,
6073 const size_t columns,const size_t rows)
6076 <p>A description of each parameter follows:</p></ol>
6079 <ol><p>the magick wand.</p></ol>
6082 <ol><p>the number of columns in the scaled image.</p></ol>
6085 <ol><p>the number of rows in the scaled image.</p></ol>
6088 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6089 _8c.html" target="source" name="MagickTintImage">MagickTintImage</a></h2>
6090 <div class="doc-section">
6092 <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></ol>
6094 <p>The format of the MagickTintImage method is:</p>
6097 MagickBooleanType MagickTintImage(MagickWand *wand,
6098 const PixelWand *tint,const PixelWand *opacity)
6101 <p>A description of each parameter follows:</p></ol>
6104 <ol><p>the magick wand.</p></ol>
6107 <ol><p>the tint pixel wand.</p></ol>
6110 <ol><p>the opacity pixel wand.</p></ol>
6113 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6114 _8c.html" target="source" name="MagickTransformImage">MagickTransformImage</a></h2>
6115 <div class="doc-section">
6117 <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></ol>
6119 <p>The format of the MagickTransformImage method is:</p>
6122 MagickWand *MagickTransformImage(MagickWand *wand,const char *crop,
6123 const char *geometry)
6126 <p>A description of each parameter follows:</p></ol>
6129 <ol><p>the magick wand.</p></ol>
6132 <ol><p>A crop geometry string. This geometry defines a subregion of the image to crop.</p></ol>
6135 <ol><p>An image geometry string. This geometry defines the final size of the image.</p></ol>
6138 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6139 _8c.html" target="source" name="MagickTransformImageColorspace">MagickTransformImageColorspace</a></h2>
6140 <div class="doc-section">
6142 <p>MagickTransformImageColorspace() transform the image colorspace.</p></ol>
6144 <p>The format of the MagickTransformImageColorspace method is:</p>
6147 MagickBooleanType MagickTransformImageColorspace(MagickWand *wand,
6148 const ColorspaceType colorspace)
6151 <p>A description of each parameter follows:</p></ol>
6154 <ol><p>the magick wand.</p></ol>
6157 <ol><p>the image colorspace: UndefinedColorspace, RGBColorspace, GRAYColorspace, TransparentColorspace, OHTAColorspace, XYZColorspace, YCbCrColorspace, YCCColorspace, YIQColorspace, YPbPrColorspace, YPbPrColorspace, YUVColorspace, CMYKColorspace, sRGBColorspace, HSLColorspace, or HWBColorspace.</p></ol>
6160 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6161 _8c.html" target="source" name="MagickTransparentPaintImage">MagickTransparentPaintImage</a></h2>
6162 <div class="doc-section">
6164 <p>MagickTransparentPaintImage() changes any pixel that matches color with the color defined by fill.</p></ol>
6166 <p>The format of the MagickTransparentPaintImage method is:</p>
6169 MagickBooleanType MagickTransparentPaintImage(MagickWand *wand,
6170 const PixelWand *target,const double alpha,const double fuzz,
6171 const MagickBooleanType invert)
6174 <p>A description of each parameter follows:</p></ol>
6177 <ol><p>the magick wand.</p></ol>
6180 <ol><p>Change this target color to specified opacity value within the image.</p></ol>
6183 <ol><p>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.</p></ol>
6186 <ol><p>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.</p></ol>
6189 <ol><p>paint any pixel that does not match the target color.</p></ol>
6192 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6193 _8c.html" target="source" name="MagickTransposeImage">MagickTransposeImage</a></h2>
6194 <div class="doc-section">
6196 <p>MagickTransposeImage() creates a vertical mirror image by reflecting the pixels around the central x-axis while rotating them 90-degrees.</p></ol>
6198 <p>The format of the MagickTransposeImage method is:</p>
6201 MagickBooleanType MagickTransposeImage(MagickWand *wand)
6204 <p>A description of each parameter follows:</p></ol>
6207 <ol><p>the magick wand.</p></ol>
6210 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6211 _8c.html" target="source" name="MagickTransverseImage">MagickTransverseImage</a></h2>
6212 <div class="doc-section">
6214 <p>MagickTransverseImage() creates a horizontal mirror image by reflecting the pixels around the central y-axis while rotating them 270-degrees.</p></ol>
6216 <p>The format of the MagickTransverseImage method is:</p>
6219 MagickBooleanType MagickTransverseImage(MagickWand *wand)
6222 <p>A description of each parameter follows:</p></ol>
6225 <ol><p>the magick wand.</p></ol>
6228 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6229 _8c.html" target="source" name="MagickTrimImage">MagickTrimImage</a></h2>
6230 <div class="doc-section">
6232 <p>MagickTrimImage() remove edges that are the background color from the image.</p></ol>
6234 <p>The format of the MagickTrimImage method is:</p>
6237 MagickBooleanType MagickTrimImage(MagickWand *wand,const double fuzz)
6240 <p>A description of each parameter follows:</p></ol>
6243 <ol><p>the magick wand.</p></ol>
6246 <ol><p>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.</p></ol>
6249 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6250 _8c.html" target="source" name="MagickUniqueImageColors">MagickUniqueImageColors</a></h2>
6251 <div class="doc-section">
6253 <p>MagickUniqueImageColors() discards all but one of any pixel color.</p></ol>
6255 <p>The format of the MagickUniqueImageColors method is:</p>
6258 MagickBooleanType MagickUniqueImageColors(MagickWand *wand)
6261 <p>A description of each parameter follows:</p></ol>
6264 <ol><p>the magick wand.</p></ol>
6267 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6268 _8c.html" target="source" name="MagickUnsharpMaskImage">MagickUnsharpMaskImage</a></h2>
6269 <div class="doc-section">
6271 <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></ol>
6273 <p>The format of the MagickUnsharpMaskImage method is:</p>
6276 MagickBooleanType MagickUnsharpMaskImage(MagickWand *wand,
6277 const double radius,const double sigma,const double amount,
6278 const double threshold)
6279 MagickBooleanType MagickUnsharpMaskImageChannel(MagickWand *wand,
6280 const ChannelType channel,const double radius,const double sigma,
6281 const double amount,const double threshold)
6284 <p>A description of each parameter follows:</p></ol>
6287 <ol><p>the magick wand.</p></ol>
6290 <ol><p>the image channel(s).</p></ol>
6293 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
6296 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
6299 <ol><p>the percentage of the difference between the original and the blur image that is added back into the original.</p></ol>
6302 <ol><p>the threshold in pixels needed to apply the diffence amount.</p></ol>
6305 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6306 _8c.html" target="source" name="MagickVignetteImage">MagickVignetteImage</a></h2>
6307 <div class="doc-section">
6309 <p>MagickVignetteImage() softens the edges of the image in vignette style.</p></ol>
6311 <p>The format of the MagickVignetteImage method is:</p>
6314 MagickBooleanType MagickVignetteImage(MagickWand *wand,
6315 const double black_point,const double white_point,const ssize_t x,
6319 <p>A description of each parameter follows:</p></ol>
6322 <ol><p>the magick wand.</p></ol>
6324 <h5>black_point</h5>
6325 <ol><p>the black point.</p></ol>
6327 <h5>white_point</h5>
6328 <ol><p>the white point.</p></ol>
6331 <ol><p>Define the x and y ellipse offset.</p></ol>
6334 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6335 _8c.html" target="source" name="MagickWaveImage">MagickWaveImage</a></h2>
6336 <div class="doc-section">
6338 <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></ol>
6340 <p>The format of the MagickWaveImage method is:</p>
6343 MagickBooleanType MagickWaveImage(MagickWand *wand,const double amplitude,
6344 const double wave_length)
6347 <p>A description of each parameter follows:</p></ol>
6350 <ol><p>the magick wand.</p></ol>
6352 <h5>amplitude, wave_length</h5>
6353 <ol><p>Define the amplitude and wave length of the sine wave.</p></ol>
6356 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6357 _8c.html" target="source" name="MagickWhiteThresholdImage">MagickWhiteThresholdImage</a></h2>
6358 <div class="doc-section">
6360 <p>MagickWhiteThresholdImage() is like ThresholdImage() but force all pixels above the threshold into white while leaving all pixels below the threshold unchanged.</p></ol>
6362 <p>The format of the MagickWhiteThresholdImage method is:</p>
6365 MagickBooleanType MagickWhiteThresholdImage(MagickWand *wand,
6366 const PixelWand *threshold)
6369 <p>A description of each parameter follows:</p></ol>
6372 <ol><p>the magick wand.</p></ol>
6375 <ol><p>the pixel wand.</p></ol>
6378 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6379 _8c.html" target="source" name="MagickWriteImage">MagickWriteImage</a></h2>
6380 <div class="doc-section">
6382 <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></ol>
6384 <p>The format of the MagickWriteImage method is:</p>
6387 MagickBooleanType MagickWriteImage(MagickWand *wand,
6388 const char *filename)
6391 <p>A description of each parameter follows:</p></ol>
6394 <ol><p>the magick wand.</p></ol>
6397 <ol><p>the image filename.</p></ol>
6401 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6402 _8c.html" target="source" name="MagickWriteImageFile">MagickWriteImageFile</a></h2>
6403 <div class="doc-section">
6405 <p>MagickWriteImageFile() writes an image to an open file descriptor.</p></ol>
6407 <p>The format of the MagickWriteImageFile method is:</p>
6410 MagickBooleanType MagickWriteImageFile(MagickWand *wand,FILE *file)
6413 <p>A description of each parameter follows:</p></ol>
6416 <ol><p>the magick wand.</p></ol>
6419 <ol><p>the file descriptor.</p></ol>
6422 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6423 _8c.html" target="source" name="MagickWriteImages">MagickWriteImages</a></h2>
6424 <div class="doc-section">
6426 <p>MagickWriteImages() writes an image or image sequence.</p></ol>
6428 <p>The format of the MagickWriteImages method is:</p>
6431 MagickBooleanType MagickWriteImages(MagickWand *wand,
6432 const char *filename,const MagickBooleanType adjoin)
6435 <p>A description of each parameter follows:</p></ol>
6438 <ol><p>the magick wand.</p></ol>
6441 <ol><p>the image filename.</p></ol>
6444 <ol><p>join images into a single multi-image file.</p></ol>
6447 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6448 _8c.html" target="source" name="MagickWriteImagesFile">MagickWriteImagesFile</a></h2>
6449 <div class="doc-section">
6451 <p>MagickWriteImagesFile() writes an image sequence to an open file descriptor.</p></ol>
6453 <p>The format of the MagickWriteImagesFile method is:</p>
6456 MagickBooleanType MagickWriteImagesFile(MagickWand *wand,FILE *file)
6459 <p>A description of each parameter follows:</p></ol>
6462 <ol><p>the magick wand.</p></ol>
6465 <ol><p>the file descriptor.</p></ol>
6471 <div id="linkbar">
\r
6472 <span id="linkbar-west"> </span>
\r
6473 <span id="linkbar-center">
\r
6474 <a href="http://www.imagemagick.org/discourse-server/">Discourse Server</a> •
\r
6475 <a href="http://studio.webbyland.com/ImageMagick/MagickStudio/scripts/MagickStudio.cgi">Studio</a>
\r
6477 <span id="linkbar-east"> </span>
\r
6479 <div class="footer">
\r
6480 <span id="footer-west">© 1999-2010 ImageMagick Studio LLC</span>
\r
6481 <span id="footer-east"> <a href="../http://www.imagemagick.org/script/contact.php">Contact the Wizards</a></span>
\r
6483 <div style="clear: both; margin: 0; width: 100%; "></div>
\r