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: Atlas Multimedia" href="http://www.atlas-multimedia.de/">Atlas Multimedia</a><!-- 20101201000025 tanju.temurbas-->
132 <div class="sponsor">
133 <a title="Sponsor: Image Converter" href="http://www.batchphoto.com">Image Converter</a><!-- 201103010900 Bits Coffee-->
135 <div class="sponsor">
136 <a title="Sponsor: Flyer drucken" href="http://www.online-druck.biz">Flyer drucken</a><!-- 201109010900 Floeter-->
138 <div class="sponsor">
139 <a title="Sponsor: Webdesign Agentur" href="http://www.ventzke-partner.de">Webdesign Agentur</a><!-- 201101010480 invendio.de-->
141 <div class="sponsor">
142 <a title="Sponsor: LVM Versicherung" href="http://www.neu-reich.de">LVM Versicherung</a><!-- 201101010480 -->
144 <div class="sponsor">
145 <a title="Sponsor: Diamonds are a Girls Best Friend" href="http://www.schmuck.org">Diamonds are a Girls Best Friend</a><!-- 201101010600 Peterssen-->
147 <div class="sponsor">
148 <a title="Sponsor: Druckerei Online" href="http://www.allesdruck.de">Druckerei Online</a><!-- 201012011200 allesdruck.de-->
154 <div class="eastbar">
\r
155 <script type="text/javascript">
\r
157 google_ad_client = "pub-3129977114552745";
\r
158 google_ad_slot = "0574824969";
\r
159 google_ad_width = 160;
\r
160 google_ad_height = 600;
\r
163 <script type="text/javascript"
\r
164 src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
\r
170 <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>
172 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
173 _8c.html" target="source" name="GetImageFromMagickWand">GetImageFromMagickWand</a></h2>
174 <div class="doc-section">
176 <p>GetImageFromMagickWand() returns the current image from the magick wand.</p></ol>
178 <p>The format of the GetImageFromMagickWand method is:</p>
181 Image *GetImageFromMagickWand(const MagickWand *wand)
184 <p>A description of each parameter follows:</p></ol>
187 <ol><p>the magick wand.</p></ol>
190 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
191 _8c.html" target="source" name="MagickAdaptiveBlurImage">MagickAdaptiveBlurImage</a></h2>
192 <div class="doc-section">
194 <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>
196 <p>The format of the MagickAdaptiveBlurImage method is:</p>
199 MagickBooleanType MagickAdaptiveBlurImage(MagickWand *wand,
200 const double radius,const double sigma)
201 MagickBooleanType MagickAdaptiveBlurImageChannel(MagickWand *wand,
202 const ChannelType channel,const double radius,const double sigma)
205 <p>A description of each parameter follows:</p></ol>
208 <ol><p>the magick wand.</p></ol>
211 <ol><p>the image channel(s).</p></ol>
214 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
217 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
220 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
221 _8c.html" target="source" name="MagickAdaptiveResizeImage">MagickAdaptiveResizeImage</a></h2>
222 <div class="doc-section">
224 <p>MagickAdaptiveResizeImage() adaptively resize image with data dependent triangulation.</p></ol>
226 <p>MagickBooleanType MagickAdaptiveResizeImage(MagickWand *wand, const size_t columns,const size_t rows)</p></ol>
228 <p>A description of each parameter follows:</p></ol>
231 <ol><p>the magick wand.</p></ol>
234 <ol><p>the number of columns in the scaled image.</p></ol>
237 <ol><p>the number of rows in the scaled image.</p></ol>
240 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
241 _8c.html" target="source" name="MagickAdaptiveSharpenImage">MagickAdaptiveSharpenImage</a></h2>
242 <div class="doc-section">
244 <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>
246 <p>The format of the MagickAdaptiveSharpenImage method is:</p>
249 MagickBooleanType MagickAdaptiveSharpenImage(MagickWand *wand,
250 const double radius,const double sigma)
251 MagickBooleanType MagickAdaptiveSharpenImageChannel(MagickWand *wand,
252 const ChannelType channel,const double radius,const double sigma)
255 <p>A description of each parameter follows:</p></ol>
258 <ol><p>the magick wand.</p></ol>
261 <ol><p>the image channel(s).</p></ol>
264 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
267 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
270 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
271 _8c.html" target="source" name="MagickAdaptiveThresholdImage">MagickAdaptiveThresholdImage</a></h2>
272 <div class="doc-section">
274 <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>
276 <p>The format of the AdaptiveThresholdImage method is:</p>
279 MagickBooleanType MagickAdaptiveThresholdImage(MagickWand *wand,
280 const size_t width,const size_t height,const ssize_t offset)
283 <p>A description of each parameter follows:</p></ol>
286 <ol><p>the magick wand.</p></ol>
289 <ol><p>the width of the local neighborhood.</p></ol>
292 <ol><p>the height of the local neighborhood.</p></ol>
295 <ol><p>the mean offset.</p></ol>
298 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
299 _8c.html" target="source" name="MagickAddImage">MagickAddImage</a></h2>
300 <div class="doc-section">
302 <p>MagickAddImage() adds the specified images at the current image location.</p></ol>
304 <p>The format of the MagickAddImage method is:</p>
307 MagickBooleanType MagickAddImage(MagickWand *wand,
308 const MagickWand *add_wand)
311 <p>A description of each parameter follows:</p></ol>
314 <ol><p>the magick wand.</p></ol>
317 <ol><p>A wand that contains images to add at the current image location.</p></ol>
320 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
321 _8c.html" target="source" name="MagickAddNoiseImage">MagickAddNoiseImage</a></h2>
322 <div class="doc-section">
324 <p>MagickAddNoiseImage() adds random noise to the image.</p></ol>
326 <p>The format of the MagickAddNoiseImage method is:</p>
329 MagickBooleanType MagickAddNoiseImage(MagickWand *wand,
330 const NoiseType noise_type)
331 MagickBooleanType MagickAddNoiseImageChannel(MagickWand *wand,
332 const ChannelType channel,const NoiseType noise_type)
335 <p>A description of each parameter follows:</p></ol>
338 <ol><p>the magick wand.</p></ol>
341 <ol><p>the image channel(s).</p></ol>
344 <ol><p>The type of noise: Uniform, Gaussian, Multiplicative, Impulse, Laplacian, or Poisson.</p></ol>
347 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
348 _8c.html" target="source" name="MagickAffineTransformImage">MagickAffineTransformImage</a></h2>
349 <div class="doc-section">
351 <p>MagickAffineTransformImage() transforms an image as dictated by the affine matrix of the drawing wand.</p></ol>
353 <p>The format of the MagickAffineTransformImage method is:</p>
356 MagickBooleanType MagickAffineTransformImage(MagickWand *wand,
357 const DrawingWand *drawing_wand)
360 <p>A description of each parameter follows:</p></ol>
363 <ol><p>the magick wand.</p></ol>
365 <h5>drawing_wand</h5>
366 <ol><p>the draw wand.</p></ol>
369 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
370 _8c.html" target="source" name="MagickAnnotateImage">MagickAnnotateImage</a></h2>
371 <div class="doc-section">
373 <p>MagickAnnotateImage() annotates an image with text.</p></ol>
375 <p>The format of the MagickAnnotateImage method is:</p>
378 MagickBooleanType MagickAnnotateImage(MagickWand *wand,
379 const DrawingWand *drawing_wand,const double x,const double y,
380 const double angle,const char *text)
383 <p>A description of each parameter follows:</p></ol>
386 <ol><p>the magick wand.</p></ol>
388 <h5>drawing_wand</h5>
389 <ol><p>the draw wand.</p></ol>
392 <ol><p>x ordinate to left of text</p></ol>
395 <ol><p>y ordinate to text baseline</p></ol>
398 <ol><p>rotate text relative to this angle.</p></ol>
401 <ol><p>text to draw</p></ol>
404 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
405 _8c.html" target="source" name="MagickAnimateImages">MagickAnimateImages</a></h2>
406 <div class="doc-section">
408 <p>MagickAnimateImages() animates an image or image sequence.</p></ol>
410 <p>The format of the MagickAnimateImages method is:</p>
413 MagickBooleanType MagickAnimateImages(MagickWand *wand,
414 const char *server_name)
417 <p>A description of each parameter follows:</p></ol>
420 <ol><p>the magick wand.</p></ol>
423 <ol><p>the X server name.</p></ol>
426 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
427 _8c.html" target="source" name="MagickAppendImages">MagickAppendImages</a></h2>
428 <div class="doc-section">
430 <p>MagickAppendImages() append a set of images.</p></ol>
432 <p>The format of the MagickAppendImages method is:</p>
435 MagickWand *MagickAppendImages(MagickWand *wand,
436 const MagickBooleanType stack)
439 <p>A description of each parameter follows:</p></ol>
442 <ol><p>the magick wand.</p></ol>
445 <ol><p>By default, images are stacked left-to-right. Set stack to MagickTrue to stack them top-to-bottom.</p></ol>
448 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
449 _8c.html" target="source" name="MagickAutoGammaImage">MagickAutoGammaImage</a></h2>
450 <div class="doc-section">
452 <p>MagickAutoGammaImage() extracts the 'mean' from the image and adjust the image to try make set its gamma appropriatally.</p></ol>
454 <p>The format of the MagickAutoGammaImage method is:</p>
457 MagickBooleanType MagickAutoGammaImage(MagickWand *wand)
458 MagickBooleanType MagickAutoGammaImageChannel(MagickWand *wand,
459 const ChannelType channel)
462 <p>A description of each parameter follows:</p></ol>
465 <ol><p>the magick wand.</p></ol>
468 <ol><p>the image channel(s).</p></ol>
471 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
472 _8c.html" target="source" name="MagickAutoLevelImage">MagickAutoLevelImage</a></h2>
473 <div class="doc-section">
475 <p>MagickAutoLevelImage() adjusts the levels of a particular image channel by scaling the minimum and maximum values to the full quantum range.</p></ol>
477 <p>The format of the MagickAutoLevelImage method is:</p>
480 MagickBooleanType MagickAutoLevelImage(MagickWand *wand)
481 MagickBooleanType MagickAutoLevelImageChannel(MagickWand *wand,
482 const ChannelType channel)
485 <p>A description of each parameter follows:</p></ol>
488 <ol><p>the magick wand.</p></ol>
491 <ol><p>the image channel(s).</p></ol>
494 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
495 _8c.html" target="source" name="MagickBlackThresholdImage">MagickBlackThresholdImage</a></h2>
496 <div class="doc-section">
498 <p>MagickBlackThresholdImage() is like MagickThresholdImage() but forces all pixels below the threshold into black while leaving all pixels above the threshold unchanged.</p></ol>
500 <p>The format of the MagickBlackThresholdImage method is:</p>
503 MagickBooleanType MagickBlackThresholdImage(MagickWand *wand,
504 const PixelWand *threshold)
507 <p>A description of each parameter follows:</p></ol>
510 <ol><p>the magick wand.</p></ol>
513 <ol><p>the pixel wand.</p></ol>
516 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
517 _8c.html" target="source" name="MagickBlueShiftImage">MagickBlueShiftImage</a></h2>
518 <div class="doc-section">
520 <p>MagickBlueShiftImage() mutes the colors of the image to simulate a scene at nighttime in the moonlight.</p></ol>
522 <p>The format of the MagickBlueShiftImage method is:</p>
525 MagickBooleanType MagickBlueShiftImage(MagickWand *wand,
529 <p>A description of each parameter follows:</p></ol>
532 <ol><p>the magick wand.</p></ol>
535 <ol><p>the blue shift factor (default 1.5)</p></ol>
538 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
539 _8c.html" target="source" name="MagickBlurImage">MagickBlurImage</a></h2>
540 <div class="doc-section">
542 <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>
544 <p>The format of the MagickBlurImage method is:</p>
547 MagickBooleanType MagickBlurImage(MagickWand *wand,const double radius,
549 MagickBooleanType MagickBlurImageChannel(MagickWand *wand,
550 const ChannelType channel,const double radius,const double sigma)
553 <p>A description of each parameter follows:</p></ol>
556 <ol><p>the magick wand.</p></ol>
559 <ol><p>the image channel(s).</p></ol>
562 <ol><p>the radius of the , in pixels, not counting the center pixel.</p></ol>
565 <ol><p>the standard deviation of the , in pixels.</p></ol>
568 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
569 _8c.html" target="source" name="MagickBorderImage">MagickBorderImage</a></h2>
570 <div class="doc-section">
572 <p>MagickBorderImage() surrounds the image with a border of the color defined by the bordercolor pixel wand.</p></ol>
574 <p>The format of the MagickBorderImage method is:</p>
577 MagickBooleanType MagickBorderImage(MagickWand *wand,
578 const PixelWand *bordercolor,const size_t width,
582 <p>A description of each parameter follows:</p></ol>
585 <ol><p>the magick wand.</p></ol>
588 <ol><p>the border color pixel wand.</p></ol>
591 <ol><p>the border width.</p></ol>
594 <ol><p>the border height.</p></ol>
597 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
598 _8c.html" target="source" name="Use MagickBrightnessContrastImage">Use MagickBrightnessContrastImage</a></h2>
599 <div class="doc-section">
601 <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>
604 <p>The format of the MagickBrightnessContrastImage method is:</p>
607 MagickBooleanType MagickBrightnessContrastImage(MagickWand *wand,
608 const double brightness,const double contrast)
609 MagickBooleanType MagickBrightnessContrastImageChannel(MagickWand *wand,
610 const ChannelType channel,const double brightness,
611 const double contrast)
614 <p>A description of each parameter follows:</p></ol>
617 <ol><p>the magick wand.</p></ol>
620 <ol><p>the image channel(s).</p></ol>
623 <ol><p>the brightness percent (-100 .. 100).</p></ol>
626 <ol><p>the contrast percent (-100 .. 100).</p></ol>
629 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
630 _8c.html" target="source" name="MagickCharcoalImage">MagickCharcoalImage</a></h2>
631 <div class="doc-section">
633 <p>MagickCharcoalImage() simulates a charcoal drawing.</p></ol>
635 <p>The format of the MagickCharcoalImage method is:</p>
638 MagickBooleanType MagickCharcoalImage(MagickWand *wand,
639 const double radius,const double sigma)
642 <p>A description of each parameter follows:</p></ol>
645 <ol><p>the magick wand.</p></ol>
648 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
651 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
654 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
655 _8c.html" target="source" name="MagickChopImage">MagickChopImage</a></h2>
656 <div class="doc-section">
658 <p>MagickChopImage() removes a region of an image and collapses the image to occupy the removed portion</p></ol>
660 <p>The format of the MagickChopImage method is:</p>
663 MagickBooleanType MagickChopImage(MagickWand *wand,
664 const size_t width,const size_t height,const ssize_t x,
668 <p>A description of each parameter follows:</p></ol>
671 <ol><p>the magick wand.</p></ol>
674 <ol><p>the region width.</p></ol>
677 <ol><p>the region height.</p></ol>
680 <ol><p>the region x offset.</p></ol>
683 <ol><p>the region y offset.</p></ol>
687 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
688 _8c.html" target="source" name="MagickClampImage">MagickClampImage</a></h2>
689 <div class="doc-section">
691 <p>MagickClampImage() restricts the color range from 0 to the quantum depth.</p></ol>
693 <p>The format of the MagickClampImage method is:</p>
696 MagickBooleanType MagickClampImage(MagickWand *wand)
697 MagickBooleanType MagickClampImageChannel(MagickWand *wand,
698 const ChannelType channel)
701 <p>A description of each parameter follows:</p></ol>
704 <ol><p>the magick wand.</p></ol>
707 <ol><p>the channel.</p></ol>
710 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
711 _8c.html" target="source" name="MagickClipImage">MagickClipImage</a></h2>
712 <div class="doc-section">
714 <p>MagickClipImage() clips along the first path from the 8BIM profile, if present.</p></ol>
716 <p>The format of the MagickClipImage method is:</p>
719 MagickBooleanType MagickClipImage(MagickWand *wand)
722 <p>A description of each parameter follows:</p></ol>
725 <ol><p>the magick wand.</p></ol>
728 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
729 _8c.html" target="source" name="MagickClipImagePath">MagickClipImagePath</a></h2>
730 <div class="doc-section">
732 <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>
734 <p>The format of the MagickClipImagePath method is:</p>
737 MagickBooleanType MagickClipImagePath(MagickWand *wand,
738 const char *pathname,const MagickBooleanType inside)
741 <p>A description of each parameter follows:</p></ol>
744 <ol><p>the magick wand.</p></ol>
747 <ol><p>name of clipping path resource. If name is preceded by #, use clipping path numbered by name.</p></ol>
750 <ol><p>if non-zero, later operations take effect inside clipping path. Otherwise later operations take effect outside clipping path.</p></ol>
753 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
754 _8c.html" target="source" name="MagickClutImage">MagickClutImage</a></h2>
755 <div class="doc-section">
757 <p>MagickClutImage() replaces colors in the image from a color lookup table.</p></ol>
759 <p>The format of the MagickClutImage method is:</p>
762 MagickBooleanType MagickClutImage(MagickWand *wand,
763 const MagickWand *clut_wand)
764 MagickBooleanType MagickClutImageChannel(MagickWand *wand,
765 const ChannelType channel,const MagickWand *clut_wand)
768 <p>A description of each parameter follows:</p></ol>
771 <ol><p>the magick wand.</p></ol>
774 <ol><p>the clut image.</p></ol>
777 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
778 _8c.html" target="source" name="MagickCoalesceImages">MagickCoalesceImages</a></h2>
779 <div class="doc-section">
781 <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>
783 <p>The format of the MagickCoalesceImages method is:</p>
786 MagickWand *MagickCoalesceImages(MagickWand *wand)
789 <p>A description of each parameter follows:</p></ol>
792 <ol><p>the magick wand.</p></ol>
795 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
796 _8c.html" target="source" name="MagickColorDecisionListImage">MagickColorDecisionListImage</a></h2>
797 <div class="doc-section">
799 <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>
802 <ColorCorrectionCollection xmlns="urn:ASC:CDL:v1.2">
803 <ColorCorrection id="cc03345">
805 <Slope> 0.9 1.2 0.5 </Slope>
806 <Offset> 0.4 -0.5 0.6 </Offset>
807 <Power> 1.0 0.8 1.5 </Power>
810 <Saturation> 0.85 </Saturation>
813 </ColorCorrectionCollection>
816 <p>which includes the offset, slope, and power for each of the RGB channels as well as the saturation.</p></ol>
818 <p>The format of the MagickColorDecisionListImage method is:</p>
821 MagickBooleanType MagickColorDecisionListImage(MagickWand *wand,
825 <p>A description of each parameter follows:</p></ol>
828 <ol><p>the magick wand.</p></ol>
830 <h5>color_correction_collection</h5>
831 <ol><p>the color correction collection in XML.</p></ol>
834 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
835 _8c.html" target="source" name="MagickColorizeImage">MagickColorizeImage</a></h2>
836 <div class="doc-section">
838 <p>MagickColorizeImage() blends the fill color with each pixel in the image.</p></ol>
840 <p>The format of the MagickColorizeImage method is:</p>
843 MagickBooleanType MagickColorizeImage(MagickWand *wand,
844 const PixelWand *colorize,const PixelWand *opacity)
847 <p>A description of each parameter follows:</p></ol>
850 <ol><p>the magick wand.</p></ol>
853 <ol><p>the colorize pixel wand.</p></ol>
856 <ol><p>the opacity pixel wand.</p></ol>
859 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
860 _8c.html" target="source" name="MagickColorMatrixImage">MagickColorMatrixImage</a></h2>
861 <div class="doc-section">
863 <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>
865 <p>The format of the MagickColorMatrixImage method is:</p>
868 MagickBooleanType MagickColorMatrixImage(MagickWand *wand,
869 const KernelInfo *color_matrix)
872 <p>A description of each parameter follows:</p></ol>
875 <ol><p>the magick wand.</p></ol>
877 <h5>color_matrix</h5>
878 <ol><p>the color matrix.</p></ol>
881 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
882 _8c.html" target="source" name="MagickCombineImages">MagickCombineImages</a></h2>
883 <div class="doc-section">
885 <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>
887 <p>The format of the MagickCombineImages method is:</p>
890 MagickWand *MagickCombineImages(MagickWand *wand,
891 const ChannelType channel)
894 <p>A description of each parameter follows:</p></ol>
897 <ol><p>the magick wand.</p></ol>
900 <ol><p>the channel.</p></ol>
903 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
904 _8c.html" target="source" name="MagickCommentImage">MagickCommentImage</a></h2>
905 <div class="doc-section">
907 <p>MagickCommentImage() adds a comment to your image.</p></ol>
909 <p>The format of the MagickCommentImage method is:</p>
912 MagickBooleanType MagickCommentImage(MagickWand *wand,
916 <p>A description of each parameter follows:</p></ol>
919 <ol><p>the magick wand.</p></ol>
922 <ol><p>the image comment.</p></ol>
925 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
926 _8c.html" target="source" name="MagickCompareImageChannels">MagickCompareImageChannels</a></h2>
927 <div class="doc-section">
929 <p>MagickCompareImageChannels() compares one or more image channels of an image to a reconstructed image and returns the difference image.</p></ol>
931 <p>The format of the MagickCompareImageChannels method is:</p>
934 MagickWand *MagickCompareImageChannels(MagickWand *wand,
935 const MagickWand *reference,const ChannelType channel,
936 const MetricType metric,double *distortion)
939 <p>A description of each parameter follows:</p></ol>
942 <ol><p>the magick wand.</p></ol>
945 <ol><p>the reference wand.</p></ol>
948 <ol><p>the channel.</p></ol>
951 <ol><p>the metric.</p></ol>
954 <ol><p>the computed distortion between the images.</p></ol>
957 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
958 _8c.html" target="source" name="MagickCompareImageLayers">MagickCompareImageLayers</a></h2>
959 <div class="doc-section">
961 <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>
963 <p>The format of the MagickCompareImageLayers method is:</p>
966 MagickWand *MagickCompareImageLayers(MagickWand *wand,
967 const ImageLayerMethod method)
970 <p>A description of each parameter follows:</p></ol>
973 <ol><p>the magick wand.</p></ol>
976 <ol><p>the compare method.</p></ol>
979 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
980 _8c.html" target="source" name="MagickCompareImages">MagickCompareImages</a></h2>
981 <div class="doc-section">
983 <p>MagickCompareImages() compares an image to a reconstructed image and returns the specified difference image.</p></ol>
985 <p>The format of the MagickCompareImages method is:</p>
988 MagickWand *MagickCompareImages(MagickWand *wand,
989 const MagickWand *reference,const MetricType metric,
993 <p>A description of each parameter follows:</p></ol>
996 <ol><p>the magick wand.</p></ol>
999 <ol><p>the reference wand.</p></ol>
1002 <ol><p>the metric.</p></ol>
1005 <ol><p>the computed distortion between the images.</p></ol>
1008 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1009 _8c.html" target="source" name="MagickCompositeImage">MagickCompositeImage</a></h2>
1010 <div class="doc-section">
1012 <p>MagickCompositeImage() composite one image onto another at the specified offset.</p></ol>
1014 <p>The format of the MagickCompositeImage method is:</p>
1017 MagickBooleanType MagickCompositeImage(MagickWand *wand,
1018 const MagickWand *composite_wand,const CompositeOperator compose,
1019 const ssize_t x,const ssize_t y)
1020 MagickBooleanType MagickCompositeImageChannel(MagickWand *wand,
1021 const ChannelType channel,const MagickWand *composite_wand,
1022 const CompositeOperator compose,const ssize_t x,const ssize_t y)
1025 <p>A description of each parameter follows:</p></ol>
1028 <ol><p>the magick wand.</p></ol>
1030 <h5>composite_image</h5>
1031 <ol><p>the composite image.</p></ol>
1034 <ol><p>This operator affects how the composite is applied to the image. The default is Over. Choose from these operators:</p>
1037 OverCompositeOp InCompositeOp OutCompositeOp
1038 AtopCompositeOp XorCompositeOp PlusCompositeOp
1039 MinusCompositeOp AddCompositeOp SubtractCompositeOp
1040 DifferenceCompositeOp BumpmapCompositeOp CopyCompositeOp
1045 <ol><p>the column offset of the composited image.</p></ol>
1048 <ol><p>the row offset of the composited image.</p></ol>
1051 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1052 _8c.html" target="source" name="MagickContrastImage">MagickContrastImage</a></h2>
1053 <div class="doc-section">
1055 <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>
1057 <p>The format of the MagickContrastImage method is:</p>
1060 MagickBooleanType MagickContrastImage(MagickWand *wand,
1061 const MagickBooleanType sharpen)
1064 <p>A description of each parameter follows:</p></ol>
1067 <ol><p>the magick wand.</p></ol>
1070 <ol><p>Increase or decrease image contrast.</p></ol>
1074 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1075 _8c.html" target="source" name="MagickContrastStretchImage">MagickContrastStretchImage</a></h2>
1076 <div class="doc-section">
1078 <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>
1080 <p>The format of the MagickContrastStretchImage method is:</p>
1083 MagickBooleanType MagickContrastStretchImage(MagickWand *wand,
1084 const double black_point,const double white_point)
1085 MagickBooleanType MagickContrastStretchImageChannel(MagickWand *wand,
1086 const ChannelType channel,const double black_point,
1087 const double white_point)
1090 <p>A description of each parameter follows:</p></ol>
1093 <ol><p>the magick wand.</p></ol>
1096 <ol><p>the image channel(s).</p></ol>
1098 <h5>black_point</h5>
1099 <ol><p>the black point.</p></ol>
1101 <h5>white_point</h5>
1102 <ol><p>the white point.</p></ol>
1105 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1106 _8c.html" target="source" name="MagickConvolveImage">MagickConvolveImage</a></h2>
1107 <div class="doc-section">
1109 <p>MagickConvolveImage() applies a custom convolution kernel to the image.</p></ol>
1111 <p>The format of the MagickConvolveImage method is:</p>
1114 MagickBooleanType MagickConvolveImage(MagickWand *wand,
1115 const size_t order,const double *kernel)
1116 MagickBooleanType MagickConvolveImageChannel(MagickWand *wand,
1117 const ChannelType channel,const size_t order,
1118 const double *kernel)
1121 <p>A description of each parameter follows:</p></ol>
1124 <ol><p>the magick wand.</p></ol>
1127 <ol><p>the image channel(s).</p></ol>
1130 <ol><p>the number of columns and rows in the filter kernel.</p></ol>
1133 <ol><p>An array of doubles representing the convolution kernel.</p></ol>
1136 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1137 _8c.html" target="source" name="MagickCropImage">MagickCropImage</a></h2>
1138 <div class="doc-section">
1140 <p>MagickCropImage() extracts a region of the image.</p></ol>
1142 <p>The format of the MagickCropImage method is:</p>
1145 MagickBooleanType MagickCropImage(MagickWand *wand,
1146 const size_t width,const size_t height,const ssize_t x,const ssize_t y)
1149 <p>A description of each parameter follows:</p></ol>
1152 <ol><p>the magick wand.</p></ol>
1155 <ol><p>the region width.</p></ol>
1158 <ol><p>the region height.</p></ol>
1161 <ol><p>the region x-offset.</p></ol>
1164 <ol><p>the region y-offset.</p></ol>
1167 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1168 _8c.html" target="source" name="MagickCycleColormapImage">MagickCycleColormapImage</a></h2>
1169 <div class="doc-section">
1171 <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>
1173 <p>The format of the MagickCycleColormapImage method is:</p>
1176 MagickBooleanType MagickCycleColormapImage(MagickWand *wand,
1177 const ssize_t displace)
1180 <p>A description of each parameter follows:</p></ol>
1183 <ol><p>the magick wand.</p></ol>
1186 <ol><p>the pixel wand.</p></ol>
1189 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1190 _8c.html" target="source" name="MagickConstituteImage">MagickConstituteImage</a></h2>
1191 <div class="doc-section">
1193 <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>
1195 <p>MagickConstituteImage(wand,640,640,"RGB",CharPixel,pixels);</p></ol>
1197 <p>The format of the MagickConstituteImage method is:</p>
1200 MagickBooleanType MagickConstituteImage(MagickWand *wand,
1201 const size_t columns,const size_t rows,const char *map,
1202 const StorageType storage,void *pixels)
1205 <p>A description of each parameter follows:</p></ol>
1208 <ol><p>the magick wand.</p></ol>
1211 <ol><p>width in pixels of the image.</p></ol>
1214 <ol><p>height in pixels of the image.</p></ol>
1217 <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>
1220 <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>
1223 <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>
1227 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1228 _8c.html" target="source" name="MagickDecipherImage">MagickDecipherImage</a></h2>
1229 <div class="doc-section">
1231 <p>MagickDecipherImage() converts cipher pixels to plain pixels.</p></ol>
1233 <p>The format of the MagickDecipherImage method is:</p>
1236 MagickBooleanType MagickDecipherImage(MagickWand *wand,
1237 const char *passphrase)
1240 <p>A description of each parameter follows:</p></ol>
1243 <ol><p>the magick wand.</p></ol>
1246 <ol><p>the passphrase.</p></ol>
1249 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1250 _8c.html" target="source" name="MagickDeconstructImages">MagickDeconstructImages</a></h2>
1251 <div class="doc-section">
1253 <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>
1255 <p>The format of the MagickDeconstructImages method is:</p>
1258 MagickWand *MagickDeconstructImages(MagickWand *wand)
1261 <p>A description of each parameter follows:</p></ol>
1264 <ol><p>the magick wand.</p></ol>
1267 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1268 _8c.html" target="source" name="MagickDeskewImage">MagickDeskewImage</a></h2>
1269 <div class="doc-section">
1271 <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>
1273 <p>The format of the MagickDeskewImage method is:</p>
1276 MagickBooleanType MagickDeskewImage(MagickWand *wand,
1277 const double threshold)
1280 <p>A description of each parameter follows:</p></ol>
1283 <ol><p>the magick wand.</p></ol>
1286 <ol><p>separate background from foreground.</p></ol>
1289 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1290 _8c.html" target="source" name="MagickDespeckleImage">MagickDespeckleImage</a></h2>
1291 <div class="doc-section">
1293 <p>MagickDespeckleImage() reduces the speckle noise in an image while perserving the edges of the original image.</p></ol>
1295 <p>The format of the MagickDespeckleImage method is:</p>
1298 MagickBooleanType MagickDespeckleImage(MagickWand *wand)
1301 <p>A description of each parameter follows:</p></ol>
1304 <ol><p>the magick wand.</p></ol>
1307 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1308 _8c.html" target="source" name="MagickDestroyImage">MagickDestroyImage</a></h2>
1309 <div class="doc-section">
1311 <p>MagickDestroyImage() dereferences an image, deallocating memory associated with the image if the reference count becomes zero.</p></ol>
1313 <p>The format of the MagickDestroyImage method is:</p>
1316 Image *MagickDestroyImage(Image *image)
1319 <p>A description of each parameter follows:</p></ol>
1322 <ol><p>the image.</p></ol>
1325 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1326 _8c.html" target="source" name="MagickDisplayImage">MagickDisplayImage</a></h2>
1327 <div class="doc-section">
1329 <p>MagickDisplayImage() displays an image.</p></ol>
1331 <p>The format of the MagickDisplayImage method is:</p>
1334 MagickBooleanType MagickDisplayImage(MagickWand *wand,
1335 const char *server_name)
1338 <p>A description of each parameter follows:</p></ol>
1341 <ol><p>the magick wand.</p></ol>
1343 <h5>server_name</h5>
1344 <ol><p>the X server name.</p></ol>
1347 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1348 _8c.html" target="source" name="MagickDisplayImages">MagickDisplayImages</a></h2>
1349 <div class="doc-section">
1351 <p>MagickDisplayImages() displays an image or image sequence.</p></ol>
1353 <p>The format of the MagickDisplayImages method is:</p>
1356 MagickBooleanType MagickDisplayImages(MagickWand *wand,
1357 const char *server_name)
1360 <p>A description of each parameter follows:</p></ol>
1363 <ol><p>the magick wand.</p></ol>
1365 <h5>server_name</h5>
1366 <ol><p>the X server name.</p></ol>
1369 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1370 _8c.html" target="source" name="MagickDistortImage">MagickDistortImage</a></h2>
1371 <div class="doc-section">
1373 <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>
1375 <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>
1377 <p>The format of the MagickDistortImage method is:</p>
1380 MagickBooleanType MagickDistortImage(MagickWand *wand,
1381 const DistortImageMethod method,const size_t number_arguments,
1382 const double *arguments,const MagickBooleanType bestfit)
1385 <p>A description of each parameter follows:</p></ol>
1388 <ol><p>the image to be distorted.</p></ol>
1391 <ol><p>the method of image distortion.</p></ol>
1393 <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>
1395 <p>Bilinear has no simple inverse mapping so it does not allow 'bestfit' style of image distortion.</p></ol>
1397 <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>
1399 <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>
1401 <h5>number_arguments</h5>
1402 <ol><p>the number of arguments given for this distortion method.</p></ol>
1405 <ol><p>the arguments for this distortion method.</p></ol>
1408 <ol><p>Attempt to resize destination to fit distorted source.</p></ol>
1411 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1412 _8c.html" target="source" name="MagickDrawImage">MagickDrawImage</a></h2>
1413 <div class="doc-section">
1415 <p>MagickDrawImage() renders the drawing wand on the current image.</p></ol>
1417 <p>The format of the MagickDrawImage method is:</p>
1420 MagickBooleanType MagickDrawImage(MagickWand *wand,
1421 const DrawingWand *drawing_wand)
1424 <p>A description of each parameter follows:</p></ol>
1427 <ol><p>the magick wand.</p></ol>
1429 <h5>drawing_wand</h5>
1430 <ol><p>the draw wand.</p></ol>
1433 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1434 _8c.html" target="source" name="MagickEdgeImage">MagickEdgeImage</a></h2>
1435 <div class="doc-section">
1437 <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>
1439 <p>The format of the MagickEdgeImage method is:</p>
1442 MagickBooleanType MagickEdgeImage(MagickWand *wand,const double radius)
1445 <p>A description of each parameter follows:</p></ol>
1448 <ol><p>the magick wand.</p></ol>
1451 <ol><p>the radius of the pixel neighborhood.</p></ol>
1454 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1455 _8c.html" target="source" name="MagickEmbossImage">MagickEmbossImage</a></h2>
1456 <div class="doc-section">
1458 <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>
1460 <p>The format of the MagickEmbossImage method is:</p>
1463 MagickBooleanType MagickEmbossImage(MagickWand *wand,const double radius,
1467 <p>A description of each parameter follows:</p></ol>
1470 <ol><p>the magick wand.</p></ol>
1473 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
1476 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
1479 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1480 _8c.html" target="source" name="MagickEncipherImage">MagickEncipherImage</a></h2>
1481 <div class="doc-section">
1483 <p>MagickEncipherImage() converts plaint pixels to cipher pixels.</p></ol>
1485 <p>The format of the MagickEncipherImage method is:</p>
1488 MagickBooleanType MagickEncipherImage(MagickWand *wand,
1489 const char *passphrase)
1492 <p>A description of each parameter follows:</p></ol>
1495 <ol><p>the magick wand.</p></ol>
1498 <ol><p>the passphrase.</p></ol>
1501 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1502 _8c.html" target="source" name="MagickEnhanceImage">MagickEnhanceImage</a></h2>
1503 <div class="doc-section">
1505 <p>MagickEnhanceImage() applies a digital filter that improves the quality of a noisy image.</p></ol>
1507 <p>The format of the MagickEnhanceImage method is:</p>
1510 MagickBooleanType MagickEnhanceImage(MagickWand *wand)
1513 <p>A description of each parameter follows:</p></ol>
1516 <ol><p>the magick wand.</p></ol>
1519 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1520 _8c.html" target="source" name="MagickEqualizeImage">MagickEqualizeImage</a></h2>
1521 <div class="doc-section">
1523 <p>MagickEqualizeImage() equalizes the image histogram.</p></ol>
1525 <p>The format of the MagickEqualizeImage method is:</p>
1528 MagickBooleanType MagickEqualizeImage(MagickWand *wand)
1529 MagickBooleanType MagickEqualizeImageChannel(MagickWand *wand,
1530 const ChannelType channel)
1533 <p>A description of each parameter follows:</p></ol>
1536 <ol><p>the magick wand.</p></ol>
1539 <ol><p>the image channel(s).</p></ol>
1542 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1543 _8c.html" target="source" name="MagickEvaluateImage">MagickEvaluateImage</a></h2>
1544 <div class="doc-section">
1546 <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>
1548 <p>The format of the MagickEvaluateImage method is:</p>
1551 MagickBooleanType MagickEvaluateImage(MagickWand *wand,
1552 const MagickEvaluateOperator operator,const double value)
1553 MagickBooleanType MagickEvaluateImages(MagickWand *wand,
1554 const MagickEvaluateOperator operator)
1555 MagickBooleanType MagickEvaluateImageChannel(MagickWand *wand,
1556 const ChannelType channel,const MagickEvaluateOperator op,
1560 <p>A description of each parameter follows:</p></ol>
1563 <ol><p>the magick wand.</p></ol>
1566 <ol><p>the channel(s).</p></ol>
1569 <ol><p>A channel operator.</p></ol>
1572 <ol><p>A value value.</p></ol>
1575 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1576 _8c.html" target="source" name="MagickExportImagePixels">MagickExportImagePixels</a></h2>
1577 <div class="doc-section">
1579 <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>
1581 <p>Suppose you want to extract the first scanline of a 640x480 image as character data in red-green-blue order:</p>
1584 MagickExportImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels);
1587 <p>The format of the MagickExportImagePixels method is:</p>
1590 MagickBooleanType MagickExportImagePixels(MagickWand *wand,
1591 const ssize_t x,const ssize_t y,const size_t columns,
1592 const size_t rows,const char *map,const StorageType storage,
1596 <p>A description of each parameter follows:</p></ol>
1599 <ol><p>the magick wand.</p></ol>
1601 <h5>x, y, columns, rows</h5>
1602 <ol><p>These values define the perimeter of a region of pixels you want to extract.</p></ol>
1605 <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>
1608 <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>
1611 <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>
1614 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1615 _8c.html" target="source" name="MagickExtentImage">MagickExtentImage</a></h2>
1616 <div class="doc-section">
1618 <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>
1620 <p>The format of the MagickExtentImage method is:</p>
1623 MagickBooleanType MagickExtentImage(MagickWand *wand,
1624 const size_t width,const size_t height,const ssize_t x,
1628 <p>A description of each parameter follows:</p></ol>
1631 <ol><p>the magick wand.</p></ol>
1634 <ol><p>the region width.</p></ol>
1637 <ol><p>the region height.</p></ol>
1640 <ol><p>the region x offset.</p></ol>
1643 <ol><p>the region y offset.</p></ol>
1646 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1647 _8c.html" target="source" name="MagickFilterImage">MagickFilterImage</a></h2>
1648 <div class="doc-section">
1650 <p>MagickFilterImage() applies a custom convolution kernel to the image.</p></ol>
1652 <p>The format of the MagickFilterImage method is:</p>
1655 MagickBooleanType MagickFilterImage(MagickWand *wand,
1656 const KernelInfo *kernel)
1657 MagickBooleanType MagickFilterImageChannel(MagickWand *wand,
1658 const ChannelType channel,const KernelInfo *kernel)
1661 <p>A description of each parameter follows:</p></ol>
1664 <ol><p>the magick wand.</p></ol>
1667 <ol><p>the image channel(s).</p></ol>
1670 <ol><p>An array of doubles representing the convolution kernel.</p></ol>
1673 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1674 _8c.html" target="source" name="MagickFlipImage">MagickFlipImage</a></h2>
1675 <div class="doc-section">
1677 <p>MagickFlipImage() creates a vertical mirror image by reflecting the pixels around the central x-axis.</p></ol>
1679 <p>The format of the MagickFlipImage method is:</p>
1682 MagickBooleanType MagickFlipImage(MagickWand *wand)
1685 <p>A description of each parameter follows:</p></ol>
1688 <ol><p>the magick wand.</p></ol>
1691 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1692 _8c.html" target="source" name="MagickFloodfillPaintImage">MagickFloodfillPaintImage</a></h2>
1693 <div class="doc-section">
1695 <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>
1697 <p>The format of the MagickFloodfillPaintImage method is:</p>
1700 MagickBooleanType MagickFloodfillPaintImage(MagickWand *wand,
1701 const ChannelType channel,const PixelWand *fill,const double fuzz,
1702 const PixelWand *bordercolor,const ssize_t x,const ssize_t y,
1703 const MagickBooleanType invert)
1706 <p>A description of each parameter follows:</p></ol>
1709 <ol><p>the magick wand.</p></ol>
1712 <ol><p>the channel(s).</p></ol>
1715 <ol><p>the floodfill color pixel wand.</p></ol>
1718 <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>
1720 <h5>bordercolor</h5>
1721 <ol><p>the border color pixel wand.</p></ol>
1724 <ol><p>the starting location of the operation.</p></ol>
1727 <ol><p>paint any pixel that does not match the target color.</p></ol>
1730 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1731 _8c.html" target="source" name="MagickFlopImage">MagickFlopImage</a></h2>
1732 <div class="doc-section">
1734 <p>MagickFlopImage() creates a horizontal mirror image by reflecting the pixels around the central y-axis.</p></ol>
1736 <p>The format of the MagickFlopImage method is:</p>
1739 MagickBooleanType MagickFlopImage(MagickWand *wand)
1742 <p>A description of each parameter follows:</p></ol>
1745 <ol><p>the magick wand.</p></ol>
1748 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1749 _8c.html" target="source" name="MagickForwardFourierTransformImage">MagickForwardFourierTransformImage</a></h2>
1750 <div class="doc-section">
1752 <p>MagickForwardFourierTransformImage() implements the discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.</p></ol>
1754 <p>The format of the MagickForwardFourierTransformImage method is:</p>
1757 MagickBooleanType MagickForwardFourierTransformImage(MagickWand *wand,
1758 const MagickBooleanType magnitude)
1761 <p>A description of each parameter follows:</p></ol>
1764 <ol><p>the magick wand.</p></ol>
1767 <ol><p>if true, return as magnitude / phase pair otherwise a real / imaginary image pair.</p></ol>
1770 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1771 _8c.html" target="source" name="MagickFrameImage">MagickFrameImage</a></h2>
1772 <div class="doc-section">
1774 <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>
1776 <p>The format of the MagickFrameImage method is:</p>
1779 MagickBooleanType MagickFrameImage(MagickWand *wand,
1780 const PixelWand *matte_color,const size_t width,
1781 const size_t height,const ssize_t inner_bevel,
1782 const ssize_t outer_bevel)
1785 <p>A description of each parameter follows:</p></ol>
1788 <ol><p>the magick wand.</p></ol>
1790 <h5>matte_color</h5>
1791 <ol><p>the frame color pixel wand.</p></ol>
1794 <ol><p>the border width.</p></ol>
1797 <ol><p>the border height.</p></ol>
1799 <h5>inner_bevel</h5>
1800 <ol><p>the inner bevel width.</p></ol>
1802 <h5>outer_bevel</h5>
1803 <ol><p>the outer bevel width.</p></ol>
1806 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1807 _8c.html" target="source" name="MagickFunctionImage">MagickFunctionImage</a></h2>
1808 <div class="doc-section">
1810 <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>
1812 <p>The format of the MagickFunctionImage method is:</p>
1815 MagickBooleanType MagickFunctionImage(MagickWand *wand,
1816 const MagickFunction function,const size_t number_arguments,
1817 const double *arguments)
1818 MagickBooleanType MagickFunctionImageChannel(MagickWand *wand,
1819 const ChannelType channel,const MagickFunction function,
1820 const size_t number_arguments,const double *arguments)
1823 <p>A description of each parameter follows:</p></ol>
1826 <ol><p>the magick wand.</p></ol>
1829 <ol><p>the channel(s).</p></ol>
1832 <ol><p>the image function.</p></ol>
1834 <h5>number_arguments</h5>
1835 <ol><p>the number of function arguments.</p></ol>
1838 <ol><p>the function arguments.</p></ol>
1841 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1842 _8c.html" target="source" name="MagickFxImage">MagickFxImage</a></h2>
1843 <div class="doc-section">
1845 <p>MagickFxImage() evaluate expression for each pixel in the image.</p></ol>
1847 <p>The format of the MagickFxImage method is:</p>
1850 MagickWand *MagickFxImage(MagickWand *wand,const char *expression)
1851 MagickWand *MagickFxImageChannel(MagickWand *wand,
1852 const ChannelType channel,const char *expression)
1855 <p>A description of each parameter follows:</p></ol>
1858 <ol><p>the magick wand.</p></ol>
1861 <ol><p>the image channel(s).</p></ol>
1864 <ol><p>the expression.</p></ol>
1867 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1868 _8c.html" target="source" name="MagickGammaImage">MagickGammaImage</a></h2>
1869 <div class="doc-section">
1871 <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>
1873 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p></ol>
1875 <p>The format of the MagickGammaImage method is:</p>
1878 MagickBooleanType MagickGammaImage(MagickWand *wand,const double gamma)
1879 MagickBooleanType MagickGammaImageChannel(MagickWand *wand,
1880 const ChannelType channel,const double gamma)
1883 <p>A description of each parameter follows:</p></ol>
1886 <ol><p>the magick wand.</p></ol>
1889 <ol><p>the channel.</p></ol>
1892 <ol><p>Define the level of gamma correction.</p></ol>
1895 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1896 _8c.html" target="source" name="MagickGaussianBlurImage">MagickGaussianBlurImage</a></h2>
1897 <div class="doc-section">
1899 <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>
1901 <p>The format of the MagickGaussianBlurImage method is:</p>
1904 MagickBooleanType MagickGaussianBlurImage(MagickWand *wand,
1905 const double radius,const double sigma)
1906 MagickBooleanType MagickGaussianBlurImageChannel(MagickWand *wand,
1907 const ChannelType channel,const double radius,const double sigma)
1910 <p>A description of each parameter follows:</p></ol>
1913 <ol><p>the magick wand.</p></ol>
1916 <ol><p>the image channel(s).</p></ol>
1919 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
1922 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
1925 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1926 _8c.html" target="source" name="MagickGetImage">MagickGetImage</a></h2>
1927 <div class="doc-section">
1929 <p>MagickGetImage() gets the image at the current image index.</p></ol>
1931 <p>The format of the MagickGetImage method is:</p>
1934 MagickWand *MagickGetImage(MagickWand *wand)
1937 <p>A description of each parameter follows:</p></ol>
1940 <ol><p>the magick wand.</p></ol>
1943 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1944 _8c.html" target="source" name="MagickGetImageAlphaChannel">MagickGetImageAlphaChannel</a></h2>
1945 <div class="doc-section">
1947 <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>
1949 <p>The format of the MagickGetImageAlphaChannel method is:</p>
1952 size_t MagickGetImageAlphaChannel(MagickWand *wand)
1955 <p>A description of each parameter follows:</p></ol>
1958 <ol><p>the magick wand.</p></ol>
1961 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1962 _8c.html" target="source" name="MagickGetImageClipMask">MagickGetImageClipMask</a></h2>
1963 <div class="doc-section">
1965 <p>MagickGetImageClipMask() gets the image clip mask at the current image index.</p></ol>
1967 <p>The format of the MagickGetImageClipMask method is:</p>
1970 MagickWand *MagickGetImageClipMask(MagickWand *wand)
1973 <p>A description of each parameter follows:</p></ol>
1976 <ol><p>the magick wand.</p></ol>
1979 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1980 _8c.html" target="source" name="MagickGetImageBackgroundColor">MagickGetImageBackgroundColor</a></h2>
1981 <div class="doc-section">
1983 <p>MagickGetImageBackgroundColor() returns the image background color.</p></ol>
1985 <p>The format of the MagickGetImageBackgroundColor method is:</p>
1988 MagickBooleanType MagickGetImageBackgroundColor(MagickWand *wand,
1989 PixelWand *background_color)
1992 <p>A description of each parameter follows:</p></ol>
1995 <ol><p>the magick wand.</p></ol>
1997 <h5>background_color</h5>
1998 <ol><p>Return the background color.</p></ol>
2001 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2002 _8c.html" target="source" name="MagickGetImageBlob">MagickGetImageBlob</a></h2>
2003 <div class="doc-section">
2005 <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>
2007 <p>Use MagickRelinquishMemory() to free the blob when you are done with it.</p></ol>
2009 <p>The format of the MagickGetImageBlob method is:</p>
2012 unsigned char *MagickGetImageBlob(MagickWand *wand,size_t *length)
2015 <p>A description of each parameter follows:</p></ol>
2018 <ol><p>the magick wand.</p></ol>
2021 <ol><p>the length of the blob.</p></ol>
2024 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2025 _8c.html" target="source" name="MagickGetImageBlob">MagickGetImageBlob</a></h2>
2026 <div class="doc-section">
2028 <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>
2030 <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>
2032 <p>The format of the MagickGetImagesBlob method is:</p>
2035 unsigned char *MagickGetImagesBlob(MagickWand *wand,size_t *length)
2038 <p>A description of each parameter follows:</p></ol>
2041 <ol><p>the magick wand.</p></ol>
2044 <ol><p>the length of the blob.</p></ol>
2047 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2048 _8c.html" target="source" name="MagickGetImageBluePrimary">MagickGetImageBluePrimary</a></h2>
2049 <div class="doc-section">
2051 <p>MagickGetImageBluePrimary() returns the chromaticy blue primary point for the image.</p></ol>
2053 <p>The format of the MagickGetImageBluePrimary method is:</p>
2056 MagickBooleanType MagickGetImageBluePrimary(MagickWand *wand,double *x,
2060 <p>A description of each parameter follows:</p></ol>
2063 <ol><p>the magick wand.</p></ol>
2066 <ol><p>the chromaticity blue primary x-point.</p></ol>
2069 <ol><p>the chromaticity blue primary y-point.</p></ol>
2072 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2073 _8c.html" target="source" name="MagickGetImageBorderColor">MagickGetImageBorderColor</a></h2>
2074 <div class="doc-section">
2076 <p>MagickGetImageBorderColor() returns the image border color.</p></ol>
2078 <p>The format of the MagickGetImageBorderColor method is:</p>
2081 MagickBooleanType MagickGetImageBorderColor(MagickWand *wand,
2082 PixelWand *border_color)
2085 <p>A description of each parameter follows:</p></ol>
2088 <ol><p>the magick wand.</p></ol>
2090 <h5>border_color</h5>
2091 <ol><p>Return the border color.</p></ol>
2094 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2095 _8c.html" target="source" name="MagickGetImageChannelDepth">MagickGetImageChannelDepth</a></h2>
2096 <div class="doc-section">
2098 <p>MagickGetImageChannelDepth() gets the depth for one or more image channels.</p></ol>
2100 <p>The format of the MagickGetImageChannelDepth method is:</p>
2103 size_t MagickGetImageChannelDepth(MagickWand *wand,
2104 const ChannelType channel)
2107 <p>A description of each parameter follows:</p></ol>
2110 <ol><p>the magick wand.</p></ol>
2113 <ol><p>the image channel(s).</p></ol>
2116 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2117 _8c.html" target="source" name="MagickGetImageChannelDistortion">MagickGetImageChannelDistortion</a></h2>
2118 <div class="doc-section">
2120 <p>MagickGetImageChannelDistortion() compares one or more image channels of an image to a reconstructed image and returns the specified distortion metric.</p></ol>
2122 <p>The format of the MagickGetImageChannelDistortion method is:</p>
2125 MagickBooleanType MagickGetImageChannelDistortion(MagickWand *wand,
2126 const MagickWand *reference,const ChannelType channel,
2127 const MetricType metric,double *distortion)
2130 <p>A description of each parameter follows:</p></ol>
2133 <ol><p>the magick wand.</p></ol>
2136 <ol><p>the reference wand.</p></ol>
2139 <ol><p>the channel.</p></ol>
2142 <ol><p>the metric.</p></ol>
2145 <ol><p>the computed distortion between the images.</p></ol>
2148 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2149 _8c.html" target="source" name="MagickGetImageChannelDistortions">MagickGetImageChannelDistortions</a></h2>
2150 <div class="doc-section">
2152 <p>MagickGetImageChannelDistortions() compares one or more image channels of an image to a reconstructed image and returns the specified distortion metrics.</p></ol>
2154 <p>Use MagickRelinquishMemory() to free the metrics when you are done with them.</p></ol>
2156 <p>The format of the MagickGetImageChannelDistortion method is:</p>
2159 double *MagickGetImageChannelDistortion(MagickWand *wand,
2160 const MagickWand *reference,const MetricType metric)
2163 <p>A description of each parameter follows:</p></ol>
2166 <ol><p>the magick wand.</p></ol>
2169 <ol><p>the reference wand.</p></ol>
2172 <ol><p>the metric.</p></ol>
2175 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2176 _8c.html" target="source" name="MagickGetImageChannelFeatures">MagickGetImageChannelFeatures</a></h2>
2177 <div class="doc-section">
2179 <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>
2182 channel_features=MagickGetImageChannelFeatures(wand,1);
2183 contrast=channel_features[RedChannel].contrast[0];
2186 <p>Use MagickRelinquishMemory() to free the statistics buffer.</p></ol>
2188 <p>The format of the MagickGetImageChannelFeatures method is:</p>
2191 ChannelFeatures *MagickGetImageChannelFeatures(MagickWand *wand,
2192 const size_t distance)
2195 <p>A description of each parameter follows:</p></ol>
2198 <ol><p>the magick wand.</p></ol>
2201 <ol><p>the distance.</p></ol>
2204 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2205 _8c.html" target="source" name="MagickGetImageChannelKurtosis">MagickGetImageChannelKurtosis</a></h2>
2206 <div class="doc-section">
2208 <p>MagickGetImageChannelKurtosis() gets the kurtosis and skewness of one or more image channels.</p></ol>
2210 <p>The format of the MagickGetImageChannelKurtosis method is:</p>
2213 MagickBooleanType MagickGetImageChannelKurtosis(MagickWand *wand,
2214 const ChannelType channel,double *kurtosis,double *skewness)
2217 <p>A description of each parameter follows:</p></ol>
2220 <ol><p>the magick wand.</p></ol>
2223 <ol><p>the image channel(s).</p></ol>
2226 <ol><p>The kurtosis for the specified channel(s).</p></ol>
2229 <ol><p>The skewness for the specified channel(s).</p></ol>
2232 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2233 _8c.html" target="source" name="MagickGetImageChannelMean">MagickGetImageChannelMean</a></h2>
2234 <div class="doc-section">
2236 <p>MagickGetImageChannelMean() gets the mean and standard deviation of one or more image channels.</p></ol>
2238 <p>The format of the MagickGetImageChannelMean method is:</p>
2241 MagickBooleanType MagickGetImageChannelMean(MagickWand *wand,
2242 const ChannelType channel,double *mean,double *standard_deviation)
2245 <p>A description of each parameter follows:</p></ol>
2248 <ol><p>the magick wand.</p></ol>
2251 <ol><p>the image channel(s).</p></ol>
2254 <ol><p>The mean pixel value for the specified channel(s).</p></ol>
2256 <h5>standard_deviation</h5>
2257 <ol><p>The standard deviation for the specified channel(s).</p></ol>
2260 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2261 _8c.html" target="source" name="MagickGetImageChannelRange">MagickGetImageChannelRange</a></h2>
2262 <div class="doc-section">
2264 <p>MagickGetImageChannelRange() gets the range for one or more image channels.</p></ol>
2266 <p>The format of the MagickGetImageChannelRange method is:</p>
2269 MagickBooleanType MagickGetImageChannelRange(MagickWand *wand,
2270 const ChannelType channel,double *minima,double *maxima)
2273 <p>A description of each parameter follows:</p></ol>
2276 <ol><p>the magick wand.</p></ol>
2279 <ol><p>the image channel(s).</p></ol>
2282 <ol><p>The minimum pixel value for the specified channel(s).</p></ol>
2285 <ol><p>The maximum pixel value for the specified channel(s).</p></ol>
2288 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2289 _8c.html" target="source" name="MagickGetImageChannelStatistics">MagickGetImageChannelStatistics</a></h2>
2290 <div class="doc-section">
2292 <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>
2295 channel_statistics=MagickGetImageChannelStatistics(wand);
2296 red_mean=channel_statistics[RedChannel].mean;
2299 <p>Use MagickRelinquishMemory() to free the statistics buffer.</p></ol>
2301 <p>The format of the MagickGetImageChannelStatistics method is:</p>
2304 ChannelStatistics *MagickGetImageChannelStatistics(MagickWand *wand)
2307 <p>A description of each parameter follows:</p></ol>
2310 <ol><p>the magick wand.</p></ol>
2313 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2314 _8c.html" target="source" name="MagickGetImageColormapColor">MagickGetImageColormapColor</a></h2>
2315 <div class="doc-section">
2317 <p>MagickGetImageColormapColor() returns the color of the specified colormap index.</p></ol>
2319 <p>The format of the MagickGetImageColormapColor method is:</p>
2322 MagickBooleanType MagickGetImageColormapColor(MagickWand *wand,
2323 const size_t index,PixelWand *color)
2326 <p>A description of each parameter follows:</p></ol>
2329 <ol><p>the magick wand.</p></ol>
2332 <ol><p>the offset into the image colormap.</p></ol>
2335 <ol><p>Return the colormap color in this wand.</p></ol>
2338 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2339 _8c.html" target="source" name="MagickGetImageColors">MagickGetImageColors</a></h2>
2340 <div class="doc-section">
2342 <p>MagickGetImageColors() gets the number of unique colors in the image.</p></ol>
2344 <p>The format of the MagickGetImageColors method is:</p>
2347 size_t MagickGetImageColors(MagickWand *wand)
2350 <p>A description of each parameter follows:</p></ol>
2353 <ol><p>the magick wand.</p></ol>
2356 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2357 _8c.html" target="source" name="MagickGetImageColorspace">MagickGetImageColorspace</a></h2>
2358 <div class="doc-section">
2360 <p>MagickGetImageColorspace() gets the image colorspace.</p></ol>
2362 <p>The format of the MagickGetImageColorspace method is:</p>
2365 ColorspaceType MagickGetImageColorspace(MagickWand *wand)
2368 <p>A description of each parameter follows:</p></ol>
2371 <ol><p>the magick wand.</p></ol>
2374 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2375 _8c.html" target="source" name="MagickGetImageCompose">MagickGetImageCompose</a></h2>
2376 <div class="doc-section">
2378 <p>MagickGetImageCompose() returns the composite operator associated with the image.</p></ol>
2380 <p>The format of the MagickGetImageCompose method is:</p>
2383 CompositeOperator MagickGetImageCompose(MagickWand *wand)
2386 <p>A description of each parameter follows:</p></ol>
2389 <ol><p>the magick wand.</p></ol>
2392 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2393 _8c.html" target="source" name="MagickGetImageCompression">MagickGetImageCompression</a></h2>
2394 <div class="doc-section">
2396 <p>MagickGetImageCompression() gets the image compression.</p></ol>
2398 <p>The format of the MagickGetImageCompression method is:</p>
2401 CompressionType MagickGetImageCompression(MagickWand *wand)
2404 <p>A description of each parameter follows:</p></ol>
2407 <ol><p>the magick wand.</p></ol>
2410 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2411 _8c.html" target="source" name="MagickGetImageCompression">MagickGetImageCompression</a></h2>
2412 <div class="doc-section">
2414 <p>MagickGetImageCompression() gets the image compression quality.</p></ol>
2416 <p>The format of the MagickGetImageCompression method is:</p>
2419 size_t MagickGetImageCompression(MagickWand *wand)
2422 <p>A description of each parameter follows:</p></ol>
2425 <ol><p>the magick wand.</p></ol>
2428 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2429 _8c.html" target="source" name="MagickGetImageDelay">MagickGetImageDelay</a></h2>
2430 <div class="doc-section">
2432 <p>MagickGetImageDelay() gets the image delay.</p></ol>
2434 <p>The format of the MagickGetImageDelay method is:</p>
2437 size_t MagickGetImageDelay(MagickWand *wand)
2440 <p>A description of each parameter follows:</p></ol>
2443 <ol><p>the magick wand.</p></ol>
2446 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2447 _8c.html" target="source" name="MagickGetImageDepth">MagickGetImageDepth</a></h2>
2448 <div class="doc-section">
2450 <p>MagickGetImageDepth() gets the image depth.</p></ol>
2452 <p>The format of the MagickGetImageDepth method is:</p>
2455 size_t MagickGetImageDepth(MagickWand *wand)
2458 <p>A description of each parameter follows:</p></ol>
2461 <ol><p>the magick wand.</p></ol>
2464 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2465 _8c.html" target="source" name="MagickGetImageDistortion">MagickGetImageDistortion</a></h2>
2466 <div class="doc-section">
2468 <p>MagickGetImageDistortion() compares an image to a reconstructed image and returns the specified distortion metric.</p></ol>
2470 <p>The format of the MagickGetImageDistortion method is:</p>
2473 MagickBooleanType MagickGetImageDistortion(MagickWand *wand,
2474 const MagickWand *reference,const MetricType metric,
2478 <p>A description of each parameter follows:</p></ol>
2481 <ol><p>the magick wand.</p></ol>
2484 <ol><p>the reference wand.</p></ol>
2487 <ol><p>the metric.</p></ol>
2490 <ol><p>the computed distortion between the images.</p></ol>
2493 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2494 _8c.html" target="source" name="MagickGetImageDispose">MagickGetImageDispose</a></h2>
2495 <div class="doc-section">
2497 <p>MagickGetImageDispose() gets the image disposal method.</p></ol>
2499 <p>The format of the MagickGetImageDispose method is:</p>
2502 DisposeType MagickGetImageDispose(MagickWand *wand)
2505 <p>A description of each parameter follows:</p></ol>
2508 <ol><p>the magick wand.</p></ol>
2511 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2512 _8c.html" target="source" name="MagickGetImageFilename">MagickGetImageFilename</a></h2>
2513 <div class="doc-section">
2515 <p>MagickGetImageFilename() returns the filename of a particular image in a sequence.</p></ol>
2517 <p>The format of the MagickGetImageFilename method is:</p>
2520 char *MagickGetImageFilename(MagickWand *wand)
2523 <p>A description of each parameter follows:</p></ol>
2526 <ol><p>the magick wand.</p></ol>
2529 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2530 _8c.html" target="source" name="MagickGetImageFormat">MagickGetImageFormat</a></h2>
2531 <div class="doc-section">
2533 <p>MagickGetImageFormat() returns the format of a particular image in a sequence.</p></ol>
2535 <p>The format of the MagickGetImageFormat method is:</p>
2538 const char *MagickGetImageFormat(MagickWand *wand)
2541 <p>A description of each parameter follows:</p></ol>
2544 <ol><p>the magick wand.</p></ol>
2547 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2548 _8c.html" target="source" name="MagickGetImageFuzz">MagickGetImageFuzz</a></h2>
2549 <div class="doc-section">
2551 <p>MagickGetImageFuzz() gets the image fuzz.</p></ol>
2553 <p>The format of the MagickGetImageFuzz method is:</p>
2556 double MagickGetImageFuzz(MagickWand *wand)
2559 <p>A description of each parameter follows:</p></ol>
2562 <ol><p>the magick wand.</p></ol>
2565 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2566 _8c.html" target="source" name="MagickGetImageGamma">MagickGetImageGamma</a></h2>
2567 <div class="doc-section">
2569 <p>MagickGetImageGamma() gets the image gamma.</p></ol>
2571 <p>The format of the MagickGetImageGamma method is:</p>
2574 double MagickGetImageGamma(MagickWand *wand)
2577 <p>A description of each parameter follows:</p></ol>
2580 <ol><p>the magick wand.</p></ol>
2583 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2584 _8c.html" target="source" name="MagickGetImageGravity">MagickGetImageGravity</a></h2>
2585 <div class="doc-section">
2587 <p>MagickGetImageGravity() gets the image gravity.</p></ol>
2589 <p>The format of the MagickGetImageGravity method is:</p>
2592 GravityType MagickGetImageGravity(MagickWand *wand)
2595 <p>A description of each parameter follows:</p></ol>
2598 <ol><p>the magick wand.</p></ol>
2601 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2602 _8c.html" target="source" name="MagickGetImageGreenPrimary">MagickGetImageGreenPrimary</a></h2>
2603 <div class="doc-section">
2605 <p>MagickGetImageGreenPrimary() returns the chromaticy green primary point.</p></ol>
2607 <p>The format of the MagickGetImageGreenPrimary method is:</p>
2610 MagickBooleanType MagickGetImageGreenPrimary(MagickWand *wand,double *x,
2614 <p>A description of each parameter follows:</p></ol>
2617 <ol><p>the magick wand.</p></ol>
2620 <ol><p>the chromaticity green primary x-point.</p></ol>
2623 <ol><p>the chromaticity green primary y-point.</p></ol>
2626 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2627 _8c.html" target="source" name="MagickGetImageHeight">MagickGetImageHeight</a></h2>
2628 <div class="doc-section">
2630 <p>MagickGetImageHeight() returns the image height.</p></ol>
2632 <p>The format of the MagickGetImageHeight method is:</p>
2635 size_t MagickGetImageHeight(MagickWand *wand)
2638 <p>A description of each parameter follows:</p></ol>
2641 <ol><p>the magick wand.</p></ol>
2644 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2645 _8c.html" target="source" name="MagickGetImageHistogram">MagickGetImageHistogram</a></h2>
2646 <div class="doc-section">
2648 <p>MagickGetImageHistogram() returns the image histogram as an array of PixelWand wands.</p></ol>
2650 <p>The format of the MagickGetImageHistogram method is:</p>
2653 PixelWand **MagickGetImageHistogram(MagickWand *wand,
2654 size_t *number_colors)
2657 <p>A description of each parameter follows:</p></ol>
2660 <ol><p>the magick wand.</p></ol>
2662 <h5>number_colors</h5>
2663 <ol><p>the number of unique colors in the image and the number of pixel wands returned.</p></ol>
2666 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2667 _8c.html" target="source" name="MagickGetImageInterlaceScheme">MagickGetImageInterlaceScheme</a></h2>
2668 <div class="doc-section">
2670 <p>MagickGetImageInterlaceScheme() gets the image interlace scheme.</p></ol>
2672 <p>The format of the MagickGetImageInterlaceScheme method is:</p>
2675 InterlaceType MagickGetImageInterlaceScheme(MagickWand *wand)
2678 <p>A description of each parameter follows:</p></ol>
2681 <ol><p>the magick wand.</p></ol>
2684 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2685 _8c.html" target="source" name="MagickGetImageInterpolateMethod">MagickGetImageInterpolateMethod</a></h2>
2686 <div class="doc-section">
2688 <p>MagickGetImageInterpolateMethod() returns the interpolation method for the sepcified image.</p></ol>
2690 <p>The format of the MagickGetImageInterpolateMethod method is:</p>
2693 InterpolatePixelMethod MagickGetImageInterpolateMethod(MagickWand *wand)
2696 <p>A description of each parameter follows:</p></ol>
2699 <ol><p>the magick wand.</p></ol>
2702 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2703 _8c.html" target="source" name="MagickGetImageIterations">MagickGetImageIterations</a></h2>
2704 <div class="doc-section">
2706 <p>MagickGetImageIterations() gets the image iterations.</p></ol>
2708 <p>The format of the MagickGetImageIterations method is:</p>
2711 size_t MagickGetImageIterations(MagickWand *wand)
2714 <p>A description of each parameter follows:</p></ol>
2717 <ol><p>the magick wand.</p></ol>
2720 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2721 _8c.html" target="source" name="MagickGetImageLength">MagickGetImageLength</a></h2>
2722 <div class="doc-section">
2724 <p>MagickGetImageLength() returns the image length in bytes.</p></ol>
2726 <p>The format of the MagickGetImageLength method is:</p>
2729 MagickBooleanType MagickGetImageLength(MagickWand *wand,
2730 MagickSizeType *length)
2733 <p>A description of each parameter follows:</p></ol>
2736 <ol><p>the magick wand.</p></ol>
2739 <ol><p>the image length in bytes.</p></ol>
2742 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2743 _8c.html" target="source" name="MagickGetImageMatteColor">MagickGetImageMatteColor</a></h2>
2744 <div class="doc-section">
2746 <p>MagickGetImageMatteColor() returns the image matte color.</p></ol>
2748 <p>The format of the MagickGetImageMatteColor method is:</p>
2751 MagickBooleanType MagickGetImagematteColor(MagickWand *wand,
2752 PixelWand *matte_color)
2755 <p>A description of each parameter follows:</p></ol>
2758 <ol><p>the magick wand.</p></ol>
2760 <h5>matte_color</h5>
2761 <ol><p>Return the matte color.</p></ol>
2764 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2765 _8c.html" target="source" name="MagickGetImageOrientation">MagickGetImageOrientation</a></h2>
2766 <div class="doc-section">
2768 <p>MagickGetImageOrientation() returns the image orientation.</p></ol>
2770 <p>The format of the MagickGetImageOrientation method is:</p>
2773 OrientationType MagickGetImageOrientation(MagickWand *wand)
2776 <p>A description of each parameter follows:</p></ol>
2779 <ol><p>the magick wand.</p></ol>
2782 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2783 _8c.html" target="source" name="MagickGetImagePage">MagickGetImagePage</a></h2>
2784 <div class="doc-section">
2786 <p>MagickGetImagePage() returns the page geometry associated with the image.</p></ol>
2788 <p>The format of the MagickGetImagePage method is:</p>
2791 MagickBooleanType MagickGetImagePage(MagickWand *wand,
2792 size_t *width,size_t *height,ssize_t *x,ssize_t *y)
2795 <p>A description of each parameter follows:</p></ol>
2798 <ol><p>the magick wand.</p></ol>
2801 <ol><p>the page width.</p></ol>
2804 <ol><p>the page height.</p></ol>
2807 <ol><p>the page x-offset.</p></ol>
2810 <ol><p>the page y-offset.</p></ol>
2813 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2814 _8c.html" target="source" name="MagickGetImagePixelColor">MagickGetImagePixelColor</a></h2>
2815 <div class="doc-section">
2817 <p>MagickGetImagePixelColor() returns the color of the specified pixel.</p></ol>
2819 <p>The format of the MagickGetImagePixelColor method is:</p>
2822 MagickBooleanType MagickGetImagePixelColor(MagickWand *wand,
2823 const ssize_t x,const ssize_t y,PixelWand *color)
2826 <p>A description of each parameter follows:</p></ol>
2829 <ol><p>the magick wand.</p></ol>
2832 <ol><p>the pixel offset into the image.</p></ol>
2835 <ol><p>Return the colormap color in this wand.</p></ol>
2838 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2839 _8c.html" target="source" name="MagickGetImageRedPrimary">MagickGetImageRedPrimary</a></h2>
2840 <div class="doc-section">
2842 <p>MagickGetImageRedPrimary() returns the chromaticy red primary point.</p></ol>
2844 <p>The format of the MagickGetImageRedPrimary method is:</p>
2847 MagickBooleanType MagickGetImageRedPrimary(MagickWand *wand,double *x,
2851 <p>A description of each parameter follows:</p></ol>
2854 <ol><p>the magick wand.</p></ol>
2857 <ol><p>the chromaticity red primary x-point.</p></ol>
2860 <ol><p>the chromaticity red primary y-point.</p></ol>
2863 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2864 _8c.html" target="source" name="MagickGetImageRegion">MagickGetImageRegion</a></h2>
2865 <div class="doc-section">
2867 <p>MagickGetImageRegion() extracts a region of the image and returns it as a a new wand.</p></ol>
2869 <p>The format of the MagickGetImageRegion method is:</p>
2872 MagickWand *MagickGetImageRegion(MagickWand *wand,
2873 const size_t width,const size_t height,const ssize_t x,
2877 <p>A description of each parameter follows:</p></ol>
2880 <ol><p>the magick wand.</p></ol>
2883 <ol><p>the region width.</p></ol>
2886 <ol><p>the region height.</p></ol>
2889 <ol><p>the region x offset.</p></ol>
2892 <ol><p>the region y offset.</p></ol>
2895 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2896 _8c.html" target="source" name="MagickGetImageRenderingIntent">MagickGetImageRenderingIntent</a></h2>
2897 <div class="doc-section">
2899 <p>MagickGetImageRenderingIntent() gets the image rendering intent.</p></ol>
2901 <p>The format of the MagickGetImageRenderingIntent method is:</p>
2904 RenderingIntent MagickGetImageRenderingIntent(MagickWand *wand)
2907 <p>A description of each parameter follows:</p></ol>
2910 <ol><p>the magick wand.</p></ol>
2913 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2914 _8c.html" target="source" name="MagickGetImageResolution">MagickGetImageResolution</a></h2>
2915 <div class="doc-section">
2917 <p>MagickGetImageResolution() gets the image X and Y resolution.</p></ol>
2919 <p>The format of the MagickGetImageResolution method is:</p>
2922 MagickBooleanType MagickGetImageResolution(MagickWand *wand,double *x,
2926 <p>A description of each parameter follows:</p></ol>
2929 <ol><p>the magick wand.</p></ol>
2932 <ol><p>the image x-resolution.</p></ol>
2935 <ol><p>the image y-resolution.</p></ol>
2938 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2939 _8c.html" target="source" name="MagickGetImageScene">MagickGetImageScene</a></h2>
2940 <div class="doc-section">
2942 <p>MagickGetImageScene() gets the image scene.</p></ol>
2944 <p>The format of the MagickGetImageScene method is:</p>
2947 size_t MagickGetImageScene(MagickWand *wand)
2950 <p>A description of each parameter follows:</p></ol>
2953 <ol><p>the magick wand.</p></ol>
2956 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2957 _8c.html" target="source" name="MagickGetImageSignature">MagickGetImageSignature</a></h2>
2958 <div class="doc-section">
2960 <p>MagickGetImageSignature() generates an SHA-256 message digest for the image pixel stream.</p></ol>
2962 <p>The format of the MagickGetImageSignature method is:</p>
2965 const char MagickGetImageSignature(MagickWand *wand)
2968 <p>A description of each parameter follows:</p></ol>
2971 <ol><p>the magick wand.</p></ol>
2974 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2975 _8c.html" target="source" name="MagickGetImageTicksPerSecond">MagickGetImageTicksPerSecond</a></h2>
2976 <div class="doc-section">
2978 <p>MagickGetImageTicksPerSecond() gets the image ticks-per-second.</p></ol>
2980 <p>The format of the MagickGetImageTicksPerSecond method is:</p>
2983 size_t MagickGetImageTicksPerSecond(MagickWand *wand)
2986 <p>A description of each parameter follows:</p></ol>
2989 <ol><p>the magick wand.</p></ol>
2992 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2993 _8c.html" target="source" name="MagickGetImageType">MagickGetImageType</a></h2>
2994 <div class="doc-section">
2996 <p>MagickGetImageType() gets the potential image type:</p></ol>
2998 <p>Bilevel Grayscale GrayscaleMatte Palette PaletteMatte TrueColor TrueColorMatte ColorSeparation ColorSeparationMatte</p></ol>
3000 <p>To ensure the image type matches its potential, use MagickSetImageType():</p>
3003 (void) MagickSetImageType(wand,MagickGetImageType(wand));
3006 <p>The format of the MagickGetImageType method is:</p>
3009 ImageType MagickGetImageType(MagickWand *wand)
3012 <p>A description of each parameter follows:</p></ol>
3015 <ol><p>the magick wand.</p></ol>
3018 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3019 _8c.html" target="source" name="MagickGetImageUnits">MagickGetImageUnits</a></h2>
3020 <div class="doc-section">
3022 <p>MagickGetImageUnits() gets the image units of resolution.</p></ol>
3024 <p>The format of the MagickGetImageUnits method is:</p>
3027 ResolutionType MagickGetImageUnits(MagickWand *wand)
3030 <p>A description of each parameter follows:</p></ol>
3033 <ol><p>the magick wand.</p></ol>
3036 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3037 _8c.html" target="source" name="MagickGetImageVirtualPixelMethod">MagickGetImageVirtualPixelMethod</a></h2>
3038 <div class="doc-section">
3040 <p>MagickGetImageVirtualPixelMethod() returns the virtual pixel method for the sepcified image.</p></ol>
3042 <p>The format of the MagickGetImageVirtualPixelMethod method is:</p>
3045 VirtualPixelMethod MagickGetImageVirtualPixelMethod(MagickWand *wand)
3048 <p>A description of each parameter follows:</p></ol>
3051 <ol><p>the magick wand.</p></ol>
3054 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3055 _8c.html" target="source" name="MagickGetImageWhitePoint">MagickGetImageWhitePoint</a></h2>
3056 <div class="doc-section">
3058 <p>MagickGetImageWhitePoint() returns the chromaticy white point.</p></ol>
3060 <p>The format of the MagickGetImageWhitePoint method is:</p>
3063 MagickBooleanType MagickGetImageWhitePoint(MagickWand *wand,double *x,
3067 <p>A description of each parameter follows:</p></ol>
3070 <ol><p>the magick wand.</p></ol>
3073 <ol><p>the chromaticity white x-point.</p></ol>
3076 <ol><p>the chromaticity white y-point.</p></ol>
3079 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3080 _8c.html" target="source" name="MagickGetImageWidth">MagickGetImageWidth</a></h2>
3081 <div class="doc-section">
3083 <p>MagickGetImageWidth() returns the image width.</p></ol>
3085 <p>The format of the MagickGetImageWidth method is:</p>
3088 size_t MagickGetImageWidth(MagickWand *wand)
3091 <p>A description of each parameter follows:</p></ol>
3094 <ol><p>the magick wand.</p></ol>
3097 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3098 _8c.html" target="source" name="MagickGetNumberImages">MagickGetNumberImages</a></h2>
3099 <div class="doc-section">
3101 <p>MagickGetNumberImages() returns the number of images associated with a magick wand.</p></ol>
3103 <p>The format of the MagickGetNumberImages method is:</p>
3106 size_t MagickGetNumberImages(MagickWand *wand)
3109 <p>A description of each parameter follows:</p></ol>
3112 <ol><p>the magick wand.</p></ol>
3115 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3116 _8c.html" target="source" name="MagickGetImageTotalInkDensity">MagickGetImageTotalInkDensity</a></h2>
3117 <div class="doc-section">
3119 <p>MagickGetImageTotalInkDensity() gets the image total ink density.</p></ol>
3121 <p>The format of the MagickGetImageTotalInkDensity method is:</p>
3124 double MagickGetImageTotalInkDensity(MagickWand *wand)
3127 <p>A description of each parameter follows:</p></ol>
3130 <ol><p>the magick wand.</p></ol>
3133 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3134 _8c.html" target="source" name="MagickHaldClutImage">MagickHaldClutImage</a></h2>
3135 <div class="doc-section">
3137 <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>
3139 <p>The format of the MagickHaldClutImage method is:</p>
3142 MagickBooleanType MagickHaldClutImage(MagickWand *wand,
3143 const MagickWand *hald_wand)
3144 MagickBooleanType MagickHaldClutImageChannel(MagickWand *wand,
3145 const ChannelType channel,const MagickWand *hald_wand)
3148 <p>A description of each parameter follows:</p></ol>
3151 <ol><p>the magick wand.</p></ol>
3154 <ol><p>the hald CLUT image.</p></ol>
3157 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3158 _8c.html" target="source" name="MagickHasNextImage">MagickHasNextImage</a></h2>
3159 <div class="doc-section">
3161 <p>MagickHasNextImage() returns MagickTrue if the wand has more images when traversing the list in the forward direction</p></ol>
3163 <p>The format of the MagickHasNextImage method is:</p>
3166 MagickBooleanType MagickHasNextImage(MagickWand *wand)
3169 <p>A description of each parameter follows:</p></ol>
3172 <ol><p>the magick wand.</p></ol>
3175 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3176 _8c.html" target="source" name="MagickHasPreviousImage">MagickHasPreviousImage</a></h2>
3177 <div class="doc-section">
3179 <p>MagickHasPreviousImage() returns MagickTrue if the wand has more images when traversing the list in the reverse direction</p></ol>
3181 <p>The format of the MagickHasPreviousImage method is:</p>
3184 MagickBooleanType MagickHasPreviousImage(MagickWand *wand)
3187 <p>A description of each parameter follows:</p></ol>
3190 <ol><p>the magick wand.</p></ol>
3193 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3194 _8c.html" target="source" name="MagickIdentifyImage">MagickIdentifyImage</a></h2>
3195 <div class="doc-section">
3197 <p>MagickIdentifyImage() identifies an image by printing its attributes to the file. Attributes include the image width, height, size, and others.</p></ol>
3199 <p>The format of the MagickIdentifyImage method is:</p>
3202 const char *MagickIdentifyImage(MagickWand *wand)
3205 <p>A description of each parameter follows:</p></ol>
3208 <ol><p>the magick wand.</p></ol>
3211 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3212 _8c.html" target="source" name="MagickImplodeImage">MagickImplodeImage</a></h2>
3213 <div class="doc-section">
3215 <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>
3217 <p>The format of the MagickImplodeImage method is:</p>
3220 MagickBooleanType MagickImplodeImage(MagickWand *wand,
3221 const double radius)
3224 <p>A description of each parameter follows:</p></ol>
3227 <ol><p>the magick wand.</p></ol>
3230 <ol><p>Define the extent of the implosion.</p></ol>
3233 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3234 _8c.html" target="source" name="MagickImportImagePixels">MagickImportImagePixels</a></h2>
3235 <div class="doc-section">
3237 <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>
3239 <p>Suppose your want to upload the first scanline of a 640x480 image from character data in red-green-blue order:</p>
3242 MagickImportImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels);
3245 <p>The format of the MagickImportImagePixels method is:</p>
3248 MagickBooleanType MagickImportImagePixels(MagickWand *wand,
3249 const ssize_t x,const ssize_t y,const size_t columns,
3250 const size_t rows,const char *map,const StorageType storage,
3254 <p>A description of each parameter follows:</p></ol>
3257 <ol><p>the magick wand.</p></ol>
3259 <h5>x, y, columns, rows</h5>
3260 <ol><p>These values define the perimeter of a region of pixels you want to define.</p></ol>
3263 <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>
3266 <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>
3269 <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>
3272 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3273 _8c.html" target="source" name="MagickInverseFourierTransformImage">MagickInverseFourierTransformImage</a></h2>
3274 <div class="doc-section">
3276 <p>MagickInverseFourierTransformImage() implements the inverse discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.</p></ol>
3278 <p>The format of the MagickInverseFourierTransformImage method is:</p>
3281 MagickBooleanType MagickInverseFourierTransformImage(
3282 MagickWand *magnitude_wand,MagickWand *phase_wand,
3283 const MagickBooleanType magnitude)
3286 <p>A description of each parameter follows:</p></ol>
3288 <h5>magnitude_wand</h5>
3289 <ol><p>the magnitude or real wand.</p></ol>
3292 <ol><p>the phase or imaginary wand.</p></ol>
3295 <ol><p>if true, return as magnitude / phase pair otherwise a real / imaginary image pair.</p></ol>
3298 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3299 _8c.html" target="source" name="MagickLabelImage">MagickLabelImage</a></h2>
3300 <div class="doc-section">
3302 <p>MagickLabelImage() adds a label to your image.</p></ol>
3304 <p>The format of the MagickLabelImage method is:</p>
3307 MagickBooleanType MagickLabelImage(MagickWand *wand,const char *label)
3310 <p>A description of each parameter follows:</p></ol>
3313 <ol><p>the magick wand.</p></ol>
3316 <ol><p>the image label.</p></ol>
3319 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3320 _8c.html" target="source" name="MagickLevelImage">MagickLevelImage</a></h2>
3321 <div class="doc-section">
3323 <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>
3325 <p>The format of the MagickLevelImage method is:</p>
3328 MagickBooleanType MagickLevelImage(MagickWand *wand,
3329 const double black_point,const double gamma,const double white_point)
3330 MagickBooleanType MagickLevelImageChannel(MagickWand *wand,
3331 const ChannelType channel,const double black_point,const double gamma,
3332 const double white_point)
3335 <p>A description of each parameter follows:</p></ol>
3338 <ol><p>the magick wand.</p></ol>
3341 <ol><p>Identify which channel to level: RedChannel, GreenChannel,</p></ol>
3343 <h5>black_point</h5>
3344 <ol><p>the black point.</p></ol>
3347 <ol><p>the gamma.</p></ol>
3349 <h5>white_point</h5>
3350 <ol><p>the white point.</p></ol>
3353 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3354 _8c.html" target="source" name="MagickLinearStretchImage">MagickLinearStretchImage</a></h2>
3355 <div class="doc-section">
3357 <p>MagickLinearStretchImage() stretches with saturation the image intensity.</p></ol>
3359 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p></ol>
3361 <p>The format of the MagickLinearStretchImage method is:</p>
3364 MagickBooleanType MagickLinearStretchImage(MagickWand *wand,
3365 const double black_point,const double white_point)
3368 <p>A description of each parameter follows:</p></ol>
3371 <ol><p>the magick wand.</p></ol>
3373 <h5>black_point</h5>
3374 <ol><p>the black point.</p></ol>
3376 <h5>white_point</h5>
3377 <ol><p>the white point.</p></ol>
3380 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3381 _8c.html" target="source" name="MagickLiquidRescaleImage">MagickLiquidRescaleImage</a></h2>
3382 <div class="doc-section">
3384 <p>MagickLiquidRescaleImage() rescales image with seam carving.</p></ol>
3386 <p>MagickBooleanType MagickLiquidRescaleImage(MagickWand *wand, const size_t columns,const size_t rows, const double delta_x,const double rigidity)</p></ol>
3388 <p>A description of each parameter follows:</p></ol>
3391 <ol><p>the magick wand.</p></ol>
3394 <ol><p>the number of columns in the scaled image.</p></ol>
3397 <ol><p>the number of rows in the scaled image.</p></ol>
3400 <ol><p>maximum seam transversal step (0 means straight seams).</p></ol>
3403 <ol><p>introduce a bias for non-straight seams (typically 0).</p></ol>
3406 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3407 _8c.html" target="source" name="MagickMagnifyImage">MagickMagnifyImage</a></h2>
3408 <div class="doc-section">
3410 <p>MagickMagnifyImage() is a convenience method that scales an image proportionally to twice its original size.</p></ol>
3412 <p>The format of the MagickMagnifyImage method is:</p>
3415 MagickBooleanType MagickMagnifyImage(MagickWand *wand)
3418 <p>A description of each parameter follows:</p></ol>
3421 <ol><p>the magick wand.</p></ol>
3424 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3425 _8c.html" target="source" name="MagickMedianFilterImage">MagickMedianFilterImage</a></h2>
3426 <div class="doc-section">
3428 <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>
3430 <p>The format of the MagickMedianFilterImage method is:</p>
3433 MagickBooleanType MagickMedianFilterImage(MagickWand *wand,
3434 const double radius)
3437 <p>A description of each parameter follows:</p></ol>
3440 <ol><p>the magick wand.</p></ol>
3443 <ol><p>the radius of the pixel neighborhood.</p></ol>
3446 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3447 _8c.html" target="source" name="MagickMergeImageLayers">MagickMergeImageLayers</a></h2>
3448 <div class="doc-section">
3450 <p>MagickMergeImageLayers() composes all the image layers from the current given image onward to produce a single image of the merged layers.</p></ol>
3452 <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>
3454 <p>The format of the MagickMergeImageLayers method is:</p>
3457 MagickWand *MagickMergeImageLayers(MagickWand *wand,
3458 const ImageLayerMethod method)
3461 <p>A description of each parameter follows:</p></ol>
3464 <ol><p>the magick wand.</p></ol>
3467 <ol><p>the method of selecting the size of the initial canvas.</p></ol>
3469 <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>
3471 <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>
3473 <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>
3476 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3477 _8c.html" target="source" name="MagickMinifyImage">MagickMinifyImage</a></h2>
3478 <div class="doc-section">
3480 <p>MagickMinifyImage() is a convenience method that scales an image proportionally to one-half its original size</p></ol>
3482 <p>The format of the MagickMinifyImage method is:</p>
3485 MagickBooleanType MagickMinifyImage(MagickWand *wand)
3488 <p>A description of each parameter follows:</p></ol>
3491 <ol><p>the magick wand.</p></ol>
3494 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3495 _8c.html" target="source" name="MagickModulateImage">MagickModulateImage</a></h2>
3496 <div class="doc-section">
3498 <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>
3500 <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>
3502 <p>The format of the MagickModulateImage method is:</p>
3505 MagickBooleanType MagickModulateImage(MagickWand *wand,
3506 const double brightness,const double saturation,const double hue)
3509 <p>A description of each parameter follows:</p></ol>
3512 <ol><p>the magick wand.</p></ol>
3515 <ol><p>the percent change in brighness.</p></ol>
3518 <ol><p>the percent change in saturation.</p></ol>
3521 <ol><p>the percent change in hue.</p></ol>
3524 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3525 _8c.html" target="source" name="MagickMontageImage">MagickMontageImage</a></h2>
3526 <div class="doc-section">
3528 <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>
3530 <p>The format of the MagickMontageImage method is:</p>
3533 MagickWand *MagickMontageImage(MagickWand *wand,
3534 const DrawingWand drawing_wand,const char *tile_geometry,
3535 const char *thumbnail_geometry,const MontageMode mode,
3539 <p>A description of each parameter follows:</p></ol>
3542 <ol><p>the magick wand.</p></ol>
3544 <h5>drawing_wand</h5>
3545 <ol><p>the drawing wand. The font name, size, and color are obtained from this wand.</p></ol>
3547 <h5>tile_geometry</h5>
3548 <ol><p>the number of tiles per row and page (e.g. 6x4+0+0).</p></ol>
3550 <h5>thumbnail_geometry</h5>
3551 <ol><p>Preferred image size and border size of each thumbnail (e.g. 120x120+4+3>).</p></ol>
3554 <ol><p>Thumbnail framing mode: Frame, Unframe, or Concatenate.</p></ol>
3557 <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>
3560 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3561 _8c.html" target="source" name="MagickMorphImages">MagickMorphImages</a></h2>
3562 <div class="doc-section">
3564 <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>
3566 <p>The format of the MagickMorphImages method is:</p>
3569 MagickWand *MagickMorphImages(MagickWand *wand,
3570 const size_t number_frames)
3573 <p>A description of each parameter follows:</p></ol>
3576 <ol><p>the magick wand.</p></ol>
3578 <h5>number_frames</h5>
3579 <ol><p>the number of in-between images to generate.</p></ol>
3582 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3583 _8c.html" target="source" name="MagickMorphologyImage">MagickMorphologyImage</a></h2>
3584 <div class="doc-section">
3586 <p>MagickMorphologyImage() applies a user supplied kernel to the image according to the given mophology method.</p></ol>
3588 <p>The format of the MagickMorphologyImage method is:</p>
3591 MagickBooleanType MagickMorphologyImage(MagickWand *wand,
3592 MorphologyMethod method,const ssize_t iterations,KernelInfo *kernel)
3593 MagickBooleanType MagickMorphologyImageChannel(MagickWand *wand,
3594 ChannelType channel,MorphologyMethod method,const ssize_t iterations,
3598 <p>A description of each parameter follows:</p></ol>
3601 <ol><p>the magick wand.</p></ol>
3604 <ol><p>the image channel(s).</p></ol>
3607 <ol><p>the morphology method to be applied.</p></ol>
3610 <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>
3613 <ol><p>An array of doubles representing the morphology kernel.</p></ol>
3616 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3617 _8c.html" target="source" name="MagickMotionBlurImage">MagickMotionBlurImage</a></h2>
3618 <div class="doc-section">
3620 <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>
3622 <p>The format of the MagickMotionBlurImage method is:</p>
3625 MagickBooleanType MagickMotionBlurImage(MagickWand *wand,
3626 const double radius,const double sigma,const double angle)
3627 MagickBooleanType MagickMotionBlurImageChannel(MagickWand *wand,
3628 const ChannelType channel,const double radius,const double sigma,
3632 <p>A description of each parameter follows:</p></ol>
3635 <ol><p>the magick wand.</p></ol>
3638 <ol><p>the image channel(s).</p></ol>
3641 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
3644 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
3647 <ol><p>Apply the effect along this angle.</p></ol>
3650 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3651 _8c.html" target="source" name="MagickNegateImage">MagickNegateImage</a></h2>
3652 <div class="doc-section">
3654 <p>MagickNegateImage() negates the colors in the reference image. The Grayscale option means that only grayscale values within the image are negated.</p></ol>
3656 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p></ol>
3658 <p>The format of the MagickNegateImage method is:</p>
3661 MagickBooleanType MagickNegateImage(MagickWand *wand,
3662 const MagickBooleanType gray)
3663 MagickBooleanType MagickNegateImage(MagickWand *wand,
3664 const ChannelType channel,const MagickBooleanType gray)
3667 <p>A description of each parameter follows:</p></ol>
3670 <ol><p>the magick wand.</p></ol>
3673 <ol><p>the image channel(s).</p></ol>
3676 <ol><p>If MagickTrue, only negate grayscale pixels within the image.</p></ol>
3679 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3680 _8c.html" target="source" name="MagickNewImage">MagickNewImage</a></h2>
3681 <div class="doc-section">
3683 <p>MagickNewImage() adds a blank image canvas of the specified size and background color to the wand.</p></ol>
3685 <p>The format of the MagickNewImage method is:</p>
3688 MagickBooleanType MagickNewImage(MagickWand *wand,
3689 const size_t columns,const size_t rows,
3690 const PixelWand *background)
3693 <p>A description of each parameter follows:</p></ol>
3696 <ol><p>the magick wand.</p></ol>
3699 <ol><p>the image width.</p></ol>
3702 <ol><p>the image height.</p></ol>
3705 <ol><p>the image color.</p></ol>
3708 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3709 _8c.html" target="source" name="MagickNextImage">MagickNextImage</a></h2>
3710 <div class="doc-section">
3712 <p>MagickNextImage() associates the next image in the image list with a magick wand.</p></ol>
3714 <p>The format of the MagickNextImage method is:</p>
3717 MagickBooleanType MagickNextImage(MagickWand *wand)
3720 <p>A description of each parameter follows:</p></ol>
3723 <ol><p>the magick wand.</p></ol>
3726 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3727 _8c.html" target="source" name="MagickNormalizeImage">MagickNormalizeImage</a></h2>
3728 <div class="doc-section">
3730 <p>MagickNormalizeImage() enhances the contrast of a color image by adjusting the pixels color to span the entire range of colors available</p></ol>
3732 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p></ol>
3734 <p>The format of the MagickNormalizeImage method is:</p>
3737 MagickBooleanType MagickNormalizeImage(MagickWand *wand)
3738 MagickBooleanType MagickNormalizeImageChannel(MagickWand *wand,
3739 const ChannelType channel)
3742 <p>A description of each parameter follows:</p></ol>
3745 <ol><p>the magick wand.</p></ol>
3748 <ol><p>the image channel(s).</p></ol>
3751 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3752 _8c.html" target="source" name="MagickOilPaintImage">MagickOilPaintImage</a></h2>
3753 <div class="doc-section">
3755 <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>
3757 <p>The format of the MagickOilPaintImage method is:</p>
3760 MagickBooleanType MagickOilPaintImage(MagickWand *wand,
3761 const double radius)
3764 <p>A description of each parameter follows:</p></ol>
3767 <ol><p>the magick wand.</p></ol>
3770 <ol><p>the radius of the circular neighborhood.</p></ol>
3773 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3774 _8c.html" target="source" name="MagickOpaquePaintImage">MagickOpaquePaintImage</a></h2>
3775 <div class="doc-section">
3777 <p>MagickOpaquePaintImage() changes any pixel that matches color with the color defined by fill.</p></ol>
3779 <p>The format of the MagickOpaquePaintImage method is:</p>
3782 MagickBooleanType MagickOpaquePaintImage(MagickWand *wand,
3783 const PixelWand *target,const PixelWand *fill,const double fuzz,
3784 const MagickBooleanType invert)
3785 MagickBooleanType MagickOpaquePaintImageChannel(MagickWand *wand,
3786 const ChannelType channel,const PixelWand *target,
3787 const PixelWand *fill,const double fuzz,const MagickBooleanType invert)
3790 <p>A description of each parameter follows:</p></ol>
3793 <ol><p>the magick wand.</p></ol>
3796 <ol><p>the channel(s).</p></ol>
3799 <ol><p>Change this target color to the fill color within the image.</p></ol>
3802 <ol><p>the fill pixel wand.</p></ol>
3805 <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>
3808 <ol><p>paint any pixel that does not match the target color.</p></ol>
3811 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3812 _8c.html" target="source" name="MagickOptimizeImageLayers">MagickOptimizeImageLayers</a></h2>
3813 <div class="doc-section">
3815 <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>
3817 <p>The format of the MagickOptimizeImageLayers method is:</p>
3820 MagickWand *MagickOptimizeImageLayers(MagickWand *wand)
3823 <p>A description of each parameter follows:</p></ol>
3826 <ol><p>the magick wand.</p></ol>
3829 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3830 _8c.html" target="source" name="MagickOrderedPosterizeImage">MagickOrderedPosterizeImage</a></h2>
3831 <div class="doc-section">
3833 <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>
3835 <p>The format of the MagickOrderedPosterizeImage method is:</p>
3838 MagickBooleanType MagickOrderedPosterizeImage(MagickWand *wand,
3839 const char *threshold_map)
3840 MagickBooleanType MagickOrderedPosterizeImageChannel(MagickWand *wand,
3841 const ChannelType channel,const char *threshold_map)
3844 <p>A description of each parameter follows:</p></ol>
3847 <ol><p>the image.</p></ol>
3850 <ol><p>the channel or channels to be thresholded.</p></ol>
3852 <h5>threshold_map</h5>
3853 <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>
3855 <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>
3857 <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>
3859 <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>
3862 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3863 _8c.html" target="source" name="MagickPingImage">MagickPingImage</a></h2>
3864 <div class="doc-section">
3866 <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>
3868 <p>The format of the MagickPingImage method is:</p>
3871 MagickBooleanType MagickPingImage(MagickWand *wand,const char *filename)
3874 <p>A description of each parameter follows:</p></ol>
3877 <ol><p>the magick wand.</p></ol>
3880 <ol><p>the image filename.</p></ol>
3883 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3884 _8c.html" target="source" name="MagickPingImageBlob">MagickPingImageBlob</a></h2>
3885 <div class="doc-section">
3887 <p>MagickPingImageBlob() pings an image or image sequence from a blob.</p></ol>
3889 <p>The format of the MagickPingImageBlob method is:</p>
3892 MagickBooleanType MagickPingImageBlob(MagickWand *wand,
3893 const void *blob,const size_t length)
3896 <p>A description of each parameter follows:</p></ol>
3899 <ol><p>the magick wand.</p></ol>
3902 <ol><p>the blob.</p></ol>
3905 <ol><p>the blob length.</p></ol>
3908 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3909 _8c.html" target="source" name="MagickPingImageFile">MagickPingImageFile</a></h2>
3910 <div class="doc-section">
3912 <p>MagickPingImageFile() pings an image or image sequence from an open file descriptor.</p></ol>
3914 <p>The format of the MagickPingImageFile method is:</p>
3917 MagickBooleanType MagickPingImageFile(MagickWand *wand,FILE *file)
3920 <p>A description of each parameter follows:</p></ol>
3923 <ol><p>the magick wand.</p></ol>
3926 <ol><p>the file descriptor.</p></ol>
3929 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3930 _8c.html" target="source" name="MagickPolaroidImage">MagickPolaroidImage</a></h2>
3931 <div class="doc-section">
3933 <p>MagickPolaroidImage() simulates a Polaroid picture.</p></ol>
3935 <p>The format of the MagickPolaroidImage method is:</p>
3938 MagickBooleanType MagickPolaroidImage(MagickWand *wand,
3939 const DrawingWand *drawing_wand,const double angle)
3942 <p>A description of each parameter follows:</p></ol>
3945 <ol><p>the magick wand.</p></ol>
3947 <h5>drawing_wand</h5>
3948 <ol><p>the draw wand.</p></ol>
3951 <ol><p>Apply the effect along this angle.</p></ol>
3954 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3955 _8c.html" target="source" name="MagickPosterizeImage">MagickPosterizeImage</a></h2>
3956 <div class="doc-section">
3958 <p>MagickPosterizeImage() reduces the image to a limited number of color level.</p></ol>
3960 <p>The format of the MagickPosterizeImage method is:</p>
3963 MagickBooleanType MagickPosterizeImage(MagickWand *wand,
3964 const unsigned levels,const MagickBooleanType dither)
3967 <p>A description of each parameter follows:</p></ol>
3970 <ol><p>the magick wand.</p></ol>
3973 <ol><p>Number of color levels allowed in each channel. Very low values (2, 3, or 4) have the most visible effect.</p></ol>
3976 <ol><p>Set this integer value to something other than zero to dither the mapped image.</p></ol>
3979 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3980 _8c.html" target="source" name="MagickPreviewImages">MagickPreviewImages</a></h2>
3981 <div class="doc-section">
3983 <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>
3985 <p>The format of the MagickPreviewImages method is:</p>
3988 MagickWand *MagickPreviewImages(MagickWand *wand,
3989 const PreviewType preview)
3992 <p>A description of each parameter follows:</p></ol>
3995 <ol><p>the magick wand.</p></ol>
3998 <ol><p>the preview type.</p></ol>
4001 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4002 _8c.html" target="source" name="MagickPreviousImage">MagickPreviousImage</a></h2>
4003 <div class="doc-section">
4005 <p>MagickPreviousImage() assocates the previous image in an image list with the magick wand.</p></ol>
4007 <p>The format of the MagickPreviousImage method is:</p>
4010 MagickBooleanType MagickPreviousImage(MagickWand *wand)
4013 <p>A description of each parameter follows:</p></ol>
4016 <ol><p>the magick wand.</p></ol>
4019 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4020 _8c.html" target="source" name="MagickQuantizeImage">MagickQuantizeImage</a></h2>
4021 <div class="doc-section">
4023 <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>
4025 <p>The format of the MagickQuantizeImage method is:</p>
4028 MagickBooleanType MagickQuantizeImage(MagickWand *wand,
4029 const size_t number_colors,const ColorspaceType colorspace,
4030 const size_t treedepth,const MagickBooleanType dither,
4031 const MagickBooleanType measure_error)
4034 <p>A description of each parameter follows:</p></ol>
4037 <ol><p>the magick wand.</p></ol>
4039 <h5>number_colors</h5>
4040 <ol><p>the number of colors.</p></ol>
4043 <ol><p>Perform color reduction in this colorspace, typically RGBColorspace.</p></ol>
4046 <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>
4049 <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>
4051 <h5>measure_error</h5>
4052 <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>
4055 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4056 _8c.html" target="source" name="MagickQuantizeImages">MagickQuantizeImages</a></h2>
4057 <div class="doc-section">
4059 <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>
4061 <p>The format of the MagickQuantizeImages method is:</p>
4064 MagickBooleanType MagickQuantizeImages(MagickWand *wand,
4065 const size_t number_colors,const ColorspaceType colorspace,
4066 const size_t treedepth,const MagickBooleanType dither,
4067 const MagickBooleanType measure_error)
4070 <p>A description of each parameter follows:</p></ol>
4073 <ol><p>the magick wand.</p></ol>
4075 <h5>number_colors</h5>
4076 <ol><p>the number of colors.</p></ol>
4079 <ol><p>Perform color reduction in this colorspace, typically RGBColorspace.</p></ol>
4082 <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>
4085 <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>
4087 <h5>measure_error</h5>
4088 <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>
4091 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4092 _8c.html" target="source" name="MagickRadialBlurImage">MagickRadialBlurImage</a></h2>
4093 <div class="doc-section">
4095 <p>MagickRadialBlurImage() radial blurs an image.</p></ol>
4097 <p>The format of the MagickRadialBlurImage method is:</p>
4100 MagickBooleanType MagickRadialBlurImage(MagickWand *wand,
4102 MagickBooleanType MagickRadialBlurImageChannel(MagickWand *wand,
4103 const ChannelType channel,const double angle)
4106 <p>A description of each parameter follows:</p></ol>
4109 <ol><p>the magick wand.</p></ol>
4112 <ol><p>the image channel(s).</p></ol>
4115 <ol><p>the angle of the blur in degrees.</p></ol>
4118 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4119 _8c.html" target="source" name="MagickRaiseImage">MagickRaiseImage</a></h2>
4120 <div class="doc-section">
4122 <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>
4124 <p>The format of the MagickRaiseImage method is:</p>
4127 MagickBooleanType MagickRaiseImage(MagickWand *wand,
4128 const size_t width,const size_t height,const ssize_t x,
4129 const ssize_t y,const MagickBooleanType raise)
4132 <p>A description of each parameter follows:</p></ol>
4135 <ol><p>the magick wand.</p></ol>
4137 <h5>width,height,x,y</h5>
4138 <ol><p>Define the dimensions of the area to raise.</p></ol>
4141 <ol><p>A value other than zero creates a 3-D raise effect, otherwise it has a lowered effect.</p></ol>
4144 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4145 _8c.html" target="source" name="MagickRandomThresholdImage">MagickRandomThresholdImage</a></h2>
4146 <div class="doc-section">
4148 <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>
4150 <p>The format of the MagickRandomThresholdImage method is:</p>
4153 MagickBooleanType MagickRandomThresholdImage(MagickWand *wand,
4154 const double low,const double high)
4155 MagickBooleanType MagickRandomThresholdImageChannel(MagickWand *wand,
4156 const ChannelType channel,const double low,const double high)
4159 <p>A description of each parameter follows:</p></ol>
4162 <ol><p>the magick wand.</p></ol>
4165 <ol><p>the image channel(s).</p></ol>
4168 <ol><p>Specify the high and low thresholds. These values range from 0 to QuantumRange.</p></ol>
4171 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4172 _8c.html" target="source" name="MagickReadImage">MagickReadImage</a></h2>
4173 <div class="doc-section">
4175 <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>
4177 <p>The format of the MagickReadImage method is:</p>
4180 MagickBooleanType MagickReadImage(MagickWand *wand,const char *filename)
4183 <p>A description of each parameter follows:</p></ol>
4186 <ol><p>the magick wand.</p></ol>
4189 <ol><p>the image filename.</p></ol>
4192 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4193 _8c.html" target="source" name="MagickReadImageBlob">MagickReadImageBlob</a></h2>
4194 <div class="doc-section">
4196 <p>MagickReadImageBlob() reads an image or image sequence from a blob.</p></ol>
4198 <p>The format of the MagickReadImageBlob method is:</p>
4201 MagickBooleanType MagickReadImageBlob(MagickWand *wand,
4202 const void *blob,const size_t length)
4205 <p>A description of each parameter follows:</p></ol>
4208 <ol><p>the magick wand.</p></ol>
4211 <ol><p>the blob.</p></ol>
4214 <ol><p>the blob length.</p></ol>
4217 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4218 _8c.html" target="source" name="MagickReadImageFile">MagickReadImageFile</a></h2>
4219 <div class="doc-section">
4221 <p>MagickReadImageFile() reads an image or image sequence from an open file descriptor.</p></ol>
4223 <p>The format of the MagickReadImageFile method is:</p>
4226 MagickBooleanType MagickReadImageFile(MagickWand *wand,FILE *file)
4229 <p>A description of each parameter follows:</p></ol>
4232 <ol><p>the magick wand.</p></ol>
4235 <ol><p>the file descriptor.</p></ol>
4238 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4239 _8c.html" target="source" name="MagickReduceNoiseImage">MagickReduceNoiseImage</a></h2>
4240 <div class="doc-section">
4242 <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>
4244 <p>The format of the MagickReduceNoiseImage method is:</p>
4247 MagickBooleanType MagickReduceNoiseImage(MagickWand *wand,
4248 const double radius)
4251 <p>A description of each parameter follows:</p></ol>
4254 <ol><p>the magick wand.</p></ol>
4257 <ol><p>the radius of the pixel neighborhood.</p></ol>
4260 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4261 _8c.html" target="source" name="MagickRemapImage">MagickRemapImage</a></h2>
4262 <div class="doc-section">
4264 <p>MagickRemapImage() replaces the colors of an image with the closest color from a reference image.</p></ol>
4266 <p>The format of the MagickRemapImage method is:</p>
4269 MagickBooleanType MagickRemapImage(MagickWand *wand,
4270 const MagickWand *remap_wand,const DitherMethod method)
4273 <p>A description of each parameter follows:</p></ol>
4276 <ol><p>the magick wand.</p></ol>
4279 <ol><p>the affinity wand.</p></ol>
4282 <ol><p>choose from these dither methods: NoDitherMethod, RiemersmaDitherMethod, or FloydSteinbergDitherMethod.</p></ol>
4285 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4286 _8c.html" target="source" name="MagickRemoveImage">MagickRemoveImage</a></h2>
4287 <div class="doc-section">
4289 <p>MagickRemoveImage() removes an image from the image list.</p></ol>
4291 <p>The format of the MagickRemoveImage method is:</p>
4294 MagickBooleanType MagickRemoveImage(MagickWand *wand)
4297 <p>A description of each parameter follows:</p></ol>
4300 <ol><p>the magick wand.</p></ol>
4303 <ol><p>the splice wand.</p></ol>
4306 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4307 _8c.html" target="source" name="MagickResampleImage">MagickResampleImage</a></h2>
4308 <div class="doc-section">
4310 <p>MagickResampleImage() resample image to desired resolution.</p></ol>
4312 <p>Bessel Blackman Box Catrom Cubic Gaussian Hanning Hermite Lanczos Mitchell Point Quandratic Sinc Triangle</p></ol>
4314 <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>
4316 <p>The format of the MagickResampleImage method is:</p>
4319 MagickBooleanType MagickResampleImage(MagickWand *wand,
4320 const double x_resolution,const double y_resolution,
4321 const FilterTypes filter,const double blur)
4324 <p>A description of each parameter follows:</p></ol>
4327 <ol><p>the magick wand.</p></ol>
4329 <h5>x_resolution</h5>
4330 <ol><p>the new image x resolution.</p></ol>
4332 <h5>y_resolution</h5>
4333 <ol><p>the new image y resolution.</p></ol>
4336 <ol><p>Image filter to use.</p></ol>
4339 <ol><p>the blur factor where > 1 is blurry, < 1 is sharp.</p></ol>
4342 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4343 _8c.html" target="source" name="MagickResetImagePage">MagickResetImagePage</a></h2>
4344 <div class="doc-section">
4346 <p>MagickResetImagePage() resets the Wand page canvas and position.</p></ol>
4348 <p>The format of the MagickResetImagePage method is:</p>
4351 MagickBooleanType MagickResetImagePage(MagickWand *wand,
4355 <p>A description of each parameter follows:</p></ol>
4358 <ol><p>the magick wand.</p></ol>
4361 <ol><p>the relative page specification.</p></ol>
4364 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4365 _8c.html" target="source" name="MagickResizeImage">MagickResizeImage</a></h2>
4366 <div class="doc-section">
4368 <p>MagickResizeImage() scales an image to the desired dimensions with one of these filters:</p>
4372 Catrom CubicGaussian
4373 Hanning Hermite Lanczos
4374 Mitchell PointQuandratic
4378 <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>
4380 <p>The format of the MagickResizeImage method is:</p>
4383 MagickBooleanType MagickResizeImage(MagickWand *wand,
4384 const size_t columns,const size_t rows,
4385 const FilterTypes filter,const double blur)
4388 <p>A description of each parameter follows:</p></ol>
4391 <ol><p>the magick wand.</p></ol>
4394 <ol><p>the number of columns in the scaled image.</p></ol>
4397 <ol><p>the number of rows in the scaled image.</p></ol>
4400 <ol><p>Image filter to use.</p></ol>
4403 <ol><p>the blur factor where > 1 is blurry, < 1 is sharp.</p></ol>
4406 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4407 _8c.html" target="source" name="MagickRollImage">MagickRollImage</a></h2>
4408 <div class="doc-section">
4410 <p>MagickRollImage() offsets an image as defined by x and y.</p></ol>
4412 <p>The format of the MagickRollImage method is:</p>
4415 MagickBooleanType MagickRollImage(MagickWand *wand,const ssize_t x,
4419 <p>A description of each parameter follows:</p></ol>
4422 <ol><p>the magick wand.</p></ol>
4425 <ol><p>the x offset.</p></ol>
4428 <ol><p>the y offset.</p></ol>
4432 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4433 _8c.html" target="source" name="MagickRotateImage">MagickRotateImage</a></h2>
4434 <div class="doc-section">
4436 <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>
4438 <p>The format of the MagickRotateImage method is:</p>
4441 MagickBooleanType MagickRotateImage(MagickWand *wand,
4442 const PixelWand *background,const double degrees)
4445 <p>A description of each parameter follows:</p></ol>
4448 <ol><p>the magick wand.</p></ol>
4451 <ol><p>the background pixel wand.</p></ol>
4454 <ol><p>the number of degrees to rotate the image.</p></ol>
4458 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4459 _8c.html" target="source" name="MagickSampleImage">MagickSampleImage</a></h2>
4460 <div class="doc-section">
4462 <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>
4464 <p>The format of the MagickSampleImage method is:</p>
4467 MagickBooleanType MagickSampleImage(MagickWand *wand,
4468 const size_t columns,const size_t rows)
4471 <p>A description of each parameter follows:</p></ol>
4474 <ol><p>the magick wand.</p></ol>
4477 <ol><p>the number of columns in the scaled image.</p></ol>
4480 <ol><p>the number of rows in the scaled image.</p></ol>
4484 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4485 _8c.html" target="source" name="MagickScaleImage">MagickScaleImage</a></h2>
4486 <div class="doc-section">
4488 <p>MagickScaleImage() scales the size of an image to the given dimensions.</p></ol>
4490 <p>The format of the MagickScaleImage method is:</p>
4493 MagickBooleanType MagickScaleImage(MagickWand *wand,
4494 const size_t columns,const size_t rows)
4497 <p>A description of each parameter follows:</p></ol>
4500 <ol><p>the magick wand.</p></ol>
4503 <ol><p>the number of columns in the scaled image.</p></ol>
4506 <ol><p>the number of rows in the scaled image.</p></ol>
4510 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4511 _8c.html" target="source" name="MagickSegmentImage">MagickSegmentImage</a></h2>
4512 <div class="doc-section">
4514 <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>
4516 <p>The format of the SegmentImage method is:</p>
4519 MagickBooleanType MagickSegmentImage(MagickWand *wand,
4520 const ColorspaceType colorspace,const MagickBooleanType verbose,
4521 const double cluster_threshold,const double smooth_threshold)
4524 <p>A description of each parameter follows.</p></ol>
4527 <ol><p>the wand.</p></ol>
4530 <ol><p>the image colorspace.</p></ol>
4533 <ol><p>Set to MagickTrue to print detailed information about the identified classes.</p></ol>
4535 <h5>cluster_threshold</h5>
4536 <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>
4538 <h5>smooth_threshold</h5>
4539 <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>
4542 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4543 _8c.html" target="source" name="MagickSelectiveBlurImage">MagickSelectiveBlurImage</a></h2>
4544 <div class="doc-section">
4546 <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>
4548 <p>The format of the MagickSelectiveBlurImage method is:</p>
4551 MagickBooleanType MagickSelectiveBlurImage(MagickWand *wand,
4552 const double radius,const double sigma,const double threshold)
4553 MagickBooleanType MagickSelectiveBlurImageChannel(MagickWand *wand,
4554 const ChannelType channel,const double radius,const double sigma,
4555 const double threshold)
4558 <p>A description of each parameter follows:</p></ol>
4561 <ol><p>the magick wand.</p></ol>
4564 <ol><p>the image channel(s).</p></ol>
4567 <ol><p>the radius of the gaussian, in pixels, not counting the center pixel.</p></ol>
4570 <ol><p>the standard deviation of the gaussian, in pixels.</p></ol>
4573 <ol><p>only pixels within this contrast threshold are included in the blur operation.</p></ol>
4576 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4577 _8c.html" target="source" name="MagickSeparateImageChannel">MagickSeparateImageChannel</a></h2>
4578 <div class="doc-section">
4580 <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>
4582 <p>The format of the MagickSeparateImageChannel method is:</p>
4585 MagickBooleanType MagickSeparateImageChannel(MagickWand *wand,
4586 const ChannelType channel)
4589 <p>A description of each parameter follows:</p></ol>
4592 <ol><p>the magick wand.</p></ol>
4595 <ol><p>the image channel(s).</p></ol>
4598 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4599 _8c.html" target="source" name="MagickSepiaToneImage">MagickSepiaToneImage</a></h2>
4600 <div class="doc-section">
4602 <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>
4604 <p>The format of the MagickSepiaToneImage method is:</p>
4607 MagickBooleanType MagickSepiaToneImage(MagickWand *wand,
4608 const double threshold)
4611 <p>A description of each parameter follows:</p></ol>
4614 <ol><p>the magick wand.</p></ol>
4617 <ol><p>Define the extent of the sepia toning.</p></ol>
4620 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4621 _8c.html" target="source" name="MagickSetImage">MagickSetImage</a></h2>
4622 <div class="doc-section">
4624 <p>MagickSetImage() replaces the last image returned by MagickSetImageIndex(), MagickNextImage(), MagickPreviousImage() with the images from the specified wand.</p></ol>
4626 <p>The format of the MagickSetImage method is:</p>
4629 MagickBooleanType MagickSetImage(MagickWand *wand,
4630 const MagickWand *set_wand)
4633 <p>A description of each parameter follows:</p></ol>
4636 <ol><p>the magick wand.</p></ol>
4639 <ol><p>the set_wand wand.</p></ol>
4642 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4643 _8c.html" target="source" name="MagickSetImageAlphaChannel">MagickSetImageAlphaChannel</a></h2>
4644 <div class="doc-section">
4646 <p>MagickSetImageAlphaChannel() activates, deactivates, resets, or sets the alpha channel.</p></ol>
4648 <p>The format of the MagickSetImageAlphaChannel method is:</p>
4651 MagickBooleanType MagickSetImageAlphaChannel(MagickWand *wand,
4652 const AlphaChannelType alpha_type)
4655 <p>A description of each parameter follows:</p></ol>
4658 <ol><p>the magick wand.</p></ol>
4661 <ol><p>the alpha channel type: ActivateAlphaChannel, DeactivateAlphaChannel, OpaqueAlphaChannel, or SetAlphaChannel.</p></ol>
4664 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4665 _8c.html" target="source" name="MagickSetImageBackgroundColor">MagickSetImageBackgroundColor</a></h2>
4666 <div class="doc-section">
4668 <p>MagickSetImageBackgroundColor() sets the image background color.</p></ol>
4670 <p>The format of the MagickSetImageBackgroundColor method is:</p>
4673 MagickBooleanType MagickSetImageBackgroundColor(MagickWand *wand,
4674 const PixelWand *background)
4677 <p>A description of each parameter follows:</p></ol>
4680 <ol><p>the magick wand.</p></ol>
4683 <ol><p>the background pixel wand.</p></ol>
4686 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4687 _8c.html" target="source" name="MagickSetImageBias">MagickSetImageBias</a></h2>
4688 <div class="doc-section">
4690 <p>MagickSetImageBias() sets the image bias for any method that convolves an image (e.g. MagickConvolveImage()).</p></ol>
4692 <p>The format of the MagickSetImageBias method is:</p>
4695 MagickBooleanType MagickSetImageBias(MagickWand *wand,
4699 <p>A description of each parameter follows:</p></ol>
4702 <ol><p>the magick wand.</p></ol>
4705 <ol><p>the image bias.</p></ol>
4708 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4709 _8c.html" target="source" name="MagickSetImageBluePrimary">MagickSetImageBluePrimary</a></h2>
4710 <div class="doc-section">
4712 <p>MagickSetImageBluePrimary() sets the image chromaticity blue primary point.</p></ol>
4714 <p>The format of the MagickSetImageBluePrimary method is:</p>
4717 MagickBooleanType MagickSetImageBluePrimary(MagickWand *wand,
4718 const double x,const double y)
4721 <p>A description of each parameter follows:</p></ol>
4724 <ol><p>the magick wand.</p></ol>
4727 <ol><p>the blue primary x-point.</p></ol>
4730 <ol><p>the blue primary y-point.</p></ol>
4733 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4734 _8c.html" target="source" name="MagickSetImageBorderColor">MagickSetImageBorderColor</a></h2>
4735 <div class="doc-section">
4737 <p>MagickSetImageBorderColor() sets the image border color.</p></ol>
4739 <p>The format of the MagickSetImageBorderColor method is:</p>
4742 MagickBooleanType MagickSetImageBorderColor(MagickWand *wand,
4743 const PixelWand *border)
4746 <p>A description of each parameter follows:</p></ol>
4749 <ol><p>the magick wand.</p></ol>
4752 <ol><p>the border pixel wand.</p></ol>
4755 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4756 _8c.html" target="source" name="MagickSetImageChannelDepth">MagickSetImageChannelDepth</a></h2>
4757 <div class="doc-section">
4759 <p>MagickSetImageChannelDepth() sets the depth of a particular image channel.</p></ol>
4761 <p>The format of the MagickSetImageChannelDepth method is:</p>
4764 MagickBooleanType MagickSetImageChannelDepth(MagickWand *wand,
4765 const ChannelType channel,const size_t depth)
4768 <p>A description of each parameter follows:</p></ol>
4771 <ol><p>the magick wand.</p></ol>
4774 <ol><p>the image channel(s).</p></ol>
4777 <ol><p>the image depth in bits.</p></ol>
4780 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4781 _8c.html" target="source" name="MagickSetImageClipMask">MagickSetImageClipMask</a></h2>
4782 <div class="doc-section">
4784 <p>MagickSetImageClipMask() sets image clip mask.</p></ol>
4786 <p>The format of the MagickSetImageClipMask method is:</p>
4789 MagickBooleanType MagickSetImageClipMask(MagickWand *wand,
4790 const MagickWand *clip_mask)
4793 <p>A description of each parameter follows:</p></ol>
4796 <ol><p>the magick wand.</p></ol>
4799 <ol><p>the clip_mask wand.</p></ol>
4802 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4803 _8c.html" target="source" name="MagickSetImageColor">MagickSetImageColor</a></h2>
4804 <div class="doc-section">
4806 <p>MagickSetImageColor() set the entire wand canvas to the specified color.</p></ol>
4808 <p>The format of the MagickSetImageColor method is:</p>
4811 MagickBooleanType MagickSetImageColor(MagickWand *wand,
4812 const PixelWand *color)
4815 <p>A description of each parameter follows:</p></ol>
4818 <ol><p>the magick wand.</p></ol>
4821 <ol><p>the image color.</p></ol>
4824 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4825 _8c.html" target="source" name="MagickSetImageColormapColor">MagickSetImageColormapColor</a></h2>
4826 <div class="doc-section">
4828 <p>MagickSetImageColormapColor() sets the color of the specified colormap index.</p></ol>
4830 <p>The format of the MagickSetImageColormapColor method is:</p>
4833 MagickBooleanType MagickSetImageColormapColor(MagickWand *wand,
4834 const size_t index,const PixelWand *color)
4837 <p>A description of each parameter follows:</p></ol>
4840 <ol><p>the magick wand.</p></ol>
4843 <ol><p>the offset into the image colormap.</p></ol>
4846 <ol><p>Return the colormap color in this wand.</p></ol>
4849 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4850 _8c.html" target="source" name="MagickSetImageColorspace">MagickSetImageColorspace</a></h2>
4851 <div class="doc-section">
4853 <p>MagickSetImageColorspace() sets the image colorspace.</p></ol>
4855 <p>The format of the MagickSetImageColorspace method is:</p>
4858 MagickBooleanType MagickSetImageColorspace(MagickWand *wand,
4859 const ColorspaceType colorspace)
4862 <p>A description of each parameter follows:</p></ol>
4865 <ol><p>the magick wand.</p></ol>
4868 <ol><p>the image colorspace: UndefinedColorspace, RGBColorspace, GRAYColorspace, TransparentColorspace, OHTAColorspace, XYZColorspace, YCbCrColorspace, YCCColorspace, YIQColorspace, YPbPrColorspace, YPbPrColorspace, YUVColorspace, CMYKColorspace, sRGBColorspace, HSLColorspace, or HWBColorspace.</p></ol>
4871 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4872 _8c.html" target="source" name="MagickSetImageCompose">MagickSetImageCompose</a></h2>
4873 <div class="doc-section">
4875 <p>MagickSetImageCompose() sets the image composite operator, useful for specifying how to composite the image thumbnail when using the MagickMontageImage() method.</p></ol>
4877 <p>The format of the MagickSetImageCompose method is:</p>
4880 MagickBooleanType MagickSetImageCompose(MagickWand *wand,
4881 const CompositeOperator compose)
4884 <p>A description of each parameter follows:</p></ol>
4887 <ol><p>the magick wand.</p></ol>
4890 <ol><p>the image composite operator.</p></ol>
4893 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4894 _8c.html" target="source" name="MagickSetImageCompression">MagickSetImageCompression</a></h2>
4895 <div class="doc-section">
4897 <p>MagickSetImageCompression() sets the image compression.</p></ol>
4899 <p>The format of the MagickSetImageCompression method is:</p>
4902 MagickBooleanType MagickSetImageCompression(MagickWand *wand,
4903 const CompressionType compression)
4906 <p>A description of each parameter follows:</p></ol>
4909 <ol><p>the magick wand.</p></ol>
4911 <h5>compression</h5>
4912 <ol><p>the image compression type.</p></ol>
4915 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4916 _8c.html" target="source" name="MagickSetImageCompressionQuality">MagickSetImageCompressionQuality</a></h2>
4917 <div class="doc-section">
4919 <p>MagickSetImageCompressionQuality() sets the image compression quality.</p></ol>
4921 <p>The format of the MagickSetImageCompressionQuality method is:</p>
4924 MagickBooleanType MagickSetImageCompressionQuality(MagickWand *wand,
4925 const size_t quality)
4928 <p>A description of each parameter follows:</p></ol>
4931 <ol><p>the magick wand.</p></ol>
4934 <ol><p>the image compression tlityype.</p></ol>
4937 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4938 _8c.html" target="source" name="MagickSetImageDelay">MagickSetImageDelay</a></h2>
4939 <div class="doc-section">
4941 <p>MagickSetImageDelay() sets the image delay.</p></ol>
4943 <p>The format of the MagickSetImageDelay method is:</p>
4946 MagickBooleanType MagickSetImageDelay(MagickWand *wand,
4950 <p>A description of each parameter follows:</p></ol>
4953 <ol><p>the magick wand.</p></ol>
4956 <ol><p>the image delay in ticks-per-second units.</p></ol>
4959 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4960 _8c.html" target="source" name="MagickSetImageDepth">MagickSetImageDepth</a></h2>
4961 <div class="doc-section">
4963 <p>MagickSetImageDepth() sets the image depth.</p></ol>
4965 <p>The format of the MagickSetImageDepth method is:</p>
4968 MagickBooleanType MagickSetImageDepth(MagickWand *wand,
4972 <p>A description of each parameter follows:</p></ol>
4975 <ol><p>the magick wand.</p></ol>
4978 <ol><p>the image depth in bits: 8, 16, or 32.</p></ol>
4981 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4982 _8c.html" target="source" name="MagickSetImageDispose">MagickSetImageDispose</a></h2>
4983 <div class="doc-section">
4985 <p>MagickSetImageDispose() sets the image disposal method.</p></ol>
4987 <p>The format of the MagickSetImageDispose method is:</p>
4990 MagickBooleanType MagickSetImageDispose(MagickWand *wand,
4991 const DisposeType dispose)
4994 <p>A description of each parameter follows:</p></ol>
4997 <ol><p>the magick wand.</p></ol>
5000 <ol><p>the image disposeal type.</p></ol>
5003 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5004 _8c.html" target="source" name="MagickSetImageExtent">MagickSetImageExtent</a></h2>
5005 <div class="doc-section">
5007 <p>MagickSetImageExtent() sets the image size (i.e. columns & rows).</p></ol>
5009 <p>The format of the MagickSetImageExtent method is:</p>
5012 MagickBooleanType MagickSetImageExtent(MagickWand *wand,
5013 const size_t columns,const unsigned rows)
5016 <p>A description of each parameter follows:</p></ol>
5019 <ol><p>the magick wand.</p></ol>
5022 <ol><p>The image width in pixels.</p></ol>
5025 <ol><p>The image height in pixels.</p></ol>
5028 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5029 _8c.html" target="source" name="MagickSetImageFilename">MagickSetImageFilename</a></h2>
5030 <div class="doc-section">
5032 <p>MagickSetImageFilename() sets the filename of a particular image in a sequence.</p></ol>
5034 <p>The format of the MagickSetImageFilename method is:</p>
5037 MagickBooleanType MagickSetImageFilename(MagickWand *wand,
5038 const char *filename)
5041 <p>A description of each parameter follows:</p></ol>
5044 <ol><p>the magick wand.</p></ol>
5047 <ol><p>the image filename.</p></ol>
5050 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5051 _8c.html" target="source" name="MagickSetImageFormat">MagickSetImageFormat</a></h2>
5052 <div class="doc-section">
5054 <p>MagickSetImageFormat() sets the format of a particular image in a sequence.</p></ol>
5056 <p>The format of the MagickSetImageFormat method is:</p>
5059 MagickBooleanType MagickSetImageFormat(MagickWand *wand,
5063 <p>A description of each parameter follows:</p></ol>
5066 <ol><p>the magick wand.</p></ol>
5069 <ol><p>the image format.</p></ol>
5072 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5073 _8c.html" target="source" name="MagickSetImageFuzz">MagickSetImageFuzz</a></h2>
5074 <div class="doc-section">
5076 <p>MagickSetImageFuzz() sets the image fuzz.</p></ol>
5078 <p>The format of the MagickSetImageFuzz method is:</p>
5081 MagickBooleanType MagickSetImageFuzz(MagickWand *wand,
5085 <p>A description of each parameter follows:</p></ol>
5088 <ol><p>the magick wand.</p></ol>
5091 <ol><p>the image fuzz.</p></ol>
5094 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5095 _8c.html" target="source" name="MagickSetImageGamma">MagickSetImageGamma</a></h2>
5096 <div class="doc-section">
5098 <p>MagickSetImageGamma() sets the image gamma.</p></ol>
5100 <p>The format of the MagickSetImageGamma method is:</p>
5103 MagickBooleanType MagickSetImageGamma(MagickWand *wand,
5107 <p>A description of each parameter follows:</p></ol>
5110 <ol><p>the magick wand.</p></ol>
5113 <ol><p>the image gamma.</p></ol>
5116 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5117 _8c.html" target="source" name="MagickSetImageGravity">MagickSetImageGravity</a></h2>
5118 <div class="doc-section">
5120 <p>MagickSetImageGravity() sets the image gravity type.</p></ol>
5122 <p>The format of the MagickSetImageGravity method is:</p>
5125 MagickBooleanType MagickSetImageGravity(MagickWand *wand,
5126 const GravityType gravity)
5129 <p>A description of each parameter follows:</p></ol>
5132 <ol><p>the magick wand.</p></ol>
5135 <ol><p>the image interlace scheme: NoInterlace, LineInterlace, PlaneInterlace, PartitionInterlace.</p></ol>
5138 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5139 _8c.html" target="source" name="MagickSetImageGreenPrimary">MagickSetImageGreenPrimary</a></h2>
5140 <div class="doc-section">
5142 <p>MagickSetImageGreenPrimary() sets the image chromaticity green primary point.</p></ol>
5144 <p>The format of the MagickSetImageGreenPrimary method is:</p>
5147 MagickBooleanType MagickSetImageGreenPrimary(MagickWand *wand,
5148 const double x,const double y)
5151 <p>A description of each parameter follows:</p></ol>
5154 <ol><p>the magick wand.</p></ol>
5157 <ol><p>the green primary x-point.</p></ol>
5160 <ol><p>the green primary y-point.</p></ol>
5164 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5165 _8c.html" target="source" name="MagickSetImageInterlaceScheme">MagickSetImageInterlaceScheme</a></h2>
5166 <div class="doc-section">
5168 <p>MagickSetImageInterlaceScheme() sets the image interlace scheme.</p></ol>
5170 <p>The format of the MagickSetImageInterlaceScheme method is:</p>
5173 MagickBooleanType MagickSetImageInterlaceScheme(MagickWand *wand,
5174 const InterlaceType interlace)
5177 <p>A description of each parameter follows:</p></ol>
5180 <ol><p>the magick wand.</p></ol>
5183 <ol><p>the image interlace scheme: NoInterlace, LineInterlace, PlaneInterlace, PartitionInterlace.</p></ol>
5186 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5187 _8c.html" target="source" name="MagickSetImageInterpolateMethod">MagickSetImageInterpolateMethod</a></h2>
5188 <div class="doc-section">
5190 <p>MagickSetImageInterpolateMethod() sets the image interpolate pixel method.</p></ol>
5192 <p>The format of the MagickSetImageInterpolateMethod method is:</p>
5195 MagickBooleanType MagickSetImageInterpolateMethod(MagickWand *wand,
5196 const InterpolatePixelMethod method)
5199 <p>A description of each parameter follows:</p></ol>
5202 <ol><p>the magick wand.</p></ol>
5205 <ol><p>the image interpole pixel methods: choose from Undefined, Average, Bicubic, Bilinear, Filter, Integer, Mesh, NearestNeighbor.</p></ol>
5208 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5209 _8c.html" target="source" name="MagickSetImageIterations">MagickSetImageIterations</a></h2>
5210 <div class="doc-section">
5212 <p>MagickSetImageIterations() sets the image iterations.</p></ol>
5214 <p>The format of the MagickSetImageIterations method is:</p>
5217 MagickBooleanType MagickSetImageIterations(MagickWand *wand,
5218 const size_t iterations)
5221 <p>A description of each parameter follows:</p></ol>
5224 <ol><p>the magick wand.</p></ol>
5227 <ol><p>the image delay in 1/100th of a second.</p></ol>
5230 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5231 _8c.html" target="source" name="MagickSetImageMatte">MagickSetImageMatte</a></h2>
5232 <div class="doc-section">
5234 <p>MagickSetImageMatte() sets the image matte channel.</p></ol>
5236 <p>The format of the MagickSetImageMatteColor method is:</p>
5239 MagickBooleanType MagickSetImageMatteColor(MagickWand *wand,
5240 const MagickBooleanType *matte)
5243 <p>A description of each parameter follows:</p></ol>
5246 <ol><p>the magick wand.</p></ol>
5249 <ol><p>Set to MagickTrue to enable the image matte channel otherwise MagickFalse.</p></ol>
5252 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5253 _8c.html" target="source" name="MagickSetImageMatteColor">MagickSetImageMatteColor</a></h2>
5254 <div class="doc-section">
5256 <p>MagickSetImageMatteColor() sets the image matte color.</p></ol>
5258 <p>The format of the MagickSetImageMatteColor method is:</p>
5261 MagickBooleanType MagickSetImageMatteColor(MagickWand *wand,
5262 const PixelWand *matte)
5265 <p>A description of each parameter follows:</p></ol>
5268 <ol><p>the magick wand.</p></ol>
5271 <ol><p>the matte pixel wand.</p></ol>
5274 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5275 _8c.html" target="source" name="MagickSetImageOpacity">MagickSetImageOpacity</a></h2>
5276 <div class="doc-section">
5278 <p>MagickSetImageOpacity() sets the image to the specified opacity level.</p></ol>
5280 <p>The format of the MagickSetImageOpacity method is:</p>
5283 MagickBooleanType MagickSetImageOpacity(MagickWand *wand,
5287 <p>A description of each parameter follows:</p></ol>
5290 <ol><p>the magick wand.</p></ol>
5293 <ol><p>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.</p></ol>
5296 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5297 _8c.html" target="source" name="MagickSetImageOrientation">MagickSetImageOrientation</a></h2>
5298 <div class="doc-section">
5300 <p>MagickSetImageOrientation() sets the image orientation.</p></ol>
5302 <p>The format of the MagickSetImageOrientation method is:</p>
5305 MagickBooleanType MagickSetImageOrientation(MagickWand *wand,
5306 const OrientationType orientation)
5309 <p>A description of each parameter follows:</p></ol>
5312 <ol><p>the magick wand.</p></ol>
5314 <h5>orientation</h5>
5315 <ol><p>the image orientation type.</p></ol>
5318 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5319 _8c.html" target="source" name="MagickSetImagePage">MagickSetImagePage</a></h2>
5320 <div class="doc-section">
5322 <p>MagickSetImagePage() sets the page geometry of the image.</p></ol>
5324 <p>The format of the MagickSetImagePage method is:</p>
5327 MagickBooleanType MagickSetImagePage(MagickWand *wand,
5328 const size_t width,const size_t height,const ssize_t x,
5332 <p>A description of each parameter follows:</p></ol>
5335 <ol><p>the magick wand.</p></ol>
5338 <ol><p>the page width.</p></ol>
5341 <ol><p>the page height.</p></ol>
5344 <ol><p>the page x-offset.</p></ol>
5347 <ol><p>the page y-offset.</p></ol>
5350 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5351 _8c.html" target="source" name="MagickSetImageProgressMonitor">MagickSetImageProgressMonitor</a></h2>
5352 <div class="doc-section">
5354 <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>
5357 MagickBooleanType MagickProgressMonitor(const char *text,
5358 const MagickOffsetType offset,const MagickSizeType span,
5362 <p>If the progress monitor returns MagickFalse, the current operation is interrupted.</p></ol>
5364 <p>The format of the MagickSetImageProgressMonitor method is:</p>
5367 MagickProgressMonitor MagickSetImageProgressMonitor(MagickWand *wand
5368 const MagickProgressMonitor progress_monitor,void *client_data)
5371 <p>A description of each parameter follows:</p></ol>
5374 <ol><p>the magick wand.</p></ol>
5376 <h5>progress_monitor</h5>
5377 <ol><p>Specifies a pointer to a method to monitor progress of an image operation.</p></ol>
5379 <h5>client_data</h5>
5380 <ol><p>Specifies a pointer to any client data.</p></ol>
5383 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5384 _8c.html" target="source" name="MagickSetImageRedPrimary">MagickSetImageRedPrimary</a></h2>
5385 <div class="doc-section">
5387 <p>MagickSetImageRedPrimary() sets the image chromaticity red primary point.</p></ol>
5389 <p>The format of the MagickSetImageRedPrimary method is:</p>
5392 MagickBooleanType MagickSetImageRedPrimary(MagickWand *wand,
5393 const double x,const double y)
5396 <p>A description of each parameter follows:</p></ol>
5399 <ol><p>the magick wand.</p></ol>
5402 <ol><p>the red primary x-point.</p></ol>
5405 <ol><p>the red primary y-point.</p></ol>
5408 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5409 _8c.html" target="source" name="MagickSetImageRenderingIntent">MagickSetImageRenderingIntent</a></h2>
5410 <div class="doc-section">
5412 <p>MagickSetImageRenderingIntent() sets the image rendering intent.</p></ol>
5414 <p>The format of the MagickSetImageRenderingIntent method is:</p>
5417 MagickBooleanType MagickSetImageRenderingIntent(MagickWand *wand,
5418 const RenderingIntent rendering_intent)
5421 <p>A description of each parameter follows:</p></ol>
5424 <ol><p>the magick wand.</p></ol>
5426 <h5>rendering_intent</h5>
5427 <ol><p>the image rendering intent: UndefinedIntent, SaturationIntent, PerceptualIntent, AbsoluteIntent, or RelativeIntent.</p></ol>
5430 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5431 _8c.html" target="source" name="MagickSetImageResolution">MagickSetImageResolution</a></h2>
5432 <div class="doc-section">
5434 <p>MagickSetImageResolution() sets the image resolution.</p></ol>
5436 <p>The format of the MagickSetImageResolution method is:</p>
5439 MagickBooleanType MagickSetImageResolution(MagickWand *wand,
5440 const double x_resolution,const doubtl y_resolution)
5443 <p>A description of each parameter follows:</p></ol>
5446 <ol><p>the magick wand.</p></ol>
5448 <h5>x_resolution</h5>
5449 <ol><p>the image x resolution.</p></ol>
5451 <h5>y_resolution</h5>
5452 <ol><p>the image y resolution.</p></ol>
5455 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5456 _8c.html" target="source" name="MagickSetImageScene">MagickSetImageScene</a></h2>
5457 <div class="doc-section">
5459 <p>MagickSetImageScene() sets the image scene.</p></ol>
5461 <p>The format of the MagickSetImageScene method is:</p>
5464 MagickBooleanType MagickSetImageScene(MagickWand *wand,
5468 <p>A description of each parameter follows:</p></ol>
5471 <ol><p>the magick wand.</p></ol>
5474 <ol><p>the image scene number.</p></ol>
5477 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5478 _8c.html" target="source" name="MagickSetImageTicksPerSecond">MagickSetImageTicksPerSecond</a></h2>
5479 <div class="doc-section">
5481 <p>MagickSetImageTicksPerSecond() sets the image ticks-per-second.</p></ol>
5483 <p>The format of the MagickSetImageTicksPerSecond method is:</p>
5486 MagickBooleanType MagickSetImageTicksPerSecond(MagickWand *wand,
5487 const ssize_t ticks_per-second)
5490 <p>A description of each parameter follows:</p></ol>
5493 <ol><p>the magick wand.</p></ol>
5495 <h5>ticks_per_second</h5>
5496 <ol><p>the units to use for the image delay.</p></ol>
5499 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5500 _8c.html" target="source" name="MagickSetImageType">MagickSetImageType</a></h2>
5501 <div class="doc-section">
5503 <p>MagickSetImageType() sets the image type.</p></ol>
5505 <p>The format of the MagickSetImageType method is:</p>
5508 MagickBooleanType MagickSetImageType(MagickWand *wand,
5509 const ImageType image_type)
5512 <p>A description of each parameter follows:</p></ol>
5515 <ol><p>the magick wand.</p></ol>
5518 <ol><p>the image type: UndefinedType, BilevelType, GrayscaleType, GrayscaleMatteType, PaletteType, PaletteMatteType, TrueColorType, TrueColorMatteType, ColorSeparationType, ColorSeparationMatteType, or OptimizeType.</p></ol>
5521 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5522 _8c.html" target="source" name="MagickSetImageUnits">MagickSetImageUnits</a></h2>
5523 <div class="doc-section">
5525 <p>MagickSetImageUnits() sets the image units of resolution.</p></ol>
5527 <p>The format of the MagickSetImageUnits method is:</p>
5530 MagickBooleanType MagickSetImageUnits(MagickWand *wand,
5531 const ResolutionType units)
5534 <p>A description of each parameter follows:</p></ol>
5537 <ol><p>the magick wand.</p></ol>
5540 <ol><p>the image units of resolution : UndefinedResolution, PixelsPerInchResolution, or PixelsPerCentimeterResolution.</p></ol>
5543 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5544 _8c.html" target="source" name="MagickSetImageVirtualPixelMethod">MagickSetImageVirtualPixelMethod</a></h2>
5545 <div class="doc-section">
5547 <p>MagickSetImageVirtualPixelMethod() sets the image virtual pixel method.</p></ol>
5549 <p>The format of the MagickSetImageVirtualPixelMethod method is:</p>
5552 VirtualPixelMethod MagickSetImageVirtualPixelMethod(MagickWand *wand,
5553 const VirtualPixelMethod method)
5556 <p>A description of each parameter follows:</p></ol>
5559 <ol><p>the magick wand.</p></ol>
5562 <ol><p>the image virtual pixel method : UndefinedVirtualPixelMethod, ConstantVirtualPixelMethod, EdgeVirtualPixelMethod, MirrorVirtualPixelMethod, or TileVirtualPixelMethod.</p></ol>
5565 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5566 _8c.html" target="source" name="MagickSetImageWhitePoint">MagickSetImageWhitePoint</a></h2>
5567 <div class="doc-section">
5569 <p>MagickSetImageWhitePoint() sets the image chromaticity white point.</p></ol>
5571 <p>The format of the MagickSetImageWhitePoint method is:</p>
5574 MagickBooleanType MagickSetImageWhitePoint(MagickWand *wand,
5575 const double x,const double y)
5578 <p>A description of each parameter follows:</p></ol>
5581 <ol><p>the magick wand.</p></ol>
5584 <ol><p>the white x-point.</p></ol>
5587 <ol><p>the white y-point.</p></ol>
5590 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5591 _8c.html" target="source" name="MagickShadeImage">MagickShadeImage</a></h2>
5592 <div class="doc-section">
5594 <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>
5596 <p>The format of the MagickShadeImage method is:</p>
5599 MagickBooleanType MagickShadeImage(MagickWand *wand,
5600 const MagickBooleanType gray,const double azimuth,
5601 const double elevation)
5604 <p>A description of each parameter follows:</p></ol>
5607 <ol><p>the magick wand.</p></ol>
5610 <ol><p>A value other than zero shades the intensity of each pixel.</p></ol>
5612 <h5>azimuth, elevation</h5>
5613 <ol><p>Define the light source direction.</p></ol>
5616 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5617 _8c.html" target="source" name="MagickShadowImage">MagickShadowImage</a></h2>
5618 <div class="doc-section">
5620 <p>MagickShadowImage() simulates an image shadow.</p></ol>
5622 <p>The format of the MagickShadowImage method is:</p>
5625 MagickBooleanType MagickShadowImage(MagickWand *wand,
5626 const double opacity,const double sigma,const ssize_t x,const ssize_t y)
5629 <p>A description of each parameter follows:</p></ol>
5632 <ol><p>the magick wand.</p></ol>
5635 <ol><p>percentage transparency.</p></ol>
5638 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
5641 <ol><p>the shadow x-offset.</p></ol>
5644 <ol><p>the shadow y-offset.</p></ol>
5647 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5648 _8c.html" target="source" name="MagickSharpenImage">MagickSharpenImage</a></h2>
5649 <div class="doc-section">
5651 <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>
5653 <p>The format of the MagickSharpenImage method is:</p>
5656 MagickBooleanType MagickSharpenImage(MagickWand *wand,
5657 const double radius,const double sigma)
5658 MagickBooleanType MagickSharpenImageChannel(MagickWand *wand,
5659 const ChannelType channel,const double radius,const double sigma)
5662 <p>A description of each parameter follows:</p></ol>
5665 <ol><p>the magick wand.</p></ol>
5668 <ol><p>the image channel(s).</p></ol>
5671 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
5674 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
5677 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5678 _8c.html" target="source" name="MagickShaveImage">MagickShaveImage</a></h2>
5679 <div class="doc-section">
5681 <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>
5683 <p>The format of the MagickShaveImage method is:</p>
5686 MagickBooleanType MagickShaveImage(MagickWand *wand,
5687 const size_t columns,const size_t rows)
5690 <p>A description of each parameter follows:</p></ol>
5693 <ol><p>the magick wand.</p></ol>
5696 <ol><p>the number of columns in the scaled image.</p></ol>
5699 <ol><p>the number of rows in the scaled image.</p></ol>
5703 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5704 _8c.html" target="source" name="MagickShearImage">MagickShearImage</a></h2>
5705 <div class="doc-section">
5707 <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>
5709 <p>The format of the MagickShearImage method is:</p>
5712 MagickBooleanType MagickShearImage(MagickWand *wand,
5713 const PixelWand *background,const double x_shear,onst double y_shear)
5716 <p>A description of each parameter follows:</p></ol>
5719 <ol><p>the magick wand.</p></ol>
5722 <ol><p>the background pixel wand.</p></ol>
5725 <ol><p>the number of degrees to shear the image.</p></ol>
5728 <ol><p>the number of degrees to shear the image.</p></ol>
5731 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5732 _8c.html" target="source" name="MagickSigmoidalContrastImage">MagickSigmoidalContrastImage</a></h2>
5733 <div class="doc-section">
5735 <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>
5737 <p>The format of the MagickSigmoidalContrastImage method is:</p>
5740 MagickBooleanType MagickSigmoidalContrastImage(MagickWand *wand,
5741 const MagickBooleanType sharpen,const double alpha,const double beta)
5742 MagickBooleanType MagickSigmoidalContrastImageChannel(MagickWand *wand,
5743 const ChannelType channel,const MagickBooleanType sharpen,
5744 const double alpha,const double beta)
5747 <p>A description of each parameter follows:</p></ol>
5750 <ol><p>the magick wand.</p></ol>
5753 <ol><p>Identify which channel to level: RedChannel, GreenChannel,</p></ol>
5756 <ol><p>Increase or decrease image contrast.</p></ol>
5759 <ol><p>control the "shoulder" of the contast curve.</p></ol>
5762 <ol><p>control the "toe" of the contast curve.</p></ol>
5765 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5766 _8c.html" target="source" name="MagickSimilarityImage">MagickSimilarityImage</a></h2>
5767 <div class="doc-section">
5769 <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>
5771 <p>The format of the MagickSimilarityImage method is:</p>
5774 MagickWand *MagickSimilarityImage(MagickWand *wand,
5775 const MagickWand *reference,RectangeInfo *offset,double *similarity)
5778 <p>A description of each parameter follows:</p></ol>
5781 <ol><p>the magick wand.</p></ol>
5784 <ol><p>the reference wand.</p></ol>
5787 <ol><p>the best match offset of the reference image within the image.</p></ol>
5790 <ol><p>the computed similarity between the images.</p></ol>
5793 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5794 _8c.html" target="source" name="MagickSketchImage">MagickSketchImage</a></h2>
5795 <div class="doc-section">
5797 <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>
5799 <p>The format of the MagickSketchImage method is:</p>
5802 MagickBooleanType MagickSketchImage(MagickWand *wand,
5803 const double radius,const double sigma,const double angle)
5806 <p>A description of each parameter follows:</p></ol>
5809 <ol><p>the magick wand.</p></ol>
5812 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
5815 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
5818 <ol><p>Apply the effect along this angle.</p></ol>
5821 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5822 _8c.html" target="source" name="MagickSolarizeImage">MagickSolarizeImage</a></h2>
5823 <div class="doc-section">
5825 <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>
5827 <p>The format of the MagickSolarizeImage method is:</p>
5830 MagickBooleanType MagickSolarizeImage(MagickWand *wand,
5831 const double threshold)
5834 <p>A description of each parameter follows:</p></ol>
5837 <ol><p>the magick wand.</p></ol>
5840 <ol><p>Define the extent of the solarization.</p></ol>
5843 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5844 _8c.html" target="source" name="MagickSparseColorImage">MagickSparseColorImage</a></h2>
5845 <div class="doc-section">
5847 <p>MagickSparseColorImage(), given a set of coordinates, interpolates the colors found at those coordinates, across the whole image, using various methods.</p></ol>
5849 <p>The format of the MagickSparseColorImage method is:</p>
5852 MagickBooleanType MagickSparseColorImage(MagickWand *wand,
5853 const ChannelType channel,const SparseColorMethod method,
5854 const size_t number_arguments,const double *arguments)
5857 <p>A description of each parameter follows:</p></ol>
5860 <ol><p>the image to be sparseed.</p></ol>
5863 <ol><p>the method of image sparseion.</p></ol>
5865 <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>
5867 <p>Bilinear has no simple inverse mapping so will not allow 'bestfit' style of image sparseion.</p></ol>
5869 <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>
5871 <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>
5873 <h5>number_arguments</h5>
5874 <ol><p>the number of arguments given for this sparseion method.</p></ol>
5877 <ol><p>the arguments for this sparseion method.</p></ol>
5880 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5881 _8c.html" target="source" name="MagickSpliceImage">MagickSpliceImage</a></h2>
5882 <div class="doc-section">
5884 <p>MagickSpliceImage() splices a solid color into the image.</p></ol>
5886 <p>The format of the MagickSpliceImage method is:</p>
5889 MagickBooleanType MagickSpliceImage(MagickWand *wand,
5890 const size_t width,const size_t height,const ssize_t x,
5894 <p>A description of each parameter follows:</p></ol>
5897 <ol><p>the magick wand.</p></ol>
5900 <ol><p>the region width.</p></ol>
5903 <ol><p>the region height.</p></ol>
5906 <ol><p>the region x offset.</p></ol>
5909 <ol><p>the region y offset.</p></ol>
5912 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5913 _8c.html" target="source" name="MagickSpreadImage">MagickSpreadImage</a></h2>
5914 <div class="doc-section">
5916 <p>MagickSpreadImage() is a special effects method that randomly displaces each pixel in a block defined by the radius parameter.</p></ol>
5918 <p>The format of the MagickSpreadImage method is:</p>
5921 MagickBooleanType MagickSpreadImage(MagickWand *wand,const double radius)
5924 <p>A description of each parameter follows:</p></ol>
5927 <ol><p>the magick wand.</p></ol>
5930 <ol><p>Choose a random pixel in a neighborhood of this extent.</p></ol>
5933 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5934 _8c.html" target="source" name="MagickSteganoImage">MagickSteganoImage</a></h2>
5935 <div class="doc-section">
5937 <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>
5939 <p>The format of the MagickSteganoImage method is:</p>
5942 MagickWand *MagickSteganoImage(MagickWand *wand,
5943 const MagickWand *watermark_wand,const ssize_t offset)
5946 <p>A description of each parameter follows:</p></ol>
5949 <ol><p>the magick wand.</p></ol>
5951 <h5>watermark_wand</h5>
5952 <ol><p>the watermark wand.</p></ol>
5955 <ol><p>Start hiding at this offset into the image.</p></ol>
5958 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5959 _8c.html" target="source" name="MagickStereoImage">MagickStereoImage</a></h2>
5960 <div class="doc-section">
5962 <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>
5964 <p>The format of the MagickStereoImage method is:</p>
5967 MagickWand *MagickStereoImage(MagickWand *wand,
5968 const MagickWand *offset_wand)
5971 <p>A description of each parameter follows:</p></ol>
5974 <ol><p>the magick wand.</p></ol>
5976 <h5>offset_wand</h5>
5977 <ol><p>Another image wand.</p></ol>
5980 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5981 _8c.html" target="source" name="MagickStripImage">MagickStripImage</a></h2>
5982 <div class="doc-section">
5984 <p>MagickStripImage() strips an image of all profiles and comments.</p></ol>
5986 <p>The format of the MagickStripImage method is:</p>
5989 MagickBooleanType MagickStripImage(MagickWand *wand)
5992 <p>A description of each parameter follows:</p></ol>
5995 <ol><p>the magick wand.</p></ol>
5998 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5999 _8c.html" target="source" name="MagickSwirlImage">MagickSwirlImage</a></h2>
6000 <div class="doc-section">
6002 <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>
6004 <p>The format of the MagickSwirlImage method is:</p>
6007 MagickBooleanType MagickSwirlImage(MagickWand *wand,const double degrees)
6010 <p>A description of each parameter follows:</p></ol>
6013 <ol><p>the magick wand.</p></ol>
6016 <ol><p>Define the tightness of the swirling effect.</p></ol>
6019 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6020 _8c.html" target="source" name="MagickTextureImage">MagickTextureImage</a></h2>
6021 <div class="doc-section">
6023 <p>MagickTextureImage() repeatedly tiles the texture image across and down the image canvas.</p></ol>
6025 <p>The format of the MagickTextureImage method is:</p>
6028 MagickWand *MagickTextureImage(MagickWand *wand,
6029 const MagickWand *texture_wand)
6032 <p>A description of each parameter follows:</p></ol>
6035 <ol><p>the magick wand.</p></ol>
6037 <h5>texture_wand</h5>
6038 <ol><p>the texture wand</p></ol>
6041 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6042 _8c.html" target="source" name="MagickThresholdImage">MagickThresholdImage</a></h2>
6043 <div class="doc-section">
6045 <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>
6047 <p>The format of the MagickThresholdImage method is:</p>
6050 MagickBooleanType MagickThresholdImage(MagickWand *wand,
6051 const double threshold)
6052 MagickBooleanType MagickThresholdImageChannel(MagickWand *wand,
6053 const ChannelType channel,const double threshold)
6056 <p>A description of each parameter follows:</p></ol>
6059 <ol><p>the magick wand.</p></ol>
6062 <ol><p>the image channel(s).</p></ol>
6065 <ol><p>Define the threshold value.</p></ol>
6068 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6069 _8c.html" target="source" name="MagickThumbnailImage">MagickThumbnailImage</a></h2>
6070 <div class="doc-section">
6072 <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>
6074 <p>The format of the MagickThumbnailImage method is:</p>
6077 MagickBooleanType MagickThumbnailImage(MagickWand *wand,
6078 const size_t columns,const size_t rows)
6081 <p>A description of each parameter follows:</p></ol>
6084 <ol><p>the magick wand.</p></ol>
6087 <ol><p>the number of columns in the scaled image.</p></ol>
6090 <ol><p>the number of rows in the scaled image.</p></ol>
6093 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6094 _8c.html" target="source" name="MagickTintImage">MagickTintImage</a></h2>
6095 <div class="doc-section">
6097 <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>
6099 <p>The format of the MagickTintImage method is:</p>
6102 MagickBooleanType MagickTintImage(MagickWand *wand,
6103 const PixelWand *tint,const PixelWand *opacity)
6106 <p>A description of each parameter follows:</p></ol>
6109 <ol><p>the magick wand.</p></ol>
6112 <ol><p>the tint pixel wand.</p></ol>
6115 <ol><p>the opacity pixel wand.</p></ol>
6118 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6119 _8c.html" target="source" name="MagickTransformImage">MagickTransformImage</a></h2>
6120 <div class="doc-section">
6122 <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>
6124 <p>The format of the MagickTransformImage method is:</p>
6127 MagickWand *MagickTransformImage(MagickWand *wand,const char *crop,
6128 const char *geometry)
6131 <p>A description of each parameter follows:</p></ol>
6134 <ol><p>the magick wand.</p></ol>
6137 <ol><p>A crop geometry string. This geometry defines a subregion of the image to crop.</p></ol>
6140 <ol><p>An image geometry string. This geometry defines the final size of the image.</p></ol>
6143 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6144 _8c.html" target="source" name="MagickTransformImageColorspace">MagickTransformImageColorspace</a></h2>
6145 <div class="doc-section">
6147 <p>MagickTransformImageColorspace() transform the image colorspace.</p></ol>
6149 <p>The format of the MagickTransformImageColorspace method is:</p>
6152 MagickBooleanType MagickTransformImageColorspace(MagickWand *wand,
6153 const ColorspaceType colorspace)
6156 <p>A description of each parameter follows:</p></ol>
6159 <ol><p>the magick wand.</p></ol>
6162 <ol><p>the image colorspace: UndefinedColorspace, RGBColorspace, GRAYColorspace, TransparentColorspace, OHTAColorspace, XYZColorspace, YCbCrColorspace, YCCColorspace, YIQColorspace, YPbPrColorspace, YPbPrColorspace, YUVColorspace, CMYKColorspace, sRGBColorspace, HSLColorspace, or HWBColorspace.</p></ol>
6165 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6166 _8c.html" target="source" name="MagickTransparentPaintImage">MagickTransparentPaintImage</a></h2>
6167 <div class="doc-section">
6169 <p>MagickTransparentPaintImage() changes any pixel that matches color with the color defined by fill.</p></ol>
6171 <p>The format of the MagickTransparentPaintImage method is:</p>
6174 MagickBooleanType MagickTransparentPaintImage(MagickWand *wand,
6175 const PixelWand *target,const double alpha,const double fuzz,
6176 const MagickBooleanType invert)
6179 <p>A description of each parameter follows:</p></ol>
6182 <ol><p>the magick wand.</p></ol>
6185 <ol><p>Change this target color to specified opacity value within the image.</p></ol>
6188 <ol><p>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.</p></ol>
6191 <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>
6194 <ol><p>paint any pixel that does not match the target color.</p></ol>
6197 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6198 _8c.html" target="source" name="MagickTransposeImage">MagickTransposeImage</a></h2>
6199 <div class="doc-section">
6201 <p>MagickTransposeImage() creates a vertical mirror image by reflecting the pixels around the central x-axis while rotating them 90-degrees.</p></ol>
6203 <p>The format of the MagickTransposeImage method is:</p>
6206 MagickBooleanType MagickTransposeImage(MagickWand *wand)
6209 <p>A description of each parameter follows:</p></ol>
6212 <ol><p>the magick wand.</p></ol>
6215 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6216 _8c.html" target="source" name="MagickTransverseImage">MagickTransverseImage</a></h2>
6217 <div class="doc-section">
6219 <p>MagickTransverseImage() creates a horizontal mirror image by reflecting the pixels around the central y-axis while rotating them 270-degrees.</p></ol>
6221 <p>The format of the MagickTransverseImage method is:</p>
6224 MagickBooleanType MagickTransverseImage(MagickWand *wand)
6227 <p>A description of each parameter follows:</p></ol>
6230 <ol><p>the magick wand.</p></ol>
6233 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6234 _8c.html" target="source" name="MagickTrimImage">MagickTrimImage</a></h2>
6235 <div class="doc-section">
6237 <p>MagickTrimImage() remove edges that are the background color from the image.</p></ol>
6239 <p>The format of the MagickTrimImage method is:</p>
6242 MagickBooleanType MagickTrimImage(MagickWand *wand,const double fuzz)
6245 <p>A description of each parameter follows:</p></ol>
6248 <ol><p>the magick wand.</p></ol>
6251 <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>
6254 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6255 _8c.html" target="source" name="MagickUniqueImageColors">MagickUniqueImageColors</a></h2>
6256 <div class="doc-section">
6258 <p>MagickUniqueImageColors() discards all but one of any pixel color.</p></ol>
6260 <p>The format of the MagickUniqueImageColors method is:</p>
6263 MagickBooleanType MagickUniqueImageColors(MagickWand *wand)
6266 <p>A description of each parameter follows:</p></ol>
6269 <ol><p>the magick wand.</p></ol>
6272 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6273 _8c.html" target="source" name="MagickUnsharpMaskImage">MagickUnsharpMaskImage</a></h2>
6274 <div class="doc-section">
6276 <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>
6278 <p>The format of the MagickUnsharpMaskImage method is:</p>
6281 MagickBooleanType MagickUnsharpMaskImage(MagickWand *wand,
6282 const double radius,const double sigma,const double amount,
6283 const double threshold)
6284 MagickBooleanType MagickUnsharpMaskImageChannel(MagickWand *wand,
6285 const ChannelType channel,const double radius,const double sigma,
6286 const double amount,const double threshold)
6289 <p>A description of each parameter follows:</p></ol>
6292 <ol><p>the magick wand.</p></ol>
6295 <ol><p>the image channel(s).</p></ol>
6298 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
6301 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
6304 <ol><p>the percentage of the difference between the original and the blur image that is added back into the original.</p></ol>
6307 <ol><p>the threshold in pixels needed to apply the diffence amount.</p></ol>
6310 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6311 _8c.html" target="source" name="MagickVignetteImage">MagickVignetteImage</a></h2>
6312 <div class="doc-section">
6314 <p>MagickVignetteImage() softens the edges of the image in vignette style.</p></ol>
6316 <p>The format of the MagickVignetteImage method is:</p>
6319 MagickBooleanType MagickVignetteImage(MagickWand *wand,
6320 const double black_point,const double white_point,const ssize_t x,
6324 <p>A description of each parameter follows:</p></ol>
6327 <ol><p>the magick wand.</p></ol>
6329 <h5>black_point</h5>
6330 <ol><p>the black point.</p></ol>
6332 <h5>white_point</h5>
6333 <ol><p>the white point.</p></ol>
6336 <ol><p>Define the x and y ellipse offset.</p></ol>
6339 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6340 _8c.html" target="source" name="MagickWaveImage">MagickWaveImage</a></h2>
6341 <div class="doc-section">
6343 <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>
6345 <p>The format of the MagickWaveImage method is:</p>
6348 MagickBooleanType MagickWaveImage(MagickWand *wand,const double amplitude,
6349 const double wave_length)
6352 <p>A description of each parameter follows:</p></ol>
6355 <ol><p>the magick wand.</p></ol>
6357 <h5>amplitude, wave_length</h5>
6358 <ol><p>Define the amplitude and wave length of the sine wave.</p></ol>
6361 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6362 _8c.html" target="source" name="MagickWhiteThresholdImage">MagickWhiteThresholdImage</a></h2>
6363 <div class="doc-section">
6365 <p>MagickWhiteThresholdImage() is like ThresholdImage() but force all pixels above the threshold into white while leaving all pixels below the threshold unchanged.</p></ol>
6367 <p>The format of the MagickWhiteThresholdImage method is:</p>
6370 MagickBooleanType MagickWhiteThresholdImage(MagickWand *wand,
6371 const PixelWand *threshold)
6374 <p>A description of each parameter follows:</p></ol>
6377 <ol><p>the magick wand.</p></ol>
6380 <ol><p>the pixel wand.</p></ol>
6383 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6384 _8c.html" target="source" name="MagickWriteImage">MagickWriteImage</a></h2>
6385 <div class="doc-section">
6387 <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>
6389 <p>The format of the MagickWriteImage method is:</p>
6392 MagickBooleanType MagickWriteImage(MagickWand *wand,
6393 const char *filename)
6396 <p>A description of each parameter follows:</p></ol>
6399 <ol><p>the magick wand.</p></ol>
6402 <ol><p>the image filename.</p></ol>
6406 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6407 _8c.html" target="source" name="MagickWriteImageFile">MagickWriteImageFile</a></h2>
6408 <div class="doc-section">
6410 <p>MagickWriteImageFile() writes an image to an open file descriptor.</p></ol>
6412 <p>The format of the MagickWriteImageFile method is:</p>
6415 MagickBooleanType MagickWriteImageFile(MagickWand *wand,FILE *file)
6418 <p>A description of each parameter follows:</p></ol>
6421 <ol><p>the magick wand.</p></ol>
6424 <ol><p>the file descriptor.</p></ol>
6427 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6428 _8c.html" target="source" name="MagickWriteImages">MagickWriteImages</a></h2>
6429 <div class="doc-section">
6431 <p>MagickWriteImages() writes an image or image sequence.</p></ol>
6433 <p>The format of the MagickWriteImages method is:</p>
6436 MagickBooleanType MagickWriteImages(MagickWand *wand,
6437 const char *filename,const MagickBooleanType adjoin)
6440 <p>A description of each parameter follows:</p></ol>
6443 <ol><p>the magick wand.</p></ol>
6446 <ol><p>the image filename.</p></ol>
6449 <ol><p>join images into a single multi-image file.</p></ol>
6452 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6453 _8c.html" target="source" name="MagickWriteImagesFile">MagickWriteImagesFile</a></h2>
6454 <div class="doc-section">
6456 <p>MagickWriteImagesFile() writes an image sequence to an open file descriptor.</p></ol>
6458 <p>The format of the MagickWriteImagesFile method is:</p>
6461 MagickBooleanType MagickWriteImagesFile(MagickWand *wand,FILE *file)
6464 <p>A description of each parameter follows:</p></ol>
6467 <ol><p>the magick wand.</p></ol>
6470 <ol><p>the file descriptor.</p></ol>
6476 <div id="linkbar">
\r
6477 <span id="linkbar-west"> </span>
\r
6478 <span id="linkbar-center">
\r
6479 <a href="http://www.imagemagick.org/discourse-server/">Discourse Server</a> •
\r
6480 <a href="http://www.imagemagick.org/MagickStudio/scripts/MagickStudio.cgi">Studio</a>
\r
6482 <span id="linkbar-east"> </span>
\r
6484 <div class="footer">
\r
6485 <span id="footer-west">© 1999-2010 ImageMagick Studio LLC</span>
\r
6486 <span id="footer-east"> <a href="../http://www.imagemagick.org/script/contact.php">Contact the Wizards</a></span>
\r
6488 <div style="clear: both; margin: 0; width: 100%; "></div>
\r
6489 <script type="text/javascript">
\r
6490 var _gaq = _gaq || [];
\r
6491 _gaq.push(['_setAccount', 'UA-17690367-1']);
\r
6492 _gaq.push(['_trackPageview']);
\r
6495 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
\r
6496 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
\r
6497 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
\r