1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
\r
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
\r
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
\r
5 <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
\r
6 <meta name="verify-v1" content="g222frIIxcQTrvDR3NBRUSKP3AnMNoqxOkIniCEkV7U=" />
\r
7 <link rel="meta" type="application/rdf+xml" title="ICI" href="http://imagemagick.org/ici.rdf" />
\r
8 <style type="text/css" media="all">
\r
9 @import url("../../www/magick.css");
\r
11 <link rel="shortcut icon" href="../../images/wand.ico" type="images/vnd.microsoft.icon"/>
12 <title>ImageMagick: MagickWand, C API for ImageMagick: Image Methods</title>
13 <meta http-equiv="Content-Language" content="en-US"/>
14 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
15 <meta http-equiv="Reply-to" content="magick-users@imagemagick.org"/>
16 <meta name="Generator" content="PHP"/>
17 <meta name="Keywords" content="magickwc, api, for, imagemagick:, image, methods, ImageMagick, ImageMagic, MagickCore, MagickWand, PerlMagick, Magick++, RMagick, PythonMagick, JMagick, TclMagick, Image, Magick, Magic, Wand, ImageMagickObject, Swiss, Army, Knife, Image, Processing"/>
18 <meta name="Description" content="ImageMagick® is a software suite to create, edit, and compose bitmap images. It can read, convert and write images in a variety of formats (about 100) including GIF, JPEG, JPEG-2000, PNG, PDF, PhotoCD, TIFF, and DPX. Use ImageMagick to translate, flip, mirror, rotate, scale, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves. ImageMagick is free software delivered as a ready-to-run binary distribution or as source code that you can freely use, copy, modify, and distribute. Its license is compatible with the GPL. It runs on all major operating systems. The functionality of ImageMagick is typically utilized from the command line or you can use the features from programs written in your favorite programming language. Choose from these interfaces: MagickCore (C), MagickWand (C), ChMagick (Ch), Magick++ (C++), JMagick (Java), L-Magick (Lisp), PascalMagick (Pascal), PerlMagick (Perl), MagickWand for PHP (PHP), PythonMagick (Python), RMagick (Ruby), or TclMagick (Tcl/TK). With a language interface, use ImageMagick to modify or create images automagically and dynamically."/>
19 <meta name="Rating" content="GENERAL"/>
20 <meta name="Robots" content="INDEX, FOLLOW"/>
21 <meta name="Generator" content="ImageMagick Studio LLC"/>
22 <meta name="Author" content="ImageMagick Studio LLC"/>
23 <meta name="Revisit-after" content="2 DAYS"/>
24 <meta name="Resource-type" content="document"/>
25 <meta name="Copyright" content="Copyright (c) 1999-2010 ImageMagick Studio LLC"/>
26 <meta name="Distribution" content="Global"/>
29 <body id="www-imagemagick-org">
\r
30 <div class="titlebar">
\r
31 <a href="../../index.html">
\r
32 <img src="../../images/script.png" alt="[ImageMagick]"
\r
33 style="width: 350px; height: 60px; margin: 28px auto; float: left;" /></a>
\r
34 <a href="http://www.networkredux.com">
\r
35 <img src="../../images/networkredux.png" alt="[sponsor]"
\r
36 style="margin: 45px auto; border: 0px; float: left;" /></a>
\r
37 <a href="http://www.imagemagick.org/discourse-server/">
\r
38 <img src="../../images/logo.jpg" alt=""
\r
39 style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
\r
40 <a href="../../index.html">
\r
41 <img src="../../images/sprite.jpg" alt=""
\r
42 style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
\r
45 <div class="eastbar">
\r
48 <a title="About ImageMagick" href="../../index.html">About ImageMagick</a>
50 <div class="sep"></div>
\r
52 <a title="Binary Releases" href="../../www/binary-releases.html">Binary Releases</a>
55 <a title="Binary Release: Unix" href="../../www/binary-releases.html#unix">Unix</a>
58 <a title="Binary Release: MacOS X" href="../../www/binary-releases.html#macosx">Mac OS X</a>
61 <a title="Binary Release: Windows" href="../../www/binary-releases.html#windows">Windows</a>
63 <div class="sep"></div>
\r
65 <a title="Command-line Tools" href="../../www/command-line-tools.html">Command-line Tools</a>
68 <a title="Command-line Tools: Processing" href="../../www/command-line-processing.html">Processing</a>
71 <a title="Command-line Tools: Options" href="../../www/command-line-options.html">Options</a>
74 <a title="Command-line Tools: Usage" href="http://www.imagemagick.org/Usage/">Usage</a>
77 <a title="Program Interfaces" href="../../www/api.html">Program Interfaces</a>
80 <a title="Program Interface: MagickWand" href="../../www/magick-wand.html">MagickWand</a>
83 <a title="Program Interface: MagickCore" href="../../www/magick-core.html">MagickCore</a>
86 <a title="Program Interface: PerlMagick" href="../../www/perl-magick.html">PerlMagick</a>
89 <a title="Program Interface: Magick++" href="../../Magick++/">Magick++</a>
91 <div class="sep"></div>
\r
93 <a title="Install from Source" href="../../www/install-source.html">Install from Source</a>
96 <a title="Install from Source: Unix" href="../../www/install-source.html#unix">Unix</a>
99 <a title="Install from Source: Windows" href="../../www/install-source.html#windows">Windows</a>
102 <a title="Resources" href="../../www/resources.html">Resources</a>
105 <a title="Architecture" href="../../www/architecture.html">Architecture</a>
108 <a title="Download" href="../../www/download.html">Download</a>
110 <div class="sep"></div>
\r
112 <a title="Search" href="../http://www.imagemagick.org/script/search.php">Search</a>
114 <div class="sep"></div>
\r
116 <a title="Site Map"href="../../www/sitemap.html">Site Map</a>
119 <a title="Site Map: Links"href="../../www/links.html">Links</a>
121 <div class="sep"></div>
\r
123 <a title="Sponsors" href="../../www/sponsors.html">Sponsors:</a>
125 <div class="sponsbox">
126 <div class="sponsor">
127 <a title="Sponsor: Webdesign Agentur" href="http://www.ventzke-partner.de">Webdesign Agentur</a><!-- 201101010480 invendio.de-->
129 <div class="sponsor">
130 <a title="Sponsor: LVM Versicherung" href="http://www.neu-reich.de">LVM Versicherung</a><!-- 201101010480 -->
132 <div class="sponsor">
133 <a title="Sponsor: Deko.net" href="http://www.deko.net">Deko.net</a><!-- 201101010600 Peterssen-->
135 <div class="sponsor">
136 <a title="Sponsor: Kredit" href="http://www.online-kredit-index.de">Kredit</a><!-- 201007010120 Buchhorn -->
138 <div class="sponsor">
139 <a title="Sponsor: Druckerei" href="http://www.print24.de/">Druckerei</a><!-- 201009010720 -->
141 <div class="sponsor">
142 <a title="Sponsor: Druckerei Online" href="http://www.allesdruck.de">Druckerei Online</a><!-- 201012011200 allesdruck.de-->
144 <div class="sponsor">
145 <a title="Sponsor: Webdesign" href="http://www.renehornig.com/" title="Webdesign">Webdesign</a><!-- 20110101000120 -->
155 <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>
157 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
158 _8c.html" target="source" name="GetImageFromMagickWand">GetImageFromMagickWand</a></h2>
159 <div class="doc-section">
161 <p>GetImageFromMagickWand() returns the current image from the magick wand.</p></ol>
163 <p>The format of the GetImageFromMagickWand method is:</p>
166 Image *GetImageFromMagickWand(const MagickWand *wand)
169 <p>A description of each parameter follows:</p></ol>
172 <ol><p>the magick wand.</p></ol>
175 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
176 _8c.html" target="source" name="MagickAdaptiveBlurImage">MagickAdaptiveBlurImage</a></h2>
177 <div class="doc-section">
179 <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>
181 <p>The format of the MagickAdaptiveBlurImage method is:</p>
184 MagickBooleanType MagickAdaptiveBlurImage(MagickWand *wand,
185 const double radius,const double sigma)
186 MagickBooleanType MagickAdaptiveBlurImageChannel(MagickWand *wand,
187 const ChannelType channel,const double radius,const double sigma)
190 <p>A description of each parameter follows:</p></ol>
193 <ol><p>the magick wand.</p></ol>
196 <ol><p>the image channel(s).</p></ol>
199 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
202 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
205 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
206 _8c.html" target="source" name="MagickAdaptiveResizeImage">MagickAdaptiveResizeImage</a></h2>
207 <div class="doc-section">
209 <p>MagickAdaptiveResizeImage() adaptively resize image with data dependent triangulation.</p></ol>
211 <p>MagickBooleanType MagickAdaptiveResizeImage(MagickWand *wand, const size_t columns,const size_t rows)</p></ol>
213 <p>A description of each parameter follows:</p></ol>
216 <ol><p>the magick wand.</p></ol>
219 <ol><p>the number of columns in the scaled image.</p></ol>
222 <ol><p>the number of rows in the scaled image.</p></ol>
225 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
226 _8c.html" target="source" name="MagickAdaptiveSharpenImage">MagickAdaptiveSharpenImage</a></h2>
227 <div class="doc-section">
229 <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>
231 <p>The format of the MagickAdaptiveSharpenImage method is:</p>
234 MagickBooleanType MagickAdaptiveSharpenImage(MagickWand *wand,
235 const double radius,const double sigma)
236 MagickBooleanType MagickAdaptiveSharpenImageChannel(MagickWand *wand,
237 const ChannelType channel,const double radius,const double sigma)
240 <p>A description of each parameter follows:</p></ol>
243 <ol><p>the magick wand.</p></ol>
246 <ol><p>the image channel(s).</p></ol>
249 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
252 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
255 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
256 _8c.html" target="source" name="MagickAdaptiveThresholdImage">MagickAdaptiveThresholdImage</a></h2>
257 <div class="doc-section">
259 <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>
261 <p>The format of the AdaptiveThresholdImage method is:</p>
264 MagickBooleanType MagickAdaptiveThresholdImage(MagickWand *wand,
265 const size_t width,const size_t height,const ssize_t offset)
268 <p>A description of each parameter follows:</p></ol>
271 <ol><p>the magick wand.</p></ol>
274 <ol><p>the width of the local neighborhood.</p></ol>
277 <ol><p>the height of the local neighborhood.</p></ol>
280 <ol><p>the mean offset.</p></ol>
283 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
284 _8c.html" target="source" name="MagickAddImage">MagickAddImage</a></h2>
285 <div class="doc-section">
287 <p>MagickAddImage() adds the specified images at the current image location.</p></ol>
289 <p>The format of the MagickAddImage method is:</p>
292 MagickBooleanType MagickAddImage(MagickWand *wand,
293 const MagickWand *add_wand)
296 <p>A description of each parameter follows:</p></ol>
299 <ol><p>the magick wand.</p></ol>
302 <ol><p>A wand that contains images to add at the current image location.</p></ol>
305 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
306 _8c.html" target="source" name="MagickAddNoiseImage">MagickAddNoiseImage</a></h2>
307 <div class="doc-section">
309 <p>MagickAddNoiseImage() adds random noise to the image.</p></ol>
311 <p>The format of the MagickAddNoiseImage method is:</p>
314 MagickBooleanType MagickAddNoiseImage(MagickWand *wand,
315 const NoiseType noise_type)
316 MagickBooleanType MagickAddNoiseImageChannel(MagickWand *wand,
317 const ChannelType channel,const NoiseType noise_type)
320 <p>A description of each parameter follows:</p></ol>
323 <ol><p>the magick wand.</p></ol>
326 <ol><p>the image channel(s).</p></ol>
329 <ol><p>The type of noise: Uniform, Gaussian, Multiplicative, Impulse, Laplacian, or Poisson.</p></ol>
332 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
333 _8c.html" target="source" name="MagickAffineTransformImage">MagickAffineTransformImage</a></h2>
334 <div class="doc-section">
336 <p>MagickAffineTransformImage() transforms an image as dictated by the affine matrix of the drawing wand.</p></ol>
338 <p>The format of the MagickAffineTransformImage method is:</p>
341 MagickBooleanType MagickAffineTransformImage(MagickWand *wand,
342 const DrawingWand *drawing_wand)
345 <p>A description of each parameter follows:</p></ol>
348 <ol><p>the magick wand.</p></ol>
350 <h5>drawing_wand</h5>
351 <ol><p>the draw wand.</p></ol>
354 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
355 _8c.html" target="source" name="MagickAnnotateImage">MagickAnnotateImage</a></h2>
356 <div class="doc-section">
358 <p>MagickAnnotateImage() annotates an image with text.</p></ol>
360 <p>The format of the MagickAnnotateImage method is:</p>
363 MagickBooleanType MagickAnnotateImage(MagickWand *wand,
364 const DrawingWand *drawing_wand,const double x,const double y,
365 const double angle,const char *text)
368 <p>A description of each parameter follows:</p></ol>
371 <ol><p>the magick wand.</p></ol>
373 <h5>drawing_wand</h5>
374 <ol><p>the draw wand.</p></ol>
377 <ol><p>x ordinate to left of text</p></ol>
380 <ol><p>y ordinate to text baseline</p></ol>
383 <ol><p>rotate text relative to this angle.</p></ol>
386 <ol><p>text to draw</p></ol>
389 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
390 _8c.html" target="source" name="MagickAnimateImages">MagickAnimateImages</a></h2>
391 <div class="doc-section">
393 <p>MagickAnimateImages() animates an image or image sequence.</p></ol>
395 <p>The format of the MagickAnimateImages method is:</p>
398 MagickBooleanType MagickAnimateImages(MagickWand *wand,
399 const char *server_name)
402 <p>A description of each parameter follows:</p></ol>
405 <ol><p>the magick wand.</p></ol>
408 <ol><p>the X server name.</p></ol>
411 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
412 _8c.html" target="source" name="MagickAppendImages">MagickAppendImages</a></h2>
413 <div class="doc-section">
415 <p>MagickAppendImages() append a set of images.</p></ol>
417 <p>The format of the MagickAppendImages method is:</p>
420 MagickWand *MagickAppendImages(MagickWand *wand,
421 const MagickBooleanType stack)
424 <p>A description of each parameter follows:</p></ol>
427 <ol><p>the magick wand.</p></ol>
430 <ol><p>By default, images are stacked left-to-right. Set stack to MagickTrue to stack them top-to-bottom.</p></ol>
433 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
434 _8c.html" target="source" name="MagickAutoGammaImage">MagickAutoGammaImage</a></h2>
435 <div class="doc-section">
437 <p>MagickAutoGammaImage() extracts the 'mean' from the image and adjust the image to try make set its gamma appropriatally.</p></ol>
439 <p>The format of the MagickAutoGammaImage method is:</p>
442 MagickBooleanType MagickAutoGammaImage(MagickWand *wand)
443 MagickBooleanType MagickAutoGammaImageChannel(MagickWand *wand,
444 const ChannelType channel)
447 <p>A description of each parameter follows:</p></ol>
450 <ol><p>the magick wand.</p></ol>
453 <ol><p>the image channel(s).</p></ol>
456 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
457 _8c.html" target="source" name="MagickAutoLevelImage">MagickAutoLevelImage</a></h2>
458 <div class="doc-section">
460 <p>MagickAutoLevelImage() adjusts the levels of a particular image channel by scaling the minimum and maximum values to the full quantum range.</p></ol>
462 <p>The format of the MagickAutoLevelImage method is:</p>
465 MagickBooleanType MagickAutoLevelImage(MagickWand *wand)
466 MagickBooleanType MagickAutoLevelImageChannel(MagickWand *wand,
467 const ChannelType channel)
470 <p>A description of each parameter follows:</p></ol>
473 <ol><p>the magick wand.</p></ol>
476 <ol><p>the image channel(s).</p></ol>
479 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
480 _8c.html" target="source" name="MagickBlackThresholdImage">MagickBlackThresholdImage</a></h2>
481 <div class="doc-section">
483 <p>MagickBlackThresholdImage() is like MagickThresholdImage() but forces all pixels below the threshold into black while leaving all pixels above the threshold unchanged.</p></ol>
485 <p>The format of the MagickBlackThresholdImage method is:</p>
488 MagickBooleanType MagickBlackThresholdImage(MagickWand *wand,
489 const PixelWand *threshold)
492 <p>A description of each parameter follows:</p></ol>
495 <ol><p>the magick wand.</p></ol>
498 <ol><p>the pixel wand.</p></ol>
501 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
502 _8c.html" target="source" name="MagickBlueShiftImage">MagickBlueShiftImage</a></h2>
503 <div class="doc-section">
505 <p>MagickBlueShiftImage() mutes the colors of the image to simulate a scene at nighttime in the moonlight.</p></ol>
507 <p>The format of the MagickBlueShiftImage method is:</p>
510 MagickBooleanType MagickBlueShiftImage(MagickWand *wand,
514 <p>A description of each parameter follows:</p></ol>
517 <ol><p>the magick wand.</p></ol>
520 <ol><p>the blue shift factor (default 1.5)</p></ol>
523 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
524 _8c.html" target="source" name="MagickBlurImage">MagickBlurImage</a></h2>
525 <div class="doc-section">
527 <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>
529 <p>The format of the MagickBlurImage method is:</p>
532 MagickBooleanType MagickBlurImage(MagickWand *wand,const double radius,
534 MagickBooleanType MagickBlurImageChannel(MagickWand *wand,
535 const ChannelType channel,const double radius,const double sigma)
538 <p>A description of each parameter follows:</p></ol>
541 <ol><p>the magick wand.</p></ol>
544 <ol><p>the image channel(s).</p></ol>
547 <ol><p>the radius of the , in pixels, not counting the center pixel.</p></ol>
550 <ol><p>the standard deviation of the , in pixels.</p></ol>
553 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
554 _8c.html" target="source" name="MagickBorderImage">MagickBorderImage</a></h2>
555 <div class="doc-section">
557 <p>MagickBorderImage() surrounds the image with a border of the color defined by the bordercolor pixel wand.</p></ol>
559 <p>The format of the MagickBorderImage method is:</p>
562 MagickBooleanType MagickBorderImage(MagickWand *wand,
563 const PixelWand *bordercolor,const size_t width,
567 <p>A description of each parameter follows:</p></ol>
570 <ol><p>the magick wand.</p></ol>
573 <ol><p>the border color pixel wand.</p></ol>
576 <ol><p>the border width.</p></ol>
579 <ol><p>the border height.</p></ol>
582 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
583 _8c.html" target="source" name="Use MagickBrightnessContrastImage">Use MagickBrightnessContrastImage</a></h2>
584 <div class="doc-section">
586 <p>Use MagickBrightnessContrastImage() to change the brightness and/or contrast of an image. It converts the brightness and contrast parameters into slope and intercept and calls a polynomical function to apply to the image.</p></ol>
589 <p>The format of the MagickBrightnessContrastImage method is:</p>
592 MagickBooleanType MagickBrightnessContrastImage(MagickWand *wand,
593 const double brightness,const double contrast)
594 MagickBooleanType MagickBrightnessContrastImageChannel(MagickWand *wand,
595 const ChannelType channel,const double brightness,
596 const double contrast)
599 <p>A description of each parameter follows:</p></ol>
602 <ol><p>the magick wand.</p></ol>
605 <ol><p>the image channel(s).</p></ol>
608 <ol><p>the brightness percent (-100 .. 100).</p></ol>
611 <ol><p>the contrast percent (-100 .. 100).</p></ol>
614 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
615 _8c.html" target="source" name="MagickCharcoalImage">MagickCharcoalImage</a></h2>
616 <div class="doc-section">
618 <p>MagickCharcoalImage() simulates a charcoal drawing.</p></ol>
620 <p>The format of the MagickCharcoalImage method is:</p>
623 MagickBooleanType MagickCharcoalImage(MagickWand *wand,
624 const double radius,const double sigma)
627 <p>A description of each parameter follows:</p></ol>
630 <ol><p>the magick wand.</p></ol>
633 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
636 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
639 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
640 _8c.html" target="source" name="MagickChopImage">MagickChopImage</a></h2>
641 <div class="doc-section">
643 <p>MagickChopImage() removes a region of an image and collapses the image to occupy the removed portion</p></ol>
645 <p>The format of the MagickChopImage method is:</p>
648 MagickBooleanType MagickChopImage(MagickWand *wand,
649 const size_t width,const size_t height,const ssize_t x,
653 <p>A description of each parameter follows:</p></ol>
656 <ol><p>the magick wand.</p></ol>
659 <ol><p>the region width.</p></ol>
662 <ol><p>the region height.</p></ol>
665 <ol><p>the region x offset.</p></ol>
668 <ol><p>the region y offset.</p></ol>
672 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
673 _8c.html" target="source" name="MagickClampImage">MagickClampImage</a></h2>
674 <div class="doc-section">
676 <p>MagickClampImage() restricts the color range from 0 to the quantum depth.</p></ol>
678 <p>The format of the MagickClampImage method is:</p>
681 MagickBooleanType MagickClampImage(MagickWand *wand)
682 MagickBooleanType MagickClampImageChannel(MagickWand *wand,
683 const ChannelType channel)
686 <p>A description of each parameter follows:</p></ol>
689 <ol><p>the magick wand.</p></ol>
692 <ol><p>the channel.</p></ol>
695 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
696 _8c.html" target="source" name="MagickClipImage">MagickClipImage</a></h2>
697 <div class="doc-section">
699 <p>MagickClipImage() clips along the first path from the 8BIM profile, if present.</p></ol>
701 <p>The format of the MagickClipImage method is:</p>
704 MagickBooleanType MagickClipImage(MagickWand *wand)
707 <p>A description of each parameter follows:</p></ol>
710 <ol><p>the magick wand.</p></ol>
713 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
714 _8c.html" target="source" name="MagickClipImagePath">MagickClipImagePath</a></h2>
715 <div class="doc-section">
717 <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>
719 <p>The format of the MagickClipImagePath method is:</p>
722 MagickBooleanType MagickClipImagePath(MagickWand *wand,
723 const char *pathname,const MagickBooleanType inside)
726 <p>A description of each parameter follows:</p></ol>
729 <ol><p>the magick wand.</p></ol>
732 <ol><p>name of clipping path resource. If name is preceded by #, use clipping path numbered by name.</p></ol>
735 <ol><p>if non-zero, later operations take effect inside clipping path. Otherwise later operations take effect outside clipping path.</p></ol>
738 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
739 _8c.html" target="source" name="MagickClutImage">MagickClutImage</a></h2>
740 <div class="doc-section">
742 <p>MagickClutImage() replaces colors in the image from a color lookup table.</p></ol>
744 <p>The format of the MagickClutImage method is:</p>
747 MagickBooleanType MagickClutImage(MagickWand *wand,
748 const MagickWand *clut_wand)
749 MagickBooleanType MagickClutImageChannel(MagickWand *wand,
750 const ChannelType channel,const MagickWand *clut_wand)
753 <p>A description of each parameter follows:</p></ol>
756 <ol><p>the magick wand.</p></ol>
759 <ol><p>the clut image.</p></ol>
762 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
763 _8c.html" target="source" name="MagickCoalesceImages">MagickCoalesceImages</a></h2>
764 <div class="doc-section">
766 <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>
768 <p>The format of the MagickCoalesceImages method is:</p>
771 MagickWand *MagickCoalesceImages(MagickWand *wand)
774 <p>A description of each parameter follows:</p></ol>
777 <ol><p>the magick wand.</p></ol>
780 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
781 _8c.html" target="source" name="MagickColorDecisionListImage">MagickColorDecisionListImage</a></h2>
782 <div class="doc-section">
784 <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>
787 <ColorCorrectionCollection xmlns="urn:ASC:CDL:v1.2">
788 <ColorCorrection id="cc03345">
790 <Slope> 0.9 1.2 0.5 </Slope>
791 <Offset> 0.4 -0.5 0.6 </Offset>
792 <Power> 1.0 0.8 1.5 </Power>
795 <Saturation> 0.85 </Saturation>
798 </ColorCorrectionCollection>
801 <p>which includes the offset, slope, and power for each of the RGB channels as well as the saturation.</p></ol>
803 <p>The format of the MagickColorDecisionListImage method is:</p>
806 MagickBooleanType MagickColorDecisionListImage(MagickWand *wand,
810 <p>A description of each parameter follows:</p></ol>
813 <ol><p>the magick wand.</p></ol>
815 <h5>color_correction_collection</h5>
816 <ol><p>the color correction collection in XML.</p></ol>
819 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
820 _8c.html" target="source" name="MagickColorizeImage">MagickColorizeImage</a></h2>
821 <div class="doc-section">
823 <p>MagickColorizeImage() blends the fill color with each pixel in the image.</p></ol>
825 <p>The format of the MagickColorizeImage method is:</p>
828 MagickBooleanType MagickColorizeImage(MagickWand *wand,
829 const PixelWand *colorize,const PixelWand *opacity)
832 <p>A description of each parameter follows:</p></ol>
835 <ol><p>the magick wand.</p></ol>
838 <ol><p>the colorize pixel wand.</p></ol>
841 <ol><p>the opacity pixel wand.</p></ol>
844 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
845 _8c.html" target="source" name="MagickColorMatrixImage">MagickColorMatrixImage</a></h2>
846 <div class="doc-section">
848 <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>
850 <p>The format of the MagickColorMatrixImage method is:</p>
853 MagickBooleanType MagickColorMatrixImage(MagickWand *wand,
854 const KernelInfo *color_matrix)
857 <p>A description of each parameter follows:</p></ol>
860 <ol><p>the magick wand.</p></ol>
862 <h5>color_matrix</h5>
863 <ol><p>the color matrix.</p></ol>
866 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
867 _8c.html" target="source" name="MagickCombineImages">MagickCombineImages</a></h2>
868 <div class="doc-section">
870 <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>
872 <p>The format of the MagickCombineImages method is:</p>
875 MagickWand *MagickCombineImages(MagickWand *wand,
876 const ChannelType channel)
879 <p>A description of each parameter follows:</p></ol>
882 <ol><p>the magick wand.</p></ol>
885 <ol><p>the channel.</p></ol>
888 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
889 _8c.html" target="source" name="MagickCommentImage">MagickCommentImage</a></h2>
890 <div class="doc-section">
892 <p>MagickCommentImage() adds a comment to your image.</p></ol>
894 <p>The format of the MagickCommentImage method is:</p>
897 MagickBooleanType MagickCommentImage(MagickWand *wand,
901 <p>A description of each parameter follows:</p></ol>
904 <ol><p>the magick wand.</p></ol>
907 <ol><p>the image comment.</p></ol>
910 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
911 _8c.html" target="source" name="MagickCompareImageChannels">MagickCompareImageChannels</a></h2>
912 <div class="doc-section">
914 <p>MagickCompareImageChannels() compares one or more image channels of an image to a reconstructed image and returns the difference image.</p></ol>
916 <p>The format of the MagickCompareImageChannels method is:</p>
919 MagickWand *MagickCompareImageChannels(MagickWand *wand,
920 const MagickWand *reference,const ChannelType channel,
921 const MetricType metric,double *distortion)
924 <p>A description of each parameter follows:</p></ol>
927 <ol><p>the magick wand.</p></ol>
930 <ol><p>the reference wand.</p></ol>
933 <ol><p>the channel.</p></ol>
936 <ol><p>the metric.</p></ol>
939 <ol><p>the computed distortion between the images.</p></ol>
942 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
943 _8c.html" target="source" name="MagickCompareImageLayers">MagickCompareImageLayers</a></h2>
944 <div class="doc-section">
946 <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>
948 <p>The format of the MagickCompareImageLayers method is:</p>
951 MagickWand *MagickCompareImageLayers(MagickWand *wand,
952 const ImageLayerMethod method)
955 <p>A description of each parameter follows:</p></ol>
958 <ol><p>the magick wand.</p></ol>
961 <ol><p>the compare method.</p></ol>
964 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
965 _8c.html" target="source" name="MagickCompareImages">MagickCompareImages</a></h2>
966 <div class="doc-section">
968 <p>MagickCompareImages() compares an image to a reconstructed image and returns the specified difference image.</p></ol>
970 <p>The format of the MagickCompareImages method is:</p>
973 MagickWand *MagickCompareImages(MagickWand *wand,
974 const MagickWand *reference,const MetricType metric,
978 <p>A description of each parameter follows:</p></ol>
981 <ol><p>the magick wand.</p></ol>
984 <ol><p>the reference wand.</p></ol>
987 <ol><p>the metric.</p></ol>
990 <ol><p>the computed distortion between the images.</p></ol>
993 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
994 _8c.html" target="source" name="MagickCompositeImage">MagickCompositeImage</a></h2>
995 <div class="doc-section">
997 <p>MagickCompositeImage() composite one image onto another at the specified offset.</p></ol>
999 <p>The format of the MagickCompositeImage method is:</p>
1002 MagickBooleanType MagickCompositeImage(MagickWand *wand,
1003 const MagickWand *composite_wand,const CompositeOperator compose,
1004 const ssize_t x,const ssize_t y)
1005 MagickBooleanType MagickCompositeImageChannel(MagickWand *wand,
1006 const ChannelType channel,const MagickWand *composite_wand,
1007 const CompositeOperator compose,const ssize_t x,const ssize_t y)
1010 <p>A description of each parameter follows:</p></ol>
1013 <ol><p>the magick wand.</p></ol>
1015 <h5>composite_image</h5>
1016 <ol><p>the composite image.</p></ol>
1019 <ol><p>This operator affects how the composite is applied to the image. The default is Over. Choose from these operators:</p>
1022 OverCompositeOp InCompositeOp OutCompositeOp
1023 AtopCompositeOp XorCompositeOp PlusCompositeOp
1024 MinusCompositeOp AddCompositeOp SubtractCompositeOp
1025 DifferenceCompositeOp BumpmapCompositeOp CopyCompositeOp
1030 <ol><p>the column offset of the composited image.</p></ol>
1033 <ol><p>the row offset of the composited image.</p></ol>
1036 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1037 _8c.html" target="source" name="MagickContrastImage">MagickContrastImage</a></h2>
1038 <div class="doc-section">
1040 <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>
1042 <p>The format of the MagickContrastImage method is:</p>
1045 MagickBooleanType MagickContrastImage(MagickWand *wand,
1046 const MagickBooleanType sharpen)
1049 <p>A description of each parameter follows:</p></ol>
1052 <ol><p>the magick wand.</p></ol>
1055 <ol><p>Increase or decrease image contrast.</p></ol>
1059 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1060 _8c.html" target="source" name="MagickContrastStretchImage">MagickContrastStretchImage</a></h2>
1061 <div class="doc-section">
1063 <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>
1065 <p>The format of the MagickContrastStretchImage method is:</p>
1068 MagickBooleanType MagickContrastStretchImage(MagickWand *wand,
1069 const double black_point,const double white_point)
1070 MagickBooleanType MagickContrastStretchImageChannel(MagickWand *wand,
1071 const ChannelType channel,const double black_point,
1072 const double white_point)
1075 <p>A description of each parameter follows:</p></ol>
1078 <ol><p>the magick wand.</p></ol>
1081 <ol><p>the image channel(s).</p></ol>
1083 <h5>black_point</h5>
1084 <ol><p>the black point.</p></ol>
1086 <h5>white_point</h5>
1087 <ol><p>the white point.</p></ol>
1090 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1091 _8c.html" target="source" name="MagickConvolveImage">MagickConvolveImage</a></h2>
1092 <div class="doc-section">
1094 <p>MagickConvolveImage() applies a custom convolution kernel to the image.</p></ol>
1096 <p>The format of the MagickConvolveImage method is:</p>
1099 MagickBooleanType MagickConvolveImage(MagickWand *wand,
1100 const size_t order,const double *kernel)
1101 MagickBooleanType MagickConvolveImageChannel(MagickWand *wand,
1102 const ChannelType channel,const size_t order,
1103 const double *kernel)
1106 <p>A description of each parameter follows:</p></ol>
1109 <ol><p>the magick wand.</p></ol>
1112 <ol><p>the image channel(s).</p></ol>
1115 <ol><p>the number of columns and rows in the filter kernel.</p></ol>
1118 <ol><p>An array of doubles representing the convolution kernel.</p></ol>
1121 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1122 _8c.html" target="source" name="MagickCropImage">MagickCropImage</a></h2>
1123 <div class="doc-section">
1125 <p>MagickCropImage() extracts a region of the image.</p></ol>
1127 <p>The format of the MagickCropImage method is:</p>
1130 MagickBooleanType MagickCropImage(MagickWand *wand,
1131 const size_t width,const size_t height,const ssize_t x,const ssize_t y)
1134 <p>A description of each parameter follows:</p></ol>
1137 <ol><p>the magick wand.</p></ol>
1140 <ol><p>the region width.</p></ol>
1143 <ol><p>the region height.</p></ol>
1146 <ol><p>the region x-offset.</p></ol>
1149 <ol><p>the region y-offset.</p></ol>
1152 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1153 _8c.html" target="source" name="MagickCycleColormapImage">MagickCycleColormapImage</a></h2>
1154 <div class="doc-section">
1156 <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>
1158 <p>The format of the MagickCycleColormapImage method is:</p>
1161 MagickBooleanType MagickCycleColormapImage(MagickWand *wand,
1162 const ssize_t displace)
1165 <p>A description of each parameter follows:</p></ol>
1168 <ol><p>the magick wand.</p></ol>
1171 <ol><p>the pixel wand.</p></ol>
1174 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1175 _8c.html" target="source" name="MagickConstituteImage">MagickConstituteImage</a></h2>
1176 <div class="doc-section">
1178 <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>
1180 <p>MagickConstituteImage(wand,640,640,"RGB",CharPixel,pixels);</p></ol>
1182 <p>The format of the MagickConstituteImage method is:</p>
1185 MagickBooleanType MagickConstituteImage(MagickWand *wand,
1186 const size_t columns,const size_t rows,const char *map,
1187 const StorageType storage,void *pixels)
1190 <p>A description of each parameter follows:</p></ol>
1193 <ol><p>the magick wand.</p></ol>
1196 <ol><p>width in pixels of the image.</p></ol>
1199 <ol><p>height in pixels of the image.</p></ol>
1202 <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>
1205 <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>
1208 <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>
1212 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1213 _8c.html" target="source" name="MagickDecipherImage">MagickDecipherImage</a></h2>
1214 <div class="doc-section">
1216 <p>MagickDecipherImage() converts cipher pixels to plain pixels.</p></ol>
1218 <p>The format of the MagickDecipherImage method is:</p>
1221 MagickBooleanType MagickDecipherImage(MagickWand *wand,
1222 const char *passphrase)
1225 <p>A description of each parameter follows:</p></ol>
1228 <ol><p>the magick wand.</p></ol>
1231 <ol><p>the passphrase.</p></ol>
1234 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1235 _8c.html" target="source" name="MagickDeconstructImages">MagickDeconstructImages</a></h2>
1236 <div class="doc-section">
1238 <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>
1240 <p>The format of the MagickDeconstructImages method is:</p>
1243 MagickWand *MagickDeconstructImages(MagickWand *wand)
1246 <p>A description of each parameter follows:</p></ol>
1249 <ol><p>the magick wand.</p></ol>
1252 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1253 _8c.html" target="source" name="MagickDeskewImage">MagickDeskewImage</a></h2>
1254 <div class="doc-section">
1256 <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>
1258 <p>The format of the MagickDeskewImage method is:</p>
1261 MagickBooleanType MagickDeskewImage(MagickWand *wand,
1262 const double threshold)
1265 <p>A description of each parameter follows:</p></ol>
1268 <ol><p>the magick wand.</p></ol>
1271 <ol><p>separate background from foreground.</p></ol>
1274 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1275 _8c.html" target="source" name="MagickDespeckleImage">MagickDespeckleImage</a></h2>
1276 <div class="doc-section">
1278 <p>MagickDespeckleImage() reduces the speckle noise in an image while perserving the edges of the original image.</p></ol>
1280 <p>The format of the MagickDespeckleImage method is:</p>
1283 MagickBooleanType MagickDespeckleImage(MagickWand *wand)
1286 <p>A description of each parameter follows:</p></ol>
1289 <ol><p>the magick wand.</p></ol>
1292 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1293 _8c.html" target="source" name="MagickDestroyImage">MagickDestroyImage</a></h2>
1294 <div class="doc-section">
1296 <p>MagickDestroyImage() dereferences an image, deallocating memory associated with the image if the reference count becomes zero.</p></ol>
1298 <p>The format of the MagickDestroyImage method is:</p>
1301 Image *MagickDestroyImage(Image *image)
1304 <p>A description of each parameter follows:</p></ol>
1307 <ol><p>the image.</p></ol>
1310 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1311 _8c.html" target="source" name="MagickDisplayImage">MagickDisplayImage</a></h2>
1312 <div class="doc-section">
1314 <p>MagickDisplayImage() displays an image.</p></ol>
1316 <p>The format of the MagickDisplayImage method is:</p>
1319 MagickBooleanType MagickDisplayImage(MagickWand *wand,
1320 const char *server_name)
1323 <p>A description of each parameter follows:</p></ol>
1326 <ol><p>the magick wand.</p></ol>
1328 <h5>server_name</h5>
1329 <ol><p>the X server name.</p></ol>
1332 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1333 _8c.html" target="source" name="MagickDisplayImages">MagickDisplayImages</a></h2>
1334 <div class="doc-section">
1336 <p>MagickDisplayImages() displays an image or image sequence.</p></ol>
1338 <p>The format of the MagickDisplayImages method is:</p>
1341 MagickBooleanType MagickDisplayImages(MagickWand *wand,
1342 const char *server_name)
1345 <p>A description of each parameter follows:</p></ol>
1348 <ol><p>the magick wand.</p></ol>
1350 <h5>server_name</h5>
1351 <ol><p>the X server name.</p></ol>
1354 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1355 _8c.html" target="source" name="MagickDistortImage">MagickDistortImage</a></h2>
1356 <div class="doc-section">
1358 <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>
1360 <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>
1362 <p>The format of the MagickDistortImage method is:</p>
1365 MagickBooleanType MagickDistortImage(MagickWand *wand,
1366 const DistortImageMethod method,const size_t number_arguments,
1367 const double *arguments,const MagickBooleanType bestfit)
1370 <p>A description of each parameter follows:</p></ol>
1373 <ol><p>the image to be distorted.</p></ol>
1376 <ol><p>the method of image distortion.</p></ol>
1378 <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>
1380 <p>Bilinear has no simple inverse mapping so it does not allow 'bestfit' style of image distortion.</p></ol>
1382 <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>
1384 <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>
1386 <h5>number_arguments</h5>
1387 <ol><p>the number of arguments given for this distortion method.</p></ol>
1390 <ol><p>the arguments for this distortion method.</p></ol>
1393 <ol><p>Attempt to resize destination to fit distorted source.</p></ol>
1396 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1397 _8c.html" target="source" name="MagickDrawImage">MagickDrawImage</a></h2>
1398 <div class="doc-section">
1400 <p>MagickDrawImage() renders the drawing wand on the current image.</p></ol>
1402 <p>The format of the MagickDrawImage method is:</p>
1405 MagickBooleanType MagickDrawImage(MagickWand *wand,
1406 const DrawingWand *drawing_wand)
1409 <p>A description of each parameter follows:</p></ol>
1412 <ol><p>the magick wand.</p></ol>
1414 <h5>drawing_wand</h5>
1415 <ol><p>the draw wand.</p></ol>
1418 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1419 _8c.html" target="source" name="MagickEdgeImage">MagickEdgeImage</a></h2>
1420 <div class="doc-section">
1422 <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>
1424 <p>The format of the MagickEdgeImage method is:</p>
1427 MagickBooleanType MagickEdgeImage(MagickWand *wand,const double radius)
1430 <p>A description of each parameter follows:</p></ol>
1433 <ol><p>the magick wand.</p></ol>
1436 <ol><p>the radius of the pixel neighborhood.</p></ol>
1439 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1440 _8c.html" target="source" name="MagickEmbossImage">MagickEmbossImage</a></h2>
1441 <div class="doc-section">
1443 <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>
1445 <p>The format of the MagickEmbossImage method is:</p>
1448 MagickBooleanType MagickEmbossImage(MagickWand *wand,const double radius,
1452 <p>A description of each parameter follows:</p></ol>
1455 <ol><p>the magick wand.</p></ol>
1458 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
1461 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
1464 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1465 _8c.html" target="source" name="MagickEncipherImage">MagickEncipherImage</a></h2>
1466 <div class="doc-section">
1468 <p>MagickEncipherImage() converts plaint pixels to cipher pixels.</p></ol>
1470 <p>The format of the MagickEncipherImage method is:</p>
1473 MagickBooleanType MagickEncipherImage(MagickWand *wand,
1474 const char *passphrase)
1477 <p>A description of each parameter follows:</p></ol>
1480 <ol><p>the magick wand.</p></ol>
1483 <ol><p>the passphrase.</p></ol>
1486 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1487 _8c.html" target="source" name="MagickEnhanceImage">MagickEnhanceImage</a></h2>
1488 <div class="doc-section">
1490 <p>MagickEnhanceImage() applies a digital filter that improves the quality of a noisy image.</p></ol>
1492 <p>The format of the MagickEnhanceImage method is:</p>
1495 MagickBooleanType MagickEnhanceImage(MagickWand *wand)
1498 <p>A description of each parameter follows:</p></ol>
1501 <ol><p>the magick wand.</p></ol>
1504 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1505 _8c.html" target="source" name="MagickEqualizeImage">MagickEqualizeImage</a></h2>
1506 <div class="doc-section">
1508 <p>MagickEqualizeImage() equalizes the image histogram.</p></ol>
1510 <p>The format of the MagickEqualizeImage method is:</p>
1513 MagickBooleanType MagickEqualizeImage(MagickWand *wand)
1514 MagickBooleanType MagickEqualizeImageChannel(MagickWand *wand,
1515 const ChannelType channel)
1518 <p>A description of each parameter follows:</p></ol>
1521 <ol><p>the magick wand.</p></ol>
1524 <ol><p>the image channel(s).</p></ol>
1527 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1528 _8c.html" target="source" name="MagickEvaluateImage">MagickEvaluateImage</a></h2>
1529 <div class="doc-section">
1531 <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>
1533 <p>The format of the MagickEvaluateImage method is:</p>
1536 MagickBooleanType MagickEvaluateImage(MagickWand *wand,
1537 const MagickEvaluateOperator operator,const double value)
1538 MagickBooleanType MagickEvaluateImages(MagickWand *wand,
1539 const MagickEvaluateOperator operator)
1540 MagickBooleanType MagickEvaluateImageChannel(MagickWand *wand,
1541 const ChannelType channel,const MagickEvaluateOperator op,
1545 <p>A description of each parameter follows:</p></ol>
1548 <ol><p>the magick wand.</p></ol>
1551 <ol><p>the channel(s).</p></ol>
1554 <ol><p>A channel operator.</p></ol>
1557 <ol><p>A value value.</p></ol>
1560 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1561 _8c.html" target="source" name="MagickExportImagePixels">MagickExportImagePixels</a></h2>
1562 <div class="doc-section">
1564 <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>
1566 <p>Suppose you want to extract the first scanline of a 640x480 image as character data in red-green-blue order:</p>
1569 MagickExportImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels);
1572 <p>The format of the MagickExportImagePixels method is:</p>
1575 MagickBooleanType MagickExportImagePixels(MagickWand *wand,
1576 const ssize_t x,const ssize_t y,const size_t columns,
1577 const size_t rows,const char *map,const StorageType storage,
1581 <p>A description of each parameter follows:</p></ol>
1584 <ol><p>the magick wand.</p></ol>
1586 <h5>x, y, columns, rows</h5>
1587 <ol><p>These values define the perimeter of a region of pixels you want to extract.</p></ol>
1590 <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>
1593 <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>
1596 <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>
1599 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1600 _8c.html" target="source" name="MagickExtentImage">MagickExtentImage</a></h2>
1601 <div class="doc-section">
1603 <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>
1605 <p>The format of the MagickExtentImage method is:</p>
1608 MagickBooleanType MagickExtentImage(MagickWand *wand,
1609 const size_t width,const size_t height,const ssize_t x,
1613 <p>A description of each parameter follows:</p></ol>
1616 <ol><p>the magick wand.</p></ol>
1619 <ol><p>the region width.</p></ol>
1622 <ol><p>the region height.</p></ol>
1625 <ol><p>the region x offset.</p></ol>
1628 <ol><p>the region y offset.</p></ol>
1631 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1632 _8c.html" target="source" name="MagickFilterImage">MagickFilterImage</a></h2>
1633 <div class="doc-section">
1635 <p>MagickFilterImage() applies a custom convolution kernel to the image.</p></ol>
1637 <p>The format of the MagickFilterImage method is:</p>
1640 MagickBooleanType MagickFilterImage(MagickWand *wand,
1641 const KernelInfo *kernel)
1642 MagickBooleanType MagickFilterImageChannel(MagickWand *wand,
1643 const ChannelType channel,const KernelInfo *kernel)
1646 <p>A description of each parameter follows:</p></ol>
1649 <ol><p>the magick wand.</p></ol>
1652 <ol><p>the image channel(s).</p></ol>
1655 <ol><p>An array of doubles representing the convolution kernel.</p></ol>
1658 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1659 _8c.html" target="source" name="MagickFlipImage">MagickFlipImage</a></h2>
1660 <div class="doc-section">
1662 <p>MagickFlipImage() creates a vertical mirror image by reflecting the pixels around the central x-axis.</p></ol>
1664 <p>The format of the MagickFlipImage method is:</p>
1667 MagickBooleanType MagickFlipImage(MagickWand *wand)
1670 <p>A description of each parameter follows:</p></ol>
1673 <ol><p>the magick wand.</p></ol>
1676 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1677 _8c.html" target="source" name="MagickFloodfillPaintImage">MagickFloodfillPaintImage</a></h2>
1678 <div class="doc-section">
1680 <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>
1682 <p>The format of the MagickFloodfillPaintImage method is:</p>
1685 MagickBooleanType MagickFloodfillPaintImage(MagickWand *wand,
1686 const ChannelType channel,const PixelWand *fill,const double fuzz,
1687 const PixelWand *bordercolor,const ssize_t x,const ssize_t y,
1688 const MagickBooleanType invert)
1691 <p>A description of each parameter follows:</p></ol>
1694 <ol><p>the magick wand.</p></ol>
1697 <ol><p>the channel(s).</p></ol>
1700 <ol><p>the floodfill color pixel wand.</p></ol>
1703 <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>
1705 <h5>bordercolor</h5>
1706 <ol><p>the border color pixel wand.</p></ol>
1709 <ol><p>the starting location of the operation.</p></ol>
1712 <ol><p>paint any pixel that does not match the target color.</p></ol>
1715 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1716 _8c.html" target="source" name="MagickFlopImage">MagickFlopImage</a></h2>
1717 <div class="doc-section">
1719 <p>MagickFlopImage() creates a horizontal mirror image by reflecting the pixels around the central y-axis.</p></ol>
1721 <p>The format of the MagickFlopImage method is:</p>
1724 MagickBooleanType MagickFlopImage(MagickWand *wand)
1727 <p>A description of each parameter follows:</p></ol>
1730 <ol><p>the magick wand.</p></ol>
1733 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1734 _8c.html" target="source" name="MagickForwardFourierTransformImage">MagickForwardFourierTransformImage</a></h2>
1735 <div class="doc-section">
1737 <p>MagickForwardFourierTransformImage() implements the discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.</p></ol>
1739 <p>The format of the MagickForwardFourierTransformImage method is:</p>
1742 MagickBooleanType MagickForwardFourierTransformImage(MagickWand *wand,
1743 const MagickBooleanType magnitude)
1746 <p>A description of each parameter follows:</p></ol>
1749 <ol><p>the magick wand.</p></ol>
1752 <ol><p>if true, return as magnitude / phase pair otherwise a real / imaginary image pair.</p></ol>
1755 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1756 _8c.html" target="source" name="MagickFrameImage">MagickFrameImage</a></h2>
1757 <div class="doc-section">
1759 <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>
1761 <p>The format of the MagickFrameImage method is:</p>
1764 MagickBooleanType MagickFrameImage(MagickWand *wand,
1765 const PixelWand *matte_color,const size_t width,
1766 const size_t height,const ssize_t inner_bevel,
1767 const ssize_t outer_bevel)
1770 <p>A description of each parameter follows:</p></ol>
1773 <ol><p>the magick wand.</p></ol>
1775 <h5>matte_color</h5>
1776 <ol><p>the frame color pixel wand.</p></ol>
1779 <ol><p>the border width.</p></ol>
1782 <ol><p>the border height.</p></ol>
1784 <h5>inner_bevel</h5>
1785 <ol><p>the inner bevel width.</p></ol>
1787 <h5>outer_bevel</h5>
1788 <ol><p>the outer bevel width.</p></ol>
1791 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1792 _8c.html" target="source" name="MagickFunctionImage">MagickFunctionImage</a></h2>
1793 <div class="doc-section">
1795 <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>
1797 <p>The format of the MagickFunctionImage method is:</p>
1800 MagickBooleanType MagickFunctionImage(MagickWand *wand,
1801 const MagickFunction function,const size_t number_arguments,
1802 const double *arguments)
1803 MagickBooleanType MagickFunctionImageChannel(MagickWand *wand,
1804 const ChannelType channel,const MagickFunction function,
1805 const size_t number_arguments,const double *arguments)
1808 <p>A description of each parameter follows:</p></ol>
1811 <ol><p>the magick wand.</p></ol>
1814 <ol><p>the channel(s).</p></ol>
1817 <ol><p>the image function.</p></ol>
1819 <h5>number_arguments</h5>
1820 <ol><p>the number of function arguments.</p></ol>
1823 <ol><p>the function arguments.</p></ol>
1826 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1827 _8c.html" target="source" name="MagickFxImage">MagickFxImage</a></h2>
1828 <div class="doc-section">
1830 <p>MagickFxImage() evaluate expression for each pixel in the image.</p></ol>
1832 <p>The format of the MagickFxImage method is:</p>
1835 MagickWand *MagickFxImage(MagickWand *wand,const char *expression)
1836 MagickWand *MagickFxImageChannel(MagickWand *wand,
1837 const ChannelType channel,const char *expression)
1840 <p>A description of each parameter follows:</p></ol>
1843 <ol><p>the magick wand.</p></ol>
1846 <ol><p>the image channel(s).</p></ol>
1849 <ol><p>the expression.</p></ol>
1852 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1853 _8c.html" target="source" name="MagickGammaImage">MagickGammaImage</a></h2>
1854 <div class="doc-section">
1856 <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>
1858 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p></ol>
1860 <p>The format of the MagickGammaImage method is:</p>
1863 MagickBooleanType MagickGammaImage(MagickWand *wand,const double gamma)
1864 MagickBooleanType MagickGammaImageChannel(MagickWand *wand,
1865 const ChannelType channel,const double gamma)
1868 <p>A description of each parameter follows:</p></ol>
1871 <ol><p>the magick wand.</p></ol>
1874 <ol><p>the channel.</p></ol>
1877 <ol><p>Define the level of gamma correction.</p></ol>
1880 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1881 _8c.html" target="source" name="MagickGaussianBlurImage">MagickGaussianBlurImage</a></h2>
1882 <div class="doc-section">
1884 <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>
1886 <p>The format of the MagickGaussianBlurImage method is:</p>
1889 MagickBooleanType MagickGaussianBlurImage(MagickWand *wand,
1890 const double radius,const double sigma)
1891 MagickBooleanType MagickGaussianBlurImageChannel(MagickWand *wand,
1892 const ChannelType channel,const double radius,const double sigma)
1895 <p>A description of each parameter follows:</p></ol>
1898 <ol><p>the magick wand.</p></ol>
1901 <ol><p>the image channel(s).</p></ol>
1904 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
1907 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
1910 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1911 _8c.html" target="source" name="MagickGetImage">MagickGetImage</a></h2>
1912 <div class="doc-section">
1914 <p>MagickGetImage() gets the image at the current image index.</p></ol>
1916 <p>The format of the MagickGetImage method is:</p>
1919 MagickWand *MagickGetImage(MagickWand *wand)
1922 <p>A description of each parameter follows:</p></ol>
1925 <ol><p>the magick wand.</p></ol>
1928 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1929 _8c.html" target="source" name="MagickGetImageAlphaChannel">MagickGetImageAlphaChannel</a></h2>
1930 <div class="doc-section">
1932 <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>
1934 <p>The format of the MagickGetImageAlphaChannel method is:</p>
1937 size_t MagickGetImageAlphaChannel(MagickWand *wand)
1940 <p>A description of each parameter follows:</p></ol>
1943 <ol><p>the magick wand.</p></ol>
1946 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1947 _8c.html" target="source" name="MagickGetImageClipMask">MagickGetImageClipMask</a></h2>
1948 <div class="doc-section">
1950 <p>MagickGetImageClipMask() gets the image clip mask at the current image index.</p></ol>
1952 <p>The format of the MagickGetImageClipMask method is:</p>
1955 MagickWand *MagickGetImageClipMask(MagickWand *wand)
1958 <p>A description of each parameter follows:</p></ol>
1961 <ol><p>the magick wand.</p></ol>
1964 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1965 _8c.html" target="source" name="MagickGetImageBackgroundColor">MagickGetImageBackgroundColor</a></h2>
1966 <div class="doc-section">
1968 <p>MagickGetImageBackgroundColor() returns the image background color.</p></ol>
1970 <p>The format of the MagickGetImageBackgroundColor method is:</p>
1973 MagickBooleanType MagickGetImageBackgroundColor(MagickWand *wand,
1974 PixelWand *background_color)
1977 <p>A description of each parameter follows:</p></ol>
1980 <ol><p>the magick wand.</p></ol>
1982 <h5>background_color</h5>
1983 <ol><p>Return the background color.</p></ol>
1986 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1987 _8c.html" target="source" name="MagickGetImageBlob">MagickGetImageBlob</a></h2>
1988 <div class="doc-section">
1990 <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>
1992 <p>Use MagickRelinquishMemory() to free the blob when you are done with it.</p></ol>
1994 <p>The format of the MagickGetImageBlob method is:</p>
1997 unsigned char *MagickGetImageBlob(MagickWand *wand,size_t *length)
2000 <p>A description of each parameter follows:</p></ol>
2003 <ol><p>the magick wand.</p></ol>
2006 <ol><p>the length of the blob.</p></ol>
2009 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2010 _8c.html" target="source" name="MagickGetImageBlob">MagickGetImageBlob</a></h2>
2011 <div class="doc-section">
2013 <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>
2015 <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>
2017 <p>The format of the MagickGetImagesBlob method is:</p>
2020 unsigned char *MagickGetImagesBlob(MagickWand *wand,size_t *length)
2023 <p>A description of each parameter follows:</p></ol>
2026 <ol><p>the magick wand.</p></ol>
2029 <ol><p>the length of the blob.</p></ol>
2032 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2033 _8c.html" target="source" name="MagickGetImageBluePrimary">MagickGetImageBluePrimary</a></h2>
2034 <div class="doc-section">
2036 <p>MagickGetImageBluePrimary() returns the chromaticy blue primary point for the image.</p></ol>
2038 <p>The format of the MagickGetImageBluePrimary method is:</p>
2041 MagickBooleanType MagickGetImageBluePrimary(MagickWand *wand,double *x,
2045 <p>A description of each parameter follows:</p></ol>
2048 <ol><p>the magick wand.</p></ol>
2051 <ol><p>the chromaticity blue primary x-point.</p></ol>
2054 <ol><p>the chromaticity blue primary y-point.</p></ol>
2057 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2058 _8c.html" target="source" name="MagickGetImageBorderColor">MagickGetImageBorderColor</a></h2>
2059 <div class="doc-section">
2061 <p>MagickGetImageBorderColor() returns the image border color.</p></ol>
2063 <p>The format of the MagickGetImageBorderColor method is:</p>
2066 MagickBooleanType MagickGetImageBorderColor(MagickWand *wand,
2067 PixelWand *border_color)
2070 <p>A description of each parameter follows:</p></ol>
2073 <ol><p>the magick wand.</p></ol>
2075 <h5>border_color</h5>
2076 <ol><p>Return the border color.</p></ol>
2079 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2080 _8c.html" target="source" name="MagickGetImageChannelDepth">MagickGetImageChannelDepth</a></h2>
2081 <div class="doc-section">
2083 <p>MagickGetImageChannelDepth() gets the depth for one or more image channels.</p></ol>
2085 <p>The format of the MagickGetImageChannelDepth method is:</p>
2088 size_t MagickGetImageChannelDepth(MagickWand *wand,
2089 const ChannelType channel)
2092 <p>A description of each parameter follows:</p></ol>
2095 <ol><p>the magick wand.</p></ol>
2098 <ol><p>the image channel(s).</p></ol>
2101 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2102 _8c.html" target="source" name="MagickGetImageChannelDistortion">MagickGetImageChannelDistortion</a></h2>
2103 <div class="doc-section">
2105 <p>MagickGetImageChannelDistortion() compares one or more image channels of an image to a reconstructed image and returns the specified distortion metric.</p></ol>
2107 <p>The format of the MagickGetImageChannelDistortion method is:</p>
2110 MagickBooleanType MagickGetImageChannelDistortion(MagickWand *wand,
2111 const MagickWand *reference,const ChannelType channel,
2112 const MetricType metric,double *distortion)
2115 <p>A description of each parameter follows:</p></ol>
2118 <ol><p>the magick wand.</p></ol>
2121 <ol><p>the reference wand.</p></ol>
2124 <ol><p>the channel.</p></ol>
2127 <ol><p>the metric.</p></ol>
2130 <ol><p>the computed distortion between the images.</p></ol>
2133 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2134 _8c.html" target="source" name="MagickGetImageChannelDistortions">MagickGetImageChannelDistortions</a></h2>
2135 <div class="doc-section">
2137 <p>MagickGetImageChannelDistortions() compares one or more image channels of an image to a reconstructed image and returns the specified distortion metrics.</p></ol>
2139 <p>Use MagickRelinquishMemory() to free the metrics when you are done with them.</p></ol>
2141 <p>The format of the MagickGetImageChannelDistortion method is:</p>
2144 double *MagickGetImageChannelDistortion(MagickWand *wand,
2145 const MagickWand *reference,const MetricType metric)
2148 <p>A description of each parameter follows:</p></ol>
2151 <ol><p>the magick wand.</p></ol>
2154 <ol><p>the reference wand.</p></ol>
2157 <ol><p>the metric.</p></ol>
2160 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2161 _8c.html" target="source" name="MagickGetImageChannelFeatures">MagickGetImageChannelFeatures</a></h2>
2162 <div class="doc-section">
2164 <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>
2167 channel_features=MagickGetImageChannelFeatures(wand,1);
2168 contrast=channel_features[RedChannel].contrast[0];
2171 <p>Use MagickRelinquishMemory() to free the statistics buffer.</p></ol>
2173 <p>The format of the MagickGetImageChannelFeatures method is:</p>
2176 ChannelFeatures *MagickGetImageChannelFeatures(MagickWand *wand,
2177 const size_t distance)
2180 <p>A description of each parameter follows:</p></ol>
2183 <ol><p>the magick wand.</p></ol>
2186 <ol><p>the distance.</p></ol>
2189 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2190 _8c.html" target="source" name="MagickGetImageChannelKurtosis">MagickGetImageChannelKurtosis</a></h2>
2191 <div class="doc-section">
2193 <p>MagickGetImageChannelKurtosis() gets the kurtosis and skewness of one or more image channels.</p></ol>
2195 <p>The format of the MagickGetImageChannelKurtosis method is:</p>
2198 MagickBooleanType MagickGetImageChannelKurtosis(MagickWand *wand,
2199 const ChannelType channel,double *kurtosis,double *skewness)
2202 <p>A description of each parameter follows:</p></ol>
2205 <ol><p>the magick wand.</p></ol>
2208 <ol><p>the image channel(s).</p></ol>
2211 <ol><p>The kurtosis for the specified channel(s).</p></ol>
2214 <ol><p>The skewness for the specified channel(s).</p></ol>
2217 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2218 _8c.html" target="source" name="MagickGetImageChannelMean">MagickGetImageChannelMean</a></h2>
2219 <div class="doc-section">
2221 <p>MagickGetImageChannelMean() gets the mean and standard deviation of one or more image channels.</p></ol>
2223 <p>The format of the MagickGetImageChannelMean method is:</p>
2226 MagickBooleanType MagickGetImageChannelMean(MagickWand *wand,
2227 const ChannelType channel,double *mean,double *standard_deviation)
2230 <p>A description of each parameter follows:</p></ol>
2233 <ol><p>the magick wand.</p></ol>
2236 <ol><p>the image channel(s).</p></ol>
2239 <ol><p>The mean pixel value for the specified channel(s).</p></ol>
2241 <h5>standard_deviation</h5>
2242 <ol><p>The standard deviation for the specified channel(s).</p></ol>
2245 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2246 _8c.html" target="source" name="MagickGetImageChannelRange">MagickGetImageChannelRange</a></h2>
2247 <div class="doc-section">
2249 <p>MagickGetImageChannelRange() gets the range for one or more image channels.</p></ol>
2251 <p>The format of the MagickGetImageChannelRange method is:</p>
2254 MagickBooleanType MagickGetImageChannelRange(MagickWand *wand,
2255 const ChannelType channel,double *minima,double *maxima)
2258 <p>A description of each parameter follows:</p></ol>
2261 <ol><p>the magick wand.</p></ol>
2264 <ol><p>the image channel(s).</p></ol>
2267 <ol><p>The minimum pixel value for the specified channel(s).</p></ol>
2270 <ol><p>The maximum pixel value for the specified channel(s).</p></ol>
2273 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2274 _8c.html" target="source" name="MagickGetImageChannelStatistics">MagickGetImageChannelStatistics</a></h2>
2275 <div class="doc-section">
2277 <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>
2280 channel_statistics=MagickGetImageChannelStatistics(wand);
2281 red_mean=channel_statistics[RedChannel].mean;
2284 <p>Use MagickRelinquishMemory() to free the statistics buffer.</p></ol>
2286 <p>The format of the MagickGetImageChannelStatistics method is:</p>
2289 ChannelStatistics *MagickGetImageChannelStatistics(MagickWand *wand)
2292 <p>A description of each parameter follows:</p></ol>
2295 <ol><p>the magick wand.</p></ol>
2298 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2299 _8c.html" target="source" name="MagickGetImageColormapColor">MagickGetImageColormapColor</a></h2>
2300 <div class="doc-section">
2302 <p>MagickGetImageColormapColor() returns the color of the specified colormap index.</p></ol>
2304 <p>The format of the MagickGetImageColormapColor method is:</p>
2307 MagickBooleanType MagickGetImageColormapColor(MagickWand *wand,
2308 const size_t index,PixelWand *color)
2311 <p>A description of each parameter follows:</p></ol>
2314 <ol><p>the magick wand.</p></ol>
2317 <ol><p>the offset into the image colormap.</p></ol>
2320 <ol><p>Return the colormap color in this wand.</p></ol>
2323 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2324 _8c.html" target="source" name="MagickGetImageColors">MagickGetImageColors</a></h2>
2325 <div class="doc-section">
2327 <p>MagickGetImageColors() gets the number of unique colors in the image.</p></ol>
2329 <p>The format of the MagickGetImageColors method is:</p>
2332 size_t MagickGetImageColors(MagickWand *wand)
2335 <p>A description of each parameter follows:</p></ol>
2338 <ol><p>the magick wand.</p></ol>
2341 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2342 _8c.html" target="source" name="MagickGetImageColorspace">MagickGetImageColorspace</a></h2>
2343 <div class="doc-section">
2345 <p>MagickGetImageColorspace() gets the image colorspace.</p></ol>
2347 <p>The format of the MagickGetImageColorspace method is:</p>
2350 ColorspaceType MagickGetImageColorspace(MagickWand *wand)
2353 <p>A description of each parameter follows:</p></ol>
2356 <ol><p>the magick wand.</p></ol>
2359 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2360 _8c.html" target="source" name="MagickGetImageCompose">MagickGetImageCompose</a></h2>
2361 <div class="doc-section">
2363 <p>MagickGetImageCompose() returns the composite operator associated with the image.</p></ol>
2365 <p>The format of the MagickGetImageCompose method is:</p>
2368 CompositeOperator MagickGetImageCompose(MagickWand *wand)
2371 <p>A description of each parameter follows:</p></ol>
2374 <ol><p>the magick wand.</p></ol>
2377 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2378 _8c.html" target="source" name="MagickGetImageCompression">MagickGetImageCompression</a></h2>
2379 <div class="doc-section">
2381 <p>MagickGetImageCompression() gets the image compression.</p></ol>
2383 <p>The format of the MagickGetImageCompression method is:</p>
2386 CompressionType MagickGetImageCompression(MagickWand *wand)
2389 <p>A description of each parameter follows:</p></ol>
2392 <ol><p>the magick wand.</p></ol>
2395 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2396 _8c.html" target="source" name="MagickGetImageCompression">MagickGetImageCompression</a></h2>
2397 <div class="doc-section">
2399 <p>MagickGetImageCompression() gets the image compression quality.</p></ol>
2401 <p>The format of the MagickGetImageCompression method is:</p>
2404 size_t MagickGetImageCompression(MagickWand *wand)
2407 <p>A description of each parameter follows:</p></ol>
2410 <ol><p>the magick wand.</p></ol>
2413 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2414 _8c.html" target="source" name="MagickGetImageDelay">MagickGetImageDelay</a></h2>
2415 <div class="doc-section">
2417 <p>MagickGetImageDelay() gets the image delay.</p></ol>
2419 <p>The format of the MagickGetImageDelay method is:</p>
2422 size_t MagickGetImageDelay(MagickWand *wand)
2425 <p>A description of each parameter follows:</p></ol>
2428 <ol><p>the magick wand.</p></ol>
2431 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2432 _8c.html" target="source" name="MagickGetImageDepth">MagickGetImageDepth</a></h2>
2433 <div class="doc-section">
2435 <p>MagickGetImageDepth() gets the image depth.</p></ol>
2437 <p>The format of the MagickGetImageDepth method is:</p>
2440 size_t MagickGetImageDepth(MagickWand *wand)
2443 <p>A description of each parameter follows:</p></ol>
2446 <ol><p>the magick wand.</p></ol>
2449 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2450 _8c.html" target="source" name="MagickGetImageDistortion">MagickGetImageDistortion</a></h2>
2451 <div class="doc-section">
2453 <p>MagickGetImageDistortion() compares an image to a reconstructed image and returns the specified distortion metric.</p></ol>
2455 <p>The format of the MagickGetImageDistortion method is:</p>
2458 MagickBooleanType MagickGetImageDistortion(MagickWand *wand,
2459 const MagickWand *reference,const MetricType metric,
2463 <p>A description of each parameter follows:</p></ol>
2466 <ol><p>the magick wand.</p></ol>
2469 <ol><p>the reference wand.</p></ol>
2472 <ol><p>the metric.</p></ol>
2475 <ol><p>the computed distortion between the images.</p></ol>
2478 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2479 _8c.html" target="source" name="MagickGetImageDispose">MagickGetImageDispose</a></h2>
2480 <div class="doc-section">
2482 <p>MagickGetImageDispose() gets the image disposal method.</p></ol>
2484 <p>The format of the MagickGetImageDispose method is:</p>
2487 DisposeType MagickGetImageDispose(MagickWand *wand)
2490 <p>A description of each parameter follows:</p></ol>
2493 <ol><p>the magick wand.</p></ol>
2496 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2497 _8c.html" target="source" name="MagickGetImageFilename">MagickGetImageFilename</a></h2>
2498 <div class="doc-section">
2500 <p>MagickGetImageFilename() returns the filename of a particular image in a sequence.</p></ol>
2502 <p>The format of the MagickGetImageFilename method is:</p>
2505 char *MagickGetImageFilename(MagickWand *wand)
2508 <p>A description of each parameter follows:</p></ol>
2511 <ol><p>the magick wand.</p></ol>
2514 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2515 _8c.html" target="source" name="MagickGetImageFormat">MagickGetImageFormat</a></h2>
2516 <div class="doc-section">
2518 <p>MagickGetImageFormat() returns the format of a particular image in a sequence.</p></ol>
2520 <p>The format of the MagickGetImageFormat method is:</p>
2523 const char MagickGetImageFormat(MagickWand *wand)
2526 <p>A description of each parameter follows:</p></ol>
2529 <ol><p>the magick wand.</p></ol>
2532 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2533 _8c.html" target="source" name="MagickGetImageFuzz">MagickGetImageFuzz</a></h2>
2534 <div class="doc-section">
2536 <p>MagickGetImageFuzz() gets the image fuzz.</p></ol>
2538 <p>The format of the MagickGetImageFuzz method is:</p>
2541 double MagickGetImageFuzz(MagickWand *wand)
2544 <p>A description of each parameter follows:</p></ol>
2547 <ol><p>the magick wand.</p></ol>
2550 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2551 _8c.html" target="source" name="MagickGetImageGamma">MagickGetImageGamma</a></h2>
2552 <div class="doc-section">
2554 <p>MagickGetImageGamma() gets the image gamma.</p></ol>
2556 <p>The format of the MagickGetImageGamma method is:</p>
2559 double MagickGetImageGamma(MagickWand *wand)
2562 <p>A description of each parameter follows:</p></ol>
2565 <ol><p>the magick wand.</p></ol>
2568 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2569 _8c.html" target="source" name="MagickGetImageGravity">MagickGetImageGravity</a></h2>
2570 <div class="doc-section">
2572 <p>MagickGetImageGravity() gets the image gravity.</p></ol>
2574 <p>The format of the MagickGetImageGravity method is:</p>
2577 GravityType MagickGetImageGravity(MagickWand *wand)
2580 <p>A description of each parameter follows:</p></ol>
2583 <ol><p>the magick wand.</p></ol>
2586 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2587 _8c.html" target="source" name="MagickGetImageGreenPrimary">MagickGetImageGreenPrimary</a></h2>
2588 <div class="doc-section">
2590 <p>MagickGetImageGreenPrimary() returns the chromaticy green primary point.</p></ol>
2592 <p>The format of the MagickGetImageGreenPrimary method is:</p>
2595 MagickBooleanType MagickGetImageGreenPrimary(MagickWand *wand,double *x,
2599 <p>A description of each parameter follows:</p></ol>
2602 <ol><p>the magick wand.</p></ol>
2605 <ol><p>the chromaticity green primary x-point.</p></ol>
2608 <ol><p>the chromaticity green primary y-point.</p></ol>
2611 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2612 _8c.html" target="source" name="MagickGetImageHeight">MagickGetImageHeight</a></h2>
2613 <div class="doc-section">
2615 <p>MagickGetImageHeight() returns the image height.</p></ol>
2617 <p>The format of the MagickGetImageHeight method is:</p>
2620 size_t MagickGetImageHeight(MagickWand *wand)
2623 <p>A description of each parameter follows:</p></ol>
2626 <ol><p>the magick wand.</p></ol>
2629 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2630 _8c.html" target="source" name="MagickGetImageHistogram">MagickGetImageHistogram</a></h2>
2631 <div class="doc-section">
2633 <p>MagickGetImageHistogram() returns the image histogram as an array of PixelWand wands.</p></ol>
2635 <p>The format of the MagickGetImageHistogram method is:</p>
2638 PixelWand **MagickGetImageHistogram(MagickWand *wand,
2639 size_t *number_colors)
2642 <p>A description of each parameter follows:</p></ol>
2645 <ol><p>the magick wand.</p></ol>
2647 <h5>number_colors</h5>
2648 <ol><p>the number of unique colors in the image and the number of pixel wands returned.</p></ol>
2651 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2652 _8c.html" target="source" name="MagickGetImageInterlaceScheme">MagickGetImageInterlaceScheme</a></h2>
2653 <div class="doc-section">
2655 <p>MagickGetImageInterlaceScheme() gets the image interlace scheme.</p></ol>
2657 <p>The format of the MagickGetImageInterlaceScheme method is:</p>
2660 InterlaceType MagickGetImageInterlaceScheme(MagickWand *wand)
2663 <p>A description of each parameter follows:</p></ol>
2666 <ol><p>the magick wand.</p></ol>
2669 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2670 _8c.html" target="source" name="MagickGetImageInterpolateMethod">MagickGetImageInterpolateMethod</a></h2>
2671 <div class="doc-section">
2673 <p>MagickGetImageInterpolateMethod() returns the interpolation method for the sepcified image.</p></ol>
2675 <p>The format of the MagickGetImageInterpolateMethod method is:</p>
2678 InterpolatePixelMethod MagickGetImageInterpolateMethod(MagickWand *wand)
2681 <p>A description of each parameter follows:</p></ol>
2684 <ol><p>the magick wand.</p></ol>
2687 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2688 _8c.html" target="source" name="MagickGetImageIterations">MagickGetImageIterations</a></h2>
2689 <div class="doc-section">
2691 <p>MagickGetImageIterations() gets the image iterations.</p></ol>
2693 <p>The format of the MagickGetImageIterations method is:</p>
2696 size_t MagickGetImageIterations(MagickWand *wand)
2699 <p>A description of each parameter follows:</p></ol>
2702 <ol><p>the magick wand.</p></ol>
2705 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2706 _8c.html" target="source" name="MagickGetImageLength">MagickGetImageLength</a></h2>
2707 <div class="doc-section">
2709 <p>MagickGetImageLength() returns the image length in bytes.</p></ol>
2711 <p>The format of the MagickGetImageLength method is:</p>
2714 MagickBooleanType MagickGetImageLength(MagickWand *wand,
2715 MagickSizeType *length)
2718 <p>A description of each parameter follows:</p></ol>
2721 <ol><p>the magick wand.</p></ol>
2724 <ol><p>the image length in bytes.</p></ol>
2727 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2728 _8c.html" target="source" name="MagickGetImageMatteColor">MagickGetImageMatteColor</a></h2>
2729 <div class="doc-section">
2731 <p>MagickGetImageMatteColor() returns the image matte color.</p></ol>
2733 <p>The format of the MagickGetImageMatteColor method is:</p>
2736 MagickBooleanType MagickGetImagematteColor(MagickWand *wand,
2737 PixelWand *matte_color)
2740 <p>A description of each parameter follows:</p></ol>
2743 <ol><p>the magick wand.</p></ol>
2745 <h5>matte_color</h5>
2746 <ol><p>Return the matte color.</p></ol>
2749 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2750 _8c.html" target="source" name="MagickGetImageOrientation">MagickGetImageOrientation</a></h2>
2751 <div class="doc-section">
2753 <p>MagickGetImageOrientation() returns the image orientation.</p></ol>
2755 <p>The format of the MagickGetImageOrientation method is:</p>
2758 OrientationType MagickGetImageOrientation(MagickWand *wand)
2761 <p>A description of each parameter follows:</p></ol>
2764 <ol><p>the magick wand.</p></ol>
2767 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2768 _8c.html" target="source" name="MagickGetImagePage">MagickGetImagePage</a></h2>
2769 <div class="doc-section">
2771 <p>MagickGetImagePage() returns the page geometry associated with the image.</p></ol>
2773 <p>The format of the MagickGetImagePage method is:</p>
2776 MagickBooleanType MagickGetImagePage(MagickWand *wand,
2777 size_t *width,size_t *height,ssize_t *x,ssize_t *y)
2780 <p>A description of each parameter follows:</p></ol>
2783 <ol><p>the magick wand.</p></ol>
2786 <ol><p>the page width.</p></ol>
2789 <ol><p>the page height.</p></ol>
2792 <ol><p>the page x-offset.</p></ol>
2795 <ol><p>the page y-offset.</p></ol>
2798 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2799 _8c.html" target="source" name="MagickGetImagePixelColor">MagickGetImagePixelColor</a></h2>
2800 <div class="doc-section">
2802 <p>MagickGetImagePixelColor() returns the color of the specified pixel.</p></ol>
2804 <p>The format of the MagickGetImagePixelColor method is:</p>
2807 MagickBooleanType MagickGetImagePixelColor(MagickWand *wand,
2808 const ssize_t x,const ssize_t y,PixelWand *color)
2811 <p>A description of each parameter follows:</p></ol>
2814 <ol><p>the magick wand.</p></ol>
2817 <ol><p>the pixel offset into the image.</p></ol>
2820 <ol><p>Return the colormap color in this wand.</p></ol>
2823 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2824 _8c.html" target="source" name="MagickGetImageRedPrimary">MagickGetImageRedPrimary</a></h2>
2825 <div class="doc-section">
2827 <p>MagickGetImageRedPrimary() returns the chromaticy red primary point.</p></ol>
2829 <p>The format of the MagickGetImageRedPrimary method is:</p>
2832 MagickBooleanType MagickGetImageRedPrimary(MagickWand *wand,double *x,
2836 <p>A description of each parameter follows:</p></ol>
2839 <ol><p>the magick wand.</p></ol>
2842 <ol><p>the chromaticity red primary x-point.</p></ol>
2845 <ol><p>the chromaticity red primary y-point.</p></ol>
2848 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2849 _8c.html" target="source" name="MagickGetImageRegion">MagickGetImageRegion</a></h2>
2850 <div class="doc-section">
2852 <p>MagickGetImageRegion() extracts a region of the image and returns it as a a new wand.</p></ol>
2854 <p>The format of the MagickGetImageRegion method is:</p>
2857 MagickWand *MagickGetImageRegion(MagickWand *wand,
2858 const size_t width,const size_t height,const ssize_t x,
2862 <p>A description of each parameter follows:</p></ol>
2865 <ol><p>the magick wand.</p></ol>
2868 <ol><p>the region width.</p></ol>
2871 <ol><p>the region height.</p></ol>
2874 <ol><p>the region x offset.</p></ol>
2877 <ol><p>the region y offset.</p></ol>
2880 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2881 _8c.html" target="source" name="MagickGetImageRenderingIntent">MagickGetImageRenderingIntent</a></h2>
2882 <div class="doc-section">
2884 <p>MagickGetImageRenderingIntent() gets the image rendering intent.</p></ol>
2886 <p>The format of the MagickGetImageRenderingIntent method is:</p>
2889 RenderingIntent MagickGetImageRenderingIntent(MagickWand *wand)
2892 <p>A description of each parameter follows:</p></ol>
2895 <ol><p>the magick wand.</p></ol>
2898 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2899 _8c.html" target="source" name="MagickGetImageResolution">MagickGetImageResolution</a></h2>
2900 <div class="doc-section">
2902 <p>MagickGetImageResolution() gets the image X and Y resolution.</p></ol>
2904 <p>The format of the MagickGetImageResolution method is:</p>
2907 MagickBooleanType MagickGetImageResolution(MagickWand *wand,double *x,
2911 <p>A description of each parameter follows:</p></ol>
2914 <ol><p>the magick wand.</p></ol>
2917 <ol><p>the image x-resolution.</p></ol>
2920 <ol><p>the image y-resolution.</p></ol>
2923 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2924 _8c.html" target="source" name="MagickGetImageScene">MagickGetImageScene</a></h2>
2925 <div class="doc-section">
2927 <p>MagickGetImageScene() gets the image scene.</p></ol>
2929 <p>The format of the MagickGetImageScene method is:</p>
2932 size_t MagickGetImageScene(MagickWand *wand)
2935 <p>A description of each parameter follows:</p></ol>
2938 <ol><p>the magick wand.</p></ol>
2941 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2942 _8c.html" target="source" name="MagickGetImageSignature">MagickGetImageSignature</a></h2>
2943 <div class="doc-section">
2945 <p>MagickGetImageSignature() generates an SHA-256 message digest for the image pixel stream.</p></ol>
2947 <p>The format of the MagickGetImageSignature method is:</p>
2950 const char MagickGetImageSignature(MagickWand *wand)
2953 <p>A description of each parameter follows:</p></ol>
2956 <ol><p>the magick wand.</p></ol>
2959 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2960 _8c.html" target="source" name="MagickGetImageTicksPerSecond">MagickGetImageTicksPerSecond</a></h2>
2961 <div class="doc-section">
2963 <p>MagickGetImageTicksPerSecond() gets the image ticks-per-second.</p></ol>
2965 <p>The format of the MagickGetImageTicksPerSecond method is:</p>
2968 size_t MagickGetImageTicksPerSecond(MagickWand *wand)
2971 <p>A description of each parameter follows:</p></ol>
2974 <ol><p>the magick wand.</p></ol>
2977 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2978 _8c.html" target="source" name="MagickGetImageType">MagickGetImageType</a></h2>
2979 <div class="doc-section">
2981 <p>MagickGetImageType() gets the potential image type:</p></ol>
2983 <p>Bilevel Grayscale GrayscaleMatte Palette PaletteMatte TrueColor TrueColorMatte ColorSeparation ColorSeparationMatte</p></ol>
2985 <p>To ensure the image type matches its potential, use MagickSetImageType():</p>
2988 (void) MagickSetImageType(wand,MagickGetImageType(wand));
2991 <p>The format of the MagickGetImageType method is:</p>
2994 ImageType MagickGetImageType(MagickWand *wand)
2997 <p>A description of each parameter follows:</p></ol>
3000 <ol><p>the magick wand.</p></ol>
3003 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3004 _8c.html" target="source" name="MagickGetImageUnits">MagickGetImageUnits</a></h2>
3005 <div class="doc-section">
3007 <p>MagickGetImageUnits() gets the image units of resolution.</p></ol>
3009 <p>The format of the MagickGetImageUnits method is:</p>
3012 ResolutionType MagickGetImageUnits(MagickWand *wand)
3015 <p>A description of each parameter follows:</p></ol>
3018 <ol><p>the magick wand.</p></ol>
3021 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3022 _8c.html" target="source" name="MagickGetImageVirtualPixelMethod">MagickGetImageVirtualPixelMethod</a></h2>
3023 <div class="doc-section">
3025 <p>MagickGetImageVirtualPixelMethod() returns the virtual pixel method for the sepcified image.</p></ol>
3027 <p>The format of the MagickGetImageVirtualPixelMethod method is:</p>
3030 VirtualPixelMethod MagickGetImageVirtualPixelMethod(MagickWand *wand)
3033 <p>A description of each parameter follows:</p></ol>
3036 <ol><p>the magick wand.</p></ol>
3039 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3040 _8c.html" target="source" name="MagickGetImageWhitePoint">MagickGetImageWhitePoint</a></h2>
3041 <div class="doc-section">
3043 <p>MagickGetImageWhitePoint() returns the chromaticy white point.</p></ol>
3045 <p>The format of the MagickGetImageWhitePoint method is:</p>
3048 MagickBooleanType MagickGetImageWhitePoint(MagickWand *wand,double *x,
3052 <p>A description of each parameter follows:</p></ol>
3055 <ol><p>the magick wand.</p></ol>
3058 <ol><p>the chromaticity white x-point.</p></ol>
3061 <ol><p>the chromaticity white y-point.</p></ol>
3064 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3065 _8c.html" target="source" name="MagickGetImageWidth">MagickGetImageWidth</a></h2>
3066 <div class="doc-section">
3068 <p>MagickGetImageWidth() returns the image width.</p></ol>
3070 <p>The format of the MagickGetImageWidth method is:</p>
3073 size_t MagickGetImageWidth(MagickWand *wand)
3076 <p>A description of each parameter follows:</p></ol>
3079 <ol><p>the magick wand.</p></ol>
3082 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3083 _8c.html" target="source" name="MagickGetNumberImages">MagickGetNumberImages</a></h2>
3084 <div class="doc-section">
3086 <p>MagickGetNumberImages() returns the number of images associated with a magick wand.</p></ol>
3088 <p>The format of the MagickGetNumberImages method is:</p>
3091 size_t MagickGetNumberImages(MagickWand *wand)
3094 <p>A description of each parameter follows:</p></ol>
3097 <ol><p>the magick wand.</p></ol>
3100 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3101 _8c.html" target="source" name="MagickGetImageTotalInkDensity">MagickGetImageTotalInkDensity</a></h2>
3102 <div class="doc-section">
3104 <p>MagickGetImageTotalInkDensity() gets the image total ink density.</p></ol>
3106 <p>The format of the MagickGetImageTotalInkDensity method is:</p>
3109 double MagickGetImageTotalInkDensity(MagickWand *wand)
3112 <p>A description of each parameter follows:</p></ol>
3115 <ol><p>the magick wand.</p></ol>
3118 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3119 _8c.html" target="source" name="MagickHaldClutImage">MagickHaldClutImage</a></h2>
3120 <div class="doc-section">
3122 <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>
3124 <p>The format of the MagickHaldClutImage method is:</p>
3127 MagickBooleanType MagickHaldClutImage(MagickWand *wand,
3128 const MagickWand *hald_wand)
3129 MagickBooleanType MagickHaldClutImageChannel(MagickWand *wand,
3130 const ChannelType channel,const MagickWand *hald_wand)
3133 <p>A description of each parameter follows:</p></ol>
3136 <ol><p>the magick wand.</p></ol>
3139 <ol><p>the hald CLUT image.</p></ol>
3142 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3143 _8c.html" target="source" name="MagickHasNextImage">MagickHasNextImage</a></h2>
3144 <div class="doc-section">
3146 <p>MagickHasNextImage() returns MagickTrue if the wand has more images when traversing the list in the forward direction</p></ol>
3148 <p>The format of the MagickHasNextImage method is:</p>
3151 MagickBooleanType MagickHasNextImage(MagickWand *wand)
3154 <p>A description of each parameter follows:</p></ol>
3157 <ol><p>the magick wand.</p></ol>
3160 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3161 _8c.html" target="source" name="MagickHasPreviousImage">MagickHasPreviousImage</a></h2>
3162 <div class="doc-section">
3164 <p>MagickHasPreviousImage() returns MagickTrue if the wand has more images when traversing the list in the reverse direction</p></ol>
3166 <p>The format of the MagickHasPreviousImage method is:</p>
3169 MagickBooleanType MagickHasPreviousImage(MagickWand *wand)
3172 <p>A description of each parameter follows:</p></ol>
3175 <ol><p>the magick wand.</p></ol>
3178 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3179 _8c.html" target="source" name="MagickIdentifyImage">MagickIdentifyImage</a></h2>
3180 <div class="doc-section">
3182 <p>MagickIdentifyImage() identifies an image by printing its attributes to the file. Attributes include the image width, height, size, and others.</p></ol>
3184 <p>The format of the MagickIdentifyImage method is:</p>
3187 const char *MagickIdentifyImage(MagickWand *wand)
3190 <p>A description of each parameter follows:</p></ol>
3193 <ol><p>the magick wand.</p></ol>
3196 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3197 _8c.html" target="source" name="MagickImplodeImage">MagickImplodeImage</a></h2>
3198 <div class="doc-section">
3200 <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>
3202 <p>The format of the MagickImplodeImage method is:</p>
3205 MagickBooleanType MagickImplodeImage(MagickWand *wand,
3206 const double radius)
3209 <p>A description of each parameter follows:</p></ol>
3212 <ol><p>the magick wand.</p></ol>
3215 <ol><p>Define the extent of the implosion.</p></ol>
3218 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3219 _8c.html" target="source" name="MagickImportImagePixels">MagickImportImagePixels</a></h2>
3220 <div class="doc-section">
3222 <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>
3224 <p>Suppose your want to upload the first scanline of a 640x480 image from character data in red-green-blue order:</p>
3227 MagickImportImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels);
3230 <p>The format of the MagickImportImagePixels method is:</p>
3233 MagickBooleanType MagickImportImagePixels(MagickWand *wand,
3234 const ssize_t x,const ssize_t y,const size_t columns,
3235 const size_t rows,const char *map,const StorageType storage,
3239 <p>A description of each parameter follows:</p></ol>
3242 <ol><p>the magick wand.</p></ol>
3244 <h5>x, y, columns, rows</h5>
3245 <ol><p>These values define the perimeter of a region of pixels you want to define.</p></ol>
3248 <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>
3251 <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>
3254 <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>
3257 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3258 _8c.html" target="source" name="MagickInverseFourierTransformImage">MagickInverseFourierTransformImage</a></h2>
3259 <div class="doc-section">
3261 <p>MagickInverseFourierTransformImage() implements the inverse discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.</p></ol>
3263 <p>The format of the MagickInverseFourierTransformImage method is:</p>
3266 MagickBooleanType MagickInverseFourierTransformImage(
3267 MagickWand *magnitude_wand,MagickWand *phase_wand,
3268 const MagickBooleanType magnitude)
3271 <p>A description of each parameter follows:</p></ol>
3273 <h5>magnitude_wand</h5>
3274 <ol><p>the magnitude or real wand.</p></ol>
3277 <ol><p>the phase or imaginary wand.</p></ol>
3280 <ol><p>if true, return as magnitude / phase pair otherwise a real / imaginary image pair.</p></ol>
3283 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3284 _8c.html" target="source" name="MagickLabelImage">MagickLabelImage</a></h2>
3285 <div class="doc-section">
3287 <p>MagickLabelImage() adds a label to your image.</p></ol>
3289 <p>The format of the MagickLabelImage method is:</p>
3292 MagickBooleanType MagickLabelImage(MagickWand *wand,const char *label)
3295 <p>A description of each parameter follows:</p></ol>
3298 <ol><p>the magick wand.</p></ol>
3301 <ol><p>the image label.</p></ol>
3304 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3305 _8c.html" target="source" name="MagickLevelImage">MagickLevelImage</a></h2>
3306 <div class="doc-section">
3308 <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>
3310 <p>The format of the MagickLevelImage method is:</p>
3313 MagickBooleanType MagickLevelImage(MagickWand *wand,
3314 const double black_point,const double gamma,const double white_point)
3315 MagickBooleanType MagickLevelImageChannel(MagickWand *wand,
3316 const ChannelType channel,const double black_point,const double gamma,
3317 const double white_point)
3320 <p>A description of each parameter follows:</p></ol>
3323 <ol><p>the magick wand.</p></ol>
3326 <ol><p>Identify which channel to level: RedChannel, GreenChannel,</p></ol>
3328 <h5>black_point</h5>
3329 <ol><p>the black point.</p></ol>
3332 <ol><p>the gamma.</p></ol>
3334 <h5>white_point</h5>
3335 <ol><p>the white point.</p></ol>
3338 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3339 _8c.html" target="source" name="MagickLinearStretchImage">MagickLinearStretchImage</a></h2>
3340 <div class="doc-section">
3342 <p>MagickLinearStretchImage() stretches with saturation the image intensity.</p></ol>
3344 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p></ol>
3346 <p>The format of the MagickLinearStretchImage method is:</p>
3349 MagickBooleanType MagickLinearStretchImage(MagickWand *wand,
3350 const double black_point,const double white_point)
3353 <p>A description of each parameter follows:</p></ol>
3356 <ol><p>the magick wand.</p></ol>
3358 <h5>black_point</h5>
3359 <ol><p>the black point.</p></ol>
3361 <h5>white_point</h5>
3362 <ol><p>the white point.</p></ol>
3365 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3366 _8c.html" target="source" name="MagickLiquidRescaleImage">MagickLiquidRescaleImage</a></h2>
3367 <div class="doc-section">
3369 <p>MagickLiquidRescaleImage() rescales image with seam carving.</p></ol>
3371 <p>MagickBooleanType MagickLiquidRescaleImage(MagickWand *wand, const size_t columns,const size_t rows, const double delta_x,const double rigidity)</p></ol>
3373 <p>A description of each parameter follows:</p></ol>
3376 <ol><p>the magick wand.</p></ol>
3379 <ol><p>the number of columns in the scaled image.</p></ol>
3382 <ol><p>the number of rows in the scaled image.</p></ol>
3385 <ol><p>maximum seam transversal step (0 means straight seams).</p></ol>
3388 <ol><p>introduce a bias for non-straight seams (typically 0).</p></ol>
3391 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3392 _8c.html" target="source" name="MagickMagnifyImage">MagickMagnifyImage</a></h2>
3393 <div class="doc-section">
3395 <p>MagickMagnifyImage() is a convenience method that scales an image proportionally to twice its original size.</p></ol>
3397 <p>The format of the MagickMagnifyImage method is:</p>
3400 MagickBooleanType MagickMagnifyImage(MagickWand *wand)
3403 <p>A description of each parameter follows:</p></ol>
3406 <ol><p>the magick wand.</p></ol>
3409 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3410 _8c.html" target="source" name="MagickMedianFilterImage">MagickMedianFilterImage</a></h2>
3411 <div class="doc-section">
3413 <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>
3415 <p>The format of the MagickMedianFilterImage method is:</p>
3418 MagickBooleanType MagickMedianFilterImage(MagickWand *wand,
3419 const double radius)
3422 <p>A description of each parameter follows:</p></ol>
3425 <ol><p>the magick wand.</p></ol>
3428 <ol><p>the radius of the pixel neighborhood.</p></ol>
3431 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3432 _8c.html" target="source" name="MagickMergeImageLayers">MagickMergeImageLayers</a></h2>
3433 <div class="doc-section">
3435 <p>MagickMergeImageLayers() composes all the image layers from the current given image onward to produce a single image of the merged layers.</p></ol>
3437 <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>
3439 <p>The format of the MagickMergeImageLayers method is:</p>
3442 MagickWand *MagickMergeImageLayers(MagickWand *wand,
3443 const ImageLayerMethod method)
3446 <p>A description of each parameter follows:</p></ol>
3449 <ol><p>the magick wand.</p></ol>
3452 <ol><p>the method of selecting the size of the initial canvas.</p></ol>
3454 <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>
3456 <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>
3458 <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>
3461 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3462 _8c.html" target="source" name="MagickMinifyImage">MagickMinifyImage</a></h2>
3463 <div class="doc-section">
3465 <p>MagickMinifyImage() is a convenience method that scales an image proportionally to one-half its original size</p></ol>
3467 <p>The format of the MagickMinifyImage method is:</p>
3470 MagickBooleanType MagickMinifyImage(MagickWand *wand)
3473 <p>A description of each parameter follows:</p></ol>
3476 <ol><p>the magick wand.</p></ol>
3479 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3480 _8c.html" target="source" name="MagickModulateImage">MagickModulateImage</a></h2>
3481 <div class="doc-section">
3483 <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>
3485 <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>
3487 <p>The format of the MagickModulateImage method is:</p>
3490 MagickBooleanType MagickModulateImage(MagickWand *wand,
3491 const double brightness,const double saturation,const double hue)
3494 <p>A description of each parameter follows:</p></ol>
3497 <ol><p>the magick wand.</p></ol>
3500 <ol><p>the percent change in brighness.</p></ol>
3503 <ol><p>the percent change in saturation.</p></ol>
3506 <ol><p>the percent change in hue.</p></ol>
3509 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3510 _8c.html" target="source" name="MagickMontageImage">MagickMontageImage</a></h2>
3511 <div class="doc-section">
3513 <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>
3515 <p>The format of the MagickMontageImage method is:</p>
3518 MagickWand *MagickMontageImage(MagickWand *wand,
3519 const DrawingWand drawing_wand,const char *tile_geometry,
3520 const char *thumbnail_geometry,const MontageMode mode,
3524 <p>A description of each parameter follows:</p></ol>
3527 <ol><p>the magick wand.</p></ol>
3529 <h5>drawing_wand</h5>
3530 <ol><p>the drawing wand. The font name, size, and color are obtained from this wand.</p></ol>
3532 <h5>tile_geometry</h5>
3533 <ol><p>the number of tiles per row and page (e.g. 6x4+0+0).</p></ol>
3535 <h5>thumbnail_geometry</h5>
3536 <ol><p>Preferred image size and border size of each thumbnail (e.g. 120x120+4+3>).</p></ol>
3539 <ol><p>Thumbnail framing mode: Frame, Unframe, or Concatenate.</p></ol>
3542 <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>
3545 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3546 _8c.html" target="source" name="MagickMorphImages">MagickMorphImages</a></h2>
3547 <div class="doc-section">
3549 <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>
3551 <p>The format of the MagickMorphImages method is:</p>
3554 MagickWand *MagickMorphImages(MagickWand *wand,
3555 const size_t number_frames)
3558 <p>A description of each parameter follows:</p></ol>
3561 <ol><p>the magick wand.</p></ol>
3563 <h5>number_frames</h5>
3564 <ol><p>the number of in-between images to generate.</p></ol>
3567 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3568 _8c.html" target="source" name="MagickMorphologyImage">MagickMorphologyImage</a></h2>
3569 <div class="doc-section">
3571 <p>MagickMorphologyImage() applies a user supplied kernel to the image according to the given mophology method.</p></ol>
3573 <p>The format of the MagickMorphologyImage method is:</p>
3576 MagickBooleanType MagickMorphologyImage(MagickWand *wand,
3577 MorphologyMethod method,const ssize_t iterations,KernelInfo *kernel)
3578 MagickBooleanType MagickMorphologyImageChannel(MagickWand *wand,
3579 ChannelType channel,MorphologyMethod method,const ssize_t iterations,
3583 <p>A description of each parameter follows:</p></ol>
3586 <ol><p>the magick wand.</p></ol>
3589 <ol><p>the image channel(s).</p></ol>
3592 <ol><p>the morphology method to be applied.</p></ol>
3595 <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>
3598 <ol><p>An array of doubles representing the morphology kernel.</p></ol>
3601 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3602 _8c.html" target="source" name="MagickMotionBlurImage">MagickMotionBlurImage</a></h2>
3603 <div class="doc-section">
3605 <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>
3607 <p>The format of the MagickMotionBlurImage method is:</p>
3610 MagickBooleanType MagickMotionBlurImage(MagickWand *wand,
3611 const double radius,const double sigma,const double angle)
3612 MagickBooleanType MagickMotionBlurImageChannel(MagickWand *wand,
3613 const ChannelType channel,const double radius,const double sigma,
3617 <p>A description of each parameter follows:</p></ol>
3620 <ol><p>the magick wand.</p></ol>
3623 <ol><p>the image channel(s).</p></ol>
3626 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
3629 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
3632 <ol><p>Apply the effect along this angle.</p></ol>
3635 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3636 _8c.html" target="source" name="MagickNegateImage">MagickNegateImage</a></h2>
3637 <div class="doc-section">
3639 <p>MagickNegateImage() negates the colors in the reference image. The Grayscale option means that only grayscale values within the image are negated.</p></ol>
3641 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p></ol>
3643 <p>The format of the MagickNegateImage method is:</p>
3646 MagickBooleanType MagickNegateImage(MagickWand *wand,
3647 const MagickBooleanType gray)
3648 MagickBooleanType MagickNegateImage(MagickWand *wand,
3649 const ChannelType channel,const MagickBooleanType gray)
3652 <p>A description of each parameter follows:</p></ol>
3655 <ol><p>the magick wand.</p></ol>
3658 <ol><p>the image channel(s).</p></ol>
3661 <ol><p>If MagickTrue, only negate grayscale pixels within the image.</p></ol>
3664 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3665 _8c.html" target="source" name="MagickNewImage">MagickNewImage</a></h2>
3666 <div class="doc-section">
3668 <p>MagickNewImage() adds a blank image canvas of the specified size and background color to the wand.</p></ol>
3670 <p>The format of the MagickNewImage method is:</p>
3673 MagickBooleanType MagickNewImage(MagickWand *wand,
3674 const size_t columns,const size_t rows,
3675 const PixelWand *background)
3678 <p>A description of each parameter follows:</p></ol>
3681 <ol><p>the magick wand.</p></ol>
3684 <ol><p>the image width.</p></ol>
3687 <ol><p>the image height.</p></ol>
3690 <ol><p>the image color.</p></ol>
3693 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3694 _8c.html" target="source" name="MagickNextImage">MagickNextImage</a></h2>
3695 <div class="doc-section">
3697 <p>MagickNextImage() associates the next image in the image list with a magick wand.</p></ol>
3699 <p>The format of the MagickNextImage method is:</p>
3702 MagickBooleanType MagickNextImage(MagickWand *wand)
3705 <p>A description of each parameter follows:</p></ol>
3708 <ol><p>the magick wand.</p></ol>
3711 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3712 _8c.html" target="source" name="MagickNormalizeImage">MagickNormalizeImage</a></h2>
3713 <div class="doc-section">
3715 <p>MagickNormalizeImage() enhances the contrast of a color image by adjusting the pixels color to span the entire range of colors available</p></ol>
3717 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p></ol>
3719 <p>The format of the MagickNormalizeImage method is:</p>
3722 MagickBooleanType MagickNormalizeImage(MagickWand *wand)
3723 MagickBooleanType MagickNormalizeImageChannel(MagickWand *wand,
3724 const ChannelType channel)
3727 <p>A description of each parameter follows:</p></ol>
3730 <ol><p>the magick wand.</p></ol>
3733 <ol><p>the image channel(s).</p></ol>
3736 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3737 _8c.html" target="source" name="MagickOilPaintImage">MagickOilPaintImage</a></h2>
3738 <div class="doc-section">
3740 <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>
3742 <p>The format of the MagickOilPaintImage method is:</p>
3745 MagickBooleanType MagickOilPaintImage(MagickWand *wand,
3746 const double radius)
3749 <p>A description of each parameter follows:</p></ol>
3752 <ol><p>the magick wand.</p></ol>
3755 <ol><p>the radius of the circular neighborhood.</p></ol>
3758 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3759 _8c.html" target="source" name="MagickOpaquePaintImage">MagickOpaquePaintImage</a></h2>
3760 <div class="doc-section">
3762 <p>MagickOpaquePaintImage() changes any pixel that matches color with the color defined by fill.</p></ol>
3764 <p>The format of the MagickOpaquePaintImage method is:</p>
3767 MagickBooleanType MagickOpaquePaintImage(MagickWand *wand,
3768 const PixelWand *target,const PixelWand *fill,const double fuzz,
3769 const MagickBooleanType invert)
3770 MagickBooleanType MagickOpaquePaintImageChannel(MagickWand *wand,
3771 const ChannelType channel,const PixelWand *target,
3772 const PixelWand *fill,const double fuzz,const MagickBooleanType invert)
3775 <p>A description of each parameter follows:</p></ol>
3778 <ol><p>the magick wand.</p></ol>
3781 <ol><p>the channel(s).</p></ol>
3784 <ol><p>Change this target color to the fill color within the image.</p></ol>
3787 <ol><p>the fill pixel wand.</p></ol>
3790 <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>
3793 <ol><p>paint any pixel that does not match the target color.</p></ol>
3796 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3797 _8c.html" target="source" name="MagickOptimizeImageLayers">MagickOptimizeImageLayers</a></h2>
3798 <div class="doc-section">
3800 <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>
3802 <p>The format of the MagickOptimizeImageLayers method is:</p>
3805 MagickWand *MagickOptimizeImageLayers(MagickWand *wand)
3808 <p>A description of each parameter follows:</p></ol>
3811 <ol><p>the magick wand.</p></ol>
3814 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3815 _8c.html" target="source" name="MagickOrderedPosterizeImage">MagickOrderedPosterizeImage</a></h2>
3816 <div class="doc-section">
3818 <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>
3820 <p>The format of the MagickOrderedPosterizeImage method is:</p>
3823 MagickBooleanType MagickOrderedPosterizeImage(MagickWand *wand,
3824 const char *threshold_map)
3825 MagickBooleanType MagickOrderedPosterizeImageChannel(MagickWand *wand,
3826 const ChannelType channel,const char *threshold_map)
3829 <p>A description of each parameter follows:</p></ol>
3832 <ol><p>the image.</p></ol>
3835 <ol><p>the channel or channels to be thresholded.</p></ol>
3837 <h5>threshold_map</h5>
3838 <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>
3840 <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>
3842 <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>
3844 <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>
3847 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3848 _8c.html" target="source" name="MagickPingImage">MagickPingImage</a></h2>
3849 <div class="doc-section">
3851 <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>
3853 <p>The format of the MagickPingImage method is:</p>
3856 MagickBooleanType MagickPingImage(MagickWand *wand,const char *filename)
3859 <p>A description of each parameter follows:</p></ol>
3862 <ol><p>the magick wand.</p></ol>
3865 <ol><p>the image filename.</p></ol>
3868 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3869 _8c.html" target="source" name="MagickPingImageBlob">MagickPingImageBlob</a></h2>
3870 <div class="doc-section">
3872 <p>MagickPingImageBlob() pings an image or image sequence from a blob.</p></ol>
3874 <p>The format of the MagickPingImageBlob method is:</p>
3877 MagickBooleanType MagickPingImageBlob(MagickWand *wand,
3878 const void *blob,const size_t length)
3881 <p>A description of each parameter follows:</p></ol>
3884 <ol><p>the magick wand.</p></ol>
3887 <ol><p>the blob.</p></ol>
3890 <ol><p>the blob length.</p></ol>
3893 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3894 _8c.html" target="source" name="MagickPingImageFile">MagickPingImageFile</a></h2>
3895 <div class="doc-section">
3897 <p>MagickPingImageFile() pings an image or image sequence from an open file descriptor.</p></ol>
3899 <p>The format of the MagickPingImageFile method is:</p>
3902 MagickBooleanType MagickPingImageFile(MagickWand *wand,FILE *file)
3905 <p>A description of each parameter follows:</p></ol>
3908 <ol><p>the magick wand.</p></ol>
3911 <ol><p>the file descriptor.</p></ol>
3914 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3915 _8c.html" target="source" name="MagickPolaroidImage">MagickPolaroidImage</a></h2>
3916 <div class="doc-section">
3918 <p>MagickPolaroidImage() simulates a Polaroid picture.</p></ol>
3920 <p>The format of the MagickPolaroidImage method is:</p>
3923 MagickBooleanType MagickPolaroidImage(MagickWand *wand,
3924 const DrawingWand *drawing_wand,const double angle)
3927 <p>A description of each parameter follows:</p></ol>
3930 <ol><p>the magick wand.</p></ol>
3932 <h5>drawing_wand</h5>
3933 <ol><p>the draw wand.</p></ol>
3936 <ol><p>Apply the effect along this angle.</p></ol>
3939 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3940 _8c.html" target="source" name="MagickPosterizeImage">MagickPosterizeImage</a></h2>
3941 <div class="doc-section">
3943 <p>MagickPosterizeImage() reduces the image to a limited number of color level.</p></ol>
3945 <p>The format of the MagickPosterizeImage method is:</p>
3948 MagickBooleanType MagickPosterizeImage(MagickWand *wand,
3949 const unsigned levels,const MagickBooleanType dither)
3952 <p>A description of each parameter follows:</p></ol>
3955 <ol><p>the magick wand.</p></ol>
3958 <ol><p>Number of color levels allowed in each channel. Very low values (2, 3, or 4) have the most visible effect.</p></ol>
3961 <ol><p>Set this integer value to something other than zero to dither the mapped image.</p></ol>
3964 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3965 _8c.html" target="source" name="MagickPreviewImages">MagickPreviewImages</a></h2>
3966 <div class="doc-section">
3968 <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>
3970 <p>The format of the MagickPreviewImages method is:</p>
3973 MagickWand *MagickPreviewImages(MagickWand *wand,
3974 const PreviewType preview)
3977 <p>A description of each parameter follows:</p></ol>
3980 <ol><p>the magick wand.</p></ol>
3983 <ol><p>the preview type.</p></ol>
3986 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3987 _8c.html" target="source" name="MagickPreviousImage">MagickPreviousImage</a></h2>
3988 <div class="doc-section">
3990 <p>MagickPreviousImage() assocates the previous image in an image list with the magick wand.</p></ol>
3992 <p>The format of the MagickPreviousImage method is:</p>
3995 MagickBooleanType MagickPreviousImage(MagickWand *wand)
3998 <p>A description of each parameter follows:</p></ol>
4001 <ol><p>the magick wand.</p></ol>
4004 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4005 _8c.html" target="source" name="MagickQuantizeImage">MagickQuantizeImage</a></h2>
4006 <div class="doc-section">
4008 <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>
4010 <p>The format of the MagickQuantizeImage method is:</p>
4013 MagickBooleanType MagickQuantizeImage(MagickWand *wand,
4014 const size_t number_colors,const ColorspaceType colorspace,
4015 const size_t treedepth,const MagickBooleanType dither,
4016 const MagickBooleanType measure_error)
4019 <p>A description of each parameter follows:</p></ol>
4022 <ol><p>the magick wand.</p></ol>
4024 <h5>number_colors</h5>
4025 <ol><p>the number of colors.</p></ol>
4028 <ol><p>Perform color reduction in this colorspace, typically RGBColorspace.</p></ol>
4031 <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>
4034 <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>
4036 <h5>measure_error</h5>
4037 <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>
4040 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4041 _8c.html" target="source" name="MagickQuantizeImages">MagickQuantizeImages</a></h2>
4042 <div class="doc-section">
4044 <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>
4046 <p>The format of the MagickQuantizeImages method is:</p>
4049 MagickBooleanType MagickQuantizeImages(MagickWand *wand,
4050 const size_t number_colors,const ColorspaceType colorspace,
4051 const size_t treedepth,const MagickBooleanType dither,
4052 const MagickBooleanType measure_error)
4055 <p>A description of each parameter follows:</p></ol>
4058 <ol><p>the magick wand.</p></ol>
4060 <h5>number_colors</h5>
4061 <ol><p>the number of colors.</p></ol>
4064 <ol><p>Perform color reduction in this colorspace, typically RGBColorspace.</p></ol>
4067 <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>
4070 <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>
4072 <h5>measure_error</h5>
4073 <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>
4076 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4077 _8c.html" target="source" name="MagickRadialBlurImage">MagickRadialBlurImage</a></h2>
4078 <div class="doc-section">
4080 <p>MagickRadialBlurImage() radial blurs an image.</p></ol>
4082 <p>The format of the MagickRadialBlurImage method is:</p>
4085 MagickBooleanType MagickRadialBlurImage(MagickWand *wand,
4087 MagickBooleanType MagickRadialBlurImageChannel(MagickWand *wand,
4088 const ChannelType channel,const double angle)
4091 <p>A description of each parameter follows:</p></ol>
4094 <ol><p>the magick wand.</p></ol>
4097 <ol><p>the image channel(s).</p></ol>
4100 <ol><p>the angle of the blur in degrees.</p></ol>
4103 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4104 _8c.html" target="source" name="MagickRaiseImage">MagickRaiseImage</a></h2>
4105 <div class="doc-section">
4107 <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>
4109 <p>The format of the MagickRaiseImage method is:</p>
4112 MagickBooleanType MagickRaiseImage(MagickWand *wand,
4113 const size_t width,const size_t height,const ssize_t x,
4114 const ssize_t y,const MagickBooleanType raise)
4117 <p>A description of each parameter follows:</p></ol>
4120 <ol><p>the magick wand.</p></ol>
4122 <h5>width,height,x,y</h5>
4123 <ol><p>Define the dimensions of the area to raise.</p></ol>
4126 <ol><p>A value other than zero creates a 3-D raise effect, otherwise it has a lowered effect.</p></ol>
4129 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4130 _8c.html" target="source" name="MagickRandomThresholdImage">MagickRandomThresholdImage</a></h2>
4131 <div class="doc-section">
4133 <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>
4135 <p>The format of the MagickRandomThresholdImage method is:</p>
4138 MagickBooleanType MagickRandomThresholdImage(MagickWand *wand,
4139 const double low,const double high)
4140 MagickBooleanType MagickRandomThresholdImageChannel(MagickWand *wand,
4141 const ChannelType channel,const double low,const double high)
4144 <p>A description of each parameter follows:</p></ol>
4147 <ol><p>the magick wand.</p></ol>
4150 <ol><p>the image channel(s).</p></ol>
4153 <ol><p>Specify the high and low thresholds. These values range from 0 to QuantumRange.</p></ol>
4156 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4157 _8c.html" target="source" name="MagickReadImage">MagickReadImage</a></h2>
4158 <div class="doc-section">
4160 <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>
4162 <p>The format of the MagickReadImage method is:</p>
4165 MagickBooleanType MagickReadImage(MagickWand *wand,const char *filename)
4168 <p>A description of each parameter follows:</p></ol>
4171 <ol><p>the magick wand.</p></ol>
4174 <ol><p>the image filename.</p></ol>
4177 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4178 _8c.html" target="source" name="MagickReadImageBlob">MagickReadImageBlob</a></h2>
4179 <div class="doc-section">
4181 <p>MagickReadImageBlob() reads an image or image sequence from a blob.</p></ol>
4183 <p>The format of the MagickReadImageBlob method is:</p>
4186 MagickBooleanType MagickReadImageBlob(MagickWand *wand,
4187 const void *blob,const size_t length)
4190 <p>A description of each parameter follows:</p></ol>
4193 <ol><p>the magick wand.</p></ol>
4196 <ol><p>the blob.</p></ol>
4199 <ol><p>the blob length.</p></ol>
4202 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4203 _8c.html" target="source" name="MagickReadImageFile">MagickReadImageFile</a></h2>
4204 <div class="doc-section">
4206 <p>MagickReadImageFile() reads an image or image sequence from an open file descriptor.</p></ol>
4208 <p>The format of the MagickReadImageFile method is:</p>
4211 MagickBooleanType MagickReadImageFile(MagickWand *wand,FILE *file)
4214 <p>A description of each parameter follows:</p></ol>
4217 <ol><p>the magick wand.</p></ol>
4220 <ol><p>the file descriptor.</p></ol>
4223 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4224 _8c.html" target="source" name="MagickReduceNoiseImage">MagickReduceNoiseImage</a></h2>
4225 <div class="doc-section">
4227 <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>
4229 <p>The format of the MagickReduceNoiseImage method is:</p>
4232 MagickBooleanType MagickReduceNoiseImage(MagickWand *wand,
4233 const double radius)
4236 <p>A description of each parameter follows:</p></ol>
4239 <ol><p>the magick wand.</p></ol>
4242 <ol><p>the radius of the pixel neighborhood.</p></ol>
4245 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4246 _8c.html" target="source" name="MagickRemapImage">MagickRemapImage</a></h2>
4247 <div class="doc-section">
4249 <p>MagickRemapImage() replaces the colors of an image with the closest color from a reference image.</p></ol>
4251 <p>The format of the MagickRemapImage method is:</p>
4254 MagickBooleanType MagickRemapImage(MagickWand *wand,
4255 const MagickWand *remap_wand,const DitherMethod method)
4258 <p>A description of each parameter follows:</p></ol>
4261 <ol><p>the magick wand.</p></ol>
4264 <ol><p>the affinity wand.</p></ol>
4267 <ol><p>choose from these dither methods: NoDitherMethod, RiemersmaDitherMethod, or FloydSteinbergDitherMethod.</p></ol>
4270 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4271 _8c.html" target="source" name="MagickRemoveImage">MagickRemoveImage</a></h2>
4272 <div class="doc-section">
4274 <p>MagickRemoveImage() removes an image from the image list.</p></ol>
4276 <p>The format of the MagickRemoveImage method is:</p>
4279 MagickBooleanType MagickRemoveImage(MagickWand *wand)
4282 <p>A description of each parameter follows:</p></ol>
4285 <ol><p>the magick wand.</p></ol>
4288 <ol><p>the splice wand.</p></ol>
4291 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4292 _8c.html" target="source" name="MagickResampleImage">MagickResampleImage</a></h2>
4293 <div class="doc-section">
4295 <p>MagickResampleImage() resample image to desired resolution.</p></ol>
4297 <p>Bessel Blackman Box Catrom Cubic Gaussian Hanning Hermite Lanczos Mitchell Point Quandratic Sinc Triangle</p></ol>
4299 <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>
4301 <p>The format of the MagickResampleImage method is:</p>
4304 MagickBooleanType MagickResampleImage(MagickWand *wand,
4305 const double x_resolution,const double y_resolution,
4306 const FilterTypes filter,const double blur)
4309 <p>A description of each parameter follows:</p></ol>
4312 <ol><p>the magick wand.</p></ol>
4314 <h5>x_resolution</h5>
4315 <ol><p>the new image x resolution.</p></ol>
4317 <h5>y_resolution</h5>
4318 <ol><p>the new image y resolution.</p></ol>
4321 <ol><p>Image filter to use.</p></ol>
4324 <ol><p>the blur factor where > 1 is blurry, < 1 is sharp.</p></ol>
4327 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4328 _8c.html" target="source" name="MagickResetImagePage">MagickResetImagePage</a></h2>
4329 <div class="doc-section">
4331 <p>MagickResetImagePage() resets the Wand page canvas and position.</p></ol>
4333 <p>The format of the MagickResetImagePage method is:</p>
4336 MagickBooleanType MagickResetImagePage(MagickWand *wand,
4340 <p>A description of each parameter follows:</p></ol>
4343 <ol><p>the magick wand.</p></ol>
4346 <ol><p>the relative page specification.</p></ol>
4349 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4350 _8c.html" target="source" name="MagickResizeImage">MagickResizeImage</a></h2>
4351 <div class="doc-section">
4353 <p>MagickResizeImage() scales an image to the desired dimensions with one of these filters:</p>
4357 Catrom CubicGaussian
4358 Hanning Hermite Lanczos
4359 Mitchell PointQuandratic
4363 <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>
4365 <p>The format of the MagickResizeImage method is:</p>
4368 MagickBooleanType MagickResizeImage(MagickWand *wand,
4369 const size_t columns,const size_t rows,
4370 const FilterTypes filter,const double blur)
4373 <p>A description of each parameter follows:</p></ol>
4376 <ol><p>the magick wand.</p></ol>
4379 <ol><p>the number of columns in the scaled image.</p></ol>
4382 <ol><p>the number of rows in the scaled image.</p></ol>
4385 <ol><p>Image filter to use.</p></ol>
4388 <ol><p>the blur factor where > 1 is blurry, < 1 is sharp.</p></ol>
4391 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4392 _8c.html" target="source" name="MagickRollImage">MagickRollImage</a></h2>
4393 <div class="doc-section">
4395 <p>MagickRollImage() offsets an image as defined by x and y.</p></ol>
4397 <p>The format of the MagickRollImage method is:</p>
4400 MagickBooleanType MagickRollImage(MagickWand *wand,const ssize_t x,
4404 <p>A description of each parameter follows:</p></ol>
4407 <ol><p>the magick wand.</p></ol>
4410 <ol><p>the x offset.</p></ol>
4413 <ol><p>the y offset.</p></ol>
4417 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4418 _8c.html" target="source" name="MagickRotateImage">MagickRotateImage</a></h2>
4419 <div class="doc-section">
4421 <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>
4423 <p>The format of the MagickRotateImage method is:</p>
4426 MagickBooleanType MagickRotateImage(MagickWand *wand,
4427 const PixelWand *background,const double degrees)
4430 <p>A description of each parameter follows:</p></ol>
4433 <ol><p>the magick wand.</p></ol>
4436 <ol><p>the background pixel wand.</p></ol>
4439 <ol><p>the number of degrees to rotate the image.</p></ol>
4443 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4444 _8c.html" target="source" name="MagickSampleImage">MagickSampleImage</a></h2>
4445 <div class="doc-section">
4447 <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>
4449 <p>The format of the MagickSampleImage method is:</p>
4452 MagickBooleanType MagickSampleImage(MagickWand *wand,
4453 const size_t columns,const size_t rows)
4456 <p>A description of each parameter follows:</p></ol>
4459 <ol><p>the magick wand.</p></ol>
4462 <ol><p>the number of columns in the scaled image.</p></ol>
4465 <ol><p>the number of rows in the scaled image.</p></ol>
4469 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4470 _8c.html" target="source" name="MagickScaleImage">MagickScaleImage</a></h2>
4471 <div class="doc-section">
4473 <p>MagickScaleImage() scales the size of an image to the given dimensions.</p></ol>
4475 <p>The format of the MagickScaleImage method is:</p>
4478 MagickBooleanType MagickScaleImage(MagickWand *wand,
4479 const size_t columns,const size_t rows)
4482 <p>A description of each parameter follows:</p></ol>
4485 <ol><p>the magick wand.</p></ol>
4488 <ol><p>the number of columns in the scaled image.</p></ol>
4491 <ol><p>the number of rows in the scaled image.</p></ol>
4495 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4496 _8c.html" target="source" name="MagickSegmentImage">MagickSegmentImage</a></h2>
4497 <div class="doc-section">
4499 <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>
4501 <p>The format of the SegmentImage method is:</p>
4504 MagickBooleanType MagickSegmentImage(MagickWand *wand,
4505 const ColorspaceType colorspace,const MagickBooleanType verbose,
4506 const double cluster_threshold,const double smooth_threshold)
4509 <p>A description of each parameter follows.</p></ol>
4512 <ol><p>the wand.</p></ol>
4515 <ol><p>the image colorspace.</p></ol>
4518 <ol><p>Set to MagickTrue to print detailed information about the identified classes.</p></ol>
4520 <h5>cluster_threshold</h5>
4521 <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>
4523 <h5>smooth_threshold</h5>
4524 <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>
4527 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4528 _8c.html" target="source" name="MagickSelectiveBlurImage">MagickSelectiveBlurImage</a></h2>
4529 <div class="doc-section">
4531 <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>
4533 <p>The format of the MagickSelectiveBlurImage method is:</p>
4536 MagickBooleanType MagickSelectiveBlurImage(MagickWand *wand,
4537 const double radius,const double sigma,const double threshold)
4538 MagickBooleanType MagickSelectiveBlurImageChannel(MagickWand *wand,
4539 const ChannelType channel,const double radius,const double sigma,
4540 const double threshold)
4543 <p>A description of each parameter follows:</p></ol>
4546 <ol><p>the magick wand.</p></ol>
4549 <ol><p>the image channel(s).</p></ol>
4552 <ol><p>the radius of the gaussian, in pixels, not counting the center pixel.</p></ol>
4555 <ol><p>the standard deviation of the gaussian, in pixels.</p></ol>
4558 <ol><p>only pixels within this contrast threshold are included in the blur operation.</p></ol>
4561 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4562 _8c.html" target="source" name="MagickSeparateImageChannel">MagickSeparateImageChannel</a></h2>
4563 <div class="doc-section">
4565 <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>
4567 <p>The format of the MagickSeparateImageChannel method is:</p>
4570 MagickBooleanType MagickSeparateImageChannel(MagickWand *wand,
4571 const ChannelType channel)
4574 <p>A description of each parameter follows:</p></ol>
4577 <ol><p>the magick wand.</p></ol>
4580 <ol><p>the image channel(s).</p></ol>
4583 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4584 _8c.html" target="source" name="MagickSepiaToneImage">MagickSepiaToneImage</a></h2>
4585 <div class="doc-section">
4587 <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>
4589 <p>The format of the MagickSepiaToneImage method is:</p>
4592 MagickBooleanType MagickSepiaToneImage(MagickWand *wand,
4593 const double threshold)
4596 <p>A description of each parameter follows:</p></ol>
4599 <ol><p>the magick wand.</p></ol>
4602 <ol><p>Define the extent of the sepia toning.</p></ol>
4605 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4606 _8c.html" target="source" name="MagickSetImage">MagickSetImage</a></h2>
4607 <div class="doc-section">
4609 <p>MagickSetImage() replaces the last image returned by MagickSetImageIndex(), MagickNextImage(), MagickPreviousImage() with the images from the specified wand.</p></ol>
4611 <p>The format of the MagickSetImage method is:</p>
4614 MagickBooleanType MagickSetImage(MagickWand *wand,
4615 const MagickWand *set_wand)
4618 <p>A description of each parameter follows:</p></ol>
4621 <ol><p>the magick wand.</p></ol>
4624 <ol><p>the set_wand wand.</p></ol>
4627 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4628 _8c.html" target="source" name="MagickSetImageAlphaChannel">MagickSetImageAlphaChannel</a></h2>
4629 <div class="doc-section">
4631 <p>MagickSetImageAlphaChannel() activates, deactivates, resets, or sets the alpha channel.</p></ol>
4633 <p>The format of the MagickSetImageAlphaChannel method is:</p>
4636 MagickBooleanType MagickSetImageAlphaChannel(MagickWand *wand,
4637 const AlphaChannelType alpha_type)
4640 <p>A description of each parameter follows:</p></ol>
4643 <ol><p>the magick wand.</p></ol>
4646 <ol><p>the alpha channel type: ActivateAlphaChannel, DeactivateAlphaChannel, OpaqueAlphaChannel, or SetAlphaChannel.</p></ol>
4649 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4650 _8c.html" target="source" name="MagickSetImageBackgroundColor">MagickSetImageBackgroundColor</a></h2>
4651 <div class="doc-section">
4653 <p>MagickSetImageBackgroundColor() sets the image background color.</p></ol>
4655 <p>The format of the MagickSetImageBackgroundColor method is:</p>
4658 MagickBooleanType MagickSetImageBackgroundColor(MagickWand *wand,
4659 const PixelWand *background)
4662 <p>A description of each parameter follows:</p></ol>
4665 <ol><p>the magick wand.</p></ol>
4668 <ol><p>the background pixel wand.</p></ol>
4671 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4672 _8c.html" target="source" name="MagickSetImageBias">MagickSetImageBias</a></h2>
4673 <div class="doc-section">
4675 <p>MagickSetImageBias() sets the image bias for any method that convolves an image (e.g. MagickConvolveImage()).</p></ol>
4677 <p>The format of the MagickSetImageBias method is:</p>
4680 MagickBooleanType MagickSetImageBias(MagickWand *wand,
4684 <p>A description of each parameter follows:</p></ol>
4687 <ol><p>the magick wand.</p></ol>
4690 <ol><p>the image bias.</p></ol>
4693 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4694 _8c.html" target="source" name="MagickSetImageBluePrimary">MagickSetImageBluePrimary</a></h2>
4695 <div class="doc-section">
4697 <p>MagickSetImageBluePrimary() sets the image chromaticity blue primary point.</p></ol>
4699 <p>The format of the MagickSetImageBluePrimary method is:</p>
4702 MagickBooleanType MagickSetImageBluePrimary(MagickWand *wand,
4703 const double x,const double y)
4706 <p>A description of each parameter follows:</p></ol>
4709 <ol><p>the magick wand.</p></ol>
4712 <ol><p>the blue primary x-point.</p></ol>
4715 <ol><p>the blue primary y-point.</p></ol>
4718 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4719 _8c.html" target="source" name="MagickSetImageBorderColor">MagickSetImageBorderColor</a></h2>
4720 <div class="doc-section">
4722 <p>MagickSetImageBorderColor() sets the image border color.</p></ol>
4724 <p>The format of the MagickSetImageBorderColor method is:</p>
4727 MagickBooleanType MagickSetImageBorderColor(MagickWand *wand,
4728 const PixelWand *border)
4731 <p>A description of each parameter follows:</p></ol>
4734 <ol><p>the magick wand.</p></ol>
4737 <ol><p>the border pixel wand.</p></ol>
4740 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4741 _8c.html" target="source" name="MagickSetImageChannelDepth">MagickSetImageChannelDepth</a></h2>
4742 <div class="doc-section">
4744 <p>MagickSetImageChannelDepth() sets the depth of a particular image channel.</p></ol>
4746 <p>The format of the MagickSetImageChannelDepth method is:</p>
4749 MagickBooleanType MagickSetImageChannelDepth(MagickWand *wand,
4750 const ChannelType channel,const size_t depth)
4753 <p>A description of each parameter follows:</p></ol>
4756 <ol><p>the magick wand.</p></ol>
4759 <ol><p>the image channel(s).</p></ol>
4762 <ol><p>the image depth in bits.</p></ol>
4765 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4766 _8c.html" target="source" name="MagickSetImageClipMask">MagickSetImageClipMask</a></h2>
4767 <div class="doc-section">
4769 <p>MagickSetImageClipMask() sets image clip mask.</p></ol>
4771 <p>The format of the MagickSetImageClipMask method is:</p>
4774 MagickBooleanType MagickSetImageClipMask(MagickWand *wand,
4775 const MagickWand *clip_mask)
4778 <p>A description of each parameter follows:</p></ol>
4781 <ol><p>the magick wand.</p></ol>
4784 <ol><p>the clip_mask wand.</p></ol>
4787 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4788 _8c.html" target="source" name="MagickSetImageColor">MagickSetImageColor</a></h2>
4789 <div class="doc-section">
4791 <p>MagickSetImageColor() set the entire wand canvas to the specified color.</p></ol>
4793 <p>The format of the MagickSetImageColor method is:</p>
4796 MagickBooleanType MagickSetImageColor(MagickWand *wand,
4797 const PixelWand *color)
4800 <p>A description of each parameter follows:</p></ol>
4803 <ol><p>the magick wand.</p></ol>
4806 <ol><p>the image color.</p></ol>
4809 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4810 _8c.html" target="source" name="MagickSetImageColormapColor">MagickSetImageColormapColor</a></h2>
4811 <div class="doc-section">
4813 <p>MagickSetImageColormapColor() sets the color of the specified colormap index.</p></ol>
4815 <p>The format of the MagickSetImageColormapColor method is:</p>
4818 MagickBooleanType MagickSetImageColormapColor(MagickWand *wand,
4819 const size_t index,const PixelWand *color)
4822 <p>A description of each parameter follows:</p></ol>
4825 <ol><p>the magick wand.</p></ol>
4828 <ol><p>the offset into the image colormap.</p></ol>
4831 <ol><p>Return the colormap color in this wand.</p></ol>
4834 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4835 _8c.html" target="source" name="MagickSetImageColorspace">MagickSetImageColorspace</a></h2>
4836 <div class="doc-section">
4838 <p>MagickSetImageColorspace() sets the image colorspace.</p></ol>
4840 <p>The format of the MagickSetImageColorspace method is:</p>
4843 MagickBooleanType MagickSetImageColorspace(MagickWand *wand,
4844 const ColorspaceType colorspace)
4847 <p>A description of each parameter follows:</p></ol>
4850 <ol><p>the magick wand.</p></ol>
4853 <ol><p>the image colorspace: UndefinedColorspace, RGBColorspace, GRAYColorspace, TransparentColorspace, OHTAColorspace, XYZColorspace, YCbCrColorspace, YCCColorspace, YIQColorspace, YPbPrColorspace, YPbPrColorspace, YUVColorspace, CMYKColorspace, sRGBColorspace, HSLColorspace, or HWBColorspace.</p></ol>
4856 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4857 _8c.html" target="source" name="MagickSetImageCompose">MagickSetImageCompose</a></h2>
4858 <div class="doc-section">
4860 <p>MagickSetImageCompose() sets the image composite operator, useful for specifying how to composite the image thumbnail when using the MagickMontageImage() method.</p></ol>
4862 <p>The format of the MagickSetImageCompose method is:</p>
4865 MagickBooleanType MagickSetImageCompose(MagickWand *wand,
4866 const CompositeOperator compose)
4869 <p>A description of each parameter follows:</p></ol>
4872 <ol><p>the magick wand.</p></ol>
4875 <ol><p>the image composite operator.</p></ol>
4878 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4879 _8c.html" target="source" name="MagickSetImageCompression">MagickSetImageCompression</a></h2>
4880 <div class="doc-section">
4882 <p>MagickSetImageCompression() sets the image compression.</p></ol>
4884 <p>The format of the MagickSetImageCompression method is:</p>
4887 MagickBooleanType MagickSetImageCompression(MagickWand *wand,
4888 const CompressionType compression)
4891 <p>A description of each parameter follows:</p></ol>
4894 <ol><p>the magick wand.</p></ol>
4896 <h5>compression</h5>
4897 <ol><p>the image compression type.</p></ol>
4900 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4901 _8c.html" target="source" name="MagickSetImageCompressionQuality">MagickSetImageCompressionQuality</a></h2>
4902 <div class="doc-section">
4904 <p>MagickSetImageCompressionQuality() sets the image compression quality.</p></ol>
4906 <p>The format of the MagickSetImageCompressionQuality method is:</p>
4909 MagickBooleanType MagickSetImageCompressionQuality(MagickWand *wand,
4910 const size_t quality)
4913 <p>A description of each parameter follows:</p></ol>
4916 <ol><p>the magick wand.</p></ol>
4919 <ol><p>the image compression tlityype.</p></ol>
4922 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4923 _8c.html" target="source" name="MagickSetImageDelay">MagickSetImageDelay</a></h2>
4924 <div class="doc-section">
4926 <p>MagickSetImageDelay() sets the image delay.</p></ol>
4928 <p>The format of the MagickSetImageDelay method is:</p>
4931 MagickBooleanType MagickSetImageDelay(MagickWand *wand,
4935 <p>A description of each parameter follows:</p></ol>
4938 <ol><p>the magick wand.</p></ol>
4941 <ol><p>the image delay in ticks-per-second units.</p></ol>
4944 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4945 _8c.html" target="source" name="MagickSetImageDepth">MagickSetImageDepth</a></h2>
4946 <div class="doc-section">
4948 <p>MagickSetImageDepth() sets the image depth.</p></ol>
4950 <p>The format of the MagickSetImageDepth method is:</p>
4953 MagickBooleanType MagickSetImageDepth(MagickWand *wand,
4957 <p>A description of each parameter follows:</p></ol>
4960 <ol><p>the magick wand.</p></ol>
4963 <ol><p>the image depth in bits: 8, 16, or 32.</p></ol>
4966 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4967 _8c.html" target="source" name="MagickSetImageDispose">MagickSetImageDispose</a></h2>
4968 <div class="doc-section">
4970 <p>MagickSetImageDispose() sets the image disposal method.</p></ol>
4972 <p>The format of the MagickSetImageDispose method is:</p>
4975 MagickBooleanType MagickSetImageDispose(MagickWand *wand,
4976 const DisposeType dispose)
4979 <p>A description of each parameter follows:</p></ol>
4982 <ol><p>the magick wand.</p></ol>
4985 <ol><p>the image disposeal type.</p></ol>
4988 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4989 _8c.html" target="source" name="MagickSetImageExtent">MagickSetImageExtent</a></h2>
4990 <div class="doc-section">
4992 <p>MagickSetImageExtent() sets the image size (i.e. columns & rows).</p></ol>
4994 <p>The format of the MagickSetImageExtent method is:</p>
4997 MagickBooleanType MagickSetImageExtent(MagickWand *wand,
4998 const size_t columns,const unsigned rows)
5001 <p>A description of each parameter follows:</p></ol>
5004 <ol><p>the magick wand.</p></ol>
5007 <ol><p>The image width in pixels.</p></ol>
5010 <ol><p>The image height in pixels.</p></ol>
5013 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5014 _8c.html" target="source" name="MagickSetImageFilename">MagickSetImageFilename</a></h2>
5015 <div class="doc-section">
5017 <p>MagickSetImageFilename() sets the filename of a particular image in a sequence.</p></ol>
5019 <p>The format of the MagickSetImageFilename method is:</p>
5022 MagickBooleanType MagickSetImageFilename(MagickWand *wand,
5023 const char *filename)
5026 <p>A description of each parameter follows:</p></ol>
5029 <ol><p>the magick wand.</p></ol>
5032 <ol><p>the image filename.</p></ol>
5035 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5036 _8c.html" target="source" name="MagickSetImageFormat">MagickSetImageFormat</a></h2>
5037 <div class="doc-section">
5039 <p>MagickSetImageFormat() sets the format of a particular image in a sequence.</p></ol>
5041 <p>The format of the MagickSetImageFormat method is:</p>
5044 MagickBooleanType MagickSetImageFormat(MagickWand *wand,
5048 <p>A description of each parameter follows:</p></ol>
5051 <ol><p>the magick wand.</p></ol>
5054 <ol><p>the image format.</p></ol>
5057 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5058 _8c.html" target="source" name="MagickSetImageFuzz">MagickSetImageFuzz</a></h2>
5059 <div class="doc-section">
5061 <p>MagickSetImageFuzz() sets the image fuzz.</p></ol>
5063 <p>The format of the MagickSetImageFuzz method is:</p>
5066 MagickBooleanType MagickSetImageFuzz(MagickWand *wand,
5070 <p>A description of each parameter follows:</p></ol>
5073 <ol><p>the magick wand.</p></ol>
5076 <ol><p>the image fuzz.</p></ol>
5079 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5080 _8c.html" target="source" name="MagickSetImageGamma">MagickSetImageGamma</a></h2>
5081 <div class="doc-section">
5083 <p>MagickSetImageGamma() sets the image gamma.</p></ol>
5085 <p>The format of the MagickSetImageGamma method is:</p>
5088 MagickBooleanType MagickSetImageGamma(MagickWand *wand,
5092 <p>A description of each parameter follows:</p></ol>
5095 <ol><p>the magick wand.</p></ol>
5098 <ol><p>the image gamma.</p></ol>
5101 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5102 _8c.html" target="source" name="MagickSetImageGravity">MagickSetImageGravity</a></h2>
5103 <div class="doc-section">
5105 <p>MagickSetImageGravity() sets the image gravity type.</p></ol>
5107 <p>The format of the MagickSetImageGravity method is:</p>
5110 MagickBooleanType MagickSetImageGravity(MagickWand *wand,
5111 const GravityType gravity)
5114 <p>A description of each parameter follows:</p></ol>
5117 <ol><p>the magick wand.</p></ol>
5120 <ol><p>the image interlace scheme: NoInterlace, LineInterlace, PlaneInterlace, PartitionInterlace.</p></ol>
5123 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5124 _8c.html" target="source" name="MagickSetImageGreenPrimary">MagickSetImageGreenPrimary</a></h2>
5125 <div class="doc-section">
5127 <p>MagickSetImageGreenPrimary() sets the image chromaticity green primary point.</p></ol>
5129 <p>The format of the MagickSetImageGreenPrimary method is:</p>
5132 MagickBooleanType MagickSetImageGreenPrimary(MagickWand *wand,
5133 const double x,const double y)
5136 <p>A description of each parameter follows:</p></ol>
5139 <ol><p>the magick wand.</p></ol>
5142 <ol><p>the green primary x-point.</p></ol>
5145 <ol><p>the green primary y-point.</p></ol>
5149 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5150 _8c.html" target="source" name="MagickSetImageInterlaceScheme">MagickSetImageInterlaceScheme</a></h2>
5151 <div class="doc-section">
5153 <p>MagickSetImageInterlaceScheme() sets the image interlace scheme.</p></ol>
5155 <p>The format of the MagickSetImageInterlaceScheme method is:</p>
5158 MagickBooleanType MagickSetImageInterlaceScheme(MagickWand *wand,
5159 const InterlaceType interlace)
5162 <p>A description of each parameter follows:</p></ol>
5165 <ol><p>the magick wand.</p></ol>
5168 <ol><p>the image interlace scheme: NoInterlace, LineInterlace, PlaneInterlace, PartitionInterlace.</p></ol>
5171 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5172 _8c.html" target="source" name="MagickSetImageInterpolateMethod">MagickSetImageInterpolateMethod</a></h2>
5173 <div class="doc-section">
5175 <p>MagickSetImageInterpolateMethod() sets the image interpolate pixel method.</p></ol>
5177 <p>The format of the MagickSetImageInterpolateMethod method is:</p>
5180 MagickBooleanType MagickSetImageInterpolateMethod(MagickWand *wand,
5181 const InterpolatePixelMethod method)
5184 <p>A description of each parameter follows:</p></ol>
5187 <ol><p>the magick wand.</p></ol>
5190 <ol><p>the image interpole pixel methods: choose from Undefined, Average, Bicubic, Bilinear, Filter, Integer, Mesh, NearestNeighbor.</p></ol>
5193 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5194 _8c.html" target="source" name="MagickSetImageIterations">MagickSetImageIterations</a></h2>
5195 <div class="doc-section">
5197 <p>MagickSetImageIterations() sets the image iterations.</p></ol>
5199 <p>The format of the MagickSetImageIterations method is:</p>
5202 MagickBooleanType MagickSetImageIterations(MagickWand *wand,
5203 const size_t iterations)
5206 <p>A description of each parameter follows:</p></ol>
5209 <ol><p>the magick wand.</p></ol>
5212 <ol><p>the image delay in 1/100th of a second.</p></ol>
5215 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5216 _8c.html" target="source" name="MagickSetImageMatte">MagickSetImageMatte</a></h2>
5217 <div class="doc-section">
5219 <p>MagickSetImageMatte() sets the image matte channel.</p></ol>
5221 <p>The format of the MagickSetImageMatteColor method is:</p>
5224 MagickBooleanType MagickSetImageMatteColor(MagickWand *wand,
5225 const MagickBooleanType *matte)
5228 <p>A description of each parameter follows:</p></ol>
5231 <ol><p>the magick wand.</p></ol>
5234 <ol><p>Set to MagickTrue to enable the image matte channel otherwise MagickFalse.</p></ol>
5237 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5238 _8c.html" target="source" name="MagickSetImageMatteColor">MagickSetImageMatteColor</a></h2>
5239 <div class="doc-section">
5241 <p>MagickSetImageMatteColor() sets the image matte color.</p></ol>
5243 <p>The format of the MagickSetImageMatteColor method is:</p>
5246 MagickBooleanType MagickSetImageMatteColor(MagickWand *wand,
5247 const PixelWand *matte)
5250 <p>A description of each parameter follows:</p></ol>
5253 <ol><p>the magick wand.</p></ol>
5256 <ol><p>the matte pixel wand.</p></ol>
5259 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5260 _8c.html" target="source" name="MagickSetImageOpacity">MagickSetImageOpacity</a></h2>
5261 <div class="doc-section">
5263 <p>MagickSetImageOpacity() sets the image to the specified opacity level.</p></ol>
5265 <p>The format of the MagickSetImageOpacity method is:</p>
5268 MagickBooleanType MagickSetImageOpacity(MagickWand *wand,
5272 <p>A description of each parameter follows:</p></ol>
5275 <ol><p>the magick wand.</p></ol>
5278 <ol><p>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.</p></ol>
5281 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5282 _8c.html" target="source" name="MagickSetImageOrientation">MagickSetImageOrientation</a></h2>
5283 <div class="doc-section">
5285 <p>MagickSetImageOrientation() sets the image orientation.</p></ol>
5287 <p>The format of the MagickSetImageOrientation method is:</p>
5290 MagickBooleanType MagickSetImageOrientation(MagickWand *wand,
5291 const OrientationType orientation)
5294 <p>A description of each parameter follows:</p></ol>
5297 <ol><p>the magick wand.</p></ol>
5299 <h5>orientation</h5>
5300 <ol><p>the image orientation type.</p></ol>
5303 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5304 _8c.html" target="source" name="MagickSetImagePage">MagickSetImagePage</a></h2>
5305 <div class="doc-section">
5307 <p>MagickSetImagePage() sets the page geometry of the image.</p></ol>
5309 <p>The format of the MagickSetImagePage method is:</p>
5312 MagickBooleanType MagickSetImagePage(MagickWand *wand,
5313 const size_t width,const size_t height,const ssize_t x,
5317 <p>A description of each parameter follows:</p></ol>
5320 <ol><p>the magick wand.</p></ol>
5323 <ol><p>the page width.</p></ol>
5326 <ol><p>the page height.</p></ol>
5329 <ol><p>the page x-offset.</p></ol>
5332 <ol><p>the page y-offset.</p></ol>
5335 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5336 _8c.html" target="source" name="MagickSetImageProgressMonitor">MagickSetImageProgressMonitor</a></h2>
5337 <div class="doc-section">
5339 <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>
5342 MagickBooleanType MagickProgressMonitor(const char *text,
5343 const MagickOffsetType offset,const MagickSizeType span,
5347 <p>If the progress monitor returns MagickFalse, the current operation is interrupted.</p></ol>
5349 <p>The format of the MagickSetImageProgressMonitor method is:</p>
5352 MagickProgressMonitor MagickSetImageProgressMonitor(MagickWand *wand
5353 const MagickProgressMonitor progress_monitor,void *client_data)
5356 <p>A description of each parameter follows:</p></ol>
5359 <ol><p>the magick wand.</p></ol>
5361 <h5>progress_monitor</h5>
5362 <ol><p>Specifies a pointer to a method to monitor progress of an image operation.</p></ol>
5364 <h5>client_data</h5>
5365 <ol><p>Specifies a pointer to any client data.</p></ol>
5368 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5369 _8c.html" target="source" name="MagickSetImageRedPrimary">MagickSetImageRedPrimary</a></h2>
5370 <div class="doc-section">
5372 <p>MagickSetImageRedPrimary() sets the image chromaticity red primary point.</p></ol>
5374 <p>The format of the MagickSetImageRedPrimary method is:</p>
5377 MagickBooleanType MagickSetImageRedPrimary(MagickWand *wand,
5378 const double x,const double y)
5381 <p>A description of each parameter follows:</p></ol>
5384 <ol><p>the magick wand.</p></ol>
5387 <ol><p>the red primary x-point.</p></ol>
5390 <ol><p>the red primary y-point.</p></ol>
5393 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5394 _8c.html" target="source" name="MagickSetImageRenderingIntent">MagickSetImageRenderingIntent</a></h2>
5395 <div class="doc-section">
5397 <p>MagickSetImageRenderingIntent() sets the image rendering intent.</p></ol>
5399 <p>The format of the MagickSetImageRenderingIntent method is:</p>
5402 MagickBooleanType MagickSetImageRenderingIntent(MagickWand *wand,
5403 const RenderingIntent rendering_intent)
5406 <p>A description of each parameter follows:</p></ol>
5409 <ol><p>the magick wand.</p></ol>
5411 <h5>rendering_intent</h5>
5412 <ol><p>the image rendering intent: UndefinedIntent, SaturationIntent, PerceptualIntent, AbsoluteIntent, or RelativeIntent.</p></ol>
5415 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5416 _8c.html" target="source" name="MagickSetImageResolution">MagickSetImageResolution</a></h2>
5417 <div class="doc-section">
5419 <p>MagickSetImageResolution() sets the image resolution.</p></ol>
5421 <p>The format of the MagickSetImageResolution method is:</p>
5424 MagickBooleanType MagickSetImageResolution(MagickWand *wand,
5425 const double x_resolution,const doubtl y_resolution)
5428 <p>A description of each parameter follows:</p></ol>
5431 <ol><p>the magick wand.</p></ol>
5433 <h5>x_resolution</h5>
5434 <ol><p>the image x resolution.</p></ol>
5436 <h5>y_resolution</h5>
5437 <ol><p>the image y resolution.</p></ol>
5440 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5441 _8c.html" target="source" name="MagickSetImageScene">MagickSetImageScene</a></h2>
5442 <div class="doc-section">
5444 <p>MagickSetImageScene() sets the image scene.</p></ol>
5446 <p>The format of the MagickSetImageScene method is:</p>
5449 MagickBooleanType MagickSetImageScene(MagickWand *wand,
5453 <p>A description of each parameter follows:</p></ol>
5456 <ol><p>the magick wand.</p></ol>
5459 <ol><p>the image scene number.</p></ol>
5462 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5463 _8c.html" target="source" name="MagickSetImageTicksPerSecond">MagickSetImageTicksPerSecond</a></h2>
5464 <div class="doc-section">
5466 <p>MagickSetImageTicksPerSecond() sets the image ticks-per-second.</p></ol>
5468 <p>The format of the MagickSetImageTicksPerSecond method is:</p>
5471 MagickBooleanType MagickSetImageTicksPerSecond(MagickWand *wand,
5472 const ssize_t ticks_per-second)
5475 <p>A description of each parameter follows:</p></ol>
5478 <ol><p>the magick wand.</p></ol>
5480 <h5>ticks_per_second</h5>
5481 <ol><p>the units to use for the image delay.</p></ol>
5484 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5485 _8c.html" target="source" name="MagickSetImageType">MagickSetImageType</a></h2>
5486 <div class="doc-section">
5488 <p>MagickSetImageType() sets the image type.</p></ol>
5490 <p>The format of the MagickSetImageType method is:</p>
5493 MagickBooleanType MagickSetImageType(MagickWand *wand,
5494 const ImageType image_type)
5497 <p>A description of each parameter follows:</p></ol>
5500 <ol><p>the magick wand.</p></ol>
5503 <ol><p>the image type: UndefinedType, BilevelType, GrayscaleType, GrayscaleMatteType, PaletteType, PaletteMatteType, TrueColorType, TrueColorMatteType, ColorSeparationType, ColorSeparationMatteType, or OptimizeType.</p></ol>
5506 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5507 _8c.html" target="source" name="MagickSetImageUnits">MagickSetImageUnits</a></h2>
5508 <div class="doc-section">
5510 <p>MagickSetImageUnits() sets the image units of resolution.</p></ol>
5512 <p>The format of the MagickSetImageUnits method is:</p>
5515 MagickBooleanType MagickSetImageUnits(MagickWand *wand,
5516 const ResolutionType units)
5519 <p>A description of each parameter follows:</p></ol>
5522 <ol><p>the magick wand.</p></ol>
5525 <ol><p>the image units of resolution : UndefinedResolution, PixelsPerInchResolution, or PixelsPerCentimeterResolution.</p></ol>
5528 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5529 _8c.html" target="source" name="MagickSetImageVirtualPixelMethod">MagickSetImageVirtualPixelMethod</a></h2>
5530 <div class="doc-section">
5532 <p>MagickSetImageVirtualPixelMethod() sets the image virtual pixel method.</p></ol>
5534 <p>The format of the MagickSetImageVirtualPixelMethod method is:</p>
5537 VirtualPixelMethod MagickSetImageVirtualPixelMethod(MagickWand *wand,
5538 const VirtualPixelMethod method)
5541 <p>A description of each parameter follows:</p></ol>
5544 <ol><p>the magick wand.</p></ol>
5547 <ol><p>the image virtual pixel method : UndefinedVirtualPixelMethod, ConstantVirtualPixelMethod, EdgeVirtualPixelMethod, MirrorVirtualPixelMethod, or TileVirtualPixelMethod.</p></ol>
5550 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5551 _8c.html" target="source" name="MagickSetImageWhitePoint">MagickSetImageWhitePoint</a></h2>
5552 <div class="doc-section">
5554 <p>MagickSetImageWhitePoint() sets the image chromaticity white point.</p></ol>
5556 <p>The format of the MagickSetImageWhitePoint method is:</p>
5559 MagickBooleanType MagickSetImageWhitePoint(MagickWand *wand,
5560 const double x,const double y)
5563 <p>A description of each parameter follows:</p></ol>
5566 <ol><p>the magick wand.</p></ol>
5569 <ol><p>the white x-point.</p></ol>
5572 <ol><p>the white y-point.</p></ol>
5575 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5576 _8c.html" target="source" name="MagickShadeImage">MagickShadeImage</a></h2>
5577 <div class="doc-section">
5579 <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>
5581 <p>The format of the MagickShadeImage method is:</p>
5584 MagickBooleanType MagickShadeImage(MagickWand *wand,
5585 const MagickBooleanType gray,const double azimuth,
5586 const double elevation)
5589 <p>A description of each parameter follows:</p></ol>
5592 <ol><p>the magick wand.</p></ol>
5595 <ol><p>A value other than zero shades the intensity of each pixel.</p></ol>
5597 <h5>azimuth, elevation</h5>
5598 <ol><p>Define the light source direction.</p></ol>
5601 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5602 _8c.html" target="source" name="MagickShadowImage">MagickShadowImage</a></h2>
5603 <div class="doc-section">
5605 <p>MagickShadowImage() simulates an image shadow.</p></ol>
5607 <p>The format of the MagickShadowImage method is:</p>
5610 MagickBooleanType MagickShadowImage(MagickWand *wand,
5611 const double opacity,const double sigma,const ssize_t x,const ssize_t y)
5614 <p>A description of each parameter follows:</p></ol>
5617 <ol><p>the magick wand.</p></ol>
5620 <ol><p>percentage transparency.</p></ol>
5623 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
5626 <ol><p>the shadow x-offset.</p></ol>
5629 <ol><p>the shadow y-offset.</p></ol>
5632 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5633 _8c.html" target="source" name="MagickSharpenImage">MagickSharpenImage</a></h2>
5634 <div class="doc-section">
5636 <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>
5638 <p>The format of the MagickSharpenImage method is:</p>
5641 MagickBooleanType MagickSharpenImage(MagickWand *wand,
5642 const double radius,const double sigma)
5643 MagickBooleanType MagickSharpenImageChannel(MagickWand *wand,
5644 const ChannelType channel,const double radius,const double sigma)
5647 <p>A description of each parameter follows:</p></ol>
5650 <ol><p>the magick wand.</p></ol>
5653 <ol><p>the image channel(s).</p></ol>
5656 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
5659 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
5662 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5663 _8c.html" target="source" name="MagickShaveImage">MagickShaveImage</a></h2>
5664 <div class="doc-section">
5666 <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>
5668 <p>The format of the MagickShaveImage method is:</p>
5671 MagickBooleanType MagickShaveImage(MagickWand *wand,
5672 const size_t columns,const size_t rows)
5675 <p>A description of each parameter follows:</p></ol>
5678 <ol><p>the magick wand.</p></ol>
5681 <ol><p>the number of columns in the scaled image.</p></ol>
5684 <ol><p>the number of rows in the scaled image.</p></ol>
5688 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5689 _8c.html" target="source" name="MagickShearImage">MagickShearImage</a></h2>
5690 <div class="doc-section">
5692 <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>
5694 <p>The format of the MagickShearImage method is:</p>
5697 MagickBooleanType MagickShearImage(MagickWand *wand,
5698 const PixelWand *background,const double x_shear,onst double y_shear)
5701 <p>A description of each parameter follows:</p></ol>
5704 <ol><p>the magick wand.</p></ol>
5707 <ol><p>the background pixel wand.</p></ol>
5710 <ol><p>the number of degrees to shear the image.</p></ol>
5713 <ol><p>the number of degrees to shear the image.</p></ol>
5716 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5717 _8c.html" target="source" name="MagickSigmoidalContrastImage">MagickSigmoidalContrastImage</a></h2>
5718 <div class="doc-section">
5720 <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>
5722 <p>The format of the MagickSigmoidalContrastImage method is:</p>
5725 MagickBooleanType MagickSigmoidalContrastImage(MagickWand *wand,
5726 const MagickBooleanType sharpen,const double alpha,const double beta)
5727 MagickBooleanType MagickSigmoidalContrastImageChannel(MagickWand *wand,
5728 const ChannelType channel,const MagickBooleanType sharpen,
5729 const double alpha,const double beta)
5732 <p>A description of each parameter follows:</p></ol>
5735 <ol><p>the magick wand.</p></ol>
5738 <ol><p>Identify which channel to level: RedChannel, GreenChannel,</p></ol>
5741 <ol><p>Increase or decrease image contrast.</p></ol>
5744 <ol><p>control the "shoulder" of the contast curve.</p></ol>
5747 <ol><p>control the "toe" of the contast curve.</p></ol>
5750 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5751 _8c.html" target="source" name="MagickSimilarityImage">MagickSimilarityImage</a></h2>
5752 <div class="doc-section">
5754 <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>
5756 <p>The format of the MagickSimilarityImage method is:</p>
5759 MagickWand *MagickSimilarityImage(MagickWand *wand,
5760 const MagickWand *reference,RectangeInfo *offset,double *similarity)
5763 <p>A description of each parameter follows:</p></ol>
5766 <ol><p>the magick wand.</p></ol>
5769 <ol><p>the reference wand.</p></ol>
5772 <ol><p>the best match offset of the reference image within the image.</p></ol>
5775 <ol><p>the computed similarity between the images.</p></ol>
5778 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5779 _8c.html" target="source" name="MagickSketchImage">MagickSketchImage</a></h2>
5780 <div class="doc-section">
5782 <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>
5784 <p>The format of the MagickSketchImage method is:</p>
5787 MagickBooleanType MagickSketchImage(MagickWand *wand,
5788 const double radius,const double sigma,const double angle)
5791 <p>A description of each parameter follows:</p></ol>
5794 <ol><p>the magick wand.</p></ol>
5797 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
5800 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
5803 <ol><p>Apply the effect along this angle.</p></ol>
5806 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5807 _8c.html" target="source" name="MagickSolarizeImage">MagickSolarizeImage</a></h2>
5808 <div class="doc-section">
5810 <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>
5812 <p>The format of the MagickSolarizeImage method is:</p>
5815 MagickBooleanType MagickSolarizeImage(MagickWand *wand,
5816 const double threshold)
5819 <p>A description of each parameter follows:</p></ol>
5822 <ol><p>the magick wand.</p></ol>
5825 <ol><p>Define the extent of the solarization.</p></ol>
5828 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5829 _8c.html" target="source" name="MagickSparseColorImage">MagickSparseColorImage</a></h2>
5830 <div class="doc-section">
5832 <p>MagickSparseColorImage(), given a set of coordinates, interpolates the colors found at those coordinates, across the whole image, using various methods.</p></ol>
5834 <p>The format of the MagickSparseColorImage method is:</p>
5837 MagickBooleanType MagickSparseColorImage(MagickWand *wand,
5838 const ChannelType channel,const SparseColorMethod method,
5839 const size_t number_arguments,const double *arguments)
5842 <p>A description of each parameter follows:</p></ol>
5845 <ol><p>the image to be sparseed.</p></ol>
5848 <ol><p>the method of image sparseion.</p></ol>
5850 <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>
5852 <p>Bilinear has no simple inverse mapping so will not allow 'bestfit' style of image sparseion.</p></ol>
5854 <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>
5856 <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>
5858 <h5>number_arguments</h5>
5859 <ol><p>the number of arguments given for this sparseion method.</p></ol>
5862 <ol><p>the arguments for this sparseion method.</p></ol>
5865 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5866 _8c.html" target="source" name="MagickSpliceImage">MagickSpliceImage</a></h2>
5867 <div class="doc-section">
5869 <p>MagickSpliceImage() splices a solid color into the image.</p></ol>
5871 <p>The format of the MagickSpliceImage method is:</p>
5874 MagickBooleanType MagickSpliceImage(MagickWand *wand,
5875 const size_t width,const size_t height,const ssize_t x,
5879 <p>A description of each parameter follows:</p></ol>
5882 <ol><p>the magick wand.</p></ol>
5885 <ol><p>the region width.</p></ol>
5888 <ol><p>the region height.</p></ol>
5891 <ol><p>the region x offset.</p></ol>
5894 <ol><p>the region y offset.</p></ol>
5897 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5898 _8c.html" target="source" name="MagickSpreadImage">MagickSpreadImage</a></h2>
5899 <div class="doc-section">
5901 <p>MagickSpreadImage() is a special effects method that randomly displaces each pixel in a block defined by the radius parameter.</p></ol>
5903 <p>The format of the MagickSpreadImage method is:</p>
5906 MagickBooleanType MagickSpreadImage(MagickWand *wand,const double radius)
5909 <p>A description of each parameter follows:</p></ol>
5912 <ol><p>the magick wand.</p></ol>
5915 <ol><p>Choose a random pixel in a neighborhood of this extent.</p></ol>
5918 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5919 _8c.html" target="source" name="MagickSteganoImage">MagickSteganoImage</a></h2>
5920 <div class="doc-section">
5922 <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>
5924 <p>The format of the MagickSteganoImage method is:</p>
5927 MagickWand *MagickSteganoImage(MagickWand *wand,
5928 const MagickWand *watermark_wand,const ssize_t offset)
5931 <p>A description of each parameter follows:</p></ol>
5934 <ol><p>the magick wand.</p></ol>
5936 <h5>watermark_wand</h5>
5937 <ol><p>the watermark wand.</p></ol>
5940 <ol><p>Start hiding at this offset into the image.</p></ol>
5943 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5944 _8c.html" target="source" name="MagickStereoImage">MagickStereoImage</a></h2>
5945 <div class="doc-section">
5947 <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>
5949 <p>The format of the MagickStereoImage method is:</p>
5952 MagickWand *MagickStereoImage(MagickWand *wand,
5953 const MagickWand *offset_wand)
5956 <p>A description of each parameter follows:</p></ol>
5959 <ol><p>the magick wand.</p></ol>
5961 <h5>offset_wand</h5>
5962 <ol><p>Another image wand.</p></ol>
5965 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5966 _8c.html" target="source" name="MagickStripImage">MagickStripImage</a></h2>
5967 <div class="doc-section">
5969 <p>MagickStripImage() strips an image of all profiles and comments.</p></ol>
5971 <p>The format of the MagickStripImage method is:</p>
5974 MagickBooleanType MagickStripImage(MagickWand *wand)
5977 <p>A description of each parameter follows:</p></ol>
5980 <ol><p>the magick wand.</p></ol>
5983 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5984 _8c.html" target="source" name="MagickSwirlImage">MagickSwirlImage</a></h2>
5985 <div class="doc-section">
5987 <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>
5989 <p>The format of the MagickSwirlImage method is:</p>
5992 MagickBooleanType MagickSwirlImage(MagickWand *wand,const double degrees)
5995 <p>A description of each parameter follows:</p></ol>
5998 <ol><p>the magick wand.</p></ol>
6001 <ol><p>Define the tightness of the swirling effect.</p></ol>
6004 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6005 _8c.html" target="source" name="MagickTextureImage">MagickTextureImage</a></h2>
6006 <div class="doc-section">
6008 <p>MagickTextureImage() repeatedly tiles the texture image across and down the image canvas.</p></ol>
6010 <p>The format of the MagickTextureImage method is:</p>
6013 MagickWand *MagickTextureImage(MagickWand *wand,
6014 const MagickWand *texture_wand)
6017 <p>A description of each parameter follows:</p></ol>
6020 <ol><p>the magick wand.</p></ol>
6022 <h5>texture_wand</h5>
6023 <ol><p>the texture wand</p></ol>
6026 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6027 _8c.html" target="source" name="MagickThresholdImage">MagickThresholdImage</a></h2>
6028 <div class="doc-section">
6030 <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>
6032 <p>The format of the MagickThresholdImage method is:</p>
6035 MagickBooleanType MagickThresholdImage(MagickWand *wand,
6036 const double threshold)
6037 MagickBooleanType MagickThresholdImageChannel(MagickWand *wand,
6038 const ChannelType channel,const double threshold)
6041 <p>A description of each parameter follows:</p></ol>
6044 <ol><p>the magick wand.</p></ol>
6047 <ol><p>the image channel(s).</p></ol>
6050 <ol><p>Define the threshold value.</p></ol>
6053 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6054 _8c.html" target="source" name="MagickThumbnailImage">MagickThumbnailImage</a></h2>
6055 <div class="doc-section">
6057 <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>
6059 <p>The format of the MagickThumbnailImage method is:</p>
6062 MagickBooleanType MagickThumbnailImage(MagickWand *wand,
6063 const size_t columns,const size_t rows)
6066 <p>A description of each parameter follows:</p></ol>
6069 <ol><p>the magick wand.</p></ol>
6072 <ol><p>the number of columns in the scaled image.</p></ol>
6075 <ol><p>the number of rows in the scaled image.</p></ol>
6078 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6079 _8c.html" target="source" name="MagickTintImage">MagickTintImage</a></h2>
6080 <div class="doc-section">
6082 <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>
6084 <p>The format of the MagickTintImage method is:</p>
6087 MagickBooleanType MagickTintImage(MagickWand *wand,
6088 const PixelWand *tint,const PixelWand *opacity)
6091 <p>A description of each parameter follows:</p></ol>
6094 <ol><p>the magick wand.</p></ol>
6097 <ol><p>the tint pixel wand.</p></ol>
6100 <ol><p>the opacity pixel wand.</p></ol>
6103 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6104 _8c.html" target="source" name="MagickTransformImage">MagickTransformImage</a></h2>
6105 <div class="doc-section">
6107 <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>
6109 <p>The format of the MagickTransformImage method is:</p>
6112 MagickWand *MagickTransformImage(MagickWand *wand,const char *crop,
6113 const char *geometry)
6116 <p>A description of each parameter follows:</p></ol>
6119 <ol><p>the magick wand.</p></ol>
6122 <ol><p>A crop geometry string. This geometry defines a subregion of the image to crop.</p></ol>
6125 <ol><p>An image geometry string. This geometry defines the final size of the image.</p></ol>
6128 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6129 _8c.html" target="source" name="MagickTransformImageColorspace">MagickTransformImageColorspace</a></h2>
6130 <div class="doc-section">
6132 <p>MagickTransformImageColorspace() transform the image colorspace.</p></ol>
6134 <p>The format of the MagickTransformImageColorspace method is:</p>
6137 MagickBooleanType MagickTransformImageColorspace(MagickWand *wand,
6138 const ColorspaceType colorspace)
6141 <p>A description of each parameter follows:</p></ol>
6144 <ol><p>the magick wand.</p></ol>
6147 <ol><p>the image colorspace: UndefinedColorspace, RGBColorspace, GRAYColorspace, TransparentColorspace, OHTAColorspace, XYZColorspace, YCbCrColorspace, YCCColorspace, YIQColorspace, YPbPrColorspace, YPbPrColorspace, YUVColorspace, CMYKColorspace, sRGBColorspace, HSLColorspace, or HWBColorspace.</p></ol>
6150 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6151 _8c.html" target="source" name="MagickTransparentPaintImage">MagickTransparentPaintImage</a></h2>
6152 <div class="doc-section">
6154 <p>MagickTransparentPaintImage() changes any pixel that matches color with the color defined by fill.</p></ol>
6156 <p>The format of the MagickTransparentPaintImage method is:</p>
6159 MagickBooleanType MagickTransparentPaintImage(MagickWand *wand,
6160 const PixelWand *target,const double alpha,const double fuzz,
6161 const MagickBooleanType invert)
6164 <p>A description of each parameter follows:</p></ol>
6167 <ol><p>the magick wand.</p></ol>
6170 <ol><p>Change this target color to specified opacity value within the image.</p></ol>
6173 <ol><p>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.</p></ol>
6176 <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>
6179 <ol><p>paint any pixel that does not match the target color.</p></ol>
6182 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6183 _8c.html" target="source" name="MagickTransposeImage">MagickTransposeImage</a></h2>
6184 <div class="doc-section">
6186 <p>MagickTransposeImage() creates a vertical mirror image by reflecting the pixels around the central x-axis while rotating them 90-degrees.</p></ol>
6188 <p>The format of the MagickTransposeImage method is:</p>
6191 MagickBooleanType MagickTransposeImage(MagickWand *wand)
6194 <p>A description of each parameter follows:</p></ol>
6197 <ol><p>the magick wand.</p></ol>
6200 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6201 _8c.html" target="source" name="MagickTransverseImage">MagickTransverseImage</a></h2>
6202 <div class="doc-section">
6204 <p>MagickTransverseImage() creates a horizontal mirror image by reflecting the pixels around the central y-axis while rotating them 270-degrees.</p></ol>
6206 <p>The format of the MagickTransverseImage method is:</p>
6209 MagickBooleanType MagickTransverseImage(MagickWand *wand)
6212 <p>A description of each parameter follows:</p></ol>
6215 <ol><p>the magick wand.</p></ol>
6218 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6219 _8c.html" target="source" name="MagickTrimImage">MagickTrimImage</a></h2>
6220 <div class="doc-section">
6222 <p>MagickTrimImage() remove edges that are the background color from the image.</p></ol>
6224 <p>The format of the MagickTrimImage method is:</p>
6227 MagickBooleanType MagickTrimImage(MagickWand *wand,const double fuzz)
6230 <p>A description of each parameter follows:</p></ol>
6233 <ol><p>the magick wand.</p></ol>
6236 <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>
6239 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6240 _8c.html" target="source" name="MagickUniqueImageColors">MagickUniqueImageColors</a></h2>
6241 <div class="doc-section">
6243 <p>MagickUniqueImageColors() discards all but one of any pixel color.</p></ol>
6245 <p>The format of the MagickUniqueImageColors method is:</p>
6248 MagickBooleanType MagickUniqueImageColors(MagickWand *wand)
6251 <p>A description of each parameter follows:</p></ol>
6254 <ol><p>the magick wand.</p></ol>
6257 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6258 _8c.html" target="source" name="MagickUnsharpMaskImage">MagickUnsharpMaskImage</a></h2>
6259 <div class="doc-section">
6261 <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>
6263 <p>The format of the MagickUnsharpMaskImage method is:</p>
6266 MagickBooleanType MagickUnsharpMaskImage(MagickWand *wand,
6267 const double radius,const double sigma,const double amount,
6268 const double threshold)
6269 MagickBooleanType MagickUnsharpMaskImageChannel(MagickWand *wand,
6270 const ChannelType channel,const double radius,const double sigma,
6271 const double amount,const double threshold)
6274 <p>A description of each parameter follows:</p></ol>
6277 <ol><p>the magick wand.</p></ol>
6280 <ol><p>the image channel(s).</p></ol>
6283 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
6286 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
6289 <ol><p>the percentage of the difference between the original and the blur image that is added back into the original.</p></ol>
6292 <ol><p>the threshold in pixels needed to apply the diffence amount.</p></ol>
6295 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6296 _8c.html" target="source" name="MagickVignetteImage">MagickVignetteImage</a></h2>
6297 <div class="doc-section">
6299 <p>MagickVignetteImage() softens the edges of the image in vignette style.</p></ol>
6301 <p>The format of the MagickVignetteImage method is:</p>
6304 MagickBooleanType MagickVignetteImage(MagickWand *wand,
6305 const double black_point,const double white_point,const ssize_t x,
6309 <p>A description of each parameter follows:</p></ol>
6312 <ol><p>the magick wand.</p></ol>
6314 <h5>black_point</h5>
6315 <ol><p>the black point.</p></ol>
6317 <h5>white_point</h5>
6318 <ol><p>the white point.</p></ol>
6321 <ol><p>Define the x and y ellipse offset.</p></ol>
6324 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6325 _8c.html" target="source" name="MagickWaveImage">MagickWaveImage</a></h2>
6326 <div class="doc-section">
6328 <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>
6330 <p>The format of the MagickWaveImage method is:</p>
6333 MagickBooleanType MagickWaveImage(MagickWand *wand,const double amplitude,
6334 const double wave_length)
6337 <p>A description of each parameter follows:</p></ol>
6340 <ol><p>the magick wand.</p></ol>
6342 <h5>amplitude, wave_length</h5>
6343 <ol><p>Define the amplitude and wave length of the sine wave.</p></ol>
6346 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6347 _8c.html" target="source" name="MagickWhiteThresholdImage">MagickWhiteThresholdImage</a></h2>
6348 <div class="doc-section">
6350 <p>MagickWhiteThresholdImage() is like ThresholdImage() but force all pixels above the threshold into white while leaving all pixels below the threshold unchanged.</p></ol>
6352 <p>The format of the MagickWhiteThresholdImage method is:</p>
6355 MagickBooleanType MagickWhiteThresholdImage(MagickWand *wand,
6356 const PixelWand *threshold)
6359 <p>A description of each parameter follows:</p></ol>
6362 <ol><p>the magick wand.</p></ol>
6365 <ol><p>the pixel wand.</p></ol>
6368 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6369 _8c.html" target="source" name="MagickWriteImage">MagickWriteImage</a></h2>
6370 <div class="doc-section">
6372 <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>
6374 <p>The format of the MagickWriteImage method is:</p>
6377 MagickBooleanType MagickWriteImage(MagickWand *wand,
6378 const char *filename)
6381 <p>A description of each parameter follows:</p></ol>
6384 <ol><p>the magick wand.</p></ol>
6387 <ol><p>the image filename.</p></ol>
6391 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6392 _8c.html" target="source" name="MagickWriteImageFile">MagickWriteImageFile</a></h2>
6393 <div class="doc-section">
6395 <p>MagickWriteImageFile() writes an image to an open file descriptor.</p></ol>
6397 <p>The format of the MagickWriteImageFile method is:</p>
6400 MagickBooleanType MagickWriteImageFile(MagickWand *wand,FILE *file)
6403 <p>A description of each parameter follows:</p></ol>
6406 <ol><p>the magick wand.</p></ol>
6409 <ol><p>the file descriptor.</p></ol>
6412 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6413 _8c.html" target="source" name="MagickWriteImages">MagickWriteImages</a></h2>
6414 <div class="doc-section">
6416 <p>MagickWriteImages() writes an image or image sequence.</p></ol>
6418 <p>The format of the MagickWriteImages method is:</p>
6421 MagickBooleanType MagickWriteImages(MagickWand *wand,
6422 const char *filename,const MagickBooleanType adjoin)
6425 <p>A description of each parameter follows:</p></ol>
6428 <ol><p>the magick wand.</p></ol>
6431 <ol><p>the image filename.</p></ol>
6434 <ol><p>join images into a single multi-image file.</p></ol>
6437 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6438 _8c.html" target="source" name="MagickWriteImagesFile">MagickWriteImagesFile</a></h2>
6439 <div class="doc-section">
6441 <p>MagickWriteImagesFile() writes an image sequence to an open file descriptor.</p></ol>
6443 <p>The format of the MagickWriteImagesFile method is:</p>
6446 MagickBooleanType MagickWriteImagesFile(MagickWand *wand,FILE *file)
6449 <p>A description of each parameter follows:</p></ol>
6452 <ol><p>the magick wand.</p></ol>
6455 <ol><p>the file descriptor.</p></ol>
6461 <div id="linkbar">
\r
6462 <!-- <span id="linkbar-west"> </span> -->
\r
6463 <span id="linkbar-center">
\r
6464 <a href="http://www.imagemagick.org/discourse-server/">Discourse Server</a> •
\r
6465 <a href="http://www.imagemagick.org/MagickStudio/scripts/MagickStudio.cgi">Studio</a>
\r
6467 <span id="linkbar-east"> </span>
\r
6469 <div class="footer">
\r
6470 <span id="footer-west">© 1999-2010 ImageMagick Studio LLC</span>
\r
6471 <span id="footer-east"> <a href="../http://www.imagemagick.org/script/contact.php">Contact the Wizards</a></span>
\r
6473 <div style="clear: both; margin: 0; width: 100%; "></div>
\r