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 <title>ImageMagick: MagickWand, C API for ImageMagick: Image Methods</title/>
8 <meta http-equiv="Content-Language" content="en-US"/>
9 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
10 <meta http-equiv="Reply-to" content="magick-users@imagemagick.org"/>
11 <meta name="Application-name" content="ImageMagick"/>
12 <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."/>
13 <meta name="Application-url" content="http://www.imagemagick.org"/>
14 <meta name="Generator" content="PHP"/>
15 <meta name="Keywords" content="magickwc, api, for, imagemagick:, image, methods, ImageMagick, ImageMagic, MagickCore, MagickWand, PerlMagick, Magick++, RMagick, PythonMagick, JMagick, TclMagick, Image, Magick, Magic, Wand, ImageMagickObject, Swiss, Army, Knife, Image, Processing"/>
16 <meta name="Rating" content="GENERAL"/>
17 <meta name="Robots" content="INDEX, FOLLOW"/>
18 <meta name="Generator" content="ImageMagick Studio LLC"/>
19 <meta name="Author" content="ImageMagick Studio LLC"/>
20 <meta name="Revisit-after" content="2 DAYS"/>
21 <meta name="Resource-type" content="document"/>
22 <meta name="Copyright" content="Copyright (c) 1999-2010 ImageMagick Studio LLC"/>
23 <meta name="Distribution" content="Global"/>
24 <link rel="icon" href="../../images/wand.png" sizes="32x32"/>
25 <link rel="shortcut icon" href="../../images/wand.ico" type="images/x-icon"/>
26 <link rel="meta" type="application/rdf+xml" title="ICI" href="http://imagemagick.org/ici.rdf"/>
\r
27 <style type="text/css" media="all">
\r
28 @import url("../../www/magick.css");
\r
32 <body id="www-imagemagick-org">
\r
33 <div class="titlebar">
\r
34 <a href="../../index.html">
\r
35 <img src="../../images/script.png" alt="[ImageMagick]"
\r
36 style="width: 350px; height: 60px; margin: 28px auto; float: left;" /></a>
\r
37 <a href="http://www.networkredux.com">
\r
38 <img src="../../images/networkredux.png" alt="[sponsor]"
\r
39 style="margin: 45px auto; border: 0px; float: left;" /></a>
\r
40 <a href="http://www.imagemagick.org/discourse-server/">
\r
41 <img src="../../images/logo.jpg" alt=""
\r
42 style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
\r
43 <a href="../../index.html">
\r
44 <img src="../../images/sprite.jpg" alt=""
\r
45 style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
\r
48 <div class="westbar">
\r
51 <a title="About ImageMagick" href="../../index.html">About ImageMagick</a>
53 <div class="sep"></div>
\r
55 <a title="Binary Releases" href="../../www/binary-releases.html">Binary Releases</a>
58 <a title="Binary Release: Unix" href="../../www/binary-releases.html#unix">Unix</a>
61 <a title="Binary Release: MacOS X" href="../../www/binary-releases.html#macosx">Mac OS X</a>
64 <a title="Binary Release: Windows" href="../../www/binary-releases.html#windows">Windows</a>
66 <div class="sep"></div>
\r
68 <a title="Command-line Tools" href="../../www/command-line-tools.html">Command-line Tools</a>
71 <a title="Command-line Tools: Processing" href="../../www/command-line-processing.html">Processing</a>
74 <a title="Command-line Tools: Options" href="../../www/command-line-options.html">Options</a>
77 <a title="Command-line Tools: Usage" href="http://www.imagemagick.org/Usage/">Usage</a>
80 <a title="Program Interfaces" href="../../www/api.html">Program Interfaces</a>
83 <a title="Program Interface: MagickWand" href="../../www/magick-wand.html">MagickWand</a>
86 <a title="Program Interface: MagickCore" href="../../www/magick-core.html">MagickCore</a>
89 <a title="Program Interface: PerlMagick" href="../../www/perl-magick.html">PerlMagick</a>
92 <a title="Program Interface: Magick++" href="../../Magick++/">Magick++</a>
94 <div class="sep"></div>
\r
96 <a title="Install from Source" href="../../www/install-source.html">Install from Source</a>
99 <a title="Install from Source: Unix" href="../../www/install-source.html#unix">Unix</a>
102 <a title="Install from Source: Windows" href="../../www/install-source.html#windows">Windows</a>
105 <a title="Resources" href="../../www/resources.html">Resources</a>
108 <a title="Architecture" href="../../www/architecture.html">Architecture</a>
111 <a title="Download" href="../../www/download.html">Download</a>
113 <div class="sep"></div>
\r
115 <a title="Search" href="../http://www.imagemagick.org/script/search.php">Search</a>
117 <div class="sep"></div>
\r
119 <a title="Site Map"href="../../www/sitemap.html">Site Map</a>
122 <a title="Site Map: Links"href="../../www/links.html">Links</a>
124 <div class="sep"></div>
\r
126 <a title="Sponsors" href="../../www/sponsors.html">Sponsors:</a>
128 <div class="sponsbox">
129 <div class="sponsor">
130 <a title="Sponsor: Free Catalogs" href="http://www.who-sells-it.com/">Free Catalogs</a><!-- 20120801000600 -->
132 <div class="sponsor">
133 <a title="Sponsor: Druckerei" href="http://print24.com/de/">Druckerei</a><!-- 201110010720 -->
135 <div class="sponsor">
136 <a title="Sponsor: Image Converter" href="http://www.batchphoto.com">Image Converter</a><!-- 201103010900 Bits Coffee-->
138 <div class="sponsor">
139 <a title="Sponsor: Flyer drucken" href="http://www.online-druck.biz">Flyer drucken</a><!-- 201109010900 Floeter-->
141 <div class="sponsor">
142 <a title="Sponsor: Webdesign Agentur" href="http://www.ventzke-partner.de">Webdesign Agentur</a><!-- 201101010480 invendio.de-->
144 <div class="sponsor">
145 <a title="Sponsor: LVM Versicherung" href="http://www.neu-reich.de">LVM Versicherung</a><!-- 201101010480 -->
147 <div class="sponsor">
148 <a title="Sponsor: Diamonds are a Girls Best Friend" href="http://www.schmuck.org">Diamonds are a Girls Best Friend</a><!-- 201101010600 Peterssen-->
150 <div class="sponsor">
151 <a title="Sponsor: Druckerei Online" href="http://www.allesdruck.de">Druckerei Online</a><!-- 201012011200 allesdruck.de-->
157 <div class="eastbar">
\r
158 <script type="text/javascript">
\r
160 google_ad_client = "pub-3129977114552745";
\r
161 google_ad_slot = "0574824969";
\r
162 google_ad_width = 160;
\r
163 google_ad_height = 600;
\r
166 <script type="text/javascript"
\r
167 src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
\r
173 <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>
175 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
176 _8c.html" target="source" name="GetImageFromMagickWand">GetImageFromMagickWand</a></h2>
177 <div class="doc-section">
179 <p>GetImageFromMagickWand() returns the current image from the magick wand.</p></ol>
181 <p>The format of the GetImageFromMagickWand method is:</p>
184 Image *GetImageFromMagickWand(const MagickWand *wand)
187 <p>A description of each parameter follows:</p></ol>
190 <ol><p>the magick wand.</p></ol>
193 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
194 _8c.html" target="source" name="MagickAdaptiveBlurImage">MagickAdaptiveBlurImage</a></h2>
195 <div class="doc-section">
197 <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>
199 <p>The format of the MagickAdaptiveBlurImage method is:</p>
202 MagickBooleanType MagickAdaptiveBlurImage(MagickWand *wand,
203 const double radius,const double sigma)
204 MagickBooleanType MagickAdaptiveBlurImageChannel(MagickWand *wand,
205 const ChannelType channel,const double radius,const double sigma)
208 <p>A description of each parameter follows:</p></ol>
211 <ol><p>the magick wand.</p></ol>
214 <ol><p>the image channel(s).</p></ol>
217 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
220 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
223 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
224 _8c.html" target="source" name="MagickAdaptiveResizeImage">MagickAdaptiveResizeImage</a></h2>
225 <div class="doc-section">
227 <p>MagickAdaptiveResizeImage() adaptively resize image with data dependent triangulation.</p></ol>
229 <p>MagickBooleanType MagickAdaptiveResizeImage(MagickWand *wand, const size_t columns,const size_t rows)</p></ol>
231 <p>A description of each parameter follows:</p></ol>
234 <ol><p>the magick wand.</p></ol>
237 <ol><p>the number of columns in the scaled image.</p></ol>
240 <ol><p>the number of rows in the scaled image.</p></ol>
243 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
244 _8c.html" target="source" name="MagickAdaptiveSharpenImage">MagickAdaptiveSharpenImage</a></h2>
245 <div class="doc-section">
247 <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>
249 <p>The format of the MagickAdaptiveSharpenImage method is:</p>
252 MagickBooleanType MagickAdaptiveSharpenImage(MagickWand *wand,
253 const double radius,const double sigma)
254 MagickBooleanType MagickAdaptiveSharpenImageChannel(MagickWand *wand,
255 const ChannelType channel,const double radius,const double sigma)
258 <p>A description of each parameter follows:</p></ol>
261 <ol><p>the magick wand.</p></ol>
264 <ol><p>the image channel(s).</p></ol>
267 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
270 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
273 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
274 _8c.html" target="source" name="MagickAdaptiveThresholdImage">MagickAdaptiveThresholdImage</a></h2>
275 <div class="doc-section">
277 <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>
279 <p>The format of the AdaptiveThresholdImage method is:</p>
282 MagickBooleanType MagickAdaptiveThresholdImage(MagickWand *wand,
283 const size_t width,const size_t height,const ssize_t offset)
286 <p>A description of each parameter follows:</p></ol>
289 <ol><p>the magick wand.</p></ol>
292 <ol><p>the width of the local neighborhood.</p></ol>
295 <ol><p>the height of the local neighborhood.</p></ol>
298 <ol><p>the mean offset.</p></ol>
301 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
302 _8c.html" target="source" name="MagickAddImage">MagickAddImage</a></h2>
303 <div class="doc-section">
305 <p>MagickAddImage() adds the specified images at the current image location.</p></ol>
307 <p>The format of the MagickAddImage method is:</p>
310 MagickBooleanType MagickAddImage(MagickWand *wand,
311 const MagickWand *add_wand)
314 <p>A description of each parameter follows:</p></ol>
317 <ol><p>the magick wand.</p></ol>
320 <ol><p>A wand that contains images to add at the current image location.</p></ol>
323 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
324 _8c.html" target="source" name="MagickAddNoiseImage">MagickAddNoiseImage</a></h2>
325 <div class="doc-section">
327 <p>MagickAddNoiseImage() adds random noise to the image.</p></ol>
329 <p>The format of the MagickAddNoiseImage method is:</p>
332 MagickBooleanType MagickAddNoiseImage(MagickWand *wand,
333 const NoiseType noise_type)
334 MagickBooleanType MagickAddNoiseImageChannel(MagickWand *wand,
335 const ChannelType channel,const NoiseType noise_type)
338 <p>A description of each parameter follows:</p></ol>
341 <ol><p>the magick wand.</p></ol>
344 <ol><p>the image channel(s).</p></ol>
347 <ol><p>The type of noise: Uniform, Gaussian, Multiplicative, Impulse, Laplacian, or Poisson.</p></ol>
350 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
351 _8c.html" target="source" name="MagickAffineTransformImage">MagickAffineTransformImage</a></h2>
352 <div class="doc-section">
354 <p>MagickAffineTransformImage() transforms an image as dictated by the affine matrix of the drawing wand.</p></ol>
356 <p>The format of the MagickAffineTransformImage method is:</p>
359 MagickBooleanType MagickAffineTransformImage(MagickWand *wand,
360 const DrawingWand *drawing_wand)
363 <p>A description of each parameter follows:</p></ol>
366 <ol><p>the magick wand.</p></ol>
368 <h5>drawing_wand</h5>
369 <ol><p>the draw wand.</p></ol>
372 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
373 _8c.html" target="source" name="MagickAnnotateImage">MagickAnnotateImage</a></h2>
374 <div class="doc-section">
376 <p>MagickAnnotateImage() annotates an image with text.</p></ol>
378 <p>The format of the MagickAnnotateImage method is:</p>
381 MagickBooleanType MagickAnnotateImage(MagickWand *wand,
382 const DrawingWand *drawing_wand,const double x,const double y,
383 const double angle,const char *text)
386 <p>A description of each parameter follows:</p></ol>
389 <ol><p>the magick wand.</p></ol>
391 <h5>drawing_wand</h5>
392 <ol><p>the draw wand.</p></ol>
395 <ol><p>x ordinate to left of text</p></ol>
398 <ol><p>y ordinate to text baseline</p></ol>
401 <ol><p>rotate text relative to this angle.</p></ol>
404 <ol><p>text to draw</p></ol>
407 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
408 _8c.html" target="source" name="MagickAnimateImages">MagickAnimateImages</a></h2>
409 <div class="doc-section">
411 <p>MagickAnimateImages() animates an image or image sequence.</p></ol>
413 <p>The format of the MagickAnimateImages method is:</p>
416 MagickBooleanType MagickAnimateImages(MagickWand *wand,
417 const char *server_name)
420 <p>A description of each parameter follows:</p></ol>
423 <ol><p>the magick wand.</p></ol>
426 <ol><p>the X server name.</p></ol>
429 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
430 _8c.html" target="source" name="MagickAppendImages">MagickAppendImages</a></h2>
431 <div class="doc-section">
433 <p>MagickAppendImages() append a set of images.</p></ol>
435 <p>The format of the MagickAppendImages method is:</p>
438 MagickWand *MagickAppendImages(MagickWand *wand,
439 const MagickBooleanType stack)
442 <p>A description of each parameter follows:</p></ol>
445 <ol><p>the magick wand.</p></ol>
448 <ol><p>By default, images are stacked left-to-right. Set stack to MagickTrue to stack them top-to-bottom.</p></ol>
451 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
452 _8c.html" target="source" name="MagickAutoGammaImage">MagickAutoGammaImage</a></h2>
453 <div class="doc-section">
455 <p>MagickAutoGammaImage() extracts the 'mean' from the image and adjust the image to try make set its gamma appropriatally.</p></ol>
457 <p>The format of the MagickAutoGammaImage method is:</p>
460 MagickBooleanType MagickAutoGammaImage(MagickWand *wand)
461 MagickBooleanType MagickAutoGammaImageChannel(MagickWand *wand,
462 const ChannelType channel)
465 <p>A description of each parameter follows:</p></ol>
468 <ol><p>the magick wand.</p></ol>
471 <ol><p>the image channel(s).</p></ol>
474 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
475 _8c.html" target="source" name="MagickAutoLevelImage">MagickAutoLevelImage</a></h2>
476 <div class="doc-section">
478 <p>MagickAutoLevelImage() adjusts the levels of a particular image channel by scaling the minimum and maximum values to the full quantum range.</p></ol>
480 <p>The format of the MagickAutoLevelImage method is:</p>
483 MagickBooleanType MagickAutoLevelImage(MagickWand *wand)
484 MagickBooleanType MagickAutoLevelImageChannel(MagickWand *wand,
485 const ChannelType channel)
488 <p>A description of each parameter follows:</p></ol>
491 <ol><p>the magick wand.</p></ol>
494 <ol><p>the image channel(s).</p></ol>
497 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
498 _8c.html" target="source" name="MagickBlackThresholdImage">MagickBlackThresholdImage</a></h2>
499 <div class="doc-section">
501 <p>MagickBlackThresholdImage() is like MagickThresholdImage() but forces all pixels below the threshold into black while leaving all pixels above the threshold unchanged.</p></ol>
503 <p>The format of the MagickBlackThresholdImage method is:</p>
506 MagickBooleanType MagickBlackThresholdImage(MagickWand *wand,
507 const PixelWand *threshold)
510 <p>A description of each parameter follows:</p></ol>
513 <ol><p>the magick wand.</p></ol>
516 <ol><p>the pixel wand.</p></ol>
519 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
520 _8c.html" target="source" name="MagickBlueShiftImage">MagickBlueShiftImage</a></h2>
521 <div class="doc-section">
523 <p>MagickBlueShiftImage() mutes the colors of the image to simulate a scene at nighttime in the moonlight.</p></ol>
525 <p>The format of the MagickBlueShiftImage method is:</p>
528 MagickBooleanType MagickBlueShiftImage(MagickWand *wand,
532 <p>A description of each parameter follows:</p></ol>
535 <ol><p>the magick wand.</p></ol>
538 <ol><p>the blue shift factor (default 1.5)</p></ol>
541 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
542 _8c.html" target="source" name="MagickBlurImage">MagickBlurImage</a></h2>
543 <div class="doc-section">
545 <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>
547 <p>The format of the MagickBlurImage method is:</p>
550 MagickBooleanType MagickBlurImage(MagickWand *wand,const double radius,
552 MagickBooleanType MagickBlurImageChannel(MagickWand *wand,
553 const ChannelType channel,const double radius,const double sigma)
556 <p>A description of each parameter follows:</p></ol>
559 <ol><p>the magick wand.</p></ol>
562 <ol><p>the image channel(s).</p></ol>
565 <ol><p>the radius of the , in pixels, not counting the center pixel.</p></ol>
568 <ol><p>the standard deviation of the , in pixels.</p></ol>
571 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
572 _8c.html" target="source" name="MagickBorderImage">MagickBorderImage</a></h2>
573 <div class="doc-section">
575 <p>MagickBorderImage() surrounds the image with a border of the color defined by the bordercolor pixel wand.</p></ol>
577 <p>The format of the MagickBorderImage method is:</p>
580 MagickBooleanType MagickBorderImage(MagickWand *wand,
581 const PixelWand *bordercolor,const size_t width,
585 <p>A description of each parameter follows:</p></ol>
588 <ol><p>the magick wand.</p></ol>
591 <ol><p>the border color pixel wand.</p></ol>
594 <ol><p>the border width.</p></ol>
597 <ol><p>the border height.</p></ol>
600 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
601 _8c.html" target="source" name="Use MagickBrightnessContrastImage">Use MagickBrightnessContrastImage</a></h2>
602 <div class="doc-section">
604 <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>
607 <p>The format of the MagickBrightnessContrastImage method is:</p>
610 MagickBooleanType MagickBrightnessContrastImage(MagickWand *wand,
611 const double brightness,const double contrast)
612 MagickBooleanType MagickBrightnessContrastImageChannel(MagickWand *wand,
613 const ChannelType channel,const double brightness,
614 const double contrast)
617 <p>A description of each parameter follows:</p></ol>
620 <ol><p>the magick wand.</p></ol>
623 <ol><p>the image channel(s).</p></ol>
626 <ol><p>the brightness percent (-100 .. 100).</p></ol>
629 <ol><p>the contrast percent (-100 .. 100).</p></ol>
632 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
633 _8c.html" target="source" name="MagickCharcoalImage">MagickCharcoalImage</a></h2>
634 <div class="doc-section">
636 <p>MagickCharcoalImage() simulates a charcoal drawing.</p></ol>
638 <p>The format of the MagickCharcoalImage method is:</p>
641 MagickBooleanType MagickCharcoalImage(MagickWand *wand,
642 const double radius,const double sigma)
645 <p>A description of each parameter follows:</p></ol>
648 <ol><p>the magick wand.</p></ol>
651 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
654 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
657 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
658 _8c.html" target="source" name="MagickChopImage">MagickChopImage</a></h2>
659 <div class="doc-section">
661 <p>MagickChopImage() removes a region of an image and collapses the image to occupy the removed portion</p></ol>
663 <p>The format of the MagickChopImage method is:</p>
666 MagickBooleanType MagickChopImage(MagickWand *wand,
667 const size_t width,const size_t height,const ssize_t x,
671 <p>A description of each parameter follows:</p></ol>
674 <ol><p>the magick wand.</p></ol>
677 <ol><p>the region width.</p></ol>
680 <ol><p>the region height.</p></ol>
683 <ol><p>the region x offset.</p></ol>
686 <ol><p>the region y offset.</p></ol>
690 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
691 _8c.html" target="source" name="MagickClampImage">MagickClampImage</a></h2>
692 <div class="doc-section">
694 <p>MagickClampImage() restricts the color range from 0 to the quantum depth.</p></ol>
696 <p>The format of the MagickClampImage method is:</p>
699 MagickBooleanType MagickClampImage(MagickWand *wand)
700 MagickBooleanType MagickClampImageChannel(MagickWand *wand,
701 const ChannelType channel)
704 <p>A description of each parameter follows:</p></ol>
707 <ol><p>the magick wand.</p></ol>
710 <ol><p>the channel.</p></ol>
713 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
714 _8c.html" target="source" name="MagickClipImage">MagickClipImage</a></h2>
715 <div class="doc-section">
717 <p>MagickClipImage() clips along the first path from the 8BIM profile, if present.</p></ol>
719 <p>The format of the MagickClipImage method is:</p>
722 MagickBooleanType MagickClipImage(MagickWand *wand)
725 <p>A description of each parameter follows:</p></ol>
728 <ol><p>the magick wand.</p></ol>
731 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
732 _8c.html" target="source" name="MagickClipImagePath">MagickClipImagePath</a></h2>
733 <div class="doc-section">
735 <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>
737 <p>The format of the MagickClipImagePath method is:</p>
740 MagickBooleanType MagickClipImagePath(MagickWand *wand,
741 const char *pathname,const MagickBooleanType inside)
744 <p>A description of each parameter follows:</p></ol>
747 <ol><p>the magick wand.</p></ol>
750 <ol><p>name of clipping path resource. If name is preceded by #, use clipping path numbered by name.</p></ol>
753 <ol><p>if non-zero, later operations take effect inside clipping path. Otherwise later operations take effect outside clipping path.</p></ol>
756 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
757 _8c.html" target="source" name="MagickClutImage">MagickClutImage</a></h2>
758 <div class="doc-section">
760 <p>MagickClutImage() replaces colors in the image from a color lookup table.</p></ol>
762 <p>The format of the MagickClutImage method is:</p>
765 MagickBooleanType MagickClutImage(MagickWand *wand,
766 const MagickWand *clut_wand)
767 MagickBooleanType MagickClutImageChannel(MagickWand *wand,
768 const ChannelType channel,const MagickWand *clut_wand)
771 <p>A description of each parameter follows:</p></ol>
774 <ol><p>the magick wand.</p></ol>
777 <ol><p>the clut image.</p></ol>
780 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
781 _8c.html" target="source" name="MagickCoalesceImages">MagickCoalesceImages</a></h2>
782 <div class="doc-section">
784 <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>
786 <p>The format of the MagickCoalesceImages method is:</p>
789 MagickWand *MagickCoalesceImages(MagickWand *wand)
792 <p>A description of each parameter follows:</p></ol>
795 <ol><p>the magick wand.</p></ol>
798 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
799 _8c.html" target="source" name="MagickColorDecisionListImage">MagickColorDecisionListImage</a></h2>
800 <div class="doc-section">
802 <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>
805 <ColorCorrectionCollection xmlns="urn:ASC:CDL:v1.2">
806 <ColorCorrection id="cc03345">
808 <Slope> 0.9 1.2 0.5 </Slope>
809 <Offset> 0.4 -0.5 0.6 </Offset>
810 <Power> 1.0 0.8 1.5 </Power>
813 <Saturation> 0.85 </Saturation>
816 </ColorCorrectionCollection>
819 <p>which includes the offset, slope, and power for each of the RGB channels as well as the saturation.</p></ol>
821 <p>The format of the MagickColorDecisionListImage method is:</p>
824 MagickBooleanType MagickColorDecisionListImage(MagickWand *wand,
828 <p>A description of each parameter follows:</p></ol>
831 <ol><p>the magick wand.</p></ol>
833 <h5>color_correction_collection</h5>
834 <ol><p>the color correction collection in XML.</p></ol>
837 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
838 _8c.html" target="source" name="MagickColorizeImage">MagickColorizeImage</a></h2>
839 <div class="doc-section">
841 <p>MagickColorizeImage() blends the fill color with each pixel in the image.</p></ol>
843 <p>The format of the MagickColorizeImage method is:</p>
846 MagickBooleanType MagickColorizeImage(MagickWand *wand,
847 const PixelWand *colorize,const PixelWand *opacity)
850 <p>A description of each parameter follows:</p></ol>
853 <ol><p>the magick wand.</p></ol>
856 <ol><p>the colorize pixel wand.</p></ol>
859 <ol><p>the opacity pixel wand.</p></ol>
862 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
863 _8c.html" target="source" name="MagickColorMatrixImage">MagickColorMatrixImage</a></h2>
864 <div class="doc-section">
866 <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>
868 <p>The format of the MagickColorMatrixImage method is:</p>
871 MagickBooleanType MagickColorMatrixImage(MagickWand *wand,
872 const KernelInfo *color_matrix)
875 <p>A description of each parameter follows:</p></ol>
878 <ol><p>the magick wand.</p></ol>
880 <h5>color_matrix</h5>
881 <ol><p>the color matrix.</p></ol>
884 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
885 _8c.html" target="source" name="MagickCombineImages">MagickCombineImages</a></h2>
886 <div class="doc-section">
888 <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>
890 <p>The format of the MagickCombineImages method is:</p>
893 MagickWand *MagickCombineImages(MagickWand *wand,
894 const ChannelType channel)
897 <p>A description of each parameter follows:</p></ol>
900 <ol><p>the magick wand.</p></ol>
903 <ol><p>the channel.</p></ol>
906 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
907 _8c.html" target="source" name="MagickCommentImage">MagickCommentImage</a></h2>
908 <div class="doc-section">
910 <p>MagickCommentImage() adds a comment to your image.</p></ol>
912 <p>The format of the MagickCommentImage method is:</p>
915 MagickBooleanType MagickCommentImage(MagickWand *wand,
919 <p>A description of each parameter follows:</p></ol>
922 <ol><p>the magick wand.</p></ol>
925 <ol><p>the image comment.</p></ol>
928 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
929 _8c.html" target="source" name="MagickCompareImageChannels">MagickCompareImageChannels</a></h2>
930 <div class="doc-section">
932 <p>MagickCompareImageChannels() compares one or more image channels of an image to a reconstructed image and returns the difference image.</p></ol>
934 <p>The format of the MagickCompareImageChannels method is:</p>
937 MagickWand *MagickCompareImageChannels(MagickWand *wand,
938 const MagickWand *reference,const ChannelType channel,
939 const MetricType metric,double *distortion)
942 <p>A description of each parameter follows:</p></ol>
945 <ol><p>the magick wand.</p></ol>
948 <ol><p>the reference wand.</p></ol>
951 <ol><p>the channel.</p></ol>
954 <ol><p>the metric.</p></ol>
957 <ol><p>the computed distortion between the images.</p></ol>
960 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
961 _8c.html" target="source" name="MagickCompareImageLayers">MagickCompareImageLayers</a></h2>
962 <div class="doc-section">
964 <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>
966 <p>The format of the MagickCompareImageLayers method is:</p>
969 MagickWand *MagickCompareImageLayers(MagickWand *wand,
970 const ImageLayerMethod method)
973 <p>A description of each parameter follows:</p></ol>
976 <ol><p>the magick wand.</p></ol>
979 <ol><p>the compare method.</p></ol>
982 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
983 _8c.html" target="source" name="MagickCompareImages">MagickCompareImages</a></h2>
984 <div class="doc-section">
986 <p>MagickCompareImages() compares an image to a reconstructed image and returns the specified difference image.</p></ol>
988 <p>The format of the MagickCompareImages method is:</p>
991 MagickWand *MagickCompareImages(MagickWand *wand,
992 const MagickWand *reference,const MetricType metric,
996 <p>A description of each parameter follows:</p></ol>
999 <ol><p>the magick wand.</p></ol>
1002 <ol><p>the reference wand.</p></ol>
1005 <ol><p>the metric.</p></ol>
1008 <ol><p>the computed distortion between the images.</p></ol>
1011 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1012 _8c.html" target="source" name="MagickCompositeImage">MagickCompositeImage</a></h2>
1013 <div class="doc-section">
1015 <p>MagickCompositeImage() composite one image onto another at the specified offset.</p></ol>
1017 <p>The format of the MagickCompositeImage method is:</p>
1020 MagickBooleanType MagickCompositeImage(MagickWand *wand,
1021 const MagickWand *composite_wand,const CompositeOperator compose,
1022 const ssize_t x,const ssize_t y)
1023 MagickBooleanType MagickCompositeImageChannel(MagickWand *wand,
1024 const ChannelType channel,const MagickWand *composite_wand,
1025 const CompositeOperator compose,const ssize_t x,const ssize_t y)
1028 <p>A description of each parameter follows:</p></ol>
1031 <ol><p>the magick wand.</p></ol>
1033 <h5>composite_image</h5>
1034 <ol><p>the composite image.</p></ol>
1037 <ol><p>This operator affects how the composite is applied to the image. The default is Over. Choose from these operators:</p>
1040 OverCompositeOp InCompositeOp OutCompositeOp
1041 AtopCompositeOp XorCompositeOp PlusCompositeOp
1042 MinusCompositeOp AddCompositeOp SubtractCompositeOp
1043 DifferenceCompositeOp BumpmapCompositeOp CopyCompositeOp
1048 <ol><p>the column offset of the composited image.</p></ol>
1051 <ol><p>the row offset of the composited image.</p></ol>
1054 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1055 _8c.html" target="source" name="MagickContrastImage">MagickContrastImage</a></h2>
1056 <div class="doc-section">
1058 <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>
1060 <p>The format of the MagickContrastImage method is:</p>
1063 MagickBooleanType MagickContrastImage(MagickWand *wand,
1064 const MagickBooleanType sharpen)
1067 <p>A description of each parameter follows:</p></ol>
1070 <ol><p>the magick wand.</p></ol>
1073 <ol><p>Increase or decrease image contrast.</p></ol>
1077 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1078 _8c.html" target="source" name="MagickContrastStretchImage">MagickContrastStretchImage</a></h2>
1079 <div class="doc-section">
1081 <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>
1083 <p>The format of the MagickContrastStretchImage method is:</p>
1086 MagickBooleanType MagickContrastStretchImage(MagickWand *wand,
1087 const double black_point,const double white_point)
1088 MagickBooleanType MagickContrastStretchImageChannel(MagickWand *wand,
1089 const ChannelType channel,const double black_point,
1090 const double white_point)
1093 <p>A description of each parameter follows:</p></ol>
1096 <ol><p>the magick wand.</p></ol>
1099 <ol><p>the image channel(s).</p></ol>
1101 <h5>black_point</h5>
1102 <ol><p>the black point.</p></ol>
1104 <h5>white_point</h5>
1105 <ol><p>the white point.</p></ol>
1108 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1109 _8c.html" target="source" name="MagickConvolveImage">MagickConvolveImage</a></h2>
1110 <div class="doc-section">
1112 <p>MagickConvolveImage() applies a custom convolution kernel to the image.</p></ol>
1114 <p>The format of the MagickConvolveImage method is:</p>
1117 MagickBooleanType MagickConvolveImage(MagickWand *wand,
1118 const size_t order,const double *kernel)
1119 MagickBooleanType MagickConvolveImageChannel(MagickWand *wand,
1120 const ChannelType channel,const size_t order,
1121 const double *kernel)
1124 <p>A description of each parameter follows:</p></ol>
1127 <ol><p>the magick wand.</p></ol>
1130 <ol><p>the image channel(s).</p></ol>
1133 <ol><p>the number of columns and rows in the filter kernel.</p></ol>
1136 <ol><p>An array of doubles representing the convolution kernel.</p></ol>
1139 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1140 _8c.html" target="source" name="MagickCropImage">MagickCropImage</a></h2>
1141 <div class="doc-section">
1143 <p>MagickCropImage() extracts a region of the image.</p></ol>
1145 <p>The format of the MagickCropImage method is:</p>
1148 MagickBooleanType MagickCropImage(MagickWand *wand,
1149 const size_t width,const size_t height,const ssize_t x,const ssize_t y)
1152 <p>A description of each parameter follows:</p></ol>
1155 <ol><p>the magick wand.</p></ol>
1158 <ol><p>the region width.</p></ol>
1161 <ol><p>the region height.</p></ol>
1164 <ol><p>the region x-offset.</p></ol>
1167 <ol><p>the region y-offset.</p></ol>
1170 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1171 _8c.html" target="source" name="MagickCycleColormapImage">MagickCycleColormapImage</a></h2>
1172 <div class="doc-section">
1174 <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>
1176 <p>The format of the MagickCycleColormapImage method is:</p>
1179 MagickBooleanType MagickCycleColormapImage(MagickWand *wand,
1180 const ssize_t displace)
1183 <p>A description of each parameter follows:</p></ol>
1186 <ol><p>the magick wand.</p></ol>
1189 <ol><p>the pixel wand.</p></ol>
1192 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1193 _8c.html" target="source" name="MagickConstituteImage">MagickConstituteImage</a></h2>
1194 <div class="doc-section">
1196 <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>
1198 <p>MagickConstituteImage(wand,640,640,"RGB",CharPixel,pixels);</p></ol>
1200 <p>The format of the MagickConstituteImage method is:</p>
1203 MagickBooleanType MagickConstituteImage(MagickWand *wand,
1204 const size_t columns,const size_t rows,const char *map,
1205 const StorageType storage,void *pixels)
1208 <p>A description of each parameter follows:</p></ol>
1211 <ol><p>the magick wand.</p></ol>
1214 <ol><p>width in pixels of the image.</p></ol>
1217 <ol><p>height in pixels of the image.</p></ol>
1220 <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>
1223 <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>
1226 <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>
1230 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1231 _8c.html" target="source" name="MagickDecipherImage">MagickDecipherImage</a></h2>
1232 <div class="doc-section">
1234 <p>MagickDecipherImage() converts cipher pixels to plain pixels.</p></ol>
1236 <p>The format of the MagickDecipherImage method is:</p>
1239 MagickBooleanType MagickDecipherImage(MagickWand *wand,
1240 const char *passphrase)
1243 <p>A description of each parameter follows:</p></ol>
1246 <ol><p>the magick wand.</p></ol>
1249 <ol><p>the passphrase.</p></ol>
1252 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1253 _8c.html" target="source" name="MagickDeconstructImages">MagickDeconstructImages</a></h2>
1254 <div class="doc-section">
1256 <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>
1258 <p>The format of the MagickDeconstructImages method is:</p>
1261 MagickWand *MagickDeconstructImages(MagickWand *wand)
1264 <p>A description of each parameter follows:</p></ol>
1267 <ol><p>the magick wand.</p></ol>
1270 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1271 _8c.html" target="source" name="MagickDeskewImage">MagickDeskewImage</a></h2>
1272 <div class="doc-section">
1274 <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>
1276 <p>The format of the MagickDeskewImage method is:</p>
1279 MagickBooleanType MagickDeskewImage(MagickWand *wand,
1280 const double threshold)
1283 <p>A description of each parameter follows:</p></ol>
1286 <ol><p>the magick wand.</p></ol>
1289 <ol><p>separate background from foreground.</p></ol>
1292 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1293 _8c.html" target="source" name="MagickDespeckleImage">MagickDespeckleImage</a></h2>
1294 <div class="doc-section">
1296 <p>MagickDespeckleImage() reduces the speckle noise in an image while perserving the edges of the original image.</p></ol>
1298 <p>The format of the MagickDespeckleImage method is:</p>
1301 MagickBooleanType MagickDespeckleImage(MagickWand *wand)
1304 <p>A description of each parameter follows:</p></ol>
1307 <ol><p>the magick wand.</p></ol>
1310 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1311 _8c.html" target="source" name="MagickDestroyImage">MagickDestroyImage</a></h2>
1312 <div class="doc-section">
1314 <p>MagickDestroyImage() dereferences an image, deallocating memory associated with the image if the reference count becomes zero.</p></ol>
1316 <p>The format of the MagickDestroyImage method is:</p>
1319 Image *MagickDestroyImage(Image *image)
1322 <p>A description of each parameter follows:</p></ol>
1325 <ol><p>the image.</p></ol>
1328 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1329 _8c.html" target="source" name="MagickDisplayImage">MagickDisplayImage</a></h2>
1330 <div class="doc-section">
1332 <p>MagickDisplayImage() displays an image.</p></ol>
1334 <p>The format of the MagickDisplayImage method is:</p>
1337 MagickBooleanType MagickDisplayImage(MagickWand *wand,
1338 const char *server_name)
1341 <p>A description of each parameter follows:</p></ol>
1344 <ol><p>the magick wand.</p></ol>
1346 <h5>server_name</h5>
1347 <ol><p>the X server name.</p></ol>
1350 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1351 _8c.html" target="source" name="MagickDisplayImages">MagickDisplayImages</a></h2>
1352 <div class="doc-section">
1354 <p>MagickDisplayImages() displays an image or image sequence.</p></ol>
1356 <p>The format of the MagickDisplayImages method is:</p>
1359 MagickBooleanType MagickDisplayImages(MagickWand *wand,
1360 const char *server_name)
1363 <p>A description of each parameter follows:</p></ol>
1366 <ol><p>the magick wand.</p></ol>
1368 <h5>server_name</h5>
1369 <ol><p>the X server name.</p></ol>
1372 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1373 _8c.html" target="source" name="MagickDistortImage">MagickDistortImage</a></h2>
1374 <div class="doc-section">
1376 <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>
1378 <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>
1380 <p>The format of the MagickDistortImage method is:</p>
1383 MagickBooleanType MagickDistortImage(MagickWand *wand,
1384 const DistortImageMethod method,const size_t number_arguments,
1385 const double *arguments,const MagickBooleanType bestfit)
1388 <p>A description of each parameter follows:</p></ol>
1391 <ol><p>the image to be distorted.</p></ol>
1394 <ol><p>the method of image distortion.</p></ol>
1396 <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>
1398 <p>Bilinear has no simple inverse mapping so it does not allow 'bestfit' style of image distortion.</p></ol>
1400 <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>
1402 <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>
1404 <h5>number_arguments</h5>
1405 <ol><p>the number of arguments given for this distortion method.</p></ol>
1408 <ol><p>the arguments for this distortion method.</p></ol>
1411 <ol><p>Attempt to resize destination to fit distorted source.</p></ol>
1414 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1415 _8c.html" target="source" name="MagickDrawImage">MagickDrawImage</a></h2>
1416 <div class="doc-section">
1418 <p>MagickDrawImage() renders the drawing wand on the current image.</p></ol>
1420 <p>The format of the MagickDrawImage method is:</p>
1423 MagickBooleanType MagickDrawImage(MagickWand *wand,
1424 const DrawingWand *drawing_wand)
1427 <p>A description of each parameter follows:</p></ol>
1430 <ol><p>the magick wand.</p></ol>
1432 <h5>drawing_wand</h5>
1433 <ol><p>the draw wand.</p></ol>
1436 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1437 _8c.html" target="source" name="MagickEdgeImage">MagickEdgeImage</a></h2>
1438 <div class="doc-section">
1440 <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>
1442 <p>The format of the MagickEdgeImage method is:</p>
1445 MagickBooleanType MagickEdgeImage(MagickWand *wand,const double radius)
1448 <p>A description of each parameter follows:</p></ol>
1451 <ol><p>the magick wand.</p></ol>
1454 <ol><p>the radius of the pixel neighborhood.</p></ol>
1457 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1458 _8c.html" target="source" name="MagickEmbossImage">MagickEmbossImage</a></h2>
1459 <div class="doc-section">
1461 <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>
1463 <p>The format of the MagickEmbossImage method is:</p>
1466 MagickBooleanType MagickEmbossImage(MagickWand *wand,const double radius,
1470 <p>A description of each parameter follows:</p></ol>
1473 <ol><p>the magick wand.</p></ol>
1476 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
1479 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
1482 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1483 _8c.html" target="source" name="MagickEncipherImage">MagickEncipherImage</a></h2>
1484 <div class="doc-section">
1486 <p>MagickEncipherImage() converts plaint pixels to cipher pixels.</p></ol>
1488 <p>The format of the MagickEncipherImage method is:</p>
1491 MagickBooleanType MagickEncipherImage(MagickWand *wand,
1492 const char *passphrase)
1495 <p>A description of each parameter follows:</p></ol>
1498 <ol><p>the magick wand.</p></ol>
1501 <ol><p>the passphrase.</p></ol>
1504 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1505 _8c.html" target="source" name="MagickEnhanceImage">MagickEnhanceImage</a></h2>
1506 <div class="doc-section">
1508 <p>MagickEnhanceImage() applies a digital filter that improves the quality of a noisy image.</p></ol>
1510 <p>The format of the MagickEnhanceImage method is:</p>
1513 MagickBooleanType MagickEnhanceImage(MagickWand *wand)
1516 <p>A description of each parameter follows:</p></ol>
1519 <ol><p>the magick wand.</p></ol>
1522 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1523 _8c.html" target="source" name="MagickEqualizeImage">MagickEqualizeImage</a></h2>
1524 <div class="doc-section">
1526 <p>MagickEqualizeImage() equalizes the image histogram.</p></ol>
1528 <p>The format of the MagickEqualizeImage method is:</p>
1531 MagickBooleanType MagickEqualizeImage(MagickWand *wand)
1532 MagickBooleanType MagickEqualizeImageChannel(MagickWand *wand,
1533 const ChannelType channel)
1536 <p>A description of each parameter follows:</p></ol>
1539 <ol><p>the magick wand.</p></ol>
1542 <ol><p>the image channel(s).</p></ol>
1545 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1546 _8c.html" target="source" name="MagickEvaluateImage">MagickEvaluateImage</a></h2>
1547 <div class="doc-section">
1549 <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>
1551 <p>The format of the MagickEvaluateImage method is:</p>
1554 MagickBooleanType MagickEvaluateImage(MagickWand *wand,
1555 const MagickEvaluateOperator operator,const double value)
1556 MagickBooleanType MagickEvaluateImages(MagickWand *wand,
1557 const MagickEvaluateOperator operator)
1558 MagickBooleanType MagickEvaluateImageChannel(MagickWand *wand,
1559 const ChannelType channel,const MagickEvaluateOperator op,
1563 <p>A description of each parameter follows:</p></ol>
1566 <ol><p>the magick wand.</p></ol>
1569 <ol><p>the channel(s).</p></ol>
1572 <ol><p>A channel operator.</p></ol>
1575 <ol><p>A value value.</p></ol>
1578 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1579 _8c.html" target="source" name="MagickExportImagePixels">MagickExportImagePixels</a></h2>
1580 <div class="doc-section">
1582 <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>
1584 <p>Suppose you want to extract the first scanline of a 640x480 image as character data in red-green-blue order:</p>
1587 MagickExportImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels);
1590 <p>The format of the MagickExportImagePixels method is:</p>
1593 MagickBooleanType MagickExportImagePixels(MagickWand *wand,
1594 const ssize_t x,const ssize_t y,const size_t columns,
1595 const size_t rows,const char *map,const StorageType storage,
1599 <p>A description of each parameter follows:</p></ol>
1602 <ol><p>the magick wand.</p></ol>
1604 <h5>x, y, columns, rows</h5>
1605 <ol><p>These values define the perimeter of a region of pixels you want to extract.</p></ol>
1608 <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>
1611 <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>
1614 <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>
1617 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1618 _8c.html" target="source" name="MagickExtentImage">MagickExtentImage</a></h2>
1619 <div class="doc-section">
1621 <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>
1623 <p>The format of the MagickExtentImage method is:</p>
1626 MagickBooleanType MagickExtentImage(MagickWand *wand,
1627 const size_t width,const size_t height,const ssize_t x,
1631 <p>A description of each parameter follows:</p></ol>
1634 <ol><p>the magick wand.</p></ol>
1637 <ol><p>the region width.</p></ol>
1640 <ol><p>the region height.</p></ol>
1643 <ol><p>the region x offset.</p></ol>
1646 <ol><p>the region y offset.</p></ol>
1649 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1650 _8c.html" target="source" name="MagickFilterImage">MagickFilterImage</a></h2>
1651 <div class="doc-section">
1653 <p>MagickFilterImage() applies a custom convolution kernel to the image.</p></ol>
1655 <p>The format of the MagickFilterImage method is:</p>
1658 MagickBooleanType MagickFilterImage(MagickWand *wand,
1659 const KernelInfo *kernel)
1660 MagickBooleanType MagickFilterImageChannel(MagickWand *wand,
1661 const ChannelType channel,const KernelInfo *kernel)
1664 <p>A description of each parameter follows:</p></ol>
1667 <ol><p>the magick wand.</p></ol>
1670 <ol><p>the image channel(s).</p></ol>
1673 <ol><p>An array of doubles representing the convolution kernel.</p></ol>
1676 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1677 _8c.html" target="source" name="MagickFlipImage">MagickFlipImage</a></h2>
1678 <div class="doc-section">
1680 <p>MagickFlipImage() creates a vertical mirror image by reflecting the pixels around the central x-axis.</p></ol>
1682 <p>The format of the MagickFlipImage method is:</p>
1685 MagickBooleanType MagickFlipImage(MagickWand *wand)
1688 <p>A description of each parameter follows:</p></ol>
1691 <ol><p>the magick wand.</p></ol>
1694 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1695 _8c.html" target="source" name="MagickFloodfillPaintImage">MagickFloodfillPaintImage</a></h2>
1696 <div class="doc-section">
1698 <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>
1700 <p>The format of the MagickFloodfillPaintImage method is:</p>
1703 MagickBooleanType MagickFloodfillPaintImage(MagickWand *wand,
1704 const ChannelType channel,const PixelWand *fill,const double fuzz,
1705 const PixelWand *bordercolor,const ssize_t x,const ssize_t y,
1706 const MagickBooleanType invert)
1709 <p>A description of each parameter follows:</p></ol>
1712 <ol><p>the magick wand.</p></ol>
1715 <ol><p>the channel(s).</p></ol>
1718 <ol><p>the floodfill color pixel wand.</p></ol>
1721 <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>
1723 <h5>bordercolor</h5>
1724 <ol><p>the border color pixel wand.</p></ol>
1727 <ol><p>the starting location of the operation.</p></ol>
1730 <ol><p>paint any pixel that does not match the target color.</p></ol>
1733 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1734 _8c.html" target="source" name="MagickFlopImage">MagickFlopImage</a></h2>
1735 <div class="doc-section">
1737 <p>MagickFlopImage() creates a horizontal mirror image by reflecting the pixels around the central y-axis.</p></ol>
1739 <p>The format of the MagickFlopImage method is:</p>
1742 MagickBooleanType MagickFlopImage(MagickWand *wand)
1745 <p>A description of each parameter follows:</p></ol>
1748 <ol><p>the magick wand.</p></ol>
1751 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1752 _8c.html" target="source" name="MagickForwardFourierTransformImage">MagickForwardFourierTransformImage</a></h2>
1753 <div class="doc-section">
1755 <p>MagickForwardFourierTransformImage() implements the discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.</p></ol>
1757 <p>The format of the MagickForwardFourierTransformImage method is:</p>
1760 MagickBooleanType MagickForwardFourierTransformImage(MagickWand *wand,
1761 const MagickBooleanType magnitude)
1764 <p>A description of each parameter follows:</p></ol>
1767 <ol><p>the magick wand.</p></ol>
1770 <ol><p>if true, return as magnitude / phase pair otherwise a real / imaginary image pair.</p></ol>
1773 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1774 _8c.html" target="source" name="MagickFrameImage">MagickFrameImage</a></h2>
1775 <div class="doc-section">
1777 <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>
1779 <p>The format of the MagickFrameImage method is:</p>
1782 MagickBooleanType MagickFrameImage(MagickWand *wand,
1783 const PixelWand *matte_color,const size_t width,
1784 const size_t height,const ssize_t inner_bevel,
1785 const ssize_t outer_bevel)
1788 <p>A description of each parameter follows:</p></ol>
1791 <ol><p>the magick wand.</p></ol>
1793 <h5>matte_color</h5>
1794 <ol><p>the frame color pixel wand.</p></ol>
1797 <ol><p>the border width.</p></ol>
1800 <ol><p>the border height.</p></ol>
1802 <h5>inner_bevel</h5>
1803 <ol><p>the inner bevel width.</p></ol>
1805 <h5>outer_bevel</h5>
1806 <ol><p>the outer bevel width.</p></ol>
1809 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1810 _8c.html" target="source" name="MagickFunctionImage">MagickFunctionImage</a></h2>
1811 <div class="doc-section">
1813 <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>
1815 <p>The format of the MagickFunctionImage method is:</p>
1818 MagickBooleanType MagickFunctionImage(MagickWand *wand,
1819 const MagickFunction function,const size_t number_arguments,
1820 const double *arguments)
1821 MagickBooleanType MagickFunctionImageChannel(MagickWand *wand,
1822 const ChannelType channel,const MagickFunction function,
1823 const size_t number_arguments,const double *arguments)
1826 <p>A description of each parameter follows:</p></ol>
1829 <ol><p>the magick wand.</p></ol>
1832 <ol><p>the channel(s).</p></ol>
1835 <ol><p>the image function.</p></ol>
1837 <h5>number_arguments</h5>
1838 <ol><p>the number of function arguments.</p></ol>
1841 <ol><p>the function arguments.</p></ol>
1844 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1845 _8c.html" target="source" name="MagickFxImage">MagickFxImage</a></h2>
1846 <div class="doc-section">
1848 <p>MagickFxImage() evaluate expression for each pixel in the image.</p></ol>
1850 <p>The format of the MagickFxImage method is:</p>
1853 MagickWand *MagickFxImage(MagickWand *wand,const char *expression)
1854 MagickWand *MagickFxImageChannel(MagickWand *wand,
1855 const ChannelType channel,const char *expression)
1858 <p>A description of each parameter follows:</p></ol>
1861 <ol><p>the magick wand.</p></ol>
1864 <ol><p>the image channel(s).</p></ol>
1867 <ol><p>the expression.</p></ol>
1870 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1871 _8c.html" target="source" name="MagickGammaImage">MagickGammaImage</a></h2>
1872 <div class="doc-section">
1874 <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>
1876 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p></ol>
1878 <p>The format of the MagickGammaImage method is:</p>
1881 MagickBooleanType MagickGammaImage(MagickWand *wand,const double gamma)
1882 MagickBooleanType MagickGammaImageChannel(MagickWand *wand,
1883 const ChannelType channel,const double gamma)
1886 <p>A description of each parameter follows:</p></ol>
1889 <ol><p>the magick wand.</p></ol>
1892 <ol><p>the channel.</p></ol>
1895 <ol><p>Define the level of gamma correction.</p></ol>
1898 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1899 _8c.html" target="source" name="MagickGaussianBlurImage">MagickGaussianBlurImage</a></h2>
1900 <div class="doc-section">
1902 <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>
1904 <p>The format of the MagickGaussianBlurImage method is:</p>
1907 MagickBooleanType MagickGaussianBlurImage(MagickWand *wand,
1908 const double radius,const double sigma)
1909 MagickBooleanType MagickGaussianBlurImageChannel(MagickWand *wand,
1910 const ChannelType channel,const double radius,const double sigma)
1913 <p>A description of each parameter follows:</p></ol>
1916 <ol><p>the magick wand.</p></ol>
1919 <ol><p>the image channel(s).</p></ol>
1922 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
1925 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
1928 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1929 _8c.html" target="source" name="MagickGetImage">MagickGetImage</a></h2>
1930 <div class="doc-section">
1932 <p>MagickGetImage() gets the image at the current image index.</p></ol>
1934 <p>The format of the MagickGetImage method is:</p>
1937 MagickWand *MagickGetImage(MagickWand *wand)
1940 <p>A description of each parameter follows:</p></ol>
1943 <ol><p>the magick wand.</p></ol>
1946 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1947 _8c.html" target="source" name="MagickGetImageAlphaChannel">MagickGetImageAlphaChannel</a></h2>
1948 <div class="doc-section">
1950 <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>
1952 <p>The format of the MagickGetImageAlphaChannel method is:</p>
1955 size_t MagickGetImageAlphaChannel(MagickWand *wand)
1958 <p>A description of each parameter follows:</p></ol>
1961 <ol><p>the magick wand.</p></ol>
1964 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1965 _8c.html" target="source" name="MagickGetImageClipMask">MagickGetImageClipMask</a></h2>
1966 <div class="doc-section">
1968 <p>MagickGetImageClipMask() gets the image clip mask at the current image index.</p></ol>
1970 <p>The format of the MagickGetImageClipMask method is:</p>
1973 MagickWand *MagickGetImageClipMask(MagickWand *wand)
1976 <p>A description of each parameter follows:</p></ol>
1979 <ol><p>the magick wand.</p></ol>
1982 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1983 _8c.html" target="source" name="MagickGetImageBackgroundColor">MagickGetImageBackgroundColor</a></h2>
1984 <div class="doc-section">
1986 <p>MagickGetImageBackgroundColor() returns the image background color.</p></ol>
1988 <p>The format of the MagickGetImageBackgroundColor method is:</p>
1991 MagickBooleanType MagickGetImageBackgroundColor(MagickWand *wand,
1992 PixelWand *background_color)
1995 <p>A description of each parameter follows:</p></ol>
1998 <ol><p>the magick wand.</p></ol>
2000 <h5>background_color</h5>
2001 <ol><p>Return the background color.</p></ol>
2004 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2005 _8c.html" target="source" name="MagickGetImageBlob">MagickGetImageBlob</a></h2>
2006 <div class="doc-section">
2008 <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>
2010 <p>Use MagickRelinquishMemory() to free the blob when you are done with it.</p></ol>
2012 <p>The format of the MagickGetImageBlob method is:</p>
2015 unsigned char *MagickGetImageBlob(MagickWand *wand,size_t *length)
2018 <p>A description of each parameter follows:</p></ol>
2021 <ol><p>the magick wand.</p></ol>
2024 <ol><p>the length of the blob.</p></ol>
2027 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2028 _8c.html" target="source" name="MagickGetImageBlob">MagickGetImageBlob</a></h2>
2029 <div class="doc-section">
2031 <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>
2033 <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>
2035 <p>The format of the MagickGetImagesBlob method is:</p>
2038 unsigned char *MagickGetImagesBlob(MagickWand *wand,size_t *length)
2041 <p>A description of each parameter follows:</p></ol>
2044 <ol><p>the magick wand.</p></ol>
2047 <ol><p>the length of the blob.</p></ol>
2050 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2051 _8c.html" target="source" name="MagickGetImageBluePrimary">MagickGetImageBluePrimary</a></h2>
2052 <div class="doc-section">
2054 <p>MagickGetImageBluePrimary() returns the chromaticy blue primary point for the image.</p></ol>
2056 <p>The format of the MagickGetImageBluePrimary method is:</p>
2059 MagickBooleanType MagickGetImageBluePrimary(MagickWand *wand,double *x,
2063 <p>A description of each parameter follows:</p></ol>
2066 <ol><p>the magick wand.</p></ol>
2069 <ol><p>the chromaticity blue primary x-point.</p></ol>
2072 <ol><p>the chromaticity blue primary y-point.</p></ol>
2075 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2076 _8c.html" target="source" name="MagickGetImageBorderColor">MagickGetImageBorderColor</a></h2>
2077 <div class="doc-section">
2079 <p>MagickGetImageBorderColor() returns the image border color.</p></ol>
2081 <p>The format of the MagickGetImageBorderColor method is:</p>
2084 MagickBooleanType MagickGetImageBorderColor(MagickWand *wand,
2085 PixelWand *border_color)
2088 <p>A description of each parameter follows:</p></ol>
2091 <ol><p>the magick wand.</p></ol>
2093 <h5>border_color</h5>
2094 <ol><p>Return the border color.</p></ol>
2097 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2098 _8c.html" target="source" name="MagickGetImageChannelDepth">MagickGetImageChannelDepth</a></h2>
2099 <div class="doc-section">
2101 <p>MagickGetImageChannelDepth() gets the depth for one or more image channels.</p></ol>
2103 <p>The format of the MagickGetImageChannelDepth method is:</p>
2106 size_t MagickGetImageChannelDepth(MagickWand *wand,
2107 const ChannelType channel)
2110 <p>A description of each parameter follows:</p></ol>
2113 <ol><p>the magick wand.</p></ol>
2116 <ol><p>the image channel(s).</p></ol>
2119 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2120 _8c.html" target="source" name="MagickGetImageChannelDistortion">MagickGetImageChannelDistortion</a></h2>
2121 <div class="doc-section">
2123 <p>MagickGetImageChannelDistortion() compares one or more image channels of an image to a reconstructed image and returns the specified distortion metric.</p></ol>
2125 <p>The format of the MagickGetImageChannelDistortion method is:</p>
2128 MagickBooleanType MagickGetImageChannelDistortion(MagickWand *wand,
2129 const MagickWand *reference,const ChannelType channel,
2130 const MetricType metric,double *distortion)
2133 <p>A description of each parameter follows:</p></ol>
2136 <ol><p>the magick wand.</p></ol>
2139 <ol><p>the reference wand.</p></ol>
2142 <ol><p>the channel.</p></ol>
2145 <ol><p>the metric.</p></ol>
2148 <ol><p>the computed distortion between the images.</p></ol>
2151 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2152 _8c.html" target="source" name="MagickGetImageChannelDistortions">MagickGetImageChannelDistortions</a></h2>
2153 <div class="doc-section">
2155 <p>MagickGetImageChannelDistortions() compares one or more image channels of an image to a reconstructed image and returns the specified distortion metrics.</p></ol>
2157 <p>Use MagickRelinquishMemory() to free the metrics when you are done with them.</p></ol>
2159 <p>The format of the MagickGetImageChannelDistortion method is:</p>
2162 double *MagickGetImageChannelDistortion(MagickWand *wand,
2163 const MagickWand *reference,const MetricType metric)
2166 <p>A description of each parameter follows:</p></ol>
2169 <ol><p>the magick wand.</p></ol>
2172 <ol><p>the reference wand.</p></ol>
2175 <ol><p>the metric.</p></ol>
2178 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2179 _8c.html" target="source" name="MagickGetImageChannelFeatures">MagickGetImageChannelFeatures</a></h2>
2180 <div class="doc-section">
2182 <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>
2185 channel_features=MagickGetImageChannelFeatures(wand,1);
2186 contrast=channel_features[RedChannel].contrast[0];
2189 <p>Use MagickRelinquishMemory() to free the statistics buffer.</p></ol>
2191 <p>The format of the MagickGetImageChannelFeatures method is:</p>
2194 ChannelFeatures *MagickGetImageChannelFeatures(MagickWand *wand,
2195 const size_t distance)
2198 <p>A description of each parameter follows:</p></ol>
2201 <ol><p>the magick wand.</p></ol>
2204 <ol><p>the distance.</p></ol>
2207 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2208 _8c.html" target="source" name="MagickGetImageChannelKurtosis">MagickGetImageChannelKurtosis</a></h2>
2209 <div class="doc-section">
2211 <p>MagickGetImageChannelKurtosis() gets the kurtosis and skewness of one or more image channels.</p></ol>
2213 <p>The format of the MagickGetImageChannelKurtosis method is:</p>
2216 MagickBooleanType MagickGetImageChannelKurtosis(MagickWand *wand,
2217 const ChannelType channel,double *kurtosis,double *skewness)
2220 <p>A description of each parameter follows:</p></ol>
2223 <ol><p>the magick wand.</p></ol>
2226 <ol><p>the image channel(s).</p></ol>
2229 <ol><p>The kurtosis for the specified channel(s).</p></ol>
2232 <ol><p>The skewness for the specified channel(s).</p></ol>
2235 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2236 _8c.html" target="source" name="MagickGetImageChannelMean">MagickGetImageChannelMean</a></h2>
2237 <div class="doc-section">
2239 <p>MagickGetImageChannelMean() gets the mean and standard deviation of one or more image channels.</p></ol>
2241 <p>The format of the MagickGetImageChannelMean method is:</p>
2244 MagickBooleanType MagickGetImageChannelMean(MagickWand *wand,
2245 const ChannelType channel,double *mean,double *standard_deviation)
2248 <p>A description of each parameter follows:</p></ol>
2251 <ol><p>the magick wand.</p></ol>
2254 <ol><p>the image channel(s).</p></ol>
2257 <ol><p>The mean pixel value for the specified channel(s).</p></ol>
2259 <h5>standard_deviation</h5>
2260 <ol><p>The standard deviation for the specified channel(s).</p></ol>
2263 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2264 _8c.html" target="source" name="MagickGetImageChannelRange">MagickGetImageChannelRange</a></h2>
2265 <div class="doc-section">
2267 <p>MagickGetImageChannelRange() gets the range for one or more image channels.</p></ol>
2269 <p>The format of the MagickGetImageChannelRange method is:</p>
2272 MagickBooleanType MagickGetImageChannelRange(MagickWand *wand,
2273 const ChannelType channel,double *minima,double *maxima)
2276 <p>A description of each parameter follows:</p></ol>
2279 <ol><p>the magick wand.</p></ol>
2282 <ol><p>the image channel(s).</p></ol>
2285 <ol><p>The minimum pixel value for the specified channel(s).</p></ol>
2288 <ol><p>The maximum pixel value for the specified channel(s).</p></ol>
2291 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2292 _8c.html" target="source" name="MagickGetImageChannelStatistics">MagickGetImageChannelStatistics</a></h2>
2293 <div class="doc-section">
2295 <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>
2298 channel_statistics=MagickGetImageChannelStatistics(wand);
2299 red_mean=channel_statistics[RedChannel].mean;
2302 <p>Use MagickRelinquishMemory() to free the statistics buffer.</p></ol>
2304 <p>The format of the MagickGetImageChannelStatistics method is:</p>
2307 ChannelStatistics *MagickGetImageChannelStatistics(MagickWand *wand)
2310 <p>A description of each parameter follows:</p></ol>
2313 <ol><p>the magick wand.</p></ol>
2316 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2317 _8c.html" target="source" name="MagickGetImageColormapColor">MagickGetImageColormapColor</a></h2>
2318 <div class="doc-section">
2320 <p>MagickGetImageColormapColor() returns the color of the specified colormap index.</p></ol>
2322 <p>The format of the MagickGetImageColormapColor method is:</p>
2325 MagickBooleanType MagickGetImageColormapColor(MagickWand *wand,
2326 const size_t index,PixelWand *color)
2329 <p>A description of each parameter follows:</p></ol>
2332 <ol><p>the magick wand.</p></ol>
2335 <ol><p>the offset into the image colormap.</p></ol>
2338 <ol><p>Return the colormap color in this wand.</p></ol>
2341 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2342 _8c.html" target="source" name="MagickGetImageColors">MagickGetImageColors</a></h2>
2343 <div class="doc-section">
2345 <p>MagickGetImageColors() gets the number of unique colors in the image.</p></ol>
2347 <p>The format of the MagickGetImageColors method is:</p>
2350 size_t MagickGetImageColors(MagickWand *wand)
2353 <p>A description of each parameter follows:</p></ol>
2356 <ol><p>the magick wand.</p></ol>
2359 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2360 _8c.html" target="source" name="MagickGetImageColorspace">MagickGetImageColorspace</a></h2>
2361 <div class="doc-section">
2363 <p>MagickGetImageColorspace() gets the image colorspace.</p></ol>
2365 <p>The format of the MagickGetImageColorspace method is:</p>
2368 ColorspaceType MagickGetImageColorspace(MagickWand *wand)
2371 <p>A description of each parameter follows:</p></ol>
2374 <ol><p>the magick wand.</p></ol>
2377 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2378 _8c.html" target="source" name="MagickGetImageCompose">MagickGetImageCompose</a></h2>
2379 <div class="doc-section">
2381 <p>MagickGetImageCompose() returns the composite operator associated with the image.</p></ol>
2383 <p>The format of the MagickGetImageCompose method is:</p>
2386 CompositeOperator MagickGetImageCompose(MagickWand *wand)
2389 <p>A description of each parameter follows:</p></ol>
2392 <ol><p>the magick wand.</p></ol>
2395 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2396 _8c.html" target="source" name="MagickGetImageCompression">MagickGetImageCompression</a></h2>
2397 <div class="doc-section">
2399 <p>MagickGetImageCompression() gets the image compression.</p></ol>
2401 <p>The format of the MagickGetImageCompression method is:</p>
2404 CompressionType MagickGetImageCompression(MagickWand *wand)
2407 <p>A description of each parameter follows:</p></ol>
2410 <ol><p>the magick wand.</p></ol>
2413 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2414 _8c.html" target="source" name="MagickGetImageCompression">MagickGetImageCompression</a></h2>
2415 <div class="doc-section">
2417 <p>MagickGetImageCompression() gets the image compression quality.</p></ol>
2419 <p>The format of the MagickGetImageCompression method is:</p>
2422 size_t MagickGetImageCompression(MagickWand *wand)
2425 <p>A description of each parameter follows:</p></ol>
2428 <ol><p>the magick wand.</p></ol>
2431 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2432 _8c.html" target="source" name="MagickGetImageDelay">MagickGetImageDelay</a></h2>
2433 <div class="doc-section">
2435 <p>MagickGetImageDelay() gets the image delay.</p></ol>
2437 <p>The format of the MagickGetImageDelay method is:</p>
2440 size_t MagickGetImageDelay(MagickWand *wand)
2443 <p>A description of each parameter follows:</p></ol>
2446 <ol><p>the magick wand.</p></ol>
2449 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2450 _8c.html" target="source" name="MagickGetImageDepth">MagickGetImageDepth</a></h2>
2451 <div class="doc-section">
2453 <p>MagickGetImageDepth() gets the image depth.</p></ol>
2455 <p>The format of the MagickGetImageDepth method is:</p>
2458 size_t MagickGetImageDepth(MagickWand *wand)
2461 <p>A description of each parameter follows:</p></ol>
2464 <ol><p>the magick wand.</p></ol>
2467 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2468 _8c.html" target="source" name="MagickGetImageDistortion">MagickGetImageDistortion</a></h2>
2469 <div class="doc-section">
2471 <p>MagickGetImageDistortion() compares an image to a reconstructed image and returns the specified distortion metric.</p></ol>
2473 <p>The format of the MagickGetImageDistortion method is:</p>
2476 MagickBooleanType MagickGetImageDistortion(MagickWand *wand,
2477 const MagickWand *reference,const MetricType metric,
2481 <p>A description of each parameter follows:</p></ol>
2484 <ol><p>the magick wand.</p></ol>
2487 <ol><p>the reference wand.</p></ol>
2490 <ol><p>the metric.</p></ol>
2493 <ol><p>the computed distortion between the images.</p></ol>
2496 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2497 _8c.html" target="source" name="MagickGetImageDispose">MagickGetImageDispose</a></h2>
2498 <div class="doc-section">
2500 <p>MagickGetImageDispose() gets the image disposal method.</p></ol>
2502 <p>The format of the MagickGetImageDispose method is:</p>
2505 DisposeType MagickGetImageDispose(MagickWand *wand)
2508 <p>A description of each parameter follows:</p></ol>
2511 <ol><p>the magick wand.</p></ol>
2514 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2515 _8c.html" target="source" name="MagickGetImageFilename">MagickGetImageFilename</a></h2>
2516 <div class="doc-section">
2518 <p>MagickGetImageFilename() returns the filename of a particular image in a sequence.</p></ol>
2520 <p>The format of the MagickGetImageFilename method is:</p>
2523 char *MagickGetImageFilename(MagickWand *wand)
2526 <p>A description of each parameter follows:</p></ol>
2529 <ol><p>the magick wand.</p></ol>
2532 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2533 _8c.html" target="source" name="MagickGetImageFormat">MagickGetImageFormat</a></h2>
2534 <div class="doc-section">
2536 <p>MagickGetImageFormat() returns the format of a particular image in a sequence.</p></ol>
2538 <p>The format of the MagickGetImageFormat method is:</p>
2541 const char *MagickGetImageFormat(MagickWand *wand)
2544 <p>A description of each parameter follows:</p></ol>
2547 <ol><p>the magick wand.</p></ol>
2550 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2551 _8c.html" target="source" name="MagickGetImageFuzz">MagickGetImageFuzz</a></h2>
2552 <div class="doc-section">
2554 <p>MagickGetImageFuzz() gets the image fuzz.</p></ol>
2556 <p>The format of the MagickGetImageFuzz method is:</p>
2559 double MagickGetImageFuzz(MagickWand *wand)
2562 <p>A description of each parameter follows:</p></ol>
2565 <ol><p>the magick wand.</p></ol>
2568 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2569 _8c.html" target="source" name="MagickGetImageGamma">MagickGetImageGamma</a></h2>
2570 <div class="doc-section">
2572 <p>MagickGetImageGamma() gets the image gamma.</p></ol>
2574 <p>The format of the MagickGetImageGamma method is:</p>
2577 double MagickGetImageGamma(MagickWand *wand)
2580 <p>A description of each parameter follows:</p></ol>
2583 <ol><p>the magick wand.</p></ol>
2586 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2587 _8c.html" target="source" name="MagickGetImageGravity">MagickGetImageGravity</a></h2>
2588 <div class="doc-section">
2590 <p>MagickGetImageGravity() gets the image gravity.</p></ol>
2592 <p>The format of the MagickGetImageGravity method is:</p>
2595 GravityType MagickGetImageGravity(MagickWand *wand)
2598 <p>A description of each parameter follows:</p></ol>
2601 <ol><p>the magick wand.</p></ol>
2604 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2605 _8c.html" target="source" name="MagickGetImageGreenPrimary">MagickGetImageGreenPrimary</a></h2>
2606 <div class="doc-section">
2608 <p>MagickGetImageGreenPrimary() returns the chromaticy green primary point.</p></ol>
2610 <p>The format of the MagickGetImageGreenPrimary method is:</p>
2613 MagickBooleanType MagickGetImageGreenPrimary(MagickWand *wand,double *x,
2617 <p>A description of each parameter follows:</p></ol>
2620 <ol><p>the magick wand.</p></ol>
2623 <ol><p>the chromaticity green primary x-point.</p></ol>
2626 <ol><p>the chromaticity green primary y-point.</p></ol>
2629 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2630 _8c.html" target="source" name="MagickGetImageHeight">MagickGetImageHeight</a></h2>
2631 <div class="doc-section">
2633 <p>MagickGetImageHeight() returns the image height.</p></ol>
2635 <p>The format of the MagickGetImageHeight method is:</p>
2638 size_t MagickGetImageHeight(MagickWand *wand)
2641 <p>A description of each parameter follows:</p></ol>
2644 <ol><p>the magick wand.</p></ol>
2647 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2648 _8c.html" target="source" name="MagickGetImageHistogram">MagickGetImageHistogram</a></h2>
2649 <div class="doc-section">
2651 <p>MagickGetImageHistogram() returns the image histogram as an array of PixelWand wands.</p></ol>
2653 <p>The format of the MagickGetImageHistogram method is:</p>
2656 PixelWand **MagickGetImageHistogram(MagickWand *wand,
2657 size_t *number_colors)
2660 <p>A description of each parameter follows:</p></ol>
2663 <ol><p>the magick wand.</p></ol>
2665 <h5>number_colors</h5>
2666 <ol><p>the number of unique colors in the image and the number of pixel wands returned.</p></ol>
2669 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2670 _8c.html" target="source" name="MagickGetImageInterlaceScheme">MagickGetImageInterlaceScheme</a></h2>
2671 <div class="doc-section">
2673 <p>MagickGetImageInterlaceScheme() gets the image interlace scheme.</p></ol>
2675 <p>The format of the MagickGetImageInterlaceScheme method is:</p>
2678 InterlaceType MagickGetImageInterlaceScheme(MagickWand *wand)
2681 <p>A description of each parameter follows:</p></ol>
2684 <ol><p>the magick wand.</p></ol>
2687 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2688 _8c.html" target="source" name="MagickGetImageInterpolateMethod">MagickGetImageInterpolateMethod</a></h2>
2689 <div class="doc-section">
2691 <p>MagickGetImageInterpolateMethod() returns the interpolation method for the sepcified image.</p></ol>
2693 <p>The format of the MagickGetImageInterpolateMethod method is:</p>
2696 InterpolatePixelMethod MagickGetImageInterpolateMethod(MagickWand *wand)
2699 <p>A description of each parameter follows:</p></ol>
2702 <ol><p>the magick wand.</p></ol>
2705 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2706 _8c.html" target="source" name="MagickGetImageIterations">MagickGetImageIterations</a></h2>
2707 <div class="doc-section">
2709 <p>MagickGetImageIterations() gets the image iterations.</p></ol>
2711 <p>The format of the MagickGetImageIterations method is:</p>
2714 size_t MagickGetImageIterations(MagickWand *wand)
2717 <p>A description of each parameter follows:</p></ol>
2720 <ol><p>the magick wand.</p></ol>
2723 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2724 _8c.html" target="source" name="MagickGetImageLength">MagickGetImageLength</a></h2>
2725 <div class="doc-section">
2727 <p>MagickGetImageLength() returns the image length in bytes.</p></ol>
2729 <p>The format of the MagickGetImageLength method is:</p>
2732 MagickBooleanType MagickGetImageLength(MagickWand *wand,
2733 MagickSizeType *length)
2736 <p>A description of each parameter follows:</p></ol>
2739 <ol><p>the magick wand.</p></ol>
2742 <ol><p>the image length in bytes.</p></ol>
2745 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2746 _8c.html" target="source" name="MagickGetImageMatteColor">MagickGetImageMatteColor</a></h2>
2747 <div class="doc-section">
2749 <p>MagickGetImageMatteColor() returns the image matte color.</p></ol>
2751 <p>The format of the MagickGetImageMatteColor method is:</p>
2754 MagickBooleanType MagickGetImagematteColor(MagickWand *wand,
2755 PixelWand *matte_color)
2758 <p>A description of each parameter follows:</p></ol>
2761 <ol><p>the magick wand.</p></ol>
2763 <h5>matte_color</h5>
2764 <ol><p>Return the matte color.</p></ol>
2767 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2768 _8c.html" target="source" name="MagickGetImageOrientation">MagickGetImageOrientation</a></h2>
2769 <div class="doc-section">
2771 <p>MagickGetImageOrientation() returns the image orientation.</p></ol>
2773 <p>The format of the MagickGetImageOrientation method is:</p>
2776 OrientationType MagickGetImageOrientation(MagickWand *wand)
2779 <p>A description of each parameter follows:</p></ol>
2782 <ol><p>the magick wand.</p></ol>
2785 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2786 _8c.html" target="source" name="MagickGetImagePage">MagickGetImagePage</a></h2>
2787 <div class="doc-section">
2789 <p>MagickGetImagePage() returns the page geometry associated with the image.</p></ol>
2791 <p>The format of the MagickGetImagePage method is:</p>
2794 MagickBooleanType MagickGetImagePage(MagickWand *wand,
2795 size_t *width,size_t *height,ssize_t *x,ssize_t *y)
2798 <p>A description of each parameter follows:</p></ol>
2801 <ol><p>the magick wand.</p></ol>
2804 <ol><p>the page width.</p></ol>
2807 <ol><p>the page height.</p></ol>
2810 <ol><p>the page x-offset.</p></ol>
2813 <ol><p>the page y-offset.</p></ol>
2816 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2817 _8c.html" target="source" name="MagickGetImagePixelColor">MagickGetImagePixelColor</a></h2>
2818 <div class="doc-section">
2820 <p>MagickGetImagePixelColor() returns the color of the specified pixel.</p></ol>
2822 <p>The format of the MagickGetImagePixelColor method is:</p>
2825 MagickBooleanType MagickGetImagePixelColor(MagickWand *wand,
2826 const ssize_t x,const ssize_t y,PixelWand *color)
2829 <p>A description of each parameter follows:</p></ol>
2832 <ol><p>the magick wand.</p></ol>
2835 <ol><p>the pixel offset into the image.</p></ol>
2838 <ol><p>Return the colormap color in this wand.</p></ol>
2841 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2842 _8c.html" target="source" name="MagickGetImageRedPrimary">MagickGetImageRedPrimary</a></h2>
2843 <div class="doc-section">
2845 <p>MagickGetImageRedPrimary() returns the chromaticy red primary point.</p></ol>
2847 <p>The format of the MagickGetImageRedPrimary method is:</p>
2850 MagickBooleanType MagickGetImageRedPrimary(MagickWand *wand,double *x,
2854 <p>A description of each parameter follows:</p></ol>
2857 <ol><p>the magick wand.</p></ol>
2860 <ol><p>the chromaticity red primary x-point.</p></ol>
2863 <ol><p>the chromaticity red primary y-point.</p></ol>
2866 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2867 _8c.html" target="source" name="MagickGetImageRegion">MagickGetImageRegion</a></h2>
2868 <div class="doc-section">
2870 <p>MagickGetImageRegion() extracts a region of the image and returns it as a a new wand.</p></ol>
2872 <p>The format of the MagickGetImageRegion method is:</p>
2875 MagickWand *MagickGetImageRegion(MagickWand *wand,
2876 const size_t width,const size_t height,const ssize_t x,
2880 <p>A description of each parameter follows:</p></ol>
2883 <ol><p>the magick wand.</p></ol>
2886 <ol><p>the region width.</p></ol>
2889 <ol><p>the region height.</p></ol>
2892 <ol><p>the region x offset.</p></ol>
2895 <ol><p>the region y offset.</p></ol>
2898 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2899 _8c.html" target="source" name="MagickGetImageRenderingIntent">MagickGetImageRenderingIntent</a></h2>
2900 <div class="doc-section">
2902 <p>MagickGetImageRenderingIntent() gets the image rendering intent.</p></ol>
2904 <p>The format of the MagickGetImageRenderingIntent method is:</p>
2907 RenderingIntent MagickGetImageRenderingIntent(MagickWand *wand)
2910 <p>A description of each parameter follows:</p></ol>
2913 <ol><p>the magick wand.</p></ol>
2916 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2917 _8c.html" target="source" name="MagickGetImageResolution">MagickGetImageResolution</a></h2>
2918 <div class="doc-section">
2920 <p>MagickGetImageResolution() gets the image X and Y resolution.</p></ol>
2922 <p>The format of the MagickGetImageResolution method is:</p>
2925 MagickBooleanType MagickGetImageResolution(MagickWand *wand,double *x,
2929 <p>A description of each parameter follows:</p></ol>
2932 <ol><p>the magick wand.</p></ol>
2935 <ol><p>the image x-resolution.</p></ol>
2938 <ol><p>the image y-resolution.</p></ol>
2941 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2942 _8c.html" target="source" name="MagickGetImageScene">MagickGetImageScene</a></h2>
2943 <div class="doc-section">
2945 <p>MagickGetImageScene() gets the image scene.</p></ol>
2947 <p>The format of the MagickGetImageScene method is:</p>
2950 size_t MagickGetImageScene(MagickWand *wand)
2953 <p>A description of each parameter follows:</p></ol>
2956 <ol><p>the magick wand.</p></ol>
2959 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2960 _8c.html" target="source" name="MagickGetImageSignature">MagickGetImageSignature</a></h2>
2961 <div class="doc-section">
2963 <p>MagickGetImageSignature() generates an SHA-256 message digest for the image pixel stream.</p></ol>
2965 <p>The format of the MagickGetImageSignature method is:</p>
2968 const char MagickGetImageSignature(MagickWand *wand)
2971 <p>A description of each parameter follows:</p></ol>
2974 <ol><p>the magick wand.</p></ol>
2977 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2978 _8c.html" target="source" name="MagickGetImageTicksPerSecond">MagickGetImageTicksPerSecond</a></h2>
2979 <div class="doc-section">
2981 <p>MagickGetImageTicksPerSecond() gets the image ticks-per-second.</p></ol>
2983 <p>The format of the MagickGetImageTicksPerSecond method is:</p>
2986 size_t MagickGetImageTicksPerSecond(MagickWand *wand)
2989 <p>A description of each parameter follows:</p></ol>
2992 <ol><p>the magick wand.</p></ol>
2995 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2996 _8c.html" target="source" name="MagickGetImageType">MagickGetImageType</a></h2>
2997 <div class="doc-section">
2999 <p>MagickGetImageType() gets the potential image type:</p></ol>
3001 <p>Bilevel Grayscale GrayscaleMatte Palette PaletteMatte TrueColor TrueColorMatte ColorSeparation ColorSeparationMatte</p></ol>
3003 <p>To ensure the image type matches its potential, use MagickSetImageType():</p>
3006 (void) MagickSetImageType(wand,MagickGetImageType(wand));
3009 <p>The format of the MagickGetImageType method is:</p>
3012 ImageType MagickGetImageType(MagickWand *wand)
3015 <p>A description of each parameter follows:</p></ol>
3018 <ol><p>the magick wand.</p></ol>
3021 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3022 _8c.html" target="source" name="MagickGetImageUnits">MagickGetImageUnits</a></h2>
3023 <div class="doc-section">
3025 <p>MagickGetImageUnits() gets the image units of resolution.</p></ol>
3027 <p>The format of the MagickGetImageUnits method is:</p>
3030 ResolutionType MagickGetImageUnits(MagickWand *wand)
3033 <p>A description of each parameter follows:</p></ol>
3036 <ol><p>the magick wand.</p></ol>
3039 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3040 _8c.html" target="source" name="MagickGetImageVirtualPixelMethod">MagickGetImageVirtualPixelMethod</a></h2>
3041 <div class="doc-section">
3043 <p>MagickGetImageVirtualPixelMethod() returns the virtual pixel method for the sepcified image.</p></ol>
3045 <p>The format of the MagickGetImageVirtualPixelMethod method is:</p>
3048 VirtualPixelMethod MagickGetImageVirtualPixelMethod(MagickWand *wand)
3051 <p>A description of each parameter follows:</p></ol>
3054 <ol><p>the magick wand.</p></ol>
3057 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3058 _8c.html" target="source" name="MagickGetImageWhitePoint">MagickGetImageWhitePoint</a></h2>
3059 <div class="doc-section">
3061 <p>MagickGetImageWhitePoint() returns the chromaticy white point.</p></ol>
3063 <p>The format of the MagickGetImageWhitePoint method is:</p>
3066 MagickBooleanType MagickGetImageWhitePoint(MagickWand *wand,double *x,
3070 <p>A description of each parameter follows:</p></ol>
3073 <ol><p>the magick wand.</p></ol>
3076 <ol><p>the chromaticity white x-point.</p></ol>
3079 <ol><p>the chromaticity white y-point.</p></ol>
3082 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3083 _8c.html" target="source" name="MagickGetImageWidth">MagickGetImageWidth</a></h2>
3084 <div class="doc-section">
3086 <p>MagickGetImageWidth() returns the image width.</p></ol>
3088 <p>The format of the MagickGetImageWidth method is:</p>
3091 size_t MagickGetImageWidth(MagickWand *wand)
3094 <p>A description of each parameter follows:</p></ol>
3097 <ol><p>the magick wand.</p></ol>
3100 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3101 _8c.html" target="source" name="MagickGetNumberImages">MagickGetNumberImages</a></h2>
3102 <div class="doc-section">
3104 <p>MagickGetNumberImages() returns the number of images associated with a magick wand.</p></ol>
3106 <p>The format of the MagickGetNumberImages method is:</p>
3109 size_t MagickGetNumberImages(MagickWand *wand)
3112 <p>A description of each parameter follows:</p></ol>
3115 <ol><p>the magick wand.</p></ol>
3118 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3119 _8c.html" target="source" name="MagickGetImageTotalInkDensity">MagickGetImageTotalInkDensity</a></h2>
3120 <div class="doc-section">
3122 <p>MagickGetImageTotalInkDensity() gets the image total ink density.</p></ol>
3124 <p>The format of the MagickGetImageTotalInkDensity method is:</p>
3127 double MagickGetImageTotalInkDensity(MagickWand *wand)
3130 <p>A description of each parameter follows:</p></ol>
3133 <ol><p>the magick wand.</p></ol>
3136 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3137 _8c.html" target="source" name="MagickHaldClutImage">MagickHaldClutImage</a></h2>
3138 <div class="doc-section">
3140 <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>
3142 <p>The format of the MagickHaldClutImage method is:</p>
3145 MagickBooleanType MagickHaldClutImage(MagickWand *wand,
3146 const MagickWand *hald_wand)
3147 MagickBooleanType MagickHaldClutImageChannel(MagickWand *wand,
3148 const ChannelType channel,const MagickWand *hald_wand)
3151 <p>A description of each parameter follows:</p></ol>
3154 <ol><p>the magick wand.</p></ol>
3157 <ol><p>the hald CLUT image.</p></ol>
3160 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3161 _8c.html" target="source" name="MagickHasNextImage">MagickHasNextImage</a></h2>
3162 <div class="doc-section">
3164 <p>MagickHasNextImage() returns MagickTrue if the wand has more images when traversing the list in the forward direction</p></ol>
3166 <p>The format of the MagickHasNextImage method is:</p>
3169 MagickBooleanType MagickHasNextImage(MagickWand *wand)
3172 <p>A description of each parameter follows:</p></ol>
3175 <ol><p>the magick wand.</p></ol>
3178 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3179 _8c.html" target="source" name="MagickHasPreviousImage">MagickHasPreviousImage</a></h2>
3180 <div class="doc-section">
3182 <p>MagickHasPreviousImage() returns MagickTrue if the wand has more images when traversing the list in the reverse direction</p></ol>
3184 <p>The format of the MagickHasPreviousImage method is:</p>
3187 MagickBooleanType MagickHasPreviousImage(MagickWand *wand)
3190 <p>A description of each parameter follows:</p></ol>
3193 <ol><p>the magick wand.</p></ol>
3196 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3197 _8c.html" target="source" name="MagickIdentifyImage">MagickIdentifyImage</a></h2>
3198 <div class="doc-section">
3200 <p>MagickIdentifyImage() identifies an image by printing its attributes to the file. Attributes include the image width, height, size, and others.</p></ol>
3202 <p>The format of the MagickIdentifyImage method is:</p>
3205 const char *MagickIdentifyImage(MagickWand *wand)
3208 <p>A description of each parameter follows:</p></ol>
3211 <ol><p>the magick wand.</p></ol>
3214 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3215 _8c.html" target="source" name="MagickImplodeImage">MagickImplodeImage</a></h2>
3216 <div class="doc-section">
3218 <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>
3220 <p>The format of the MagickImplodeImage method is:</p>
3223 MagickBooleanType MagickImplodeImage(MagickWand *wand,
3224 const double radius)
3227 <p>A description of each parameter follows:</p></ol>
3230 <ol><p>the magick wand.</p></ol>
3233 <ol><p>Define the extent of the implosion.</p></ol>
3236 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3237 _8c.html" target="source" name="MagickImportImagePixels">MagickImportImagePixels</a></h2>
3238 <div class="doc-section">
3240 <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>
3242 <p>Suppose your want to upload the first scanline of a 640x480 image from character data in red-green-blue order:</p>
3245 MagickImportImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels);
3248 <p>The format of the MagickImportImagePixels method is:</p>
3251 MagickBooleanType MagickImportImagePixels(MagickWand *wand,
3252 const ssize_t x,const ssize_t y,const size_t columns,
3253 const size_t rows,const char *map,const StorageType storage,
3257 <p>A description of each parameter follows:</p></ol>
3260 <ol><p>the magick wand.</p></ol>
3262 <h5>x, y, columns, rows</h5>
3263 <ol><p>These values define the perimeter of a region of pixels you want to define.</p></ol>
3266 <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>
3269 <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>
3272 <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>
3275 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3276 _8c.html" target="source" name="MagickInverseFourierTransformImage">MagickInverseFourierTransformImage</a></h2>
3277 <div class="doc-section">
3279 <p>MagickInverseFourierTransformImage() implements the inverse discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.</p></ol>
3281 <p>The format of the MagickInverseFourierTransformImage method is:</p>
3284 MagickBooleanType MagickInverseFourierTransformImage(
3285 MagickWand *magnitude_wand,MagickWand *phase_wand,
3286 const MagickBooleanType magnitude)
3289 <p>A description of each parameter follows:</p></ol>
3291 <h5>magnitude_wand</h5>
3292 <ol><p>the magnitude or real wand.</p></ol>
3295 <ol><p>the phase or imaginary wand.</p></ol>
3298 <ol><p>if true, return as magnitude / phase pair otherwise a real / imaginary image pair.</p></ol>
3301 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3302 _8c.html" target="source" name="MagickLabelImage">MagickLabelImage</a></h2>
3303 <div class="doc-section">
3305 <p>MagickLabelImage() adds a label to your image.</p></ol>
3307 <p>The format of the MagickLabelImage method is:</p>
3310 MagickBooleanType MagickLabelImage(MagickWand *wand,const char *label)
3313 <p>A description of each parameter follows:</p></ol>
3316 <ol><p>the magick wand.</p></ol>
3319 <ol><p>the image label.</p></ol>
3322 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3323 _8c.html" target="source" name="MagickLevelImage">MagickLevelImage</a></h2>
3324 <div class="doc-section">
3326 <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>
3328 <p>The format of the MagickLevelImage method is:</p>
3331 MagickBooleanType MagickLevelImage(MagickWand *wand,
3332 const double black_point,const double gamma,const double white_point)
3333 MagickBooleanType MagickLevelImageChannel(MagickWand *wand,
3334 const ChannelType channel,const double black_point,const double gamma,
3335 const double white_point)
3338 <p>A description of each parameter follows:</p></ol>
3341 <ol><p>the magick wand.</p></ol>
3344 <ol><p>Identify which channel to level: RedChannel, GreenChannel,</p></ol>
3346 <h5>black_point</h5>
3347 <ol><p>the black point.</p></ol>
3350 <ol><p>the gamma.</p></ol>
3352 <h5>white_point</h5>
3353 <ol><p>the white point.</p></ol>
3356 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3357 _8c.html" target="source" name="MagickLinearStretchImage">MagickLinearStretchImage</a></h2>
3358 <div class="doc-section">
3360 <p>MagickLinearStretchImage() stretches with saturation the image intensity.</p></ol>
3362 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p></ol>
3364 <p>The format of the MagickLinearStretchImage method is:</p>
3367 MagickBooleanType MagickLinearStretchImage(MagickWand *wand,
3368 const double black_point,const double white_point)
3371 <p>A description of each parameter follows:</p></ol>
3374 <ol><p>the magick wand.</p></ol>
3376 <h5>black_point</h5>
3377 <ol><p>the black point.</p></ol>
3379 <h5>white_point</h5>
3380 <ol><p>the white point.</p></ol>
3383 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3384 _8c.html" target="source" name="MagickLiquidRescaleImage">MagickLiquidRescaleImage</a></h2>
3385 <div class="doc-section">
3387 <p>MagickLiquidRescaleImage() rescales image with seam carving.</p></ol>
3389 <p>MagickBooleanType MagickLiquidRescaleImage(MagickWand *wand, const size_t columns,const size_t rows, const double delta_x,const double rigidity)</p></ol>
3391 <p>A description of each parameter follows:</p></ol>
3394 <ol><p>the magick wand.</p></ol>
3397 <ol><p>the number of columns in the scaled image.</p></ol>
3400 <ol><p>the number of rows in the scaled image.</p></ol>
3403 <ol><p>maximum seam transversal step (0 means straight seams).</p></ol>
3406 <ol><p>introduce a bias for non-straight seams (typically 0).</p></ol>
3409 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3410 _8c.html" target="source" name="MagickMagnifyImage">MagickMagnifyImage</a></h2>
3411 <div class="doc-section">
3413 <p>MagickMagnifyImage() is a convenience method that scales an image proportionally to twice its original size.</p></ol>
3415 <p>The format of the MagickMagnifyImage method is:</p>
3418 MagickBooleanType MagickMagnifyImage(MagickWand *wand)
3421 <p>A description of each parameter follows:</p></ol>
3424 <ol><p>the magick wand.</p></ol>
3427 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3428 _8c.html" target="source" name="MagickMedianFilterImage">MagickMedianFilterImage</a></h2>
3429 <div class="doc-section">
3431 <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>
3433 <p>The format of the MagickMedianFilterImage method is:</p>
3436 MagickBooleanType MagickMedianFilterImage(MagickWand *wand,
3437 const double radius)
3440 <p>A description of each parameter follows:</p></ol>
3443 <ol><p>the magick wand.</p></ol>
3446 <ol><p>the radius of the pixel neighborhood.</p></ol>
3449 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3450 _8c.html" target="source" name="MagickMergeImageLayers">MagickMergeImageLayers</a></h2>
3451 <div class="doc-section">
3453 <p>MagickMergeImageLayers() composes all the image layers from the current given image onward to produce a single image of the merged layers.</p></ol>
3455 <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>
3457 <p>The format of the MagickMergeImageLayers method is:</p>
3460 MagickWand *MagickMergeImageLayers(MagickWand *wand,
3461 const ImageLayerMethod method)
3464 <p>A description of each parameter follows:</p></ol>
3467 <ol><p>the magick wand.</p></ol>
3470 <ol><p>the method of selecting the size of the initial canvas.</p></ol>
3472 <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>
3474 <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>
3476 <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>
3479 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3480 _8c.html" target="source" name="MagickMinifyImage">MagickMinifyImage</a></h2>
3481 <div class="doc-section">
3483 <p>MagickMinifyImage() is a convenience method that scales an image proportionally to one-half its original size</p></ol>
3485 <p>The format of the MagickMinifyImage method is:</p>
3488 MagickBooleanType MagickMinifyImage(MagickWand *wand)
3491 <p>A description of each parameter follows:</p></ol>
3494 <ol><p>the magick wand.</p></ol>
3497 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3498 _8c.html" target="source" name="MagickModulateImage">MagickModulateImage</a></h2>
3499 <div class="doc-section">
3501 <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>
3503 <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>
3505 <p>The format of the MagickModulateImage method is:</p>
3508 MagickBooleanType MagickModulateImage(MagickWand *wand,
3509 const double brightness,const double saturation,const double hue)
3512 <p>A description of each parameter follows:</p></ol>
3515 <ol><p>the magick wand.</p></ol>
3518 <ol><p>the percent change in brighness.</p></ol>
3521 <ol><p>the percent change in saturation.</p></ol>
3524 <ol><p>the percent change in hue.</p></ol>
3527 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3528 _8c.html" target="source" name="MagickMontageImage">MagickMontageImage</a></h2>
3529 <div class="doc-section">
3531 <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>
3533 <p>The format of the MagickMontageImage method is:</p>
3536 MagickWand *MagickMontageImage(MagickWand *wand,
3537 const DrawingWand drawing_wand,const char *tile_geometry,
3538 const char *thumbnail_geometry,const MontageMode mode,
3542 <p>A description of each parameter follows:</p></ol>
3545 <ol><p>the magick wand.</p></ol>
3547 <h5>drawing_wand</h5>
3548 <ol><p>the drawing wand. The font name, size, and color are obtained from this wand.</p></ol>
3550 <h5>tile_geometry</h5>
3551 <ol><p>the number of tiles per row and page (e.g. 6x4+0+0).</p></ol>
3553 <h5>thumbnail_geometry</h5>
3554 <ol><p>Preferred image size and border size of each thumbnail (e.g. 120x120+4+3>).</p></ol>
3557 <ol><p>Thumbnail framing mode: Frame, Unframe, or Concatenate.</p></ol>
3560 <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>
3563 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3564 _8c.html" target="source" name="MagickMorphImages">MagickMorphImages</a></h2>
3565 <div class="doc-section">
3567 <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>
3569 <p>The format of the MagickMorphImages method is:</p>
3572 MagickWand *MagickMorphImages(MagickWand *wand,
3573 const size_t number_frames)
3576 <p>A description of each parameter follows:</p></ol>
3579 <ol><p>the magick wand.</p></ol>
3581 <h5>number_frames</h5>
3582 <ol><p>the number of in-between images to generate.</p></ol>
3585 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3586 _8c.html" target="source" name="MagickMorphologyImage">MagickMorphologyImage</a></h2>
3587 <div class="doc-section">
3589 <p>MagickMorphologyImage() applies a user supplied kernel to the image according to the given mophology method.</p></ol>
3591 <p>The format of the MagickMorphologyImage method is:</p>
3594 MagickBooleanType MagickMorphologyImage(MagickWand *wand,
3595 MorphologyMethod method,const ssize_t iterations,KernelInfo *kernel)
3596 MagickBooleanType MagickMorphologyImageChannel(MagickWand *wand,
3597 ChannelType channel,MorphologyMethod method,const ssize_t iterations,
3601 <p>A description of each parameter follows:</p></ol>
3604 <ol><p>the magick wand.</p></ol>
3607 <ol><p>the image channel(s).</p></ol>
3610 <ol><p>the morphology method to be applied.</p></ol>
3613 <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>
3616 <ol><p>An array of doubles representing the morphology kernel.</p></ol>
3619 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3620 _8c.html" target="source" name="MagickMotionBlurImage">MagickMotionBlurImage</a></h2>
3621 <div class="doc-section">
3623 <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>
3625 <p>The format of the MagickMotionBlurImage method is:</p>
3628 MagickBooleanType MagickMotionBlurImage(MagickWand *wand,
3629 const double radius,const double sigma,const double angle)
3630 MagickBooleanType MagickMotionBlurImageChannel(MagickWand *wand,
3631 const ChannelType channel,const double radius,const double sigma,
3635 <p>A description of each parameter follows:</p></ol>
3638 <ol><p>the magick wand.</p></ol>
3641 <ol><p>the image channel(s).</p></ol>
3644 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
3647 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
3650 <ol><p>Apply the effect along this angle.</p></ol>
3653 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3654 _8c.html" target="source" name="MagickNegateImage">MagickNegateImage</a></h2>
3655 <div class="doc-section">
3657 <p>MagickNegateImage() negates the colors in the reference image. The Grayscale option means that only grayscale values within the image are negated.</p></ol>
3659 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p></ol>
3661 <p>The format of the MagickNegateImage method is:</p>
3664 MagickBooleanType MagickNegateImage(MagickWand *wand,
3665 const MagickBooleanType gray)
3666 MagickBooleanType MagickNegateImage(MagickWand *wand,
3667 const ChannelType channel,const MagickBooleanType gray)
3670 <p>A description of each parameter follows:</p></ol>
3673 <ol><p>the magick wand.</p></ol>
3676 <ol><p>the image channel(s).</p></ol>
3679 <ol><p>If MagickTrue, only negate grayscale pixels within the image.</p></ol>
3682 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3683 _8c.html" target="source" name="MagickNewImage">MagickNewImage</a></h2>
3684 <div class="doc-section">
3686 <p>MagickNewImage() adds a blank image canvas of the specified size and background color to the wand.</p></ol>
3688 <p>The format of the MagickNewImage method is:</p>
3691 MagickBooleanType MagickNewImage(MagickWand *wand,
3692 const size_t columns,const size_t rows,
3693 const PixelWand *background)
3696 <p>A description of each parameter follows:</p></ol>
3699 <ol><p>the magick wand.</p></ol>
3702 <ol><p>the image width.</p></ol>
3705 <ol><p>the image height.</p></ol>
3708 <ol><p>the image color.</p></ol>
3711 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3712 _8c.html" target="source" name="MagickNextImage">MagickNextImage</a></h2>
3713 <div class="doc-section">
3715 <p>MagickNextImage() associates the next image in the image list with a magick wand.</p></ol>
3717 <p>The format of the MagickNextImage method is:</p>
3720 MagickBooleanType MagickNextImage(MagickWand *wand)
3723 <p>A description of each parameter follows:</p></ol>
3726 <ol><p>the magick wand.</p></ol>
3729 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3730 _8c.html" target="source" name="MagickNormalizeImage">MagickNormalizeImage</a></h2>
3731 <div class="doc-section">
3733 <p>MagickNormalizeImage() enhances the contrast of a color image by adjusting the pixels color to span the entire range of colors available</p></ol>
3735 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p></ol>
3737 <p>The format of the MagickNormalizeImage method is:</p>
3740 MagickBooleanType MagickNormalizeImage(MagickWand *wand)
3741 MagickBooleanType MagickNormalizeImageChannel(MagickWand *wand,
3742 const ChannelType channel)
3745 <p>A description of each parameter follows:</p></ol>
3748 <ol><p>the magick wand.</p></ol>
3751 <ol><p>the image channel(s).</p></ol>
3754 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3755 _8c.html" target="source" name="MagickOilPaintImage">MagickOilPaintImage</a></h2>
3756 <div class="doc-section">
3758 <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>
3760 <p>The format of the MagickOilPaintImage method is:</p>
3763 MagickBooleanType MagickOilPaintImage(MagickWand *wand,
3764 const double radius)
3767 <p>A description of each parameter follows:</p></ol>
3770 <ol><p>the magick wand.</p></ol>
3773 <ol><p>the radius of the circular neighborhood.</p></ol>
3776 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3777 _8c.html" target="source" name="MagickOpaquePaintImage">MagickOpaquePaintImage</a></h2>
3778 <div class="doc-section">
3780 <p>MagickOpaquePaintImage() changes any pixel that matches color with the color defined by fill.</p></ol>
3782 <p>The format of the MagickOpaquePaintImage method is:</p>
3785 MagickBooleanType MagickOpaquePaintImage(MagickWand *wand,
3786 const PixelWand *target,const PixelWand *fill,const double fuzz,
3787 const MagickBooleanType invert)
3788 MagickBooleanType MagickOpaquePaintImageChannel(MagickWand *wand,
3789 const ChannelType channel,const PixelWand *target,
3790 const PixelWand *fill,const double fuzz,const MagickBooleanType invert)
3793 <p>A description of each parameter follows:</p></ol>
3796 <ol><p>the magick wand.</p></ol>
3799 <ol><p>the channel(s).</p></ol>
3802 <ol><p>Change this target color to the fill color within the image.</p></ol>
3805 <ol><p>the fill pixel wand.</p></ol>
3808 <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>
3811 <ol><p>paint any pixel that does not match the target color.</p></ol>
3814 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3815 _8c.html" target="source" name="MagickOptimizeImageLayers">MagickOptimizeImageLayers</a></h2>
3816 <div class="doc-section">
3818 <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>
3820 <p>The format of the MagickOptimizeImageLayers method is:</p>
3823 MagickWand *MagickOptimizeImageLayers(MagickWand *wand)
3826 <p>A description of each parameter follows:</p></ol>
3829 <ol><p>the magick wand.</p></ol>
3832 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3833 _8c.html" target="source" name="MagickOrderedPosterizeImage">MagickOrderedPosterizeImage</a></h2>
3834 <div class="doc-section">
3836 <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>
3838 <p>The format of the MagickOrderedPosterizeImage method is:</p>
3841 MagickBooleanType MagickOrderedPosterizeImage(MagickWand *wand,
3842 const char *threshold_map)
3843 MagickBooleanType MagickOrderedPosterizeImageChannel(MagickWand *wand,
3844 const ChannelType channel,const char *threshold_map)
3847 <p>A description of each parameter follows:</p></ol>
3850 <ol><p>the image.</p></ol>
3853 <ol><p>the channel or channels to be thresholded.</p></ol>
3855 <h5>threshold_map</h5>
3856 <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>
3858 <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>
3860 <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>
3862 <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>
3865 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3866 _8c.html" target="source" name="MagickPingImage">MagickPingImage</a></h2>
3867 <div class="doc-section">
3869 <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>
3871 <p>The format of the MagickPingImage method is:</p>
3874 MagickBooleanType MagickPingImage(MagickWand *wand,const char *filename)
3877 <p>A description of each parameter follows:</p></ol>
3880 <ol><p>the magick wand.</p></ol>
3883 <ol><p>the image filename.</p></ol>
3886 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3887 _8c.html" target="source" name="MagickPingImageBlob">MagickPingImageBlob</a></h2>
3888 <div class="doc-section">
3890 <p>MagickPingImageBlob() pings an image or image sequence from a blob.</p></ol>
3892 <p>The format of the MagickPingImageBlob method is:</p>
3895 MagickBooleanType MagickPingImageBlob(MagickWand *wand,
3896 const void *blob,const size_t length)
3899 <p>A description of each parameter follows:</p></ol>
3902 <ol><p>the magick wand.</p></ol>
3905 <ol><p>the blob.</p></ol>
3908 <ol><p>the blob length.</p></ol>
3911 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3912 _8c.html" target="source" name="MagickPingImageFile">MagickPingImageFile</a></h2>
3913 <div class="doc-section">
3915 <p>MagickPingImageFile() pings an image or image sequence from an open file descriptor.</p></ol>
3917 <p>The format of the MagickPingImageFile method is:</p>
3920 MagickBooleanType MagickPingImageFile(MagickWand *wand,FILE *file)
3923 <p>A description of each parameter follows:</p></ol>
3926 <ol><p>the magick wand.</p></ol>
3929 <ol><p>the file descriptor.</p></ol>
3932 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3933 _8c.html" target="source" name="MagickPolaroidImage">MagickPolaroidImage</a></h2>
3934 <div class="doc-section">
3936 <p>MagickPolaroidImage() simulates a Polaroid picture.</p></ol>
3938 <p>The format of the MagickPolaroidImage method is:</p>
3941 MagickBooleanType MagickPolaroidImage(MagickWand *wand,
3942 const DrawingWand *drawing_wand,const double angle)
3945 <p>A description of each parameter follows:</p></ol>
3948 <ol><p>the magick wand.</p></ol>
3950 <h5>drawing_wand</h5>
3951 <ol><p>the draw wand.</p></ol>
3954 <ol><p>Apply the effect along this angle.</p></ol>
3957 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3958 _8c.html" target="source" name="MagickPosterizeImage">MagickPosterizeImage</a></h2>
3959 <div class="doc-section">
3961 <p>MagickPosterizeImage() reduces the image to a limited number of color level.</p></ol>
3963 <p>The format of the MagickPosterizeImage method is:</p>
3966 MagickBooleanType MagickPosterizeImage(MagickWand *wand,
3967 const unsigned levels,const MagickBooleanType dither)
3970 <p>A description of each parameter follows:</p></ol>
3973 <ol><p>the magick wand.</p></ol>
3976 <ol><p>Number of color levels allowed in each channel. Very low values (2, 3, or 4) have the most visible effect.</p></ol>
3979 <ol><p>Set this integer value to something other than zero to dither the mapped image.</p></ol>
3982 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3983 _8c.html" target="source" name="MagickPreviewImages">MagickPreviewImages</a></h2>
3984 <div class="doc-section">
3986 <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>
3988 <p>The format of the MagickPreviewImages method is:</p>
3991 MagickWand *MagickPreviewImages(MagickWand *wand,
3992 const PreviewType preview)
3995 <p>A description of each parameter follows:</p></ol>
3998 <ol><p>the magick wand.</p></ol>
4001 <ol><p>the preview type.</p></ol>
4004 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4005 _8c.html" target="source" name="MagickPreviousImage">MagickPreviousImage</a></h2>
4006 <div class="doc-section">
4008 <p>MagickPreviousImage() assocates the previous image in an image list with the magick wand.</p></ol>
4010 <p>The format of the MagickPreviousImage method is:</p>
4013 MagickBooleanType MagickPreviousImage(MagickWand *wand)
4016 <p>A description of each parameter follows:</p></ol>
4019 <ol><p>the magick wand.</p></ol>
4022 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4023 _8c.html" target="source" name="MagickQuantizeImage">MagickQuantizeImage</a></h2>
4024 <div class="doc-section">
4026 <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>
4028 <p>The format of the MagickQuantizeImage method is:</p>
4031 MagickBooleanType MagickQuantizeImage(MagickWand *wand,
4032 const size_t number_colors,const ColorspaceType colorspace,
4033 const size_t treedepth,const MagickBooleanType dither,
4034 const MagickBooleanType measure_error)
4037 <p>A description of each parameter follows:</p></ol>
4040 <ol><p>the magick wand.</p></ol>
4042 <h5>number_colors</h5>
4043 <ol><p>the number of colors.</p></ol>
4046 <ol><p>Perform color reduction in this colorspace, typically RGBColorspace.</p></ol>
4049 <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>
4052 <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>
4054 <h5>measure_error</h5>
4055 <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>
4058 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4059 _8c.html" target="source" name="MagickQuantizeImages">MagickQuantizeImages</a></h2>
4060 <div class="doc-section">
4062 <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>
4064 <p>The format of the MagickQuantizeImages method is:</p>
4067 MagickBooleanType MagickQuantizeImages(MagickWand *wand,
4068 const size_t number_colors,const ColorspaceType colorspace,
4069 const size_t treedepth,const MagickBooleanType dither,
4070 const MagickBooleanType measure_error)
4073 <p>A description of each parameter follows:</p></ol>
4076 <ol><p>the magick wand.</p></ol>
4078 <h5>number_colors</h5>
4079 <ol><p>the number of colors.</p></ol>
4082 <ol><p>Perform color reduction in this colorspace, typically RGBColorspace.</p></ol>
4085 <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>
4088 <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>
4090 <h5>measure_error</h5>
4091 <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>
4094 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4095 _8c.html" target="source" name="MagickRadialBlurImage">MagickRadialBlurImage</a></h2>
4096 <div class="doc-section">
4098 <p>MagickRadialBlurImage() radial blurs an image.</p></ol>
4100 <p>The format of the MagickRadialBlurImage method is:</p>
4103 MagickBooleanType MagickRadialBlurImage(MagickWand *wand,
4105 MagickBooleanType MagickRadialBlurImageChannel(MagickWand *wand,
4106 const ChannelType channel,const double angle)
4109 <p>A description of each parameter follows:</p></ol>
4112 <ol><p>the magick wand.</p></ol>
4115 <ol><p>the image channel(s).</p></ol>
4118 <ol><p>the angle of the blur in degrees.</p></ol>
4121 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4122 _8c.html" target="source" name="MagickRaiseImage">MagickRaiseImage</a></h2>
4123 <div class="doc-section">
4125 <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>
4127 <p>The format of the MagickRaiseImage method is:</p>
4130 MagickBooleanType MagickRaiseImage(MagickWand *wand,
4131 const size_t width,const size_t height,const ssize_t x,
4132 const ssize_t y,const MagickBooleanType raise)
4135 <p>A description of each parameter follows:</p></ol>
4138 <ol><p>the magick wand.</p></ol>
4140 <h5>width,height,x,y</h5>
4141 <ol><p>Define the dimensions of the area to raise.</p></ol>
4144 <ol><p>A value other than zero creates a 3-D raise effect, otherwise it has a lowered effect.</p></ol>
4147 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4148 _8c.html" target="source" name="MagickRandomThresholdImage">MagickRandomThresholdImage</a></h2>
4149 <div class="doc-section">
4151 <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>
4153 <p>The format of the MagickRandomThresholdImage method is:</p>
4156 MagickBooleanType MagickRandomThresholdImage(MagickWand *wand,
4157 const double low,const double high)
4158 MagickBooleanType MagickRandomThresholdImageChannel(MagickWand *wand,
4159 const ChannelType channel,const double low,const double high)
4162 <p>A description of each parameter follows:</p></ol>
4165 <ol><p>the magick wand.</p></ol>
4168 <ol><p>the image channel(s).</p></ol>
4171 <ol><p>Specify the high and low thresholds. These values range from 0 to QuantumRange.</p></ol>
4174 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4175 _8c.html" target="source" name="MagickReadImage">MagickReadImage</a></h2>
4176 <div class="doc-section">
4178 <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>
4180 <p>The format of the MagickReadImage method is:</p>
4183 MagickBooleanType MagickReadImage(MagickWand *wand,const char *filename)
4186 <p>A description of each parameter follows:</p></ol>
4189 <ol><p>the magick wand.</p></ol>
4192 <ol><p>the image filename.</p></ol>
4195 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4196 _8c.html" target="source" name="MagickReadImageBlob">MagickReadImageBlob</a></h2>
4197 <div class="doc-section">
4199 <p>MagickReadImageBlob() reads an image or image sequence from a blob.</p></ol>
4201 <p>The format of the MagickReadImageBlob method is:</p>
4204 MagickBooleanType MagickReadImageBlob(MagickWand *wand,
4205 const void *blob,const size_t length)
4208 <p>A description of each parameter follows:</p></ol>
4211 <ol><p>the magick wand.</p></ol>
4214 <ol><p>the blob.</p></ol>
4217 <ol><p>the blob length.</p></ol>
4220 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4221 _8c.html" target="source" name="MagickReadImageFile">MagickReadImageFile</a></h2>
4222 <div class="doc-section">
4224 <p>MagickReadImageFile() reads an image or image sequence from an open file descriptor.</p></ol>
4226 <p>The format of the MagickReadImageFile method is:</p>
4229 MagickBooleanType MagickReadImageFile(MagickWand *wand,FILE *file)
4232 <p>A description of each parameter follows:</p></ol>
4235 <ol><p>the magick wand.</p></ol>
4238 <ol><p>the file descriptor.</p></ol>
4241 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4242 _8c.html" target="source" name="MagickReduceNoiseImage">MagickReduceNoiseImage</a></h2>
4243 <div class="doc-section">
4245 <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>
4247 <p>The format of the MagickReduceNoiseImage method is:</p>
4250 MagickBooleanType MagickReduceNoiseImage(MagickWand *wand,
4251 const double radius)
4254 <p>A description of each parameter follows:</p></ol>
4257 <ol><p>the magick wand.</p></ol>
4260 <ol><p>the radius of the pixel neighborhood.</p></ol>
4263 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4264 _8c.html" target="source" name="MagickRemapImage">MagickRemapImage</a></h2>
4265 <div class="doc-section">
4267 <p>MagickRemapImage() replaces the colors of an image with the closest color from a reference image.</p></ol>
4269 <p>The format of the MagickRemapImage method is:</p>
4272 MagickBooleanType MagickRemapImage(MagickWand *wand,
4273 const MagickWand *remap_wand,const DitherMethod method)
4276 <p>A description of each parameter follows:</p></ol>
4279 <ol><p>the magick wand.</p></ol>
4282 <ol><p>the affinity wand.</p></ol>
4285 <ol><p>choose from these dither methods: NoDitherMethod, RiemersmaDitherMethod, or FloydSteinbergDitherMethod.</p></ol>
4288 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4289 _8c.html" target="source" name="MagickRemoveImage">MagickRemoveImage</a></h2>
4290 <div class="doc-section">
4292 <p>MagickRemoveImage() removes an image from the image list.</p></ol>
4294 <p>The format of the MagickRemoveImage method is:</p>
4297 MagickBooleanType MagickRemoveImage(MagickWand *wand)
4300 <p>A description of each parameter follows:</p></ol>
4303 <ol><p>the magick wand.</p></ol>
4306 <ol><p>the splice wand.</p></ol>
4309 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4310 _8c.html" target="source" name="MagickResampleImage">MagickResampleImage</a></h2>
4311 <div class="doc-section">
4313 <p>MagickResampleImage() resample image to desired resolution.</p></ol>
4315 <p>Bessel Blackman Box Catrom Cubic Gaussian Hanning Hermite Lanczos Mitchell Point Quandratic Sinc Triangle</p></ol>
4317 <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>
4319 <p>The format of the MagickResampleImage method is:</p>
4322 MagickBooleanType MagickResampleImage(MagickWand *wand,
4323 const double x_resolution,const double y_resolution,
4324 const FilterTypes filter,const double blur)
4327 <p>A description of each parameter follows:</p></ol>
4330 <ol><p>the magick wand.</p></ol>
4332 <h5>x_resolution</h5>
4333 <ol><p>the new image x resolution.</p></ol>
4335 <h5>y_resolution</h5>
4336 <ol><p>the new image y resolution.</p></ol>
4339 <ol><p>Image filter to use.</p></ol>
4342 <ol><p>the blur factor where > 1 is blurry, < 1 is sharp.</p></ol>
4345 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4346 _8c.html" target="source" name="MagickResetImagePage">MagickResetImagePage</a></h2>
4347 <div class="doc-section">
4349 <p>MagickResetImagePage() resets the Wand page canvas and position.</p></ol>
4351 <p>The format of the MagickResetImagePage method is:</p>
4354 MagickBooleanType MagickResetImagePage(MagickWand *wand,
4358 <p>A description of each parameter follows:</p></ol>
4361 <ol><p>the magick wand.</p></ol>
4364 <ol><p>the relative page specification.</p></ol>
4367 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4368 _8c.html" target="source" name="MagickResizeImage">MagickResizeImage</a></h2>
4369 <div class="doc-section">
4371 <p>MagickResizeImage() scales an image to the desired dimensions with one of these filters:</p>
4375 Catrom CubicGaussian
4376 Hanning Hermite Lanczos
4377 Mitchell PointQuandratic
4381 <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>
4383 <p>The format of the MagickResizeImage method is:</p>
4386 MagickBooleanType MagickResizeImage(MagickWand *wand,
4387 const size_t columns,const size_t rows,
4388 const FilterTypes filter,const double blur)
4391 <p>A description of each parameter follows:</p></ol>
4394 <ol><p>the magick wand.</p></ol>
4397 <ol><p>the number of columns in the scaled image.</p></ol>
4400 <ol><p>the number of rows in the scaled image.</p></ol>
4403 <ol><p>Image filter to use.</p></ol>
4406 <ol><p>the blur factor where > 1 is blurry, < 1 is sharp.</p></ol>
4409 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4410 _8c.html" target="source" name="MagickRollImage">MagickRollImage</a></h2>
4411 <div class="doc-section">
4413 <p>MagickRollImage() offsets an image as defined by x and y.</p></ol>
4415 <p>The format of the MagickRollImage method is:</p>
4418 MagickBooleanType MagickRollImage(MagickWand *wand,const ssize_t x,
4422 <p>A description of each parameter follows:</p></ol>
4425 <ol><p>the magick wand.</p></ol>
4428 <ol><p>the x offset.</p></ol>
4431 <ol><p>the y offset.</p></ol>
4435 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4436 _8c.html" target="source" name="MagickRotateImage">MagickRotateImage</a></h2>
4437 <div class="doc-section">
4439 <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>
4441 <p>The format of the MagickRotateImage method is:</p>
4444 MagickBooleanType MagickRotateImage(MagickWand *wand,
4445 const PixelWand *background,const double degrees)
4448 <p>A description of each parameter follows:</p></ol>
4451 <ol><p>the magick wand.</p></ol>
4454 <ol><p>the background pixel wand.</p></ol>
4457 <ol><p>the number of degrees to rotate the image.</p></ol>
4461 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4462 _8c.html" target="source" name="MagickSampleImage">MagickSampleImage</a></h2>
4463 <div class="doc-section">
4465 <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>
4467 <p>The format of the MagickSampleImage method is:</p>
4470 MagickBooleanType MagickSampleImage(MagickWand *wand,
4471 const size_t columns,const size_t rows)
4474 <p>A description of each parameter follows:</p></ol>
4477 <ol><p>the magick wand.</p></ol>
4480 <ol><p>the number of columns in the scaled image.</p></ol>
4483 <ol><p>the number of rows in the scaled image.</p></ol>
4487 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4488 _8c.html" target="source" name="MagickScaleImage">MagickScaleImage</a></h2>
4489 <div class="doc-section">
4491 <p>MagickScaleImage() scales the size of an image to the given dimensions.</p></ol>
4493 <p>The format of the MagickScaleImage method is:</p>
4496 MagickBooleanType MagickScaleImage(MagickWand *wand,
4497 const size_t columns,const size_t rows)
4500 <p>A description of each parameter follows:</p></ol>
4503 <ol><p>the magick wand.</p></ol>
4506 <ol><p>the number of columns in the scaled image.</p></ol>
4509 <ol><p>the number of rows in the scaled image.</p></ol>
4513 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4514 _8c.html" target="source" name="MagickSegmentImage">MagickSegmentImage</a></h2>
4515 <div class="doc-section">
4517 <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>
4519 <p>The format of the SegmentImage method is:</p>
4522 MagickBooleanType MagickSegmentImage(MagickWand *wand,
4523 const ColorspaceType colorspace,const MagickBooleanType verbose,
4524 const double cluster_threshold,const double smooth_threshold)
4527 <p>A description of each parameter follows.</p></ol>
4530 <ol><p>the wand.</p></ol>
4533 <ol><p>the image colorspace.</p></ol>
4536 <ol><p>Set to MagickTrue to print detailed information about the identified classes.</p></ol>
4538 <h5>cluster_threshold</h5>
4539 <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>
4541 <h5>smooth_threshold</h5>
4542 <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>
4545 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4546 _8c.html" target="source" name="MagickSelectiveBlurImage">MagickSelectiveBlurImage</a></h2>
4547 <div class="doc-section">
4549 <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>
4551 <p>The format of the MagickSelectiveBlurImage method is:</p>
4554 MagickBooleanType MagickSelectiveBlurImage(MagickWand *wand,
4555 const double radius,const double sigma,const double threshold)
4556 MagickBooleanType MagickSelectiveBlurImageChannel(MagickWand *wand,
4557 const ChannelType channel,const double radius,const double sigma,
4558 const double threshold)
4561 <p>A description of each parameter follows:</p></ol>
4564 <ol><p>the magick wand.</p></ol>
4567 <ol><p>the image channel(s).</p></ol>
4570 <ol><p>the radius of the gaussian, in pixels, not counting the center pixel.</p></ol>
4573 <ol><p>the standard deviation of the gaussian, in pixels.</p></ol>
4576 <ol><p>only pixels within this contrast threshold are included in the blur operation.</p></ol>
4579 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4580 _8c.html" target="source" name="MagickSeparateImageChannel">MagickSeparateImageChannel</a></h2>
4581 <div class="doc-section">
4583 <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>
4585 <p>The format of the MagickSeparateImageChannel method is:</p>
4588 MagickBooleanType MagickSeparateImageChannel(MagickWand *wand,
4589 const ChannelType channel)
4592 <p>A description of each parameter follows:</p></ol>
4595 <ol><p>the magick wand.</p></ol>
4598 <ol><p>the image channel(s).</p></ol>
4601 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4602 _8c.html" target="source" name="MagickSepiaToneImage">MagickSepiaToneImage</a></h2>
4603 <div class="doc-section">
4605 <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>
4607 <p>The format of the MagickSepiaToneImage method is:</p>
4610 MagickBooleanType MagickSepiaToneImage(MagickWand *wand,
4611 const double threshold)
4614 <p>A description of each parameter follows:</p></ol>
4617 <ol><p>the magick wand.</p></ol>
4620 <ol><p>Define the extent of the sepia toning.</p></ol>
4623 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4624 _8c.html" target="source" name="MagickSetImage">MagickSetImage</a></h2>
4625 <div class="doc-section">
4627 <p>MagickSetImage() replaces the last image returned by MagickSetImageIndex(), MagickNextImage(), MagickPreviousImage() with the images from the specified wand.</p></ol>
4629 <p>The format of the MagickSetImage method is:</p>
4632 MagickBooleanType MagickSetImage(MagickWand *wand,
4633 const MagickWand *set_wand)
4636 <p>A description of each parameter follows:</p></ol>
4639 <ol><p>the magick wand.</p></ol>
4642 <ol><p>the set_wand wand.</p></ol>
4645 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4646 _8c.html" target="source" name="MagickSetImageAlphaChannel">MagickSetImageAlphaChannel</a></h2>
4647 <div class="doc-section">
4649 <p>MagickSetImageAlphaChannel() activates, deactivates, resets, or sets the alpha channel.</p></ol>
4651 <p>The format of the MagickSetImageAlphaChannel method is:</p>
4654 MagickBooleanType MagickSetImageAlphaChannel(MagickWand *wand,
4655 const AlphaChannelType alpha_type)
4658 <p>A description of each parameter follows:</p></ol>
4661 <ol><p>the magick wand.</p></ol>
4664 <ol><p>the alpha channel type: ActivateAlphaChannel, DeactivateAlphaChannel, OpaqueAlphaChannel, or SetAlphaChannel.</p></ol>
4667 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4668 _8c.html" target="source" name="MagickSetImageBackgroundColor">MagickSetImageBackgroundColor</a></h2>
4669 <div class="doc-section">
4671 <p>MagickSetImageBackgroundColor() sets the image background color.</p></ol>
4673 <p>The format of the MagickSetImageBackgroundColor method is:</p>
4676 MagickBooleanType MagickSetImageBackgroundColor(MagickWand *wand,
4677 const PixelWand *background)
4680 <p>A description of each parameter follows:</p></ol>
4683 <ol><p>the magick wand.</p></ol>
4686 <ol><p>the background pixel wand.</p></ol>
4689 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4690 _8c.html" target="source" name="MagickSetImageBias">MagickSetImageBias</a></h2>
4691 <div class="doc-section">
4693 <p>MagickSetImageBias() sets the image bias for any method that convolves an image (e.g. MagickConvolveImage()).</p></ol>
4695 <p>The format of the MagickSetImageBias method is:</p>
4698 MagickBooleanType MagickSetImageBias(MagickWand *wand,
4702 <p>A description of each parameter follows:</p></ol>
4705 <ol><p>the magick wand.</p></ol>
4708 <ol><p>the image bias.</p></ol>
4711 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4712 _8c.html" target="source" name="MagickSetImageBluePrimary">MagickSetImageBluePrimary</a></h2>
4713 <div class="doc-section">
4715 <p>MagickSetImageBluePrimary() sets the image chromaticity blue primary point.</p></ol>
4717 <p>The format of the MagickSetImageBluePrimary method is:</p>
4720 MagickBooleanType MagickSetImageBluePrimary(MagickWand *wand,
4721 const double x,const double y)
4724 <p>A description of each parameter follows:</p></ol>
4727 <ol><p>the magick wand.</p></ol>
4730 <ol><p>the blue primary x-point.</p></ol>
4733 <ol><p>the blue primary y-point.</p></ol>
4736 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4737 _8c.html" target="source" name="MagickSetImageBorderColor">MagickSetImageBorderColor</a></h2>
4738 <div class="doc-section">
4740 <p>MagickSetImageBorderColor() sets the image border color.</p></ol>
4742 <p>The format of the MagickSetImageBorderColor method is:</p>
4745 MagickBooleanType MagickSetImageBorderColor(MagickWand *wand,
4746 const PixelWand *border)
4749 <p>A description of each parameter follows:</p></ol>
4752 <ol><p>the magick wand.</p></ol>
4755 <ol><p>the border pixel wand.</p></ol>
4758 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4759 _8c.html" target="source" name="MagickSetImageChannelDepth">MagickSetImageChannelDepth</a></h2>
4760 <div class="doc-section">
4762 <p>MagickSetImageChannelDepth() sets the depth of a particular image channel.</p></ol>
4764 <p>The format of the MagickSetImageChannelDepth method is:</p>
4767 MagickBooleanType MagickSetImageChannelDepth(MagickWand *wand,
4768 const ChannelType channel,const size_t depth)
4771 <p>A description of each parameter follows:</p></ol>
4774 <ol><p>the magick wand.</p></ol>
4777 <ol><p>the image channel(s).</p></ol>
4780 <ol><p>the image depth in bits.</p></ol>
4783 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4784 _8c.html" target="source" name="MagickSetImageClipMask">MagickSetImageClipMask</a></h2>
4785 <div class="doc-section">
4787 <p>MagickSetImageClipMask() sets image clip mask.</p></ol>
4789 <p>The format of the MagickSetImageClipMask method is:</p>
4792 MagickBooleanType MagickSetImageClipMask(MagickWand *wand,
4793 const MagickWand *clip_mask)
4796 <p>A description of each parameter follows:</p></ol>
4799 <ol><p>the magick wand.</p></ol>
4802 <ol><p>the clip_mask wand.</p></ol>
4805 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4806 _8c.html" target="source" name="MagickSetImageColor">MagickSetImageColor</a></h2>
4807 <div class="doc-section">
4809 <p>MagickSetImageColor() set the entire wand canvas to the specified color.</p></ol>
4811 <p>The format of the MagickSetImageColor method is:</p>
4814 MagickBooleanType MagickSetImageColor(MagickWand *wand,
4815 const PixelWand *color)
4818 <p>A description of each parameter follows:</p></ol>
4821 <ol><p>the magick wand.</p></ol>
4824 <ol><p>the image color.</p></ol>
4827 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4828 _8c.html" target="source" name="MagickSetImageColormapColor">MagickSetImageColormapColor</a></h2>
4829 <div class="doc-section">
4831 <p>MagickSetImageColormapColor() sets the color of the specified colormap index.</p></ol>
4833 <p>The format of the MagickSetImageColormapColor method is:</p>
4836 MagickBooleanType MagickSetImageColormapColor(MagickWand *wand,
4837 const size_t index,const PixelWand *color)
4840 <p>A description of each parameter follows:</p></ol>
4843 <ol><p>the magick wand.</p></ol>
4846 <ol><p>the offset into the image colormap.</p></ol>
4849 <ol><p>Return the colormap color in this wand.</p></ol>
4852 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4853 _8c.html" target="source" name="MagickSetImageColorspace">MagickSetImageColorspace</a></h2>
4854 <div class="doc-section">
4856 <p>MagickSetImageColorspace() sets the image colorspace.</p></ol>
4858 <p>The format of the MagickSetImageColorspace method is:</p>
4861 MagickBooleanType MagickSetImageColorspace(MagickWand *wand,
4862 const ColorspaceType colorspace)
4865 <p>A description of each parameter follows:</p></ol>
4868 <ol><p>the magick wand.</p></ol>
4871 <ol><p>the image colorspace: UndefinedColorspace, RGBColorspace, GRAYColorspace, TransparentColorspace, OHTAColorspace, XYZColorspace, YCbCrColorspace, YCCColorspace, YIQColorspace, YPbPrColorspace, YPbPrColorspace, YUVColorspace, CMYKColorspace, sRGBColorspace, HSLColorspace, or HWBColorspace.</p></ol>
4874 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4875 _8c.html" target="source" name="MagickSetImageCompose">MagickSetImageCompose</a></h2>
4876 <div class="doc-section">
4878 <p>MagickSetImageCompose() sets the image composite operator, useful for specifying how to composite the image thumbnail when using the MagickMontageImage() method.</p></ol>
4880 <p>The format of the MagickSetImageCompose method is:</p>
4883 MagickBooleanType MagickSetImageCompose(MagickWand *wand,
4884 const CompositeOperator compose)
4887 <p>A description of each parameter follows:</p></ol>
4890 <ol><p>the magick wand.</p></ol>
4893 <ol><p>the image composite operator.</p></ol>
4896 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4897 _8c.html" target="source" name="MagickSetImageCompression">MagickSetImageCompression</a></h2>
4898 <div class="doc-section">
4900 <p>MagickSetImageCompression() sets the image compression.</p></ol>
4902 <p>The format of the MagickSetImageCompression method is:</p>
4905 MagickBooleanType MagickSetImageCompression(MagickWand *wand,
4906 const CompressionType compression)
4909 <p>A description of each parameter follows:</p></ol>
4912 <ol><p>the magick wand.</p></ol>
4914 <h5>compression</h5>
4915 <ol><p>the image compression type.</p></ol>
4918 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4919 _8c.html" target="source" name="MagickSetImageCompressionQuality">MagickSetImageCompressionQuality</a></h2>
4920 <div class="doc-section">
4922 <p>MagickSetImageCompressionQuality() sets the image compression quality.</p></ol>
4924 <p>The format of the MagickSetImageCompressionQuality method is:</p>
4927 MagickBooleanType MagickSetImageCompressionQuality(MagickWand *wand,
4928 const size_t quality)
4931 <p>A description of each parameter follows:</p></ol>
4934 <ol><p>the magick wand.</p></ol>
4937 <ol><p>the image compression tlityype.</p></ol>
4940 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4941 _8c.html" target="source" name="MagickSetImageDelay">MagickSetImageDelay</a></h2>
4942 <div class="doc-section">
4944 <p>MagickSetImageDelay() sets the image delay.</p></ol>
4946 <p>The format of the MagickSetImageDelay method is:</p>
4949 MagickBooleanType MagickSetImageDelay(MagickWand *wand,
4953 <p>A description of each parameter follows:</p></ol>
4956 <ol><p>the magick wand.</p></ol>
4959 <ol><p>the image delay in ticks-per-second units.</p></ol>
4962 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4963 _8c.html" target="source" name="MagickSetImageDepth">MagickSetImageDepth</a></h2>
4964 <div class="doc-section">
4966 <p>MagickSetImageDepth() sets the image depth.</p></ol>
4968 <p>The format of the MagickSetImageDepth method is:</p>
4971 MagickBooleanType MagickSetImageDepth(MagickWand *wand,
4975 <p>A description of each parameter follows:</p></ol>
4978 <ol><p>the magick wand.</p></ol>
4981 <ol><p>the image depth in bits: 8, 16, or 32.</p></ol>
4984 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4985 _8c.html" target="source" name="MagickSetImageDispose">MagickSetImageDispose</a></h2>
4986 <div class="doc-section">
4988 <p>MagickSetImageDispose() sets the image disposal method.</p></ol>
4990 <p>The format of the MagickSetImageDispose method is:</p>
4993 MagickBooleanType MagickSetImageDispose(MagickWand *wand,
4994 const DisposeType dispose)
4997 <p>A description of each parameter follows:</p></ol>
5000 <ol><p>the magick wand.</p></ol>
5003 <ol><p>the image disposeal type.</p></ol>
5006 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5007 _8c.html" target="source" name="MagickSetImageExtent">MagickSetImageExtent</a></h2>
5008 <div class="doc-section">
5010 <p>MagickSetImageExtent() sets the image size (i.e. columns & rows).</p></ol>
5012 <p>The format of the MagickSetImageExtent method is:</p>
5015 MagickBooleanType MagickSetImageExtent(MagickWand *wand,
5016 const size_t columns,const unsigned rows)
5019 <p>A description of each parameter follows:</p></ol>
5022 <ol><p>the magick wand.</p></ol>
5025 <ol><p>The image width in pixels.</p></ol>
5028 <ol><p>The image height in pixels.</p></ol>
5031 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5032 _8c.html" target="source" name="MagickSetImageFilename">MagickSetImageFilename</a></h2>
5033 <div class="doc-section">
5035 <p>MagickSetImageFilename() sets the filename of a particular image in a sequence.</p></ol>
5037 <p>The format of the MagickSetImageFilename method is:</p>
5040 MagickBooleanType MagickSetImageFilename(MagickWand *wand,
5041 const char *filename)
5044 <p>A description of each parameter follows:</p></ol>
5047 <ol><p>the magick wand.</p></ol>
5050 <ol><p>the image filename.</p></ol>
5053 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5054 _8c.html" target="source" name="MagickSetImageFormat">MagickSetImageFormat</a></h2>
5055 <div class="doc-section">
5057 <p>MagickSetImageFormat() sets the format of a particular image in a sequence.</p></ol>
5059 <p>The format of the MagickSetImageFormat method is:</p>
5062 MagickBooleanType MagickSetImageFormat(MagickWand *wand,
5066 <p>A description of each parameter follows:</p></ol>
5069 <ol><p>the magick wand.</p></ol>
5072 <ol><p>the image format.</p></ol>
5075 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5076 _8c.html" target="source" name="MagickSetImageFuzz">MagickSetImageFuzz</a></h2>
5077 <div class="doc-section">
5079 <p>MagickSetImageFuzz() sets the image fuzz.</p></ol>
5081 <p>The format of the MagickSetImageFuzz method is:</p>
5084 MagickBooleanType MagickSetImageFuzz(MagickWand *wand,
5088 <p>A description of each parameter follows:</p></ol>
5091 <ol><p>the magick wand.</p></ol>
5094 <ol><p>the image fuzz.</p></ol>
5097 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5098 _8c.html" target="source" name="MagickSetImageGamma">MagickSetImageGamma</a></h2>
5099 <div class="doc-section">
5101 <p>MagickSetImageGamma() sets the image gamma.</p></ol>
5103 <p>The format of the MagickSetImageGamma method is:</p>
5106 MagickBooleanType MagickSetImageGamma(MagickWand *wand,
5110 <p>A description of each parameter follows:</p></ol>
5113 <ol><p>the magick wand.</p></ol>
5116 <ol><p>the image gamma.</p></ol>
5119 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5120 _8c.html" target="source" name="MagickSetImageGravity">MagickSetImageGravity</a></h2>
5121 <div class="doc-section">
5123 <p>MagickSetImageGravity() sets the image gravity type.</p></ol>
5125 <p>The format of the MagickSetImageGravity method is:</p>
5128 MagickBooleanType MagickSetImageGravity(MagickWand *wand,
5129 const GravityType gravity)
5132 <p>A description of each parameter follows:</p></ol>
5135 <ol><p>the magick wand.</p></ol>
5138 <ol><p>the image interlace scheme: NoInterlace, LineInterlace, PlaneInterlace, PartitionInterlace.</p></ol>
5141 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5142 _8c.html" target="source" name="MagickSetImageGreenPrimary">MagickSetImageGreenPrimary</a></h2>
5143 <div class="doc-section">
5145 <p>MagickSetImageGreenPrimary() sets the image chromaticity green primary point.</p></ol>
5147 <p>The format of the MagickSetImageGreenPrimary method is:</p>
5150 MagickBooleanType MagickSetImageGreenPrimary(MagickWand *wand,
5151 const double x,const double y)
5154 <p>A description of each parameter follows:</p></ol>
5157 <ol><p>the magick wand.</p></ol>
5160 <ol><p>the green primary x-point.</p></ol>
5163 <ol><p>the green primary y-point.</p></ol>
5167 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5168 _8c.html" target="source" name="MagickSetImageInterlaceScheme">MagickSetImageInterlaceScheme</a></h2>
5169 <div class="doc-section">
5171 <p>MagickSetImageInterlaceScheme() sets the image interlace scheme.</p></ol>
5173 <p>The format of the MagickSetImageInterlaceScheme method is:</p>
5176 MagickBooleanType MagickSetImageInterlaceScheme(MagickWand *wand,
5177 const InterlaceType interlace)
5180 <p>A description of each parameter follows:</p></ol>
5183 <ol><p>the magick wand.</p></ol>
5186 <ol><p>the image interlace scheme: NoInterlace, LineInterlace, PlaneInterlace, PartitionInterlace.</p></ol>
5189 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5190 _8c.html" target="source" name="MagickSetImageInterpolateMethod">MagickSetImageInterpolateMethod</a></h2>
5191 <div class="doc-section">
5193 <p>MagickSetImageInterpolateMethod() sets the image interpolate pixel method.</p></ol>
5195 <p>The format of the MagickSetImageInterpolateMethod method is:</p>
5198 MagickBooleanType MagickSetImageInterpolateMethod(MagickWand *wand,
5199 const InterpolatePixelMethod method)
5202 <p>A description of each parameter follows:</p></ol>
5205 <ol><p>the magick wand.</p></ol>
5208 <ol><p>the image interpole pixel methods: choose from Undefined, Average, Bicubic, Bilinear, Filter, Integer, Mesh, NearestNeighbor.</p></ol>
5211 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5212 _8c.html" target="source" name="MagickSetImageIterations">MagickSetImageIterations</a></h2>
5213 <div class="doc-section">
5215 <p>MagickSetImageIterations() sets the image iterations.</p></ol>
5217 <p>The format of the MagickSetImageIterations method is:</p>
5220 MagickBooleanType MagickSetImageIterations(MagickWand *wand,
5221 const size_t iterations)
5224 <p>A description of each parameter follows:</p></ol>
5227 <ol><p>the magick wand.</p></ol>
5230 <ol><p>the image delay in 1/100th of a second.</p></ol>
5233 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5234 _8c.html" target="source" name="MagickSetImageMatte">MagickSetImageMatte</a></h2>
5235 <div class="doc-section">
5237 <p>MagickSetImageMatte() sets the image matte channel.</p></ol>
5239 <p>The format of the MagickSetImageMatteColor method is:</p>
5242 MagickBooleanType MagickSetImageMatteColor(MagickWand *wand,
5243 const MagickBooleanType *matte)
5246 <p>A description of each parameter follows:</p></ol>
5249 <ol><p>the magick wand.</p></ol>
5252 <ol><p>Set to MagickTrue to enable the image matte channel otherwise MagickFalse.</p></ol>
5255 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5256 _8c.html" target="source" name="MagickSetImageMatteColor">MagickSetImageMatteColor</a></h2>
5257 <div class="doc-section">
5259 <p>MagickSetImageMatteColor() sets the image matte color.</p></ol>
5261 <p>The format of the MagickSetImageMatteColor method is:</p>
5264 MagickBooleanType MagickSetImageMatteColor(MagickWand *wand,
5265 const PixelWand *matte)
5268 <p>A description of each parameter follows:</p></ol>
5271 <ol><p>the magick wand.</p></ol>
5274 <ol><p>the matte pixel wand.</p></ol>
5277 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5278 _8c.html" target="source" name="MagickSetImageOpacity">MagickSetImageOpacity</a></h2>
5279 <div class="doc-section">
5281 <p>MagickSetImageOpacity() sets the image to the specified opacity level.</p></ol>
5283 <p>The format of the MagickSetImageOpacity method is:</p>
5286 MagickBooleanType MagickSetImageOpacity(MagickWand *wand,
5290 <p>A description of each parameter follows:</p></ol>
5293 <ol><p>the magick wand.</p></ol>
5296 <ol><p>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.</p></ol>
5299 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5300 _8c.html" target="source" name="MagickSetImageOrientation">MagickSetImageOrientation</a></h2>
5301 <div class="doc-section">
5303 <p>MagickSetImageOrientation() sets the image orientation.</p></ol>
5305 <p>The format of the MagickSetImageOrientation method is:</p>
5308 MagickBooleanType MagickSetImageOrientation(MagickWand *wand,
5309 const OrientationType orientation)
5312 <p>A description of each parameter follows:</p></ol>
5315 <ol><p>the magick wand.</p></ol>
5317 <h5>orientation</h5>
5318 <ol><p>the image orientation type.</p></ol>
5321 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5322 _8c.html" target="source" name="MagickSetImagePage">MagickSetImagePage</a></h2>
5323 <div class="doc-section">
5325 <p>MagickSetImagePage() sets the page geometry of the image.</p></ol>
5327 <p>The format of the MagickSetImagePage method is:</p>
5330 MagickBooleanType MagickSetImagePage(MagickWand *wand,
5331 const size_t width,const size_t height,const ssize_t x,
5335 <p>A description of each parameter follows:</p></ol>
5338 <ol><p>the magick wand.</p></ol>
5341 <ol><p>the page width.</p></ol>
5344 <ol><p>the page height.</p></ol>
5347 <ol><p>the page x-offset.</p></ol>
5350 <ol><p>the page y-offset.</p></ol>
5353 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5354 _8c.html" target="source" name="MagickSetImageProgressMonitor">MagickSetImageProgressMonitor</a></h2>
5355 <div class="doc-section">
5357 <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>
5360 MagickBooleanType MagickProgressMonitor(const char *text,
5361 const MagickOffsetType offset,const MagickSizeType span,
5365 <p>If the progress monitor returns MagickFalse, the current operation is interrupted.</p></ol>
5367 <p>The format of the MagickSetImageProgressMonitor method is:</p>
5370 MagickProgressMonitor MagickSetImageProgressMonitor(MagickWand *wand
5371 const MagickProgressMonitor progress_monitor,void *client_data)
5374 <p>A description of each parameter follows:</p></ol>
5377 <ol><p>the magick wand.</p></ol>
5379 <h5>progress_monitor</h5>
5380 <ol><p>Specifies a pointer to a method to monitor progress of an image operation.</p></ol>
5382 <h5>client_data</h5>
5383 <ol><p>Specifies a pointer to any client data.</p></ol>
5386 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5387 _8c.html" target="source" name="MagickSetImageRedPrimary">MagickSetImageRedPrimary</a></h2>
5388 <div class="doc-section">
5390 <p>MagickSetImageRedPrimary() sets the image chromaticity red primary point.</p></ol>
5392 <p>The format of the MagickSetImageRedPrimary method is:</p>
5395 MagickBooleanType MagickSetImageRedPrimary(MagickWand *wand,
5396 const double x,const double y)
5399 <p>A description of each parameter follows:</p></ol>
5402 <ol><p>the magick wand.</p></ol>
5405 <ol><p>the red primary x-point.</p></ol>
5408 <ol><p>the red primary y-point.</p></ol>
5411 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5412 _8c.html" target="source" name="MagickSetImageRenderingIntent">MagickSetImageRenderingIntent</a></h2>
5413 <div class="doc-section">
5415 <p>MagickSetImageRenderingIntent() sets the image rendering intent.</p></ol>
5417 <p>The format of the MagickSetImageRenderingIntent method is:</p>
5420 MagickBooleanType MagickSetImageRenderingIntent(MagickWand *wand,
5421 const RenderingIntent rendering_intent)
5424 <p>A description of each parameter follows:</p></ol>
5427 <ol><p>the magick wand.</p></ol>
5429 <h5>rendering_intent</h5>
5430 <ol><p>the image rendering intent: UndefinedIntent, SaturationIntent, PerceptualIntent, AbsoluteIntent, or RelativeIntent.</p></ol>
5433 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5434 _8c.html" target="source" name="MagickSetImageResolution">MagickSetImageResolution</a></h2>
5435 <div class="doc-section">
5437 <p>MagickSetImageResolution() sets the image resolution.</p></ol>
5439 <p>The format of the MagickSetImageResolution method is:</p>
5442 MagickBooleanType MagickSetImageResolution(MagickWand *wand,
5443 const double x_resolution,const doubtl y_resolution)
5446 <p>A description of each parameter follows:</p></ol>
5449 <ol><p>the magick wand.</p></ol>
5451 <h5>x_resolution</h5>
5452 <ol><p>the image x resolution.</p></ol>
5454 <h5>y_resolution</h5>
5455 <ol><p>the image y resolution.</p></ol>
5458 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5459 _8c.html" target="source" name="MagickSetImageScene">MagickSetImageScene</a></h2>
5460 <div class="doc-section">
5462 <p>MagickSetImageScene() sets the image scene.</p></ol>
5464 <p>The format of the MagickSetImageScene method is:</p>
5467 MagickBooleanType MagickSetImageScene(MagickWand *wand,
5471 <p>A description of each parameter follows:</p></ol>
5474 <ol><p>the magick wand.</p></ol>
5477 <ol><p>the image scene number.</p></ol>
5480 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5481 _8c.html" target="source" name="MagickSetImageTicksPerSecond">MagickSetImageTicksPerSecond</a></h2>
5482 <div class="doc-section">
5484 <p>MagickSetImageTicksPerSecond() sets the image ticks-per-second.</p></ol>
5486 <p>The format of the MagickSetImageTicksPerSecond method is:</p>
5489 MagickBooleanType MagickSetImageTicksPerSecond(MagickWand *wand,
5490 const ssize_t ticks_per-second)
5493 <p>A description of each parameter follows:</p></ol>
5496 <ol><p>the magick wand.</p></ol>
5498 <h5>ticks_per_second</h5>
5499 <ol><p>the units to use for the image delay.</p></ol>
5502 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5503 _8c.html" target="source" name="MagickSetImageType">MagickSetImageType</a></h2>
5504 <div class="doc-section">
5506 <p>MagickSetImageType() sets the image type.</p></ol>
5508 <p>The format of the MagickSetImageType method is:</p>
5511 MagickBooleanType MagickSetImageType(MagickWand *wand,
5512 const ImageType image_type)
5515 <p>A description of each parameter follows:</p></ol>
5518 <ol><p>the magick wand.</p></ol>
5521 <ol><p>the image type: UndefinedType, BilevelType, GrayscaleType, GrayscaleMatteType, PaletteType, PaletteMatteType, TrueColorType, TrueColorMatteType, ColorSeparationType, ColorSeparationMatteType, or OptimizeType.</p></ol>
5524 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5525 _8c.html" target="source" name="MagickSetImageUnits">MagickSetImageUnits</a></h2>
5526 <div class="doc-section">
5528 <p>MagickSetImageUnits() sets the image units of resolution.</p></ol>
5530 <p>The format of the MagickSetImageUnits method is:</p>
5533 MagickBooleanType MagickSetImageUnits(MagickWand *wand,
5534 const ResolutionType units)
5537 <p>A description of each parameter follows:</p></ol>
5540 <ol><p>the magick wand.</p></ol>
5543 <ol><p>the image units of resolution : UndefinedResolution, PixelsPerInchResolution, or PixelsPerCentimeterResolution.</p></ol>
5546 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5547 _8c.html" target="source" name="MagickSetImageVirtualPixelMethod">MagickSetImageVirtualPixelMethod</a></h2>
5548 <div class="doc-section">
5550 <p>MagickSetImageVirtualPixelMethod() sets the image virtual pixel method.</p></ol>
5552 <p>The format of the MagickSetImageVirtualPixelMethod method is:</p>
5555 VirtualPixelMethod MagickSetImageVirtualPixelMethod(MagickWand *wand,
5556 const VirtualPixelMethod method)
5559 <p>A description of each parameter follows:</p></ol>
5562 <ol><p>the magick wand.</p></ol>
5565 <ol><p>the image virtual pixel method : UndefinedVirtualPixelMethod, ConstantVirtualPixelMethod, EdgeVirtualPixelMethod, MirrorVirtualPixelMethod, or TileVirtualPixelMethod.</p></ol>
5568 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5569 _8c.html" target="source" name="MagickSetImageWhitePoint">MagickSetImageWhitePoint</a></h2>
5570 <div class="doc-section">
5572 <p>MagickSetImageWhitePoint() sets the image chromaticity white point.</p></ol>
5574 <p>The format of the MagickSetImageWhitePoint method is:</p>
5577 MagickBooleanType MagickSetImageWhitePoint(MagickWand *wand,
5578 const double x,const double y)
5581 <p>A description of each parameter follows:</p></ol>
5584 <ol><p>the magick wand.</p></ol>
5587 <ol><p>the white x-point.</p></ol>
5590 <ol><p>the white y-point.</p></ol>
5593 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5594 _8c.html" target="source" name="MagickShadeImage">MagickShadeImage</a></h2>
5595 <div class="doc-section">
5597 <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>
5599 <p>The format of the MagickShadeImage method is:</p>
5602 MagickBooleanType MagickShadeImage(MagickWand *wand,
5603 const MagickBooleanType gray,const double azimuth,
5604 const double elevation)
5607 <p>A description of each parameter follows:</p></ol>
5610 <ol><p>the magick wand.</p></ol>
5613 <ol><p>A value other than zero shades the intensity of each pixel.</p></ol>
5615 <h5>azimuth, elevation</h5>
5616 <ol><p>Define the light source direction.</p></ol>
5619 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5620 _8c.html" target="source" name="MagickShadowImage">MagickShadowImage</a></h2>
5621 <div class="doc-section">
5623 <p>MagickShadowImage() simulates an image shadow.</p></ol>
5625 <p>The format of the MagickShadowImage method is:</p>
5628 MagickBooleanType MagickShadowImage(MagickWand *wand,
5629 const double opacity,const double sigma,const ssize_t x,const ssize_t y)
5632 <p>A description of each parameter follows:</p></ol>
5635 <ol><p>the magick wand.</p></ol>
5638 <ol><p>percentage transparency.</p></ol>
5641 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
5644 <ol><p>the shadow x-offset.</p></ol>
5647 <ol><p>the shadow y-offset.</p></ol>
5650 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5651 _8c.html" target="source" name="MagickSharpenImage">MagickSharpenImage</a></h2>
5652 <div class="doc-section">
5654 <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>
5656 <p>The format of the MagickSharpenImage method is:</p>
5659 MagickBooleanType MagickSharpenImage(MagickWand *wand,
5660 const double radius,const double sigma)
5661 MagickBooleanType MagickSharpenImageChannel(MagickWand *wand,
5662 const ChannelType channel,const double radius,const double sigma)
5665 <p>A description of each parameter follows:</p></ol>
5668 <ol><p>the magick wand.</p></ol>
5671 <ol><p>the image channel(s).</p></ol>
5674 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
5677 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
5680 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5681 _8c.html" target="source" name="MagickShaveImage">MagickShaveImage</a></h2>
5682 <div class="doc-section">
5684 <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>
5686 <p>The format of the MagickShaveImage method is:</p>
5689 MagickBooleanType MagickShaveImage(MagickWand *wand,
5690 const size_t columns,const size_t rows)
5693 <p>A description of each parameter follows:</p></ol>
5696 <ol><p>the magick wand.</p></ol>
5699 <ol><p>the number of columns in the scaled image.</p></ol>
5702 <ol><p>the number of rows in the scaled image.</p></ol>
5706 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5707 _8c.html" target="source" name="MagickShearImage">MagickShearImage</a></h2>
5708 <div class="doc-section">
5710 <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>
5712 <p>The format of the MagickShearImage method is:</p>
5715 MagickBooleanType MagickShearImage(MagickWand *wand,
5716 const PixelWand *background,const double x_shear,onst double y_shear)
5719 <p>A description of each parameter follows:</p></ol>
5722 <ol><p>the magick wand.</p></ol>
5725 <ol><p>the background pixel wand.</p></ol>
5728 <ol><p>the number of degrees to shear the image.</p></ol>
5731 <ol><p>the number of degrees to shear the image.</p></ol>
5734 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5735 _8c.html" target="source" name="MagickSigmoidalContrastImage">MagickSigmoidalContrastImage</a></h2>
5736 <div class="doc-section">
5738 <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>
5740 <p>The format of the MagickSigmoidalContrastImage method is:</p>
5743 MagickBooleanType MagickSigmoidalContrastImage(MagickWand *wand,
5744 const MagickBooleanType sharpen,const double alpha,const double beta)
5745 MagickBooleanType MagickSigmoidalContrastImageChannel(MagickWand *wand,
5746 const ChannelType channel,const MagickBooleanType sharpen,
5747 const double alpha,const double beta)
5750 <p>A description of each parameter follows:</p></ol>
5753 <ol><p>the magick wand.</p></ol>
5756 <ol><p>Identify which channel to level: RedChannel, GreenChannel,</p></ol>
5759 <ol><p>Increase or decrease image contrast.</p></ol>
5762 <ol><p>strength of the contrast, the larger the number the more 'threshold-like' it becomes.</p></ol>
5765 <ol><p>midpoint of the function as a color value 0 to QuantumRange.</p></ol>
5768 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5769 _8c.html" target="source" name="MagickSimilarityImage">MagickSimilarityImage</a></h2>
5770 <div class="doc-section">
5772 <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>
5774 <p>The format of the MagickSimilarityImage method is:</p>
5777 MagickWand *MagickSimilarityImage(MagickWand *wand,
5778 const MagickWand *reference,RectangeInfo *offset,double *similarity)
5781 <p>A description of each parameter follows:</p></ol>
5784 <ol><p>the magick wand.</p></ol>
5787 <ol><p>the reference wand.</p></ol>
5790 <ol><p>the best match offset of the reference image within the image.</p></ol>
5793 <ol><p>the computed similarity between the images.</p></ol>
5796 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5797 _8c.html" target="source" name="MagickSketchImage">MagickSketchImage</a></h2>
5798 <div class="doc-section">
5800 <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>
5802 <p>The format of the MagickSketchImage method is:</p>
5805 MagickBooleanType MagickSketchImage(MagickWand *wand,
5806 const double radius,const double sigma,const double angle)
5809 <p>A description of each parameter follows:</p></ol>
5812 <ol><p>the magick wand.</p></ol>
5815 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
5818 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
5821 <ol><p>Apply the effect along this angle.</p></ol>
5824 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5825 _8c.html" target="source" name="MagickSolarizeImage">MagickSolarizeImage</a></h2>
5826 <div class="doc-section">
5828 <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>
5830 <p>The format of the MagickSolarizeImage method is:</p>
5833 MagickBooleanType MagickSolarizeImage(MagickWand *wand,
5834 const double threshold)
5837 <p>A description of each parameter follows:</p></ol>
5840 <ol><p>the magick wand.</p></ol>
5843 <ol><p>Define the extent of the solarization.</p></ol>
5846 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5847 _8c.html" target="source" name="MagickSparseColorImage">MagickSparseColorImage</a></h2>
5848 <div class="doc-section">
5850 <p>MagickSparseColorImage(), given a set of coordinates, interpolates the colors found at those coordinates, across the whole image, using various methods.</p></ol>
5852 <p>The format of the MagickSparseColorImage method is:</p>
5855 MagickBooleanType MagickSparseColorImage(MagickWand *wand,
5856 const ChannelType channel,const SparseColorMethod method,
5857 const size_t number_arguments,const double *arguments)
5860 <p>A description of each parameter follows:</p></ol>
5863 <ol><p>the image to be sparseed.</p></ol>
5866 <ol><p>the method of image sparseion.</p></ol>
5868 <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>
5870 <p>Bilinear has no simple inverse mapping so will not allow 'bestfit' style of image sparseion.</p></ol>
5872 <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>
5874 <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>
5876 <h5>number_arguments</h5>
5877 <ol><p>the number of arguments given for this sparseion method.</p></ol>
5880 <ol><p>the arguments for this sparseion method.</p></ol>
5883 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5884 _8c.html" target="source" name="MagickSpliceImage">MagickSpliceImage</a></h2>
5885 <div class="doc-section">
5887 <p>MagickSpliceImage() splices a solid color into the image.</p></ol>
5889 <p>The format of the MagickSpliceImage method is:</p>
5892 MagickBooleanType MagickSpliceImage(MagickWand *wand,
5893 const size_t width,const size_t height,const ssize_t x,
5897 <p>A description of each parameter follows:</p></ol>
5900 <ol><p>the magick wand.</p></ol>
5903 <ol><p>the region width.</p></ol>
5906 <ol><p>the region height.</p></ol>
5909 <ol><p>the region x offset.</p></ol>
5912 <ol><p>the region y offset.</p></ol>
5915 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5916 _8c.html" target="source" name="MagickSpreadImage">MagickSpreadImage</a></h2>
5917 <div class="doc-section">
5919 <p>MagickSpreadImage() is a special effects method that randomly displaces each pixel in a block defined by the radius parameter.</p></ol>
5921 <p>The format of the MagickSpreadImage method is:</p>
5924 MagickBooleanType MagickSpreadImage(MagickWand *wand,const double radius)
5927 <p>A description of each parameter follows:</p></ol>
5930 <ol><p>the magick wand.</p></ol>
5933 <ol><p>Choose a random pixel in a neighborhood of this extent.</p></ol>
5936 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5937 _8c.html" target="source" name="MagickSteganoImage">MagickSteganoImage</a></h2>
5938 <div class="doc-section">
5940 <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>
5942 <p>The format of the MagickSteganoImage method is:</p>
5945 MagickWand *MagickSteganoImage(MagickWand *wand,
5946 const MagickWand *watermark_wand,const ssize_t offset)
5949 <p>A description of each parameter follows:</p></ol>
5952 <ol><p>the magick wand.</p></ol>
5954 <h5>watermark_wand</h5>
5955 <ol><p>the watermark wand.</p></ol>
5958 <ol><p>Start hiding at this offset into the image.</p></ol>
5961 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5962 _8c.html" target="source" name="MagickStereoImage">MagickStereoImage</a></h2>
5963 <div class="doc-section">
5965 <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>
5967 <p>The format of the MagickStereoImage method is:</p>
5970 MagickWand *MagickStereoImage(MagickWand *wand,
5971 const MagickWand *offset_wand)
5974 <p>A description of each parameter follows:</p></ol>
5977 <ol><p>the magick wand.</p></ol>
5979 <h5>offset_wand</h5>
5980 <ol><p>Another image wand.</p></ol>
5983 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5984 _8c.html" target="source" name="MagickStripImage">MagickStripImage</a></h2>
5985 <div class="doc-section">
5987 <p>MagickStripImage() strips an image of all profiles and comments.</p></ol>
5989 <p>The format of the MagickStripImage method is:</p>
5992 MagickBooleanType MagickStripImage(MagickWand *wand)
5995 <p>A description of each parameter follows:</p></ol>
5998 <ol><p>the magick wand.</p></ol>
6001 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6002 _8c.html" target="source" name="MagickSwirlImage">MagickSwirlImage</a></h2>
6003 <div class="doc-section">
6005 <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>
6007 <p>The format of the MagickSwirlImage method is:</p>
6010 MagickBooleanType MagickSwirlImage(MagickWand *wand,const double degrees)
6013 <p>A description of each parameter follows:</p></ol>
6016 <ol><p>the magick wand.</p></ol>
6019 <ol><p>Define the tightness of the swirling effect.</p></ol>
6022 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6023 _8c.html" target="source" name="MagickTextureImage">MagickTextureImage</a></h2>
6024 <div class="doc-section">
6026 <p>MagickTextureImage() repeatedly tiles the texture image across and down the image canvas.</p></ol>
6028 <p>The format of the MagickTextureImage method is:</p>
6031 MagickWand *MagickTextureImage(MagickWand *wand,
6032 const MagickWand *texture_wand)
6035 <p>A description of each parameter follows:</p></ol>
6038 <ol><p>the magick wand.</p></ol>
6040 <h5>texture_wand</h5>
6041 <ol><p>the texture wand</p></ol>
6044 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6045 _8c.html" target="source" name="MagickThresholdImage">MagickThresholdImage</a></h2>
6046 <div class="doc-section">
6048 <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>
6050 <p>The format of the MagickThresholdImage method is:</p>
6053 MagickBooleanType MagickThresholdImage(MagickWand *wand,
6054 const double threshold)
6055 MagickBooleanType MagickThresholdImageChannel(MagickWand *wand,
6056 const ChannelType channel,const double threshold)
6059 <p>A description of each parameter follows:</p></ol>
6062 <ol><p>the magick wand.</p></ol>
6065 <ol><p>the image channel(s).</p></ol>
6068 <ol><p>Define the threshold value.</p></ol>
6071 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6072 _8c.html" target="source" name="MagickThumbnailImage">MagickThumbnailImage</a></h2>
6073 <div class="doc-section">
6075 <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>
6077 <p>The format of the MagickThumbnailImage method is:</p>
6080 MagickBooleanType MagickThumbnailImage(MagickWand *wand,
6081 const size_t columns,const size_t rows)
6084 <p>A description of each parameter follows:</p></ol>
6087 <ol><p>the magick wand.</p></ol>
6090 <ol><p>the number of columns in the scaled image.</p></ol>
6093 <ol><p>the number of rows in the scaled image.</p></ol>
6096 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6097 _8c.html" target="source" name="MagickTintImage">MagickTintImage</a></h2>
6098 <div class="doc-section">
6100 <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>
6102 <p>The format of the MagickTintImage method is:</p>
6105 MagickBooleanType MagickTintImage(MagickWand *wand,
6106 const PixelWand *tint,const PixelWand *opacity)
6109 <p>A description of each parameter follows:</p></ol>
6112 <ol><p>the magick wand.</p></ol>
6115 <ol><p>the tint pixel wand.</p></ol>
6118 <ol><p>the opacity pixel wand.</p></ol>
6121 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6122 _8c.html" target="source" name="MagickTransformImage">MagickTransformImage</a></h2>
6123 <div class="doc-section">
6125 <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>
6127 <p>The format of the MagickTransformImage method is:</p>
6130 MagickWand *MagickTransformImage(MagickWand *wand,const char *crop,
6131 const char *geometry)
6134 <p>A description of each parameter follows:</p></ol>
6137 <ol><p>the magick wand.</p></ol>
6140 <ol><p>A crop geometry string. This geometry defines a subregion of the image to crop.</p></ol>
6143 <ol><p>An image geometry string. This geometry defines the final size of the image.</p></ol>
6146 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6147 _8c.html" target="source" name="MagickTransformImageColorspace">MagickTransformImageColorspace</a></h2>
6148 <div class="doc-section">
6150 <p>MagickTransformImageColorspace() transform the image colorspace.</p></ol>
6152 <p>The format of the MagickTransformImageColorspace method is:</p>
6155 MagickBooleanType MagickTransformImageColorspace(MagickWand *wand,
6156 const ColorspaceType colorspace)
6159 <p>A description of each parameter follows:</p></ol>
6162 <ol><p>the magick wand.</p></ol>
6165 <ol><p>the image colorspace: UndefinedColorspace, RGBColorspace, GRAYColorspace, TransparentColorspace, OHTAColorspace, XYZColorspace, YCbCrColorspace, YCCColorspace, YIQColorspace, YPbPrColorspace, YPbPrColorspace, YUVColorspace, CMYKColorspace, sRGBColorspace, HSLColorspace, or HWBColorspace.</p></ol>
6168 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6169 _8c.html" target="source" name="MagickTransparentPaintImage">MagickTransparentPaintImage</a></h2>
6170 <div class="doc-section">
6172 <p>MagickTransparentPaintImage() changes any pixel that matches color with the color defined by fill.</p></ol>
6174 <p>The format of the MagickTransparentPaintImage method is:</p>
6177 MagickBooleanType MagickTransparentPaintImage(MagickWand *wand,
6178 const PixelWand *target,const double alpha,const double fuzz,
6179 const MagickBooleanType invert)
6182 <p>A description of each parameter follows:</p></ol>
6185 <ol><p>the magick wand.</p></ol>
6188 <ol><p>Change this target color to specified opacity value within the image.</p></ol>
6191 <ol><p>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.</p></ol>
6194 <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>
6197 <ol><p>paint any pixel that does not match the target color.</p></ol>
6200 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6201 _8c.html" target="source" name="MagickTransposeImage">MagickTransposeImage</a></h2>
6202 <div class="doc-section">
6204 <p>MagickTransposeImage() creates a vertical mirror image by reflecting the pixels around the central x-axis while rotating them 90-degrees.</p></ol>
6206 <p>The format of the MagickTransposeImage method is:</p>
6209 MagickBooleanType MagickTransposeImage(MagickWand *wand)
6212 <p>A description of each parameter follows:</p></ol>
6215 <ol><p>the magick wand.</p></ol>
6218 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6219 _8c.html" target="source" name="MagickTransverseImage">MagickTransverseImage</a></h2>
6220 <div class="doc-section">
6222 <p>MagickTransverseImage() creates a horizontal mirror image by reflecting the pixels around the central y-axis while rotating them 270-degrees.</p></ol>
6224 <p>The format of the MagickTransverseImage method is:</p>
6227 MagickBooleanType MagickTransverseImage(MagickWand *wand)
6230 <p>A description of each parameter follows:</p></ol>
6233 <ol><p>the magick wand.</p></ol>
6236 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6237 _8c.html" target="source" name="MagickTrimImage">MagickTrimImage</a></h2>
6238 <div class="doc-section">
6240 <p>MagickTrimImage() remove edges that are the background color from the image.</p></ol>
6242 <p>The format of the MagickTrimImage method is:</p>
6245 MagickBooleanType MagickTrimImage(MagickWand *wand,const double fuzz)
6248 <p>A description of each parameter follows:</p></ol>
6251 <ol><p>the magick wand.</p></ol>
6254 <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>
6257 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6258 _8c.html" target="source" name="MagickUniqueImageColors">MagickUniqueImageColors</a></h2>
6259 <div class="doc-section">
6261 <p>MagickUniqueImageColors() discards all but one of any pixel color.</p></ol>
6263 <p>The format of the MagickUniqueImageColors method is:</p>
6266 MagickBooleanType MagickUniqueImageColors(MagickWand *wand)
6269 <p>A description of each parameter follows:</p></ol>
6272 <ol><p>the magick wand.</p></ol>
6275 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6276 _8c.html" target="source" name="MagickUnsharpMaskImage">MagickUnsharpMaskImage</a></h2>
6277 <div class="doc-section">
6279 <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>
6281 <p>The format of the MagickUnsharpMaskImage method is:</p>
6284 MagickBooleanType MagickUnsharpMaskImage(MagickWand *wand,
6285 const double radius,const double sigma,const double amount,
6286 const double threshold)
6287 MagickBooleanType MagickUnsharpMaskImageChannel(MagickWand *wand,
6288 const ChannelType channel,const double radius,const double sigma,
6289 const double amount,const double threshold)
6292 <p>A description of each parameter follows:</p></ol>
6295 <ol><p>the magick wand.</p></ol>
6298 <ol><p>the image channel(s).</p></ol>
6301 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
6304 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
6307 <ol><p>the percentage of the difference between the original and the blur image that is added back into the original.</p></ol>
6310 <ol><p>the threshold in pixels needed to apply the diffence amount.</p></ol>
6313 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6314 _8c.html" target="source" name="MagickVignetteImage">MagickVignetteImage</a></h2>
6315 <div class="doc-section">
6317 <p>MagickVignetteImage() softens the edges of the image in vignette style.</p></ol>
6319 <p>The format of the MagickVignetteImage method is:</p>
6322 MagickBooleanType MagickVignetteImage(MagickWand *wand,
6323 const double black_point,const double white_point,const ssize_t x,
6327 <p>A description of each parameter follows:</p></ol>
6330 <ol><p>the magick wand.</p></ol>
6332 <h5>black_point</h5>
6333 <ol><p>the black point.</p></ol>
6335 <h5>white_point</h5>
6336 <ol><p>the white point.</p></ol>
6339 <ol><p>Define the x and y ellipse offset.</p></ol>
6342 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6343 _8c.html" target="source" name="MagickWaveImage">MagickWaveImage</a></h2>
6344 <div class="doc-section">
6346 <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>
6348 <p>The format of the MagickWaveImage method is:</p>
6351 MagickBooleanType MagickWaveImage(MagickWand *wand,const double amplitude,
6352 const double wave_length)
6355 <p>A description of each parameter follows:</p></ol>
6358 <ol><p>the magick wand.</p></ol>
6360 <h5>amplitude, wave_length</h5>
6361 <ol><p>Define the amplitude and wave length of the sine wave.</p></ol>
6364 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6365 _8c.html" target="source" name="MagickWhiteThresholdImage">MagickWhiteThresholdImage</a></h2>
6366 <div class="doc-section">
6368 <p>MagickWhiteThresholdImage() is like ThresholdImage() but force all pixels above the threshold into white while leaving all pixels below the threshold unchanged.</p></ol>
6370 <p>The format of the MagickWhiteThresholdImage method is:</p>
6373 MagickBooleanType MagickWhiteThresholdImage(MagickWand *wand,
6374 const PixelWand *threshold)
6377 <p>A description of each parameter follows:</p></ol>
6380 <ol><p>the magick wand.</p></ol>
6383 <ol><p>the pixel wand.</p></ol>
6386 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6387 _8c.html" target="source" name="MagickWriteImage">MagickWriteImage</a></h2>
6388 <div class="doc-section">
6390 <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>
6392 <p>The format of the MagickWriteImage method is:</p>
6395 MagickBooleanType MagickWriteImage(MagickWand *wand,
6396 const char *filename)
6399 <p>A description of each parameter follows:</p></ol>
6402 <ol><p>the magick wand.</p></ol>
6405 <ol><p>the image filename.</p></ol>
6409 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6410 _8c.html" target="source" name="MagickWriteImageFile">MagickWriteImageFile</a></h2>
6411 <div class="doc-section">
6413 <p>MagickWriteImageFile() writes an image to an open file descriptor.</p></ol>
6415 <p>The format of the MagickWriteImageFile method is:</p>
6418 MagickBooleanType MagickWriteImageFile(MagickWand *wand,FILE *file)
6421 <p>A description of each parameter follows:</p></ol>
6424 <ol><p>the magick wand.</p></ol>
6427 <ol><p>the file descriptor.</p></ol>
6430 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6431 _8c.html" target="source" name="MagickWriteImages">MagickWriteImages</a></h2>
6432 <div class="doc-section">
6434 <p>MagickWriteImages() writes an image or image sequence.</p></ol>
6436 <p>The format of the MagickWriteImages method is:</p>
6439 MagickBooleanType MagickWriteImages(MagickWand *wand,
6440 const char *filename,const MagickBooleanType adjoin)
6443 <p>A description of each parameter follows:</p></ol>
6446 <ol><p>the magick wand.</p></ol>
6449 <ol><p>the image filename.</p></ol>
6452 <ol><p>join images into a single multi-image file.</p></ol>
6455 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6456 _8c.html" target="source" name="MagickWriteImagesFile">MagickWriteImagesFile</a></h2>
6457 <div class="doc-section">
6459 <p>MagickWriteImagesFile() writes an image sequence to an open file descriptor.</p></ol>
6461 <p>The format of the MagickWriteImagesFile method is:</p>
6464 MagickBooleanType MagickWriteImagesFile(MagickWand *wand,FILE *file)
6467 <p>A description of each parameter follows:</p></ol>
6470 <ol><p>the magick wand.</p></ol>
6473 <ol><p>the file descriptor.</p></ol>
6479 <div id="linkbar">
\r
6480 <span id="linkbar-west"> </span>
\r
6481 <span id="linkbar-center">
\r
6482 <a href="http://www.imagemagick.org/discourse-server/">Discourse Server</a> •
\r
6483 <a href="http://www.imagemagick.org/MagickStudio/scripts/MagickStudio.cgi">Studio</a>
\r
6485 <span id="linkbar-east"> </span>
\r
6487 <div class="footer">
\r
6488 <span id="footer-west">© 1999-2010 ImageMagick Studio LLC</span>
\r
6489 <span id="footer-east"> <a href="../http://www.imagemagick.org/script/contact.php">Contact the Wizards</a></span>
\r
6491 <div style="clear: both; margin: 0; width: 100%; "></div>
\r
6492 <script type="text/javascript">
\r
6493 var _gaq = _gaq || [];
\r
6494 _gaq.push(['_setAccount', 'UA-17690367-1']);
\r
6495 _gaq.push(['_trackPageview']);
\r
6498 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
\r
6499 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
\r
6500 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
\r