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="screen,projection"><!--
\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 href="../../index.html">About ImageMagick</a>
50 <div class="sep"></div>
\r
52 <a href="../../www/command-line-tools.html">Command-line Tools</a>
55 <a href="../../www/command-line-processing.html">Processing</a>
58 <a href="../../www/command-line-options.html">Options</a>
61 <a href="http://www.imagemagick.org/Usage/">Usage</a>
64 <a href="../../www/api.html">Program Interfaces</a>
67 <a href="../../www/magick-wand.html">MagickWand</a>
70 <a href="../../www/magick-core.html">MagickCore</a>
73 <a href="../../www/perl-magick.html">PerlMagick</a>
76 <a href="../../Magick++/">Magick++</a>
79 <a href="../../www/architecture.html">Architecture</a>
81 <div class="sep"></div>
\r
83 <a href="../../www/install-source.html">Install from Source</a>
86 <a href="../../www/install-source.html#unix">Unix</a>
89 <a href="../../www/install-source.html#windows">Windows</a>
92 <a href="../../www/binary-releases.html">Binary Releases</a>
95 <a href="../../www/binary-releases.html#unix">Unix</a>
98 <a href="../../www/binary-releases.html#macosx">Mac OS X</a>
101 <a href="../../www/binary-releases.html#windows">Windows</a>
104 <a href="../../www/resources.html">Resources</a>
106 <div class="sep"></div>
\r
108 <a href="../../www/download.html">Download</a>
110 <div class="sep"></div>
\r
112 <a href="../http://www.imagemagick.org/script/search.php">Search</a>
114 <div class="sep"></div>
\r
116 <a href="../../www/sitemap.html">Site Map</a>
119 <a href="../../www/links.html">Links</a>
121 <div class="sep"></div>
\r
123 <a href="../../www/sponsors.html">Sponsors:</a>
125 <div class="sponsbox">
126 <div class="sponsor">
127 <a href="http://www.geschenke-elsen.de/" title="Lampe Berger">Lampe Berger</a><!-- 20106101000040 -->
129 <div class="sponsor">
130 <a href="http://www.deko.net">Deko.net</a><!-- 201101010600 Peterssen-->
132 <div class="sponsor">
133 <a href="http://www.tomsgutscheine.de">Tom's Gutscheine</a><!-- 201005010360 invendio.de-->
135 <div class="sponsor">
136 <a href="http://www.online-kredit-index.de">Kredit</a><!-- 201007010120 Buchhorn -->
138 <div class="sponsor">
139 <a href="http://www.blumenversender.com">Blumenversand</a><!-- 201005010120 -->
141 <div class="sponsor">
142 <a href="http://www.print24.de/">Druckerei</a><!-- 201009010720 -->
144 <div class="sponsor">
145 <a href="http://www.allesdruck.de">Druckerei Online</a><!-- 201012011200 allesdruck.de-->
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="#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="#MagickRecolorImage">MagickRecolorImage</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="#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 unsigned long columns,const unsigned long 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 unsigned long width,const unsigned long height,const long 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 unsigned long width,
564 const unsigned long height)
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 unsigned long width,const unsigned long height,const long 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="MagickCombineImages">MagickCombineImages</a></h2>
846 <div class="doc-section">
848 <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>
850 <p>The format of the MagickCombineImages method is:</p>
853 MagickWand *MagickCombineImages(MagickWand *wand,
854 const ChannelType channel)
857 <p>A description of each parameter follows:</p></ol>
860 <ol><p>the magick wand.</p></ol>
863 <ol><p>the channel.</p></ol>
866 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
867 _8c.html" target="source" name="MagickCommentImage">MagickCommentImage</a></h2>
868 <div class="doc-section">
870 <p>MagickCommentImage() adds a comment to your image.</p></ol>
872 <p>The format of the MagickCommentImage method is:</p>
875 MagickBooleanType MagickCommentImage(MagickWand *wand,
879 <p>A description of each parameter follows:</p></ol>
882 <ol><p>the magick wand.</p></ol>
885 <ol><p>the image comment.</p></ol>
888 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
889 _8c.html" target="source" name="MagickCompareImageChannels">MagickCompareImageChannels</a></h2>
890 <div class="doc-section">
892 <p>MagickCompareImageChannels() compares one or more image channels of an image to a reconstructed image and returns the difference image.</p></ol>
894 <p>The format of the MagickCompareImageChannels method is:</p>
897 MagickWand *MagickCompareImageChannels(MagickWand *wand,
898 const MagickWand *reference,const ChannelType channel,
899 const MetricType metric,double *distortion)
902 <p>A description of each parameter follows:</p></ol>
905 <ol><p>the magick wand.</p></ol>
908 <ol><p>the reference wand.</p></ol>
911 <ol><p>the channel.</p></ol>
914 <ol><p>the metric.</p></ol>
917 <ol><p>the computed distortion between the images.</p></ol>
920 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
921 _8c.html" target="source" name="MagickCompareImageLayers">MagickCompareImageLayers</a></h2>
922 <div class="doc-section">
924 <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>
926 <p>The format of the MagickCompareImageLayers method is:</p>
929 MagickWand *MagickCompareImageLayers(MagickWand *wand,
930 const ImageLayerMethod method)
933 <p>A description of each parameter follows:</p></ol>
936 <ol><p>the magick wand.</p></ol>
939 <ol><p>the compare method.</p></ol>
942 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
943 _8c.html" target="source" name="MagickCompareImages">MagickCompareImages</a></h2>
944 <div class="doc-section">
946 <p>MagickCompareImages() compares an image to a reconstructed image and returns the specified difference image.</p></ol>
948 <p>The format of the MagickCompareImages method is:</p>
951 MagickWand *MagickCompareImages(MagickWand *wand,
952 const MagickWand *reference,const MetricType metric,
956 <p>A description of each parameter follows:</p></ol>
959 <ol><p>the magick wand.</p></ol>
962 <ol><p>the reference wand.</p></ol>
965 <ol><p>the metric.</p></ol>
968 <ol><p>the computed distortion between the images.</p></ol>
971 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
972 _8c.html" target="source" name="MagickCompositeImage">MagickCompositeImage</a></h2>
973 <div class="doc-section">
975 <p>MagickCompositeImage() composite one image onto another at the specified offset.</p></ol>
977 <p>The format of the MagickCompositeImage method is:</p>
980 MagickBooleanType MagickCompositeImage(MagickWand *wand,
981 const MagickWand *composite_wand,const CompositeOperator compose,
982 const long x,const long y)
983 MagickBooleanType MagickCompositeImageChannel(MagickWand *wand,
984 const ChannelType channel,const MagickWand *composite_wand,
985 const CompositeOperator compose,const long x,const long y)
988 <p>A description of each parameter follows:</p></ol>
991 <ol><p>the magick wand.</p></ol>
993 <h5>composite_image</h5>
994 <ol><p>the composite image.</p></ol>
997 <ol><p>This operator affects how the composite is applied to the image. The default is Over. Choose from these operators:</p>
1000 OverCompositeOp InCompositeOp OutCompositeOp
1001 AtopCompositeOp XorCompositeOp PlusCompositeOp
1002 MinusCompositeOp AddCompositeOp SubtractCompositeOp
1003 DifferenceCompositeOp BumpmapCompositeOp CopyCompositeOp
1008 <ol><p>the column offset of the composited image.</p></ol>
1011 <ol><p>the row offset of the composited image.</p></ol>
1014 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1015 _8c.html" target="source" name="MagickContrastImage">MagickContrastImage</a></h2>
1016 <div class="doc-section">
1018 <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>
1020 <p>The format of the MagickContrastImage method is:</p>
1023 MagickBooleanType MagickContrastImage(MagickWand *wand,
1024 const MagickBooleanType sharpen)
1027 <p>A description of each parameter follows:</p></ol>
1030 <ol><p>the magick wand.</p></ol>
1033 <ol><p>Increase or decrease image contrast.</p></ol>
1037 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1038 _8c.html" target="source" name="MagickContrastStretchImage">MagickContrastStretchImage</a></h2>
1039 <div class="doc-section">
1041 <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>
1043 <p>The format of the MagickContrastStretchImage method is:</p>
1046 MagickBooleanType MagickContrastStretchImage(MagickWand *wand,
1047 const double black_point,const double white_point)
1048 MagickBooleanType MagickContrastStretchImageChannel(MagickWand *wand,
1049 const ChannelType channel,const double black_point,
1050 const double white_point)
1053 <p>A description of each parameter follows:</p></ol>
1056 <ol><p>the magick wand.</p></ol>
1059 <ol><p>the image channel(s).</p></ol>
1061 <h5>black_point</h5>
1062 <ol><p>the black point.</p></ol>
1064 <h5>white_point</h5>
1065 <ol><p>the white point.</p></ol>
1068 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1069 _8c.html" target="source" name="MagickConvolveImage">MagickConvolveImage</a></h2>
1070 <div class="doc-section">
1072 <p>MagickConvolveImage() applies a custom convolution kernel to the image.</p></ol>
1074 <p>The format of the MagickConvolveImage method is:</p>
1077 MagickBooleanType MagickConvolveImage(MagickWand *wand,
1078 const unsigned long order,const double *kernel)
1079 MagickBooleanType MagickConvolveImageChannel(MagickWand *wand,
1080 const ChannelType channel,const unsigned long order,
1081 const double *kernel)
1084 <p>A description of each parameter follows:</p></ol>
1087 <ol><p>the magick wand.</p></ol>
1090 <ol><p>the image channel(s).</p></ol>
1093 <ol><p>the number of columns and rows in the filter kernel.</p></ol>
1096 <ol><p>An array of doubles representing the convolution kernel.</p></ol>
1099 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1100 _8c.html" target="source" name="MagickCropImage">MagickCropImage</a></h2>
1101 <div class="doc-section">
1103 <p>MagickCropImage() extracts a region of the image.</p></ol>
1105 <p>The format of the MagickCropImage method is:</p>
1108 MagickBooleanType MagickCropImage(MagickWand *wand,
1109 const unsigned long width,const unsigned long height,const long x,
1113 <p>A description of each parameter follows:</p></ol>
1116 <ol><p>the magick wand.</p></ol>
1119 <ol><p>the region width.</p></ol>
1122 <ol><p>the region height.</p></ol>
1125 <ol><p>the region x-offset.</p></ol>
1128 <ol><p>the region y-offset.</p></ol>
1131 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1132 _8c.html" target="source" name="MagickCycleColormapImage">MagickCycleColormapImage</a></h2>
1133 <div class="doc-section">
1135 <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>
1137 <p>The format of the MagickCycleColormapImage method is:</p>
1140 MagickBooleanType MagickCycleColormapImage(MagickWand *wand,
1141 const long displace)
1144 <p>A description of each parameter follows:</p></ol>
1147 <ol><p>the magick wand.</p></ol>
1150 <ol><p>the pixel wand.</p></ol>
1153 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1154 _8c.html" target="source" name="MagickConstituteImage">MagickConstituteImage</a></h2>
1155 <div class="doc-section">
1157 <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>
1159 <p>MagickConstituteImage(wand,640,640,"RGB",CharPixel,pixels);</p></ol>
1161 <p>The format of the MagickConstituteImage method is:</p>
1164 MagickBooleanType MagickConstituteImage(MagickWand *wand,
1165 const unsigned long columns,const unsigned long rows,const char *map,
1166 const StorageType storage,void *pixels)
1169 <p>A description of each parameter follows:</p></ol>
1172 <ol><p>the magick wand.</p></ol>
1175 <ol><p>width in pixels of the image.</p></ol>
1178 <ol><p>height in pixels of the image.</p></ol>
1181 <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>
1184 <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>
1187 <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>
1191 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1192 _8c.html" target="source" name="MagickDecipherImage">MagickDecipherImage</a></h2>
1193 <div class="doc-section">
1195 <p>MagickDecipherImage() converts cipher pixels to plain pixels.</p></ol>
1197 <p>The format of the MagickDecipherImage method is:</p>
1200 MagickBooleanType MagickDecipherImage(MagickWand *wand,
1201 const char *passphrase)
1204 <p>A description of each parameter follows:</p></ol>
1207 <ol><p>the magick wand.</p></ol>
1210 <ol><p>the passphrase.</p></ol>
1213 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1214 _8c.html" target="source" name="MagickDeconstructImages">MagickDeconstructImages</a></h2>
1215 <div class="doc-section">
1217 <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>
1219 <p>The format of the MagickDeconstructImages method is:</p>
1222 MagickWand *MagickDeconstructImages(MagickWand *wand)
1225 <p>A description of each parameter follows:</p></ol>
1228 <ol><p>the magick wand.</p></ol>
1231 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1232 _8c.html" target="source" name="MagickDeskewImage">MagickDeskewImage</a></h2>
1233 <div class="doc-section">
1235 <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>
1237 <p>The format of the MagickDeskewImage method is:</p>
1240 MagickBooleanType MagickDeskewImage(MagickWand *wand,
1241 const double threshold)
1244 <p>A description of each parameter follows:</p></ol>
1247 <ol><p>the magick wand.</p></ol>
1250 <ol><p>separate background from foreground.</p></ol>
1253 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1254 _8c.html" target="source" name="MagickDespeckleImage">MagickDespeckleImage</a></h2>
1255 <div class="doc-section">
1257 <p>MagickDespeckleImage() reduces the speckle noise in an image while perserving the edges of the original image.</p></ol>
1259 <p>The format of the MagickDespeckleImage method is:</p>
1262 MagickBooleanType MagickDespeckleImage(MagickWand *wand)
1265 <p>A description of each parameter follows:</p></ol>
1268 <ol><p>the magick wand.</p></ol>
1271 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1272 _8c.html" target="source" name="MagickDestroyImage">MagickDestroyImage</a></h2>
1273 <div class="doc-section">
1275 <p>MagickDestroyImage() dereferences an image, deallocating memory associated with the image if the reference count becomes zero.</p></ol>
1277 <p>The format of the MagickDestroyImage method is:</p>
1280 Image *MagickDestroyImage(Image *image)
1283 <p>A description of each parameter follows:</p></ol>
1286 <ol><p>the image.</p></ol>
1289 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1290 _8c.html" target="source" name="MagickDisplayImage">MagickDisplayImage</a></h2>
1291 <div class="doc-section">
1293 <p>MagickDisplayImage() displays an image.</p></ol>
1295 <p>The format of the MagickDisplayImage method is:</p>
1298 MagickBooleanType MagickDisplayImage(MagickWand *wand,
1299 const char *server_name)
1302 <p>A description of each parameter follows:</p></ol>
1305 <ol><p>the magick wand.</p></ol>
1307 <h5>server_name</h5>
1308 <ol><p>the X server name.</p></ol>
1311 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1312 _8c.html" target="source" name="MagickDisplayImages">MagickDisplayImages</a></h2>
1313 <div class="doc-section">
1315 <p>MagickDisplayImages() displays an image or image sequence.</p></ol>
1317 <p>The format of the MagickDisplayImages method is:</p>
1320 MagickBooleanType MagickDisplayImages(MagickWand *wand,
1321 const char *server_name)
1324 <p>A description of each parameter follows:</p></ol>
1327 <ol><p>the magick wand.</p></ol>
1329 <h5>server_name</h5>
1330 <ol><p>the X server name.</p></ol>
1333 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1334 _8c.html" target="source" name="MagickDistortImage">MagickDistortImage</a></h2>
1335 <div class="doc-section">
1337 <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>
1339 <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>
1341 <p>The format of the MagickDistortImage method is:</p>
1344 MagickBooleanType MagickDistortImage(MagickWand *wand,
1345 const DistortImageMethod method,const unsigned long number_arguments,
1346 const double *arguments,const MagickBooleanType bestfit)
1349 <p>A description of each parameter follows:</p></ol>
1352 <ol><p>the image to be distorted.</p></ol>
1355 <ol><p>the method of image distortion.</p></ol>
1357 <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>
1359 <p>Bilinear has no simple inverse mapping so it does not allow 'bestfit' style of image distortion.</p></ol>
1361 <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>
1363 <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>
1365 <h5>number_arguments</h5>
1366 <ol><p>the number of arguments given for this distortion method.</p></ol>
1369 <ol><p>the arguments for this distortion method.</p></ol>
1372 <ol><p>Attempt to resize destination to fit distorted source.</p></ol>
1375 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1376 _8c.html" target="source" name="MagickDrawImage">MagickDrawImage</a></h2>
1377 <div class="doc-section">
1379 <p>MagickDrawImage() renders the drawing wand on the current image.</p></ol>
1381 <p>The format of the MagickDrawImage method is:</p>
1384 MagickBooleanType MagickDrawImage(MagickWand *wand,
1385 const DrawingWand *drawing_wand)
1388 <p>A description of each parameter follows:</p></ol>
1391 <ol><p>the magick wand.</p></ol>
1393 <h5>drawing_wand</h5>
1394 <ol><p>the draw wand.</p></ol>
1397 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1398 _8c.html" target="source" name="MagickEdgeImage">MagickEdgeImage</a></h2>
1399 <div class="doc-section">
1401 <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>
1403 <p>The format of the MagickEdgeImage method is:</p>
1406 MagickBooleanType MagickEdgeImage(MagickWand *wand,const double radius)
1409 <p>A description of each parameter follows:</p></ol>
1412 <ol><p>the magick wand.</p></ol>
1415 <ol><p>the radius of the pixel neighborhood.</p></ol>
1418 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1419 _8c.html" target="source" name="MagickEmbossImage">MagickEmbossImage</a></h2>
1420 <div class="doc-section">
1422 <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>
1424 <p>The format of the MagickEmbossImage method is:</p>
1427 MagickBooleanType MagickEmbossImage(MagickWand *wand,const double radius,
1431 <p>A description of each parameter follows:</p></ol>
1434 <ol><p>the magick wand.</p></ol>
1437 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
1440 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
1443 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1444 _8c.html" target="source" name="MagickEncipherImage">MagickEncipherImage</a></h2>
1445 <div class="doc-section">
1447 <p>MagickEncipherImage() converts plaint pixels to cipher pixels.</p></ol>
1449 <p>The format of the MagickEncipherImage method is:</p>
1452 MagickBooleanType MagickEncipherImage(MagickWand *wand,
1453 const char *passphrase)
1456 <p>A description of each parameter follows:</p></ol>
1459 <ol><p>the magick wand.</p></ol>
1462 <ol><p>the passphrase.</p></ol>
1465 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1466 _8c.html" target="source" name="MagickEnhanceImage">MagickEnhanceImage</a></h2>
1467 <div class="doc-section">
1469 <p>MagickEnhanceImage() applies a digital filter that improves the quality of a noisy image.</p></ol>
1471 <p>The format of the MagickEnhanceImage method is:</p>
1474 MagickBooleanType MagickEnhanceImage(MagickWand *wand)
1477 <p>A description of each parameter follows:</p></ol>
1480 <ol><p>the magick wand.</p></ol>
1483 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1484 _8c.html" target="source" name="MagickEqualizeImage">MagickEqualizeImage</a></h2>
1485 <div class="doc-section">
1487 <p>MagickEqualizeImage() equalizes the image histogram.</p></ol>
1489 <p>The format of the MagickEqualizeImage method is:</p>
1492 MagickBooleanType MagickEqualizeImage(MagickWand *wand)
1493 MagickBooleanType MagickEqualizeImageChannel(MagickWand *wand,
1494 const ChannelType channel)
1497 <p>A description of each parameter follows:</p></ol>
1500 <ol><p>the magick wand.</p></ol>
1503 <ol><p>the image channel(s).</p></ol>
1506 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1507 _8c.html" target="source" name="MagickEvaluateImage">MagickEvaluateImage</a></h2>
1508 <div class="doc-section">
1510 <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>
1512 <p>The format of the MagickEvaluateImage method is:</p>
1515 MagickBooleanType MagickEvaluateImage(MagickWand *wand,
1516 const MagickEvaluateOperator operator,const double value)
1517 MagickBooleanType MagickEvaluateImages(MagickWand *wand,
1518 const MagickEvaluateOperator operator)
1519 MagickBooleanType MagickEvaluateImageChannel(MagickWand *wand,
1520 const ChannelType channel,const MagickEvaluateOperator op,
1524 <p>A description of each parameter follows:</p></ol>
1527 <ol><p>the magick wand.</p></ol>
1530 <ol><p>the channel(s).</p></ol>
1533 <ol><p>A channel operator.</p></ol>
1536 <ol><p>A value value.</p></ol>
1539 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1540 _8c.html" target="source" name="MagickExportImagePixels">MagickExportImagePixels</a></h2>
1541 <div class="doc-section">
1543 <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, long, float, or double in the order specified by map.</p></ol>
1545 <p>Suppose you want to extract the first scanline of a 640x480 image as character data in red-green-blue order:</p>
1548 MagickExportImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels);
1551 <p>The format of the MagickExportImagePixels method is:</p>
1554 MagickBooleanType MagickExportImagePixels(MagickWand *wand,
1555 const long x,const long y,const unsigned long columns,
1556 const unsigned long rows,const char *map,const StorageType storage,
1560 <p>A description of each parameter follows:</p></ol>
1563 <ol><p>the magick wand.</p></ol>
1565 <h5>x, y, columns, rows</h5>
1566 <ol><p>These values define the perimeter of a region of pixels you want to extract.</p></ol>
1569 <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>
1572 <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>
1575 <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>
1578 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1579 _8c.html" target="source" name="MagickExtentImage">MagickExtentImage</a></h2>
1580 <div class="doc-section">
1582 <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>
1584 <p>The format of the MagickExtentImage method is:</p>
1587 MagickBooleanType MagickExtentImage(MagickWand *wand,
1588 const unsigned long width,const unsigned long height,const long x,
1592 <p>A description of each parameter follows:</p></ol>
1595 <ol><p>the magick wand.</p></ol>
1598 <ol><p>the region width.</p></ol>
1601 <ol><p>the region height.</p></ol>
1604 <ol><p>the region x offset.</p></ol>
1607 <ol><p>the region y offset.</p></ol>
1610 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1611 _8c.html" target="source" name="MagickFilterImage">MagickFilterImage</a></h2>
1612 <div class="doc-section">
1614 <p>MagickFilterImage() applies a custom convolution kernel to the image.</p></ol>
1616 <p>The format of the MagickFilterImage method is:</p>
1619 MagickBooleanType MagickFilterImage(MagickWand *wand,
1620 const KernelInfo *kernel)
1621 MagickBooleanType MagickFilterImageChannel(MagickWand *wand,
1622 const ChannelType channel,const KernelInfo *kernel)
1625 <p>A description of each parameter follows:</p></ol>
1628 <ol><p>the magick wand.</p></ol>
1631 <ol><p>the image channel(s).</p></ol>
1634 <ol><p>An array of doubles representing the convolution kernel.</p></ol>
1637 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1638 _8c.html" target="source" name="MagickFlipImage">MagickFlipImage</a></h2>
1639 <div class="doc-section">
1641 <p>MagickFlipImage() creates a vertical mirror image by reflecting the pixels around the central x-axis.</p></ol>
1643 <p>The format of the MagickFlipImage method is:</p>
1646 MagickBooleanType MagickFlipImage(MagickWand *wand)
1649 <p>A description of each parameter follows:</p></ol>
1652 <ol><p>the magick wand.</p></ol>
1655 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1656 _8c.html" target="source" name="MagickFloodfillPaintImage">MagickFloodfillPaintImage</a></h2>
1657 <div class="doc-section">
1659 <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>
1661 <p>The format of the MagickFloodfillPaintImage method is:</p>
1664 MagickBooleanType MagickFloodfillPaintImage(MagickWand *wand,
1665 const ChannelType channel,const PixelWand *fill,const double fuzz,
1666 const PixelWand *bordercolor,const long x,const long y,
1667 const MagickBooleanType invert)
1670 <p>A description of each parameter follows:</p></ol>
1673 <ol><p>the magick wand.</p></ol>
1676 <ol><p>the channel(s).</p></ol>
1679 <ol><p>the floodfill color pixel wand.</p></ol>
1682 <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>
1684 <h5>bordercolor</h5>
1685 <ol><p>the border color pixel wand.</p></ol>
1688 <ol><p>the starting location of the operation.</p></ol>
1691 <ol><p>paint any pixel that does not match the target color.</p></ol>
1694 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1695 _8c.html" target="source" name="MagickFlopImage">MagickFlopImage</a></h2>
1696 <div class="doc-section">
1698 <p>MagickFlopImage() creates a horizontal mirror image by reflecting the pixels around the central y-axis.</p></ol>
1700 <p>The format of the MagickFlopImage method is:</p>
1703 MagickBooleanType MagickFlopImage(MagickWand *wand)
1706 <p>A description of each parameter follows:</p></ol>
1709 <ol><p>the magick wand.</p></ol>
1712 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1713 _8c.html" target="source" name="MagickForwardFourierTransformImage">MagickForwardFourierTransformImage</a></h2>
1714 <div class="doc-section">
1716 <p>MagickForwardFourierTransformImage() implements the discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.</p></ol>
1718 <p>The format of the MagickForwardFourierTransformImage method is:</p>
1721 MagickBooleanType MagickForwardFourierTransformImage(MagickWand *wand,
1722 const MagickBooleanType magnitude)
1725 <p>A description of each parameter follows:</p></ol>
1728 <ol><p>the magick wand.</p></ol>
1731 <ol><p>if true, return as magnitude / phase pair otherwise a real / imaginary image pair.</p></ol>
1734 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1735 _8c.html" target="source" name="MagickFrameImage">MagickFrameImage</a></h2>
1736 <div class="doc-section">
1738 <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>
1740 <p>The format of the MagickFrameImage method is:</p>
1743 MagickBooleanType MagickFrameImage(MagickWand *wand,
1744 const PixelWand *matte_color,const unsigned long width,
1745 const unsigned long height,const long inner_bevel,
1746 const long outer_bevel)
1749 <p>A description of each parameter follows:</p></ol>
1752 <ol><p>the magick wand.</p></ol>
1754 <h5>matte_color</h5>
1755 <ol><p>the frame color pixel wand.</p></ol>
1758 <ol><p>the border width.</p></ol>
1761 <ol><p>the border height.</p></ol>
1763 <h5>inner_bevel</h5>
1764 <ol><p>the inner bevel width.</p></ol>
1766 <h5>outer_bevel</h5>
1767 <ol><p>the outer bevel width.</p></ol>
1770 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1771 _8c.html" target="source" name="MagickFunctionImage">MagickFunctionImage</a></h2>
1772 <div class="doc-section">
1774 <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>
1776 <p>The format of the MagickFunctionImage method is:</p>
1779 MagickBooleanType MagickFunctionImage(MagickWand *wand,
1780 const MagickFunction function,const unsigned long number_arguments,
1781 const double *arguments)
1782 MagickBooleanType MagickFunctionImageChannel(MagickWand *wand,
1783 const ChannelType channel,const MagickFunction function,
1784 const unsigned long number_arguments,const double *arguments)
1787 <p>A description of each parameter follows:</p></ol>
1790 <ol><p>the magick wand.</p></ol>
1793 <ol><p>the channel(s).</p></ol>
1796 <ol><p>the image function.</p></ol>
1798 <h5>number_arguments</h5>
1799 <ol><p>the number of function arguments.</p></ol>
1802 <ol><p>the function arguments.</p></ol>
1805 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1806 _8c.html" target="source" name="MagickFxImage">MagickFxImage</a></h2>
1807 <div class="doc-section">
1809 <p>MagickFxImage() evaluate expression for each pixel in the image.</p></ol>
1811 <p>The format of the MagickFxImage method is:</p>
1814 MagickWand *MagickFxImage(MagickWand *wand,const char *expression)
1815 MagickWand *MagickFxImageChannel(MagickWand *wand,
1816 const ChannelType channel,const char *expression)
1819 <p>A description of each parameter follows:</p></ol>
1822 <ol><p>the magick wand.</p></ol>
1825 <ol><p>the image channel(s).</p></ol>
1828 <ol><p>the expression.</p></ol>
1831 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1832 _8c.html" target="source" name="MagickGammaImage">MagickGammaImage</a></h2>
1833 <div class="doc-section">
1835 <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>
1837 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p></ol>
1839 <p>The format of the MagickGammaImage method is:</p>
1842 MagickBooleanType MagickGammaImage(MagickWand *wand,const double gamma)
1843 MagickBooleanType MagickGammaImageChannel(MagickWand *wand,
1844 const ChannelType channel,const double gamma)
1847 <p>A description of each parameter follows:</p></ol>
1850 <ol><p>the magick wand.</p></ol>
1853 <ol><p>the channel.</p></ol>
1856 <ol><p>Define the level of gamma correction.</p></ol>
1859 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1860 _8c.html" target="source" name="MagickGaussianBlurImage">MagickGaussianBlurImage</a></h2>
1861 <div class="doc-section">
1863 <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>
1865 <p>The format of the MagickGaussianBlurImage method is:</p>
1868 MagickBooleanType MagickGaussianBlurImage(MagickWand *wand,
1869 const double radius,const double sigma)
1870 MagickBooleanType MagickGaussianBlurImageChannel(MagickWand *wand,
1871 const ChannelType channel,const double radius,const double sigma)
1874 <p>A description of each parameter follows:</p></ol>
1877 <ol><p>the magick wand.</p></ol>
1880 <ol><p>the image channel(s).</p></ol>
1883 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
1886 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
1889 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1890 _8c.html" target="source" name="MagickGetImage">MagickGetImage</a></h2>
1891 <div class="doc-section">
1893 <p>MagickGetImage() gets the image at the current image index.</p></ol>
1895 <p>The format of the MagickGetImage method is:</p>
1898 MagickWand *MagickGetImage(MagickWand *wand)
1901 <p>A description of each parameter follows:</p></ol>
1904 <ol><p>the magick wand.</p></ol>
1907 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1908 _8c.html" target="source" name="MagickGetImageAlphaChannel">MagickGetImageAlphaChannel</a></h2>
1909 <div class="doc-section">
1911 <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>
1913 <p>The format of the MagickGetImageAlphaChannel method is:</p>
1916 unsigned long MagickGetImageAlphaChannel(MagickWand *wand)
1919 <p>A description of each parameter follows:</p></ol>
1922 <ol><p>the magick wand.</p></ol>
1925 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1926 _8c.html" target="source" name="MagickGetImageClipMask">MagickGetImageClipMask</a></h2>
1927 <div class="doc-section">
1929 <p>MagickGetImageClipMask() gets the image clip mask at the current image index.</p></ol>
1931 <p>The format of the MagickGetImageClipMask method is:</p>
1934 MagickWand *MagickGetImageClipMask(MagickWand *wand)
1937 <p>A description of each parameter follows:</p></ol>
1940 <ol><p>the magick wand.</p></ol>
1943 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1944 _8c.html" target="source" name="MagickGetImageBackgroundColor">MagickGetImageBackgroundColor</a></h2>
1945 <div class="doc-section">
1947 <p>MagickGetImageBackgroundColor() returns the image background color.</p></ol>
1949 <p>The format of the MagickGetImageBackgroundColor method is:</p>
1952 MagickBooleanType MagickGetImageBackgroundColor(MagickWand *wand,
1953 PixelWand *background_color)
1956 <p>A description of each parameter follows:</p></ol>
1959 <ol><p>the magick wand.</p></ol>
1961 <h5>background_color</h5>
1962 <ol><p>Return the background color.</p></ol>
1965 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1966 _8c.html" target="source" name="MagickGetImageBlob">MagickGetImageBlob</a></h2>
1967 <div class="doc-section">
1969 <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>
1971 <p>Use MagickRelinquishMemory() to free the blob when you are done with it.</p></ol>
1973 <p>The format of the MagickGetImageBlob method is:</p>
1976 unsigned char *MagickGetImageBlob(MagickWand *wand,size_t *length)
1979 <p>A description of each parameter follows:</p></ol>
1982 <ol><p>the magick wand.</p></ol>
1985 <ol><p>the length of the blob.</p></ol>
1988 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1989 _8c.html" target="source" name="MagickGetImageBlob">MagickGetImageBlob</a></h2>
1990 <div class="doc-section">
1992 <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>
1994 <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>
1996 <p>The format of the MagickGetImagesBlob method is:</p>
1999 unsigned char *MagickGetImagesBlob(MagickWand *wand,size_t *length)
2002 <p>A description of each parameter follows:</p></ol>
2005 <ol><p>the magick wand.</p></ol>
2008 <ol><p>the length of the blob.</p></ol>
2011 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2012 _8c.html" target="source" name="MagickGetImageBluePrimary">MagickGetImageBluePrimary</a></h2>
2013 <div class="doc-section">
2015 <p>MagickGetImageBluePrimary() returns the chromaticy blue primary point for the image.</p></ol>
2017 <p>The format of the MagickGetImageBluePrimary method is:</p>
2020 MagickBooleanType MagickGetImageBluePrimary(MagickWand *wand,double *x,
2024 <p>A description of each parameter follows:</p></ol>
2027 <ol><p>the magick wand.</p></ol>
2030 <ol><p>the chromaticity blue primary x-point.</p></ol>
2033 <ol><p>the chromaticity blue primary y-point.</p></ol>
2036 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2037 _8c.html" target="source" name="MagickGetImageBorderColor">MagickGetImageBorderColor</a></h2>
2038 <div class="doc-section">
2040 <p>MagickGetImageBorderColor() returns the image border color.</p></ol>
2042 <p>The format of the MagickGetImageBorderColor method is:</p>
2045 MagickBooleanType MagickGetImageBorderColor(MagickWand *wand,
2046 PixelWand *border_color)
2049 <p>A description of each parameter follows:</p></ol>
2052 <ol><p>the magick wand.</p></ol>
2054 <h5>border_color</h5>
2055 <ol><p>Return the border color.</p></ol>
2058 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2059 _8c.html" target="source" name="MagickGetImageChannelDepth">MagickGetImageChannelDepth</a></h2>
2060 <div class="doc-section">
2062 <p>MagickGetImageChannelDepth() gets the depth for one or more image channels.</p></ol>
2064 <p>The format of the MagickGetImageChannelDepth method is:</p>
2067 unsigned long MagickGetImageChannelDepth(MagickWand *wand,
2068 const ChannelType channel)
2071 <p>A description of each parameter follows:</p></ol>
2074 <ol><p>the magick wand.</p></ol>
2077 <ol><p>the image channel(s).</p></ol>
2080 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2081 _8c.html" target="source" name="MagickGetImageChannelDistortion">MagickGetImageChannelDistortion</a></h2>
2082 <div class="doc-section">
2084 <p>MagickGetImageChannelDistortion() compares one or more image channels of an image to a reconstructed image and returns the specified distortion metric.</p></ol>
2086 <p>The format of the MagickGetImageChannelDistortion method is:</p>
2089 MagickBooleanType MagickGetImageChannelDistortion(MagickWand *wand,
2090 const MagickWand *reference,const ChannelType channel,
2091 const MetricType metric,double *distortion)
2094 <p>A description of each parameter follows:</p></ol>
2097 <ol><p>the magick wand.</p></ol>
2100 <ol><p>the reference wand.</p></ol>
2103 <ol><p>the channel.</p></ol>
2106 <ol><p>the metric.</p></ol>
2109 <ol><p>the computed distortion between the images.</p></ol>
2112 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2113 _8c.html" target="source" name="MagickGetImageChannelDistortions">MagickGetImageChannelDistortions</a></h2>
2114 <div class="doc-section">
2116 <p>MagickGetImageChannelDistortions() compares one or more image channels of an image to a reconstructed image and returns the specified distortion metrics.</p></ol>
2118 <p>Use MagickRelinquishMemory() to free the metrics when you are done with them.</p></ol>
2120 <p>The format of the MagickGetImageChannelDistortion method is:</p>
2123 double *MagickGetImageChannelDistortion(MagickWand *wand,
2124 const MagickWand *reference,const MetricType metric)
2127 <p>A description of each parameter follows:</p></ol>
2130 <ol><p>the magick wand.</p></ol>
2133 <ol><p>the reference wand.</p></ol>
2136 <ol><p>the metric.</p></ol>
2139 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2140 _8c.html" target="source" name="MagickGetImageChannelFeatures">MagickGetImageChannelFeatures</a></h2>
2141 <div class="doc-section">
2143 <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>
2146 channel_features=MagickGetImageChannelFeatures(wand,1);
2147 contrast=channel_features[RedChannel].contrast[0];
2150 <p>Use MagickRelinquishMemory() to free the statistics buffer.</p></ol>
2152 <p>The format of the MagickGetImageChannelFeatures method is:</p>
2155 ChannelFeatures *MagickGetImageChannelFeatures(MagickWand *wand,
2156 const unsigned long distance)
2159 <p>A description of each parameter follows:</p></ol>
2162 <ol><p>the magick wand.</p></ol>
2165 <ol><p>the distance.</p></ol>
2168 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2169 _8c.html" target="source" name="MagickGetImageChannelKurtosis">MagickGetImageChannelKurtosis</a></h2>
2170 <div class="doc-section">
2172 <p>MagickGetImageChannelKurtosis() gets the kurtosis and skewness of one or more image channels.</p></ol>
2174 <p>The format of the MagickGetImageChannelKurtosis method is:</p>
2177 MagickBooleanType MagickGetImageChannelKurtosis(MagickWand *wand,
2178 const ChannelType channel,double *kurtosis,double *skewness)
2181 <p>A description of each parameter follows:</p></ol>
2184 <ol><p>the magick wand.</p></ol>
2187 <ol><p>the image channel(s).</p></ol>
2190 <ol><p>The kurtosis for the specified channel(s).</p></ol>
2193 <ol><p>The skewness for the specified channel(s).</p></ol>
2196 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2197 _8c.html" target="source" name="MagickGetImageChannelMean">MagickGetImageChannelMean</a></h2>
2198 <div class="doc-section">
2200 <p>MagickGetImageChannelMean() gets the mean and standard deviation of one or more image channels.</p></ol>
2202 <p>The format of the MagickGetImageChannelMean method is:</p>
2205 MagickBooleanType MagickGetImageChannelMean(MagickWand *wand,
2206 const ChannelType channel,double *mean,double *standard_deviation)
2209 <p>A description of each parameter follows:</p></ol>
2212 <ol><p>the magick wand.</p></ol>
2215 <ol><p>the image channel(s).</p></ol>
2218 <ol><p>The mean pixel value for the specified channel(s).</p></ol>
2220 <h5>standard_deviation</h5>
2221 <ol><p>The standard deviation for the specified channel(s).</p></ol>
2224 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2225 _8c.html" target="source" name="MagickGetImageChannelRange">MagickGetImageChannelRange</a></h2>
2226 <div class="doc-section">
2228 <p>MagickGetImageChannelRange() gets the range for one or more image channels.</p></ol>
2230 <p>The format of the MagickGetImageChannelRange method is:</p>
2233 MagickBooleanType MagickGetImageChannelRange(MagickWand *wand,
2234 const ChannelType channel,double *minima,double *maxima)
2237 <p>A description of each parameter follows:</p></ol>
2240 <ol><p>the magick wand.</p></ol>
2243 <ol><p>the image channel(s).</p></ol>
2246 <ol><p>The minimum pixel value for the specified channel(s).</p></ol>
2249 <ol><p>The maximum pixel value for the specified channel(s).</p></ol>
2252 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2253 _8c.html" target="source" name="MagickGetImageChannelStatistics">MagickGetImageChannelStatistics</a></h2>
2254 <div class="doc-section">
2256 <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>
2259 channel_statistics=MagickGetImageChannelStatistics(wand);
2260 red_mean=channel_statistics[RedChannel].mean;
2263 <p>Use MagickRelinquishMemory() to free the statistics buffer.</p></ol>
2265 <p>The format of the MagickGetImageChannelStatistics method is:</p>
2268 ChannelStatistics *MagickGetImageChannelStatistics(MagickWand *wand)
2271 <p>A description of each parameter follows:</p></ol>
2274 <ol><p>the magick wand.</p></ol>
2277 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2278 _8c.html" target="source" name="MagickGetImageColormapColor">MagickGetImageColormapColor</a></h2>
2279 <div class="doc-section">
2281 <p>MagickGetImageColormapColor() returns the color of the specified colormap index.</p></ol>
2283 <p>The format of the MagickGetImageColormapColor method is:</p>
2286 MagickBooleanType MagickGetImageColormapColor(MagickWand *wand,
2287 const unsigned long index,PixelWand *color)
2290 <p>A description of each parameter follows:</p></ol>
2293 <ol><p>the magick wand.</p></ol>
2296 <ol><p>the offset into the image colormap.</p></ol>
2299 <ol><p>Return the colormap color in this wand.</p></ol>
2302 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2303 _8c.html" target="source" name="MagickGetImageColors">MagickGetImageColors</a></h2>
2304 <div class="doc-section">
2306 <p>MagickGetImageColors() gets the number of unique colors in the image.</p></ol>
2308 <p>The format of the MagickGetImageColors method is:</p>
2311 unsigned long MagickGetImageColors(MagickWand *wand)
2314 <p>A description of each parameter follows:</p></ol>
2317 <ol><p>the magick wand.</p></ol>
2320 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2321 _8c.html" target="source" name="MagickGetImageColorspace">MagickGetImageColorspace</a></h2>
2322 <div class="doc-section">
2324 <p>MagickGetImageColorspace() gets the image colorspace.</p></ol>
2326 <p>The format of the MagickGetImageColorspace method is:</p>
2329 ColorspaceType MagickGetImageColorspace(MagickWand *wand)
2332 <p>A description of each parameter follows:</p></ol>
2335 <ol><p>the magick wand.</p></ol>
2338 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2339 _8c.html" target="source" name="MagickGetImageCompose">MagickGetImageCompose</a></h2>
2340 <div class="doc-section">
2342 <p>MagickGetImageCompose() returns the composite operator associated with the image.</p></ol>
2344 <p>The format of the MagickGetImageCompose method is:</p>
2347 CompositeOperator MagickGetImageCompose(MagickWand *wand)
2350 <p>A description of each parameter follows:</p></ol>
2353 <ol><p>the magick wand.</p></ol>
2356 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2357 _8c.html" target="source" name="MagickGetImageCompression">MagickGetImageCompression</a></h2>
2358 <div class="doc-section">
2360 <p>MagickGetImageCompression() gets the image compression.</p></ol>
2362 <p>The format of the MagickGetImageCompression method is:</p>
2365 CompressionType MagickGetImageCompression(MagickWand *wand)
2368 <p>A description of each parameter follows:</p></ol>
2371 <ol><p>the magick wand.</p></ol>
2374 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2375 _8c.html" target="source" name="MagickGetImageCompression">MagickGetImageCompression</a></h2>
2376 <div class="doc-section">
2378 <p>MagickGetImageCompression() gets the image compression quality.</p></ol>
2380 <p>The format of the MagickGetImageCompression method is:</p>
2383 unsigned long MagickGetImageCompression(MagickWand *wand)
2386 <p>A description of each parameter follows:</p></ol>
2389 <ol><p>the magick wand.</p></ol>
2392 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2393 _8c.html" target="source" name="MagickGetImageDelay">MagickGetImageDelay</a></h2>
2394 <div class="doc-section">
2396 <p>MagickGetImageDelay() gets the image delay.</p></ol>
2398 <p>The format of the MagickGetImageDelay method is:</p>
2401 unsigned long MagickGetImageDelay(MagickWand *wand)
2404 <p>A description of each parameter follows:</p></ol>
2407 <ol><p>the magick wand.</p></ol>
2410 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2411 _8c.html" target="source" name="MagickGetImageDepth">MagickGetImageDepth</a></h2>
2412 <div class="doc-section">
2414 <p>MagickGetImageDepth() gets the image depth.</p></ol>
2416 <p>The format of the MagickGetImageDepth method is:</p>
2419 unsigned long MagickGetImageDepth(MagickWand *wand)
2422 <p>A description of each parameter follows:</p></ol>
2425 <ol><p>the magick wand.</p></ol>
2428 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2429 _8c.html" target="source" name="MagickGetImageDistortion">MagickGetImageDistortion</a></h2>
2430 <div class="doc-section">
2432 <p>MagickGetImageDistortion() compares an image to a reconstructed image and returns the specified distortion metric.</p></ol>
2434 <p>The format of the MagickGetImageDistortion method is:</p>
2437 MagickBooleanType MagickGetImageDistortion(MagickWand *wand,
2438 const MagickWand *reference,const MetricType metric,
2442 <p>A description of each parameter follows:</p></ol>
2445 <ol><p>the magick wand.</p></ol>
2448 <ol><p>the reference wand.</p></ol>
2451 <ol><p>the metric.</p></ol>
2454 <ol><p>the computed distortion between the images.</p></ol>
2457 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2458 _8c.html" target="source" name="MagickGetImageDispose">MagickGetImageDispose</a></h2>
2459 <div class="doc-section">
2461 <p>MagickGetImageDispose() gets the image disposal method.</p></ol>
2463 <p>The format of the MagickGetImageDispose method is:</p>
2466 DisposeType MagickGetImageDispose(MagickWand *wand)
2469 <p>A description of each parameter follows:</p></ol>
2472 <ol><p>the magick wand.</p></ol>
2475 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2476 _8c.html" target="source" name="MagickGetImageFilename">MagickGetImageFilename</a></h2>
2477 <div class="doc-section">
2479 <p>MagickGetImageFilename() returns the filename of a particular image in a sequence.</p></ol>
2481 <p>The format of the MagickGetImageFilename method is:</p>
2484 char *MagickGetImageFilename(MagickWand *wand)
2487 <p>A description of each parameter follows:</p></ol>
2490 <ol><p>the magick wand.</p></ol>
2493 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2494 _8c.html" target="source" name="MagickGetImageFormat">MagickGetImageFormat</a></h2>
2495 <div class="doc-section">
2497 <p>MagickGetImageFormat() returns the format of a particular image in a sequence.</p></ol>
2499 <p>The format of the MagickGetImageFormat method is:</p>
2502 const char MagickGetImageFormat(MagickWand *wand)
2505 <p>A description of each parameter follows:</p></ol>
2508 <ol><p>the magick wand.</p></ol>
2511 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2512 _8c.html" target="source" name="MagickGetImageFuzz">MagickGetImageFuzz</a></h2>
2513 <div class="doc-section">
2515 <p>MagickGetImageFuzz() gets the image fuzz.</p></ol>
2517 <p>The format of the MagickGetImageFuzz method is:</p>
2520 double MagickGetImageFuzz(MagickWand *wand)
2523 <p>A description of each parameter follows:</p></ol>
2526 <ol><p>the magick wand.</p></ol>
2529 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2530 _8c.html" target="source" name="MagickGetImageGamma">MagickGetImageGamma</a></h2>
2531 <div class="doc-section">
2533 <p>MagickGetImageGamma() gets the image gamma.</p></ol>
2535 <p>The format of the MagickGetImageGamma method is:</p>
2538 double MagickGetImageGamma(MagickWand *wand)
2541 <p>A description of each parameter follows:</p></ol>
2544 <ol><p>the magick wand.</p></ol>
2547 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2548 _8c.html" target="source" name="MagickGetImageGravity">MagickGetImageGravity</a></h2>
2549 <div class="doc-section">
2551 <p>MagickGetImageGravity() gets the image gravity.</p></ol>
2553 <p>The format of the MagickGetImageGravity method is:</p>
2556 GravityType MagickGetImageGravity(MagickWand *wand)
2559 <p>A description of each parameter follows:</p></ol>
2562 <ol><p>the magick wand.</p></ol>
2565 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2566 _8c.html" target="source" name="MagickGetImageGreenPrimary">MagickGetImageGreenPrimary</a></h2>
2567 <div class="doc-section">
2569 <p>MagickGetImageGreenPrimary() returns the chromaticy green primary point.</p></ol>
2571 <p>The format of the MagickGetImageGreenPrimary method is:</p>
2574 MagickBooleanType MagickGetImageGreenPrimary(MagickWand *wand,double *x,
2578 <p>A description of each parameter follows:</p></ol>
2581 <ol><p>the magick wand.</p></ol>
2584 <ol><p>the chromaticity green primary x-point.</p></ol>
2587 <ol><p>the chromaticity green primary y-point.</p></ol>
2590 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2591 _8c.html" target="source" name="MagickGetImageHeight">MagickGetImageHeight</a></h2>
2592 <div class="doc-section">
2594 <p>MagickGetImageHeight() returns the image height.</p></ol>
2596 <p>The format of the MagickGetImageHeight method is:</p>
2599 unsigned long MagickGetImageHeight(MagickWand *wand)
2602 <p>A description of each parameter follows:</p></ol>
2605 <ol><p>the magick wand.</p></ol>
2608 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2609 _8c.html" target="source" name="MagickGetImageHistogram">MagickGetImageHistogram</a></h2>
2610 <div class="doc-section">
2612 <p>MagickGetImageHistogram() returns the image histogram as an array of PixelWand wands.</p></ol>
2614 <p>The format of the MagickGetImageHistogram method is:</p>
2617 PixelWand **MagickGetImageHistogram(MagickWand *wand,
2618 unsigned long *number_colors)
2621 <p>A description of each parameter follows:</p></ol>
2624 <ol><p>the magick wand.</p></ol>
2626 <h5>number_colors</h5>
2627 <ol><p>the number of unique colors in the image and the number of pixel wands returned.</p></ol>
2630 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2631 _8c.html" target="source" name="MagickGetImageInterlaceScheme">MagickGetImageInterlaceScheme</a></h2>
2632 <div class="doc-section">
2634 <p>MagickGetImageInterlaceScheme() gets the image interlace scheme.</p></ol>
2636 <p>The format of the MagickGetImageInterlaceScheme method is:</p>
2639 InterlaceType MagickGetImageInterlaceScheme(MagickWand *wand)
2642 <p>A description of each parameter follows:</p></ol>
2645 <ol><p>the magick wand.</p></ol>
2648 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2649 _8c.html" target="source" name="MagickGetImageInterpolateMethod">MagickGetImageInterpolateMethod</a></h2>
2650 <div class="doc-section">
2652 <p>MagickGetImageInterpolateMethod() returns the interpolation method for the sepcified image.</p></ol>
2654 <p>The format of the MagickGetImageInterpolateMethod method is:</p>
2657 InterpolatePixelMethod MagickGetImageInterpolateMethod(MagickWand *wand)
2660 <p>A description of each parameter follows:</p></ol>
2663 <ol><p>the magick wand.</p></ol>
2666 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2667 _8c.html" target="source" name="MagickGetImageIterations">MagickGetImageIterations</a></h2>
2668 <div class="doc-section">
2670 <p>MagickGetImageIterations() gets the image iterations.</p></ol>
2672 <p>The format of the MagickGetImageIterations method is:</p>
2675 unsigned long MagickGetImageIterations(MagickWand *wand)
2678 <p>A description of each parameter follows:</p></ol>
2681 <ol><p>the magick wand.</p></ol>
2684 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2685 _8c.html" target="source" name="MagickGetImageLength">MagickGetImageLength</a></h2>
2686 <div class="doc-section">
2688 <p>MagickGetImageLength() returns the image length in bytes.</p></ol>
2690 <p>The format of the MagickGetImageLength method is:</p>
2693 MagickBooleanType MagickGetImageLength(MagickWand *wand,
2694 MagickSizeType *length)
2697 <p>A description of each parameter follows:</p></ol>
2700 <ol><p>the magick wand.</p></ol>
2703 <ol><p>the image length in bytes.</p></ol>
2706 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2707 _8c.html" target="source" name="MagickGetImageMatteColor">MagickGetImageMatteColor</a></h2>
2708 <div class="doc-section">
2710 <p>MagickGetImageMatteColor() returns the image matte color.</p></ol>
2712 <p>The format of the MagickGetImageMatteColor method is:</p>
2715 MagickBooleanType MagickGetImagematteColor(MagickWand *wand,
2716 PixelWand *matte_color)
2719 <p>A description of each parameter follows:</p></ol>
2722 <ol><p>the magick wand.</p></ol>
2724 <h5>matte_color</h5>
2725 <ol><p>Return the matte color.</p></ol>
2728 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2729 _8c.html" target="source" name="MagickGetImageOrientation">MagickGetImageOrientation</a></h2>
2730 <div class="doc-section">
2732 <p>MagickGetImageOrientation() returns the image orientation.</p></ol>
2734 <p>The format of the MagickGetImageOrientation method is:</p>
2737 OrientationType MagickGetImageOrientation(MagickWand *wand)
2740 <p>A description of each parameter follows:</p></ol>
2743 <ol><p>the magick wand.</p></ol>
2746 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2747 _8c.html" target="source" name="MagickGetImagePage">MagickGetImagePage</a></h2>
2748 <div class="doc-section">
2750 <p>MagickGetImagePage() returns the page geometry associated with the image.</p></ol>
2752 <p>The format of the MagickGetImagePage method is:</p>
2755 MagickBooleanType MagickGetImagePage(MagickWand *wand,
2756 unsigned long *width,unsigned long *height,long *x,long *y)
2759 <p>A description of each parameter follows:</p></ol>
2762 <ol><p>the magick wand.</p></ol>
2765 <ol><p>the page width.</p></ol>
2768 <ol><p>the page height.</p></ol>
2771 <ol><p>the page x-offset.</p></ol>
2774 <ol><p>the page y-offset.</p></ol>
2777 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2778 _8c.html" target="source" name="MagickGetImagePixelColor">MagickGetImagePixelColor</a></h2>
2779 <div class="doc-section">
2781 <p>MagickGetImagePixelColor() returns the color of the specified pixel.</p></ol>
2783 <p>The format of the MagickGetImagePixelColor method is:</p>
2786 MagickBooleanType MagickGetImagePixelColor(MagickWand *wand,
2787 const long x,const long y,PixelWand *color)
2790 <p>A description of each parameter follows:</p></ol>
2793 <ol><p>the magick wand.</p></ol>
2796 <ol><p>the pixel offset into the image.</p></ol>
2799 <ol><p>Return the colormap color in this wand.</p></ol>
2802 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2803 _8c.html" target="source" name="MagickGetImageRedPrimary">MagickGetImageRedPrimary</a></h2>
2804 <div class="doc-section">
2806 <p>MagickGetImageRedPrimary() returns the chromaticy red primary point.</p></ol>
2808 <p>The format of the MagickGetImageRedPrimary method is:</p>
2811 MagickBooleanType MagickGetImageRedPrimary(MagickWand *wand,double *x,
2815 <p>A description of each parameter follows:</p></ol>
2818 <ol><p>the magick wand.</p></ol>
2821 <ol><p>the chromaticity red primary x-point.</p></ol>
2824 <ol><p>the chromaticity red primary y-point.</p></ol>
2827 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2828 _8c.html" target="source" name="MagickGetImageRegion">MagickGetImageRegion</a></h2>
2829 <div class="doc-section">
2831 <p>MagickGetImageRegion() extracts a region of the image and returns it as a a new wand.</p></ol>
2833 <p>The format of the MagickGetImageRegion method is:</p>
2836 MagickWand *MagickGetImageRegion(MagickWand *wand,
2837 const unsigned long width,const unsigned long height,const long x,
2841 <p>A description of each parameter follows:</p></ol>
2844 <ol><p>the magick wand.</p></ol>
2847 <ol><p>the region width.</p></ol>
2850 <ol><p>the region height.</p></ol>
2853 <ol><p>the region x offset.</p></ol>
2856 <ol><p>the region y offset.</p></ol>
2859 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2860 _8c.html" target="source" name="MagickGetImageRenderingIntent">MagickGetImageRenderingIntent</a></h2>
2861 <div class="doc-section">
2863 <p>MagickGetImageRenderingIntent() gets the image rendering intent.</p></ol>
2865 <p>The format of the MagickGetImageRenderingIntent method is:</p>
2868 RenderingIntent MagickGetImageRenderingIntent(MagickWand *wand)
2871 <p>A description of each parameter follows:</p></ol>
2874 <ol><p>the magick wand.</p></ol>
2877 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2878 _8c.html" target="source" name="MagickGetImageResolution">MagickGetImageResolution</a></h2>
2879 <div class="doc-section">
2881 <p>MagickGetImageResolution() gets the image X and Y resolution.</p></ol>
2883 <p>The format of the MagickGetImageResolution method is:</p>
2886 MagickBooleanType MagickGetImageResolution(MagickWand *wand,double *x,
2890 <p>A description of each parameter follows:</p></ol>
2893 <ol><p>the magick wand.</p></ol>
2896 <ol><p>the image x-resolution.</p></ol>
2899 <ol><p>the image y-resolution.</p></ol>
2902 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2903 _8c.html" target="source" name="MagickGetImageScene">MagickGetImageScene</a></h2>
2904 <div class="doc-section">
2906 <p>MagickGetImageScene() gets the image scene.</p></ol>
2908 <p>The format of the MagickGetImageScene method is:</p>
2911 unsigned long MagickGetImageScene(MagickWand *wand)
2914 <p>A description of each parameter follows:</p></ol>
2917 <ol><p>the magick wand.</p></ol>
2920 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2921 _8c.html" target="source" name="MagickGetImageSignature">MagickGetImageSignature</a></h2>
2922 <div class="doc-section">
2924 <p>MagickGetImageSignature() generates an SHA-256 message digest for the image pixel stream.</p></ol>
2926 <p>The format of the MagickGetImageSignature method is:</p>
2929 const char MagickGetImageSignature(MagickWand *wand)
2932 <p>A description of each parameter follows:</p></ol>
2935 <ol><p>the magick wand.</p></ol>
2938 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2939 _8c.html" target="source" name="MagickGetImageTicksPerSecond">MagickGetImageTicksPerSecond</a></h2>
2940 <div class="doc-section">
2942 <p>MagickGetImageTicksPerSecond() gets the image ticks-per-second.</p></ol>
2944 <p>The format of the MagickGetImageTicksPerSecond method is:</p>
2947 unsigned long MagickGetImageTicksPerSecond(MagickWand *wand)
2950 <p>A description of each parameter follows:</p></ol>
2953 <ol><p>the magick wand.</p></ol>
2956 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2957 _8c.html" target="source" name="MagickGetImageType">MagickGetImageType</a></h2>
2958 <div class="doc-section">
2960 <p>MagickGetImageType() gets the potential image type:</p></ol>
2962 <p>Bilevel Grayscale GrayscaleMatte Palette PaletteMatte TrueColor TrueColorMatte ColorSeparation ColorSeparationMatte</p></ol>
2964 <p>To ensure the image type matches its potential, use MagickSetImageType():</p>
2967 (void) MagickSetImageType(wand,MagickGetImageType(wand));
2970 <p>The format of the MagickGetImageType method is:</p>
2973 ImageType MagickGetImageType(MagickWand *wand)
2976 <p>A description of each parameter follows:</p></ol>
2979 <ol><p>the magick wand.</p></ol>
2982 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2983 _8c.html" target="source" name="MagickGetImageUnits">MagickGetImageUnits</a></h2>
2984 <div class="doc-section">
2986 <p>MagickGetImageUnits() gets the image units of resolution.</p></ol>
2988 <p>The format of the MagickGetImageUnits method is:</p>
2991 ResolutionType MagickGetImageUnits(MagickWand *wand)
2994 <p>A description of each parameter follows:</p></ol>
2997 <ol><p>the magick wand.</p></ol>
3000 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3001 _8c.html" target="source" name="MagickGetImageVirtualPixelMethod">MagickGetImageVirtualPixelMethod</a></h2>
3002 <div class="doc-section">
3004 <p>MagickGetImageVirtualPixelMethod() returns the virtual pixel method for the sepcified image.</p></ol>
3006 <p>The format of the MagickGetImageVirtualPixelMethod method is:</p>
3009 VirtualPixelMethod MagickGetImageVirtualPixelMethod(MagickWand *wand)
3012 <p>A description of each parameter follows:</p></ol>
3015 <ol><p>the magick wand.</p></ol>
3018 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3019 _8c.html" target="source" name="MagickGetImageWhitePoint">MagickGetImageWhitePoint</a></h2>
3020 <div class="doc-section">
3022 <p>MagickGetImageWhitePoint() returns the chromaticy white point.</p></ol>
3024 <p>The format of the MagickGetImageWhitePoint method is:</p>
3027 MagickBooleanType MagickGetImageWhitePoint(MagickWand *wand,double *x,
3031 <p>A description of each parameter follows:</p></ol>
3034 <ol><p>the magick wand.</p></ol>
3037 <ol><p>the chromaticity white x-point.</p></ol>
3040 <ol><p>the chromaticity white y-point.</p></ol>
3043 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3044 _8c.html" target="source" name="MagickGetImageWidth">MagickGetImageWidth</a></h2>
3045 <div class="doc-section">
3047 <p>MagickGetImageWidth() returns the image width.</p></ol>
3049 <p>The format of the MagickGetImageWidth method is:</p>
3052 unsigned long MagickGetImageWidth(MagickWand *wand)
3055 <p>A description of each parameter follows:</p></ol>
3058 <ol><p>the magick wand.</p></ol>
3061 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3062 _8c.html" target="source" name="MagickGetNumberImages">MagickGetNumberImages</a></h2>
3063 <div class="doc-section">
3065 <p>MagickGetNumberImages() returns the number of images associated with a magick wand.</p></ol>
3067 <p>The format of the MagickGetNumberImages method is:</p>
3070 unsigned long MagickGetNumberImages(MagickWand *wand)
3073 <p>A description of each parameter follows:</p></ol>
3076 <ol><p>the magick wand.</p></ol>
3079 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3080 _8c.html" target="source" name="MagickGetImageTotalInkDensity">MagickGetImageTotalInkDensity</a></h2>
3081 <div class="doc-section">
3083 <p>MagickGetImageTotalInkDensity() gets the image total ink density.</p></ol>
3085 <p>The format of the MagickGetImageTotalInkDensity method is:</p>
3088 double MagickGetImageTotalInkDensity(MagickWand *wand)
3091 <p>A description of each parameter follows:</p></ol>
3094 <ol><p>the magick wand.</p></ol>
3097 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3098 _8c.html" target="source" name="MagickHaldClutImage">MagickHaldClutImage</a></h2>
3099 <div class="doc-section">
3101 <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>
3103 <p>The format of the MagickHaldClutImage method is:</p>
3106 MagickBooleanType MagickHaldClutImage(MagickWand *wand,
3107 const MagickWand *hald_wand)
3108 MagickBooleanType MagickHaldClutImageChannel(MagickWand *wand,
3109 const ChannelType channel,const MagickWand *hald_wand)
3112 <p>A description of each parameter follows:</p></ol>
3115 <ol><p>the magick wand.</p></ol>
3118 <ol><p>the hald CLUT image.</p></ol>
3121 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3122 _8c.html" target="source" name="MagickHasNextImage">MagickHasNextImage</a></h2>
3123 <div class="doc-section">
3125 <p>MagickHasNextImage() returns MagickTrue if the wand has more images when traversing the list in the forward direction</p></ol>
3127 <p>The format of the MagickHasNextImage method is:</p>
3130 MagickBooleanType MagickHasNextImage(MagickWand *wand)
3133 <p>A description of each parameter follows:</p></ol>
3136 <ol><p>the magick wand.</p></ol>
3139 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3140 _8c.html" target="source" name="MagickHasPreviousImage">MagickHasPreviousImage</a></h2>
3141 <div class="doc-section">
3143 <p>MagickHasPreviousImage() returns MagickTrue if the wand has more images when traversing the list in the reverse direction</p></ol>
3145 <p>The format of the MagickHasPreviousImage method is:</p>
3148 MagickBooleanType MagickHasPreviousImage(MagickWand *wand)
3151 <p>A description of each parameter follows:</p></ol>
3154 <ol><p>the magick wand.</p></ol>
3157 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3158 _8c.html" target="source" name="MagickIdentifyImage">MagickIdentifyImage</a></h2>
3159 <div class="doc-section">
3161 <p>MagickIdentifyImage() identifies an image by printing its attributes to the file. Attributes include the image width, height, size, and others.</p></ol>
3163 <p>The format of the MagickIdentifyImage method is:</p>
3166 const char *MagickIdentifyImage(MagickWand *wand)
3169 <p>A description of each parameter follows:</p></ol>
3172 <ol><p>the magick wand.</p></ol>
3175 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3176 _8c.html" target="source" name="MagickImplodeImage">MagickImplodeImage</a></h2>
3177 <div class="doc-section">
3179 <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>
3181 <p>The format of the MagickImplodeImage method is:</p>
3184 MagickBooleanType MagickImplodeImage(MagickWand *wand,
3185 const double radius)
3188 <p>A description of each parameter follows:</p></ol>
3191 <ol><p>the magick wand.</p></ol>
3194 <ol><p>Define the extent of the implosion.</p></ol>
3197 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3198 _8c.html" target="source" name="MagickImportImagePixels">MagickImportImagePixels</a></h2>
3199 <div class="doc-section">
3201 <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, long, float, or double in the order specified by map.</p></ol>
3203 <p>Suppose your want to upload the first scanline of a 640x480 image from character data in red-green-blue order:</p>
3206 MagickImportImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels);
3209 <p>The format of the MagickImportImagePixels method is:</p>
3212 MagickBooleanType MagickImportImagePixels(MagickWand *wand,
3213 const long x,const long y,const unsigned long columns,
3214 const unsigned long rows,const char *map,const StorageType storage,
3218 <p>A description of each parameter follows:</p></ol>
3221 <ol><p>the magick wand.</p></ol>
3223 <h5>x, y, columns, rows</h5>
3224 <ol><p>These values define the perimeter of a region of pixels you want to define.</p></ol>
3227 <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>
3230 <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>
3233 <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>
3236 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3237 _8c.html" target="source" name="MagickInverseFourierTransformImage">MagickInverseFourierTransformImage</a></h2>
3238 <div class="doc-section">
3240 <p>MagickInverseFourierTransformImage() implements the inverse discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.</p></ol>
3242 <p>The format of the MagickInverseFourierTransformImage method is:</p>
3245 MagickBooleanType MagickInverseFourierTransformImage(
3246 MagickWand *magnitude_wand,MagickWand *phase_wand,
3247 const MagickBooleanType magnitude)
3250 <p>A description of each parameter follows:</p></ol>
3252 <h5>magnitude_wand</h5>
3253 <ol><p>the magnitude or real wand.</p></ol>
3256 <ol><p>the phase or imaginary wand.</p></ol>
3259 <ol><p>if true, return as magnitude / phase pair otherwise a real / imaginary image pair.</p></ol>
3262 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3263 _8c.html" target="source" name="MagickLabelImage">MagickLabelImage</a></h2>
3264 <div class="doc-section">
3266 <p>MagickLabelImage() adds a label to your image.</p></ol>
3268 <p>The format of the MagickLabelImage method is:</p>
3271 MagickBooleanType MagickLabelImage(MagickWand *wand,const char *label)
3274 <p>A description of each parameter follows:</p></ol>
3277 <ol><p>the magick wand.</p></ol>
3280 <ol><p>the image label.</p></ol>
3283 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3284 _8c.html" target="source" name="MagickLevelImage">MagickLevelImage</a></h2>
3285 <div class="doc-section">
3287 <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>
3289 <p>The format of the MagickLevelImage method is:</p>
3292 MagickBooleanType MagickLevelImage(MagickWand *wand,
3293 const double black_point,const double gamma,const double white_point)
3294 MagickBooleanType MagickLevelImageChannel(MagickWand *wand,
3295 const ChannelType channel,const double black_point,const double gamma,
3296 const double white_point)
3299 <p>A description of each parameter follows:</p></ol>
3302 <ol><p>the magick wand.</p></ol>
3305 <ol><p>Identify which channel to level: RedChannel, GreenChannel,</p></ol>
3307 <h5>black_point</h5>
3308 <ol><p>the black point.</p></ol>
3311 <ol><p>the gamma.</p></ol>
3313 <h5>white_point</h5>
3314 <ol><p>the white point.</p></ol>
3317 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3318 _8c.html" target="source" name="MagickLinearStretchImage">MagickLinearStretchImage</a></h2>
3319 <div class="doc-section">
3321 <p>MagickLinearStretchImage() stretches with saturation the image intensity.</p></ol>
3323 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p></ol>
3325 <p>The format of the MagickLinearStretchImage method is:</p>
3328 MagickBooleanType MagickLinearStretchImage(MagickWand *wand,
3329 const double black_point,const double white_point)
3332 <p>A description of each parameter follows:</p></ol>
3335 <ol><p>the magick wand.</p></ol>
3337 <h5>black_point</h5>
3338 <ol><p>the black point.</p></ol>
3340 <h5>white_point</h5>
3341 <ol><p>the white point.</p></ol>
3344 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3345 _8c.html" target="source" name="MagickLiquidRescaleImage">MagickLiquidRescaleImage</a></h2>
3346 <div class="doc-section">
3348 <p>MagickLiquidRescaleImage() rescales image with seam carving.</p></ol>
3350 <p>MagickBooleanType MagickLiquidRescaleImage(MagickWand *wand, const unsigned long columns,const unsigned long rows, const double delta_x,const double rigidity)</p></ol>
3352 <p>A description of each parameter follows:</p></ol>
3355 <ol><p>the magick wand.</p></ol>
3358 <ol><p>the number of columns in the scaled image.</p></ol>
3361 <ol><p>the number of rows in the scaled image.</p></ol>
3364 <ol><p>maximum seam transversal step (0 means straight seams).</p></ol>
3367 <ol><p>introduce a bias for non-straight seams (typically 0).</p></ol>
3370 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3371 _8c.html" target="source" name="MagickMagnifyImage">MagickMagnifyImage</a></h2>
3372 <div class="doc-section">
3374 <p>MagickMagnifyImage() is a convenience method that scales an image proportionally to twice its original size.</p></ol>
3376 <p>The format of the MagickMagnifyImage method is:</p>
3379 MagickBooleanType MagickMagnifyImage(MagickWand *wand)
3382 <p>A description of each parameter follows:</p></ol>
3385 <ol><p>the magick wand.</p></ol>
3388 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3389 _8c.html" target="source" name="MagickMedianFilterImage">MagickMedianFilterImage</a></h2>
3390 <div class="doc-section">
3392 <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>
3394 <p>The format of the MagickMedianFilterImage method is:</p>
3397 MagickBooleanType MagickMedianFilterImage(MagickWand *wand,
3398 const double radius)
3401 <p>A description of each parameter follows:</p></ol>
3404 <ol><p>the magick wand.</p></ol>
3407 <ol><p>the radius of the pixel neighborhood.</p></ol>
3410 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3411 _8c.html" target="source" name="MagickMergeImageLayers">MagickMergeImageLayers</a></h2>
3412 <div class="doc-section">
3414 <p>MagickMergeImageLayers() composes all the image layers from the current given image onward to produce a single image of the merged layers.</p></ol>
3416 <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>
3418 <p>The format of the MagickMergeImageLayers method is:</p>
3421 MagickWand *MagickMergeImageLayers(MagickWand *wand,
3422 const ImageLayerMethod method)
3425 <p>A description of each parameter follows:</p></ol>
3428 <ol><p>the magick wand.</p></ol>
3431 <ol><p>the method of selecting the size of the initial canvas.</p></ol>
3433 <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>
3435 <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>
3437 <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>
3440 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3441 _8c.html" target="source" name="MagickMinifyImage">MagickMinifyImage</a></h2>
3442 <div class="doc-section">
3444 <p>MagickMinifyImage() is a convenience method that scales an image proportionally to one-half its original size</p></ol>
3446 <p>The format of the MagickMinifyImage method is:</p>
3449 MagickBooleanType MagickMinifyImage(MagickWand *wand)
3452 <p>A description of each parameter follows:</p></ol>
3455 <ol><p>the magick wand.</p></ol>
3458 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3459 _8c.html" target="source" name="MagickModulateImage">MagickModulateImage</a></h2>
3460 <div class="doc-section">
3462 <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>
3464 <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>
3466 <p>The format of the MagickModulateImage method is:</p>
3469 MagickBooleanType MagickModulateImage(MagickWand *wand,
3470 const double brightness,const double saturation,const double hue)
3473 <p>A description of each parameter follows:</p></ol>
3476 <ol><p>the magick wand.</p></ol>
3479 <ol><p>the percent change in brighness.</p></ol>
3482 <ol><p>the percent change in saturation.</p></ol>
3485 <ol><p>the percent change in hue.</p></ol>
3488 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3489 _8c.html" target="source" name="MagickMontageImage">MagickMontageImage</a></h2>
3490 <div class="doc-section">
3492 <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>
3494 <p>The format of the MagickMontageImage method is:</p>
3497 MagickWand *MagickMontageImage(MagickWand *wand,
3498 const DrawingWand drawing_wand,const char *tile_geometry,
3499 const char *thumbnail_geometry,const MontageMode mode,
3503 <p>A description of each parameter follows:</p></ol>
3506 <ol><p>the magick wand.</p></ol>
3508 <h5>drawing_wand</h5>
3509 <ol><p>the drawing wand. The font name, size, and color are obtained from this wand.</p></ol>
3511 <h5>tile_geometry</h5>
3512 <ol><p>the number of tiles per row and page (e.g. 6x4+0+0).</p></ol>
3514 <h5>thumbnail_geometry</h5>
3515 <ol><p>Preferred image size and border size of each thumbnail (e.g. 120x120+4+3>).</p></ol>
3518 <ol><p>Thumbnail framing mode: Frame, Unframe, or Concatenate.</p></ol>
3521 <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>
3524 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3525 _8c.html" target="source" name="MagickMorphImages">MagickMorphImages</a></h2>
3526 <div class="doc-section">
3528 <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>
3530 <p>The format of the MagickMorphImages method is:</p>
3533 MagickWand *MagickMorphImages(MagickWand *wand,
3534 const unsigned long number_frames)
3537 <p>A description of each parameter follows:</p></ol>
3540 <ol><p>the magick wand.</p></ol>
3542 <h5>number_frames</h5>
3543 <ol><p>the number of in-between images to generate.</p></ol>
3546 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3547 _8c.html" target="source" name="MagickMorphologyImage">MagickMorphologyImage</a></h2>
3548 <div class="doc-section">
3550 <p>MagickMorphologyImage() applies a user supplied kernel to the image according to the given mophology method.</p></ol>
3552 <p>The format of the MagickMorphologyImage method is:</p>
3555 MagickBooleanType MagickMorphologyImage(MagickWand *wand,
3556 MorphologyMethod method,const long iterations,KernelInfo *kernel)
3557 MagickBooleanType MagickMorphologyImageChannel(MagickWand *wand,
3558 ChannelType channel,MorphologyMethod method,const long iterations,
3562 <p>A description of each parameter follows:</p></ol>
3565 <ol><p>the magick wand.</p></ol>
3568 <ol><p>the image channel(s).</p></ol>
3571 <ol><p>the morphology method to be applied.</p></ol>
3574 <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>
3577 <ol><p>An array of doubles representing the morphology kernel.</p></ol>
3580 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3581 _8c.html" target="source" name="MagickMotionBlurImage">MagickMotionBlurImage</a></h2>
3582 <div class="doc-section">
3584 <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>
3586 <p>The format of the MagickMotionBlurImage method is:</p>
3589 MagickBooleanType MagickMotionBlurImage(MagickWand *wand,
3590 const double radius,const double sigma,const double angle)
3591 MagickBooleanType MagickMotionBlurImageChannel(MagickWand *wand,
3592 const ChannelType channel,const double radius,const double sigma,
3596 <p>A description of each parameter follows:</p></ol>
3599 <ol><p>the magick wand.</p></ol>
3602 <ol><p>the image channel(s).</p></ol>
3605 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
3608 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
3611 <ol><p>Apply the effect along this angle.</p></ol>
3614 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3615 _8c.html" target="source" name="MagickNegateImage">MagickNegateImage</a></h2>
3616 <div class="doc-section">
3618 <p>MagickNegateImage() negates the colors in the reference image. The Grayscale option means that only grayscale values within the image are negated.</p></ol>
3620 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p></ol>
3622 <p>The format of the MagickNegateImage method is:</p>
3625 MagickBooleanType MagickNegateImage(MagickWand *wand,
3626 const MagickBooleanType gray)
3627 MagickBooleanType MagickNegateImage(MagickWand *wand,
3628 const ChannelType channel,const MagickBooleanType gray)
3631 <p>A description of each parameter follows:</p></ol>
3634 <ol><p>the magick wand.</p></ol>
3637 <ol><p>the image channel(s).</p></ol>
3640 <ol><p>If MagickTrue, only negate grayscale pixels within the image.</p></ol>
3643 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3644 _8c.html" target="source" name="MagickNewImage">MagickNewImage</a></h2>
3645 <div class="doc-section">
3647 <p>MagickNewImage() adds a blank image canvas of the specified size and background color to the wand.</p></ol>
3649 <p>The format of the MagickNewImage method is:</p>
3652 MagickBooleanType MagickNewImage(MagickWand *wand,
3653 const unsigned long columns,const unsigned long rows,
3654 const PixelWand *background)
3657 <p>A description of each parameter follows:</p></ol>
3660 <ol><p>the magick wand.</p></ol>
3663 <ol><p>the image width.</p></ol>
3666 <ol><p>the image height.</p></ol>
3669 <ol><p>the image color.</p></ol>
3672 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3673 _8c.html" target="source" name="MagickNextImage">MagickNextImage</a></h2>
3674 <div class="doc-section">
3676 <p>MagickNextImage() associates the next image in the image list with a magick wand.</p></ol>
3678 <p>The format of the MagickNextImage method is:</p>
3681 MagickBooleanType MagickNextImage(MagickWand *wand)
3684 <p>A description of each parameter follows:</p></ol>
3687 <ol><p>the magick wand.</p></ol>
3690 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3691 _8c.html" target="source" name="MagickNormalizeImage">MagickNormalizeImage</a></h2>
3692 <div class="doc-section">
3694 <p>MagickNormalizeImage() enhances the contrast of a color image by adjusting the pixels color to span the entire range of colors available</p></ol>
3696 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p></ol>
3698 <p>The format of the MagickNormalizeImage method is:</p>
3701 MagickBooleanType MagickNormalizeImage(MagickWand *wand)
3702 MagickBooleanType MagickNormalizeImageChannel(MagickWand *wand,
3703 const ChannelType channel)
3706 <p>A description of each parameter follows:</p></ol>
3709 <ol><p>the magick wand.</p></ol>
3712 <ol><p>the image channel(s).</p></ol>
3715 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3716 _8c.html" target="source" name="MagickOilPaintImage">MagickOilPaintImage</a></h2>
3717 <div class="doc-section">
3719 <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>
3721 <p>The format of the MagickOilPaintImage method is:</p>
3724 MagickBooleanType MagickOilPaintImage(MagickWand *wand,
3725 const double radius)
3728 <p>A description of each parameter follows:</p></ol>
3731 <ol><p>the magick wand.</p></ol>
3734 <ol><p>the radius of the circular neighborhood.</p></ol>
3737 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3738 _8c.html" target="source" name="MagickOpaquePaintImage">MagickOpaquePaintImage</a></h2>
3739 <div class="doc-section">
3741 <p>MagickOpaquePaintImage() changes any pixel that matches color with the color defined by fill.</p></ol>
3743 <p>The format of the MagickOpaquePaintImage method is:</p>
3746 MagickBooleanType MagickOpaquePaintImage(MagickWand *wand,
3747 const PixelWand *target,const PixelWand *fill,const double fuzz,
3748 const MagickBooleanType invert)
3749 MagickBooleanType MagickOpaquePaintImageChannel(MagickWand *wand,
3750 const ChannelType channel,const PixelWand *target,
3751 const PixelWand *fill,const double fuzz,const MagickBooleanType invert)
3754 <p>A description of each parameter follows:</p></ol>
3757 <ol><p>the magick wand.</p></ol>
3760 <ol><p>the channel(s).</p></ol>
3763 <ol><p>Change this target color to the fill color within the image.</p></ol>
3766 <ol><p>the fill pixel wand.</p></ol>
3769 <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>
3772 <ol><p>paint any pixel that does not match the target color.</p></ol>
3775 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3776 _8c.html" target="source" name="MagickOptimizeImageLayers">MagickOptimizeImageLayers</a></h2>
3777 <div class="doc-section">
3779 <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>
3781 <p>The format of the MagickOptimizeImageLayers method is:</p>
3784 MagickWand *MagickOptimizeImageLayers(MagickWand *wand)
3787 <p>A description of each parameter follows:</p></ol>
3790 <ol><p>the magick wand.</p></ol>
3793 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3794 _8c.html" target="source" name="MagickOrderedPosterizeImage">MagickOrderedPosterizeImage</a></h2>
3795 <div class="doc-section">
3797 <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>
3799 <p>The format of the MagickOrderedPosterizeImage method is:</p>
3802 MagickBooleanType MagickOrderedPosterizeImage(MagickWand *wand,
3803 const char *threshold_map)
3804 MagickBooleanType MagickOrderedPosterizeImageChannel(MagickWand *wand,
3805 const ChannelType channel,const char *threshold_map)
3808 <p>A description of each parameter follows:</p></ol>
3811 <ol><p>the image.</p></ol>
3814 <ol><p>the channel or channels to be thresholded.</p></ol>
3816 <h5>threshold_map</h5>
3817 <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>
3819 <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>
3821 <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>
3823 <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>
3826 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3827 _8c.html" target="source" name="MagickPingImage">MagickPingImage</a></h2>
3828 <div class="doc-section">
3830 <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>
3832 <p>The format of the MagickPingImage method is:</p>
3835 MagickBooleanType MagickPingImage(MagickWand *wand,const char *filename)
3838 <p>A description of each parameter follows:</p></ol>
3841 <ol><p>the magick wand.</p></ol>
3844 <ol><p>the image filename.</p></ol>
3847 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3848 _8c.html" target="source" name="MagickPingImageBlob">MagickPingImageBlob</a></h2>
3849 <div class="doc-section">
3851 <p>MagickPingImageBlob() pings an image or image sequence from a blob.</p></ol>
3853 <p>The format of the MagickPingImageBlob method is:</p>
3856 MagickBooleanType MagickPingImageBlob(MagickWand *wand,
3857 const void *blob,const size_t length)
3860 <p>A description of each parameter follows:</p></ol>
3863 <ol><p>the magick wand.</p></ol>
3866 <ol><p>the blob.</p></ol>
3869 <ol><p>the blob length.</p></ol>
3872 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3873 _8c.html" target="source" name="MagickPingImageFile">MagickPingImageFile</a></h2>
3874 <div class="doc-section">
3876 <p>MagickPingImageFile() pings an image or image sequence from an open file descriptor.</p></ol>
3878 <p>The format of the MagickPingImageFile method is:</p>
3881 MagickBooleanType MagickPingImageFile(MagickWand *wand,FILE *file)
3884 <p>A description of each parameter follows:</p></ol>
3887 <ol><p>the magick wand.</p></ol>
3890 <ol><p>the file descriptor.</p></ol>
3893 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3894 _8c.html" target="source" name="MagickPolaroidImage">MagickPolaroidImage</a></h2>
3895 <div class="doc-section">
3897 <p>MagickPolaroidImage() simulates a Polaroid picture.</p></ol>
3899 <p>The format of the MagickPolaroidImage method is:</p>
3902 MagickBooleanType MagickPolaroidImage(MagickWand *wand,
3903 const DrawingWand *drawing_wand,const double angle)
3906 <p>A description of each parameter follows:</p></ol>
3909 <ol><p>the magick wand.</p></ol>
3911 <h5>drawing_wand</h5>
3912 <ol><p>the draw wand.</p></ol>
3915 <ol><p>Apply the effect along this angle.</p></ol>
3918 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3919 _8c.html" target="source" name="MagickPosterizeImage">MagickPosterizeImage</a></h2>
3920 <div class="doc-section">
3922 <p>MagickPosterizeImage() reduces the image to a limited number of color level.</p></ol>
3924 <p>The format of the MagickPosterizeImage method is:</p>
3927 MagickBooleanType MagickPosterizeImage(MagickWand *wand,
3928 const unsigned levels,const MagickBooleanType dither)
3931 <p>A description of each parameter follows:</p></ol>
3934 <ol><p>the magick wand.</p></ol>
3937 <ol><p>Number of color levels allowed in each channel. Very low values (2, 3, or 4) have the most visible effect.</p></ol>
3940 <ol><p>Set this integer value to something other than zero to dither the mapped image.</p></ol>
3943 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3944 _8c.html" target="source" name="MagickPreviewImages">MagickPreviewImages</a></h2>
3945 <div class="doc-section">
3947 <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>
3949 <p>The format of the MagickPreviewImages method is:</p>
3952 MagickWand *MagickPreviewImages(MagickWand *wand,
3953 const PreviewType preview)
3956 <p>A description of each parameter follows:</p></ol>
3959 <ol><p>the magick wand.</p></ol>
3962 <ol><p>the preview type.</p></ol>
3965 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3966 _8c.html" target="source" name="MagickPreviousImage">MagickPreviousImage</a></h2>
3967 <div class="doc-section">
3969 <p>MagickPreviousImage() assocates the previous image in an image list with the magick wand.</p></ol>
3971 <p>The format of the MagickPreviousImage method is:</p>
3974 MagickBooleanType MagickPreviousImage(MagickWand *wand)
3977 <p>A description of each parameter follows:</p></ol>
3980 <ol><p>the magick wand.</p></ol>
3983 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3984 _8c.html" target="source" name="MagickQuantizeImage">MagickQuantizeImage</a></h2>
3985 <div class="doc-section">
3987 <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>
3989 <p>The format of the MagickQuantizeImage method is:</p>
3992 MagickBooleanType MagickQuantizeImage(MagickWand *wand,
3993 const unsigned long number_colors,const ColorspaceType colorspace,
3994 const unsigned long treedepth,const MagickBooleanType dither,
3995 const MagickBooleanType measure_error)
3998 <p>A description of each parameter follows:</p></ol>
4001 <ol><p>the magick wand.</p></ol>
4003 <h5>number_colors</h5>
4004 <ol><p>the number of colors.</p></ol>
4007 <ol><p>Perform color reduction in this colorspace, typically RGBColorspace.</p></ol>
4010 <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>
4013 <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>
4015 <h5>measure_error</h5>
4016 <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>
4019 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4020 _8c.html" target="source" name="MagickQuantizeImages">MagickQuantizeImages</a></h2>
4021 <div class="doc-section">
4023 <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>
4025 <p>The format of the MagickQuantizeImages method is:</p>
4028 MagickBooleanType MagickQuantizeImages(MagickWand *wand,
4029 const unsigned long number_colors,const ColorspaceType colorspace,
4030 const unsigned long treedepth,const MagickBooleanType dither,
4031 const MagickBooleanType measure_error)
4034 <p>A description of each parameter follows:</p></ol>
4037 <ol><p>the magick wand.</p></ol>
4039 <h5>number_colors</h5>
4040 <ol><p>the number of colors.</p></ol>
4043 <ol><p>Perform color reduction in this colorspace, typically RGBColorspace.</p></ol>
4046 <ol><p>Normally, this integer value is zero or one. A zero or one tells Quantize to choose a optimal tree depth of Log4(number_colors). A tree of this depth generally allows the best representation of the reference image with the least amount of memory and the fastest computational speed. In some cases, such as an image with low color dispersion (a few number of colors), a value other than Log4(number_colors) is required. To expand the color tree completely, use a value of 8.</p></ol>
4049 <ol><p>A value other than zero distributes the difference between an original image and the corresponding color reduced algorithm to neighboring pixels along a Hilbert curve.</p></ol>
4051 <h5>measure_error</h5>
4052 <ol><p>A value other than zero measures the difference between the original and quantized images. This difference is the total quantization error. The error is computed by summing over all pixels in an image the distance squared in RGB space between each reference pixel value and its quantized value.</p></ol>
4055 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4056 _8c.html" target="source" name="MagickRadialBlurImage">MagickRadialBlurImage</a></h2>
4057 <div class="doc-section">
4059 <p>MagickRadialBlurImage() radial blurs an image.</p></ol>
4061 <p>The format of the MagickRadialBlurImage method is:</p>
4064 MagickBooleanType MagickRadialBlurImage(MagickWand *wand,
4066 MagickBooleanType MagickRadialBlurImageChannel(MagickWand *wand,
4067 const ChannelType channel,const double angle)
4070 <p>A description of each parameter follows:</p></ol>
4073 <ol><p>the magick wand.</p></ol>
4076 <ol><p>the image channel(s).</p></ol>
4079 <ol><p>the angle of the blur in degrees.</p></ol>
4082 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4083 _8c.html" target="source" name="MagickRaiseImage">MagickRaiseImage</a></h2>
4084 <div class="doc-section">
4086 <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>
4088 <p>The format of the MagickRaiseImage method is:</p>
4091 MagickBooleanType MagickRaiseImage(MagickWand *wand,
4092 const unsigned long width,const unsigned long height,const long x,
4093 const long y,const MagickBooleanType raise)
4096 <p>A description of each parameter follows:</p></ol>
4099 <ol><p>the magick wand.</p></ol>
4101 <h5>width,height,x,y</h5>
4102 <ol><p>Define the dimensions of the area to raise.</p></ol>
4105 <ol><p>A value other than zero creates a 3-D raise effect, otherwise it has a lowered effect.</p></ol>
4108 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4109 _8c.html" target="source" name="MagickRandomThresholdImage">MagickRandomThresholdImage</a></h2>
4110 <div class="doc-section">
4112 <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>
4114 <p>The format of the MagickRandomThresholdImage method is:</p>
4117 MagickBooleanType MagickRandomThresholdImage(MagickWand *wand,
4118 const double low,const double high)
4119 MagickBooleanType MagickRandomThresholdImageChannel(MagickWand *wand,
4120 const ChannelType channel,const double low,const double high)
4123 <p>A description of each parameter follows:</p></ol>
4126 <ol><p>the magick wand.</p></ol>
4129 <ol><p>the image channel(s).</p></ol>
4132 <ol><p>Specify the high and low thresholds. These values range from 0 to QuantumRange.</p></ol>
4135 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4136 _8c.html" target="source" name="MagickReadImage">MagickReadImage</a></h2>
4137 <div class="doc-section">
4139 <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>
4141 <p>The format of the MagickReadImage method is:</p>
4144 MagickBooleanType MagickReadImage(MagickWand *wand,const char *filename)
4147 <p>A description of each parameter follows:</p></ol>
4150 <ol><p>the magick wand.</p></ol>
4153 <ol><p>the image filename.</p></ol>
4156 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4157 _8c.html" target="source" name="MagickReadImageBlob">MagickReadImageBlob</a></h2>
4158 <div class="doc-section">
4160 <p>MagickReadImageBlob() reads an image or image sequence from a blob.</p></ol>
4162 <p>The format of the MagickReadImageBlob method is:</p>
4165 MagickBooleanType MagickReadImageBlob(MagickWand *wand,
4166 const void *blob,const size_t length)
4169 <p>A description of each parameter follows:</p></ol>
4172 <ol><p>the magick wand.</p></ol>
4175 <ol><p>the blob.</p></ol>
4178 <ol><p>the blob length.</p></ol>
4181 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4182 _8c.html" target="source" name="MagickReadImageFile">MagickReadImageFile</a></h2>
4183 <div class="doc-section">
4185 <p>MagickReadImageFile() reads an image or image sequence from an open file descriptor.</p></ol>
4187 <p>The format of the MagickReadImageFile method is:</p>
4190 MagickBooleanType MagickReadImageFile(MagickWand *wand,FILE *file)
4193 <p>A description of each parameter follows:</p></ol>
4196 <ol><p>the magick wand.</p></ol>
4199 <ol><p>the file descriptor.</p></ol>
4202 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4203 _8c.html" target="source" name="MagickRecolorImage">MagickRecolorImage</a></h2>
4204 <div class="doc-section">
4206 <p>MagickRecolorImage() translate, scale, shear, or rotate image colors. Although you can use variable sized matrices, typically you use a 5 x 5 for an RGBA image and a 6x6 for CMYKA. Populate the last row with normalized values to translate.</p></ol>
4208 <p>The format of the MagickRecolorImage method is:</p>
4211 MagickBooleanType MagickRecolorImage(MagickWand *wand,
4212 const unsigned long order,const double *color_matrix)
4215 <p>A description of each parameter follows:</p></ol>
4218 <ol><p>the magick wand.</p></ol>
4221 <ol><p>the number of columns and rows in the color matrix.</p></ol>
4223 <h5>color_matrix</h5>
4224 <ol><p>An array of doubles representing the color matrix.</p></ol>
4227 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4228 _8c.html" target="source" name="MagickReduceNoiseImage">MagickReduceNoiseImage</a></h2>
4229 <div class="doc-section">
4231 <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>
4233 <p>The format of the MagickReduceNoiseImage method is:</p>
4236 MagickBooleanType MagickReduceNoiseImage(MagickWand *wand,
4237 const double radius)
4240 <p>A description of each parameter follows:</p></ol>
4243 <ol><p>the magick wand.</p></ol>
4246 <ol><p>the radius of the pixel neighborhood.</p></ol>
4249 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4250 _8c.html" target="source" name="MagickRemapImage">MagickRemapImage</a></h2>
4251 <div class="doc-section">
4253 <p>MagickRemapImage() replaces the colors of an image with the closest color from a reference image.</p></ol>
4255 <p>The format of the MagickRemapImage method is:</p>
4258 MagickBooleanType MagickRemapImage(MagickWand *wand,
4259 const MagickWand *remap_wand,const DitherMethod method)
4262 <p>A description of each parameter follows:</p></ol>
4265 <ol><p>the magick wand.</p></ol>
4268 <ol><p>the affinity wand.</p></ol>
4271 <ol><p>choose from these dither methods: NoDitherMethod, RiemersmaDitherMethod, or FloydSteinbergDitherMethod.</p></ol>
4274 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4275 _8c.html" target="source" name="MagickRemoveImage">MagickRemoveImage</a></h2>
4276 <div class="doc-section">
4278 <p>MagickRemoveImage() removes an image from the image list.</p></ol>
4280 <p>The format of the MagickRemoveImage method is:</p>
4283 MagickBooleanType MagickRemoveImage(MagickWand *wand)
4286 <p>A description of each parameter follows:</p></ol>
4289 <ol><p>the magick wand.</p></ol>
4292 <ol><p>the splice wand.</p></ol>
4295 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4296 _8c.html" target="source" name="MagickResampleImage">MagickResampleImage</a></h2>
4297 <div class="doc-section">
4299 <p>MagickResampleImage() resample image to desired resolution.</p></ol>
4301 <p>Bessel Blackman Box Catrom Cubic Gaussian Hanning Hermite Lanczos Mitchell Point Quandratic Sinc Triangle</p></ol>
4303 <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>
4305 <p>The format of the MagickResampleImage method is:</p>
4308 MagickBooleanType MagickResampleImage(MagickWand *wand,
4309 const double x_resolution,const double y_resolution,
4310 const FilterTypes filter,const double blur)
4313 <p>A description of each parameter follows:</p></ol>
4316 <ol><p>the magick wand.</p></ol>
4318 <h5>x_resolution</h5>
4319 <ol><p>the new image x resolution.</p></ol>
4321 <h5>y_resolution</h5>
4322 <ol><p>the new image y resolution.</p></ol>
4325 <ol><p>Image filter to use.</p></ol>
4328 <ol><p>the blur factor where > 1 is blurry, < 1 is sharp.</p></ol>
4331 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4332 _8c.html" target="source" name="MagickResetImagePage">MagickResetImagePage</a></h2>
4333 <div class="doc-section">
4335 <p>MagickResetImagePage() resets the Wand page canvas and position.</p></ol>
4337 <p>The format of the MagickResetImagePage method is:</p>
4340 MagickBooleanType MagickResetImagePage(MagickWand *wand,
4344 <p>A description of each parameter follows:</p></ol>
4347 <ol><p>the magick wand.</p></ol>
4350 <ol><p>the relative page specification.</p></ol>
4353 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4354 _8c.html" target="source" name="MagickResizeImage">MagickResizeImage</a></h2>
4355 <div class="doc-section">
4357 <p>MagickResizeImage() scales an image to the desired dimensions with one of these filters:</p>
4361 Catrom CubicGaussian
4362 Hanning Hermite Lanczos
4363 Mitchell PointQuandratic
4367 <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>
4369 <p>The format of the MagickResizeImage method is:</p>
4372 MagickBooleanType MagickResizeImage(MagickWand *wand,
4373 const unsigned long columns,const unsigned long rows,
4374 const FilterTypes filter,const double blur)
4377 <p>A description of each parameter follows:</p></ol>
4380 <ol><p>the magick wand.</p></ol>
4383 <ol><p>the number of columns in the scaled image.</p></ol>
4386 <ol><p>the number of rows in the scaled image.</p></ol>
4389 <ol><p>Image filter to use.</p></ol>
4392 <ol><p>the blur factor where > 1 is blurry, < 1 is sharp.</p></ol>
4395 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4396 _8c.html" target="source" name="MagickRollImage">MagickRollImage</a></h2>
4397 <div class="doc-section">
4399 <p>MagickRollImage() offsets an image as defined by x and y.</p></ol>
4401 <p>The format of the MagickRollImage method is:</p>
4404 MagickBooleanType MagickRollImage(MagickWand *wand,const long x,
4405 const unsigned long y)
4408 <p>A description of each parameter follows:</p></ol>
4411 <ol><p>the magick wand.</p></ol>
4414 <ol><p>the x offset.</p></ol>
4417 <ol><p>the y offset.</p></ol>
4421 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4422 _8c.html" target="source" name="MagickRotateImage">MagickRotateImage</a></h2>
4423 <div class="doc-section">
4425 <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>
4427 <p>The format of the MagickRotateImage method is:</p>
4430 MagickBooleanType MagickRotateImage(MagickWand *wand,
4431 const PixelWand *background,const double degrees)
4434 <p>A description of each parameter follows:</p></ol>
4437 <ol><p>the magick wand.</p></ol>
4440 <ol><p>the background pixel wand.</p></ol>
4443 <ol><p>the number of degrees to rotate the image.</p></ol>
4447 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4448 _8c.html" target="source" name="MagickSampleImage">MagickSampleImage</a></h2>
4449 <div class="doc-section">
4451 <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>
4453 <p>The format of the MagickSampleImage method is:</p>
4456 MagickBooleanType MagickSampleImage(MagickWand *wand,
4457 const unsigned long columns,const unsigned long rows)
4460 <p>A description of each parameter follows:</p></ol>
4463 <ol><p>the magick wand.</p></ol>
4466 <ol><p>the number of columns in the scaled image.</p></ol>
4469 <ol><p>the number of rows in the scaled image.</p></ol>
4473 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4474 _8c.html" target="source" name="MagickScaleImage">MagickScaleImage</a></h2>
4475 <div class="doc-section">
4477 <p>MagickScaleImage() scales the size of an image to the given dimensions.</p></ol>
4479 <p>The format of the MagickScaleImage method is:</p>
4482 MagickBooleanType MagickScaleImage(MagickWand *wand,
4483 const unsigned long columns,const unsigned long rows)
4486 <p>A description of each parameter follows:</p></ol>
4489 <ol><p>the magick wand.</p></ol>
4492 <ol><p>the number of columns in the scaled image.</p></ol>
4495 <ol><p>the number of rows in the scaled image.</p></ol>
4499 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4500 _8c.html" target="source" name="MagickSegmentImage">MagickSegmentImage</a></h2>
4501 <div class="doc-section">
4503 <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>
4505 <p>The format of the SegmentImage method is:</p>
4508 MagickBooleanType MagickSegmentImage(MagickWand *wand,
4509 const ColorspaceType colorspace,const MagickBooleanType verbose,
4510 const double cluster_threshold,const double smooth_threshold)
4513 <p>A description of each parameter follows.</p></ol>
4516 <ol><p>the wand.</p></ol>
4519 <ol><p>the image colorspace.</p></ol>
4522 <ol><p>Set to MagickTrue to print detailed information about the identified classes.</p></ol>
4524 <h5>cluster_threshold</h5>
4525 <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>
4527 <h5>smooth_threshold</h5>
4528 <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>
4531 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4532 _8c.html" target="source" name="MagickSelectiveBlurImage">MagickSelectiveBlurImage</a></h2>
4533 <div class="doc-section">
4535 <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>
4537 <p>The format of the MagickSelectiveBlurImage method is:</p>
4540 MagickBooleanType MagickSelectiveBlurImage(MagickWand *wand,
4541 const double radius,const double sigma,const double threshold)
4542 MagickBooleanType MagickSelectiveBlurImageChannel(MagickWand *wand,
4543 const ChannelType channel,const double radius,const double sigma,
4544 const double threshold)
4547 <p>A description of each parameter follows:</p></ol>
4550 <ol><p>the magick wand.</p></ol>
4553 <ol><p>the image channel(s).</p></ol>
4556 <ol><p>the radius of the gaussian, in pixels, not counting the center pixel.</p></ol>
4559 <ol><p>the standard deviation of the gaussian, in pixels.</p></ol>
4562 <ol><p>only pixels within this contrast threshold are included in the blur operation.</p></ol>
4565 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4566 _8c.html" target="source" name="MagickSeparateImageChannel">MagickSeparateImageChannel</a></h2>
4567 <div class="doc-section">
4569 <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>
4571 <p>The format of the MagickSeparateImageChannel method is:</p>
4574 MagickBooleanType MagickSeparateImageChannel(MagickWand *wand,
4575 const ChannelType channel)
4578 <p>A description of each parameter follows:</p></ol>
4581 <ol><p>the magick wand.</p></ol>
4584 <ol><p>the image channel(s).</p></ol>
4587 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4588 _8c.html" target="source" name="MagickSepiaToneImage">MagickSepiaToneImage</a></h2>
4589 <div class="doc-section">
4591 <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>
4593 <p>The format of the MagickSepiaToneImage method is:</p>
4596 MagickBooleanType MagickSepiaToneImage(MagickWand *wand,
4597 const double threshold)
4600 <p>A description of each parameter follows:</p></ol>
4603 <ol><p>the magick wand.</p></ol>
4606 <ol><p>Define the extent of the sepia toning.</p></ol>
4609 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4610 _8c.html" target="source" name="MagickSetImage">MagickSetImage</a></h2>
4611 <div class="doc-section">
4613 <p>MagickSetImage() replaces the last image returned by MagickSetImageIndex(), MagickNextImage(), MagickPreviousImage() with the images from the specified wand.</p></ol>
4615 <p>The format of the MagickSetImage method is:</p>
4618 MagickBooleanType MagickSetImage(MagickWand *wand,
4619 const MagickWand *set_wand)
4622 <p>A description of each parameter follows:</p></ol>
4625 <ol><p>the magick wand.</p></ol>
4628 <ol><p>the set_wand wand.</p></ol>
4631 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4632 _8c.html" target="source" name="MagickSetImageAlphaChannel">MagickSetImageAlphaChannel</a></h2>
4633 <div class="doc-section">
4635 <p>MagickSetImageAlphaChannel() activates, deactivates, resets, or sets the alpha channel.</p></ol>
4637 <p>The format of the MagickSetImageAlphaChannel method is:</p>
4640 MagickBooleanType MagickSetImageAlphaChannel(MagickWand *wand,
4641 const AlphaChannelType alpha_type)
4644 <p>A description of each parameter follows:</p></ol>
4647 <ol><p>the magick wand.</p></ol>
4650 <ol><p>the alpha channel type: ActivateAlphaChannel, DeactivateAlphaChannel, OpaqueAlphaChannel, or SetAlphaChannel.</p></ol>
4653 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4654 _8c.html" target="source" name="MagickSetImageBackgroundColor">MagickSetImageBackgroundColor</a></h2>
4655 <div class="doc-section">
4657 <p>MagickSetImageBackgroundColor() sets the image background color.</p></ol>
4659 <p>The format of the MagickSetImageBackgroundColor method is:</p>
4662 MagickBooleanType MagickSetImageBackgroundColor(MagickWand *wand,
4663 const PixelWand *background)
4666 <p>A description of each parameter follows:</p></ol>
4669 <ol><p>the magick wand.</p></ol>
4672 <ol><p>the background pixel wand.</p></ol>
4675 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4676 _8c.html" target="source" name="MagickSetImageBias">MagickSetImageBias</a></h2>
4677 <div class="doc-section">
4679 <p>MagickSetImageBias() sets the image bias for any method that convolves an image (e.g. MagickConvolveImage()).</p></ol>
4681 <p>The format of the MagickSetImageBias method is:</p>
4684 MagickBooleanType MagickSetImageBias(MagickWand *wand,
4688 <p>A description of each parameter follows:</p></ol>
4691 <ol><p>the magick wand.</p></ol>
4694 <ol><p>the image bias.</p></ol>
4697 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4698 _8c.html" target="source" name="MagickSetImageBluePrimary">MagickSetImageBluePrimary</a></h2>
4699 <div class="doc-section">
4701 <p>MagickSetImageBluePrimary() sets the image chromaticity blue primary point.</p></ol>
4703 <p>The format of the MagickSetImageBluePrimary method is:</p>
4706 MagickBooleanType MagickSetImageBluePrimary(MagickWand *wand,
4707 const double x,const double y)
4710 <p>A description of each parameter follows:</p></ol>
4713 <ol><p>the magick wand.</p></ol>
4716 <ol><p>the blue primary x-point.</p></ol>
4719 <ol><p>the blue primary y-point.</p></ol>
4722 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4723 _8c.html" target="source" name="MagickSetImageBorderColor">MagickSetImageBorderColor</a></h2>
4724 <div class="doc-section">
4726 <p>MagickSetImageBorderColor() sets the image border color.</p></ol>
4728 <p>The format of the MagickSetImageBorderColor method is:</p>
4731 MagickBooleanType MagickSetImageBorderColor(MagickWand *wand,
4732 const PixelWand *border)
4735 <p>A description of each parameter follows:</p></ol>
4738 <ol><p>the magick wand.</p></ol>
4741 <ol><p>the border pixel wand.</p></ol>
4744 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4745 _8c.html" target="source" name="MagickSetImageChannelDepth">MagickSetImageChannelDepth</a></h2>
4746 <div class="doc-section">
4748 <p>MagickSetImageChannelDepth() sets the depth of a particular image channel.</p></ol>
4750 <p>The format of the MagickSetImageChannelDepth method is:</p>
4753 MagickBooleanType MagickSetImageChannelDepth(MagickWand *wand,
4754 const ChannelType channel,const unsigned long depth)
4757 <p>A description of each parameter follows:</p></ol>
4760 <ol><p>the magick wand.</p></ol>
4763 <ol><p>the image channel(s).</p></ol>
4766 <ol><p>the image depth in bits.</p></ol>
4769 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4770 _8c.html" target="source" name="MagickSetImageClipMask">MagickSetImageClipMask</a></h2>
4771 <div class="doc-section">
4773 <p>MagickSetImageClipMask() sets image clip mask.</p></ol>
4775 <p>The format of the MagickSetImageClipMask method is:</p>
4778 MagickBooleanType MagickSetImageClipMask(MagickWand *wand,
4779 const MagickWand *clip_mask)
4782 <p>A description of each parameter follows:</p></ol>
4785 <ol><p>the magick wand.</p></ol>
4788 <ol><p>the clip_mask wand.</p></ol>
4791 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4792 _8c.html" target="source" name="MagickSetImageColormapColor">MagickSetImageColormapColor</a></h2>
4793 <div class="doc-section">
4795 <p>MagickSetImageColormapColor() sets the color of the specified colormap index.</p></ol>
4797 <p>The format of the MagickSetImageColormapColor method is:</p>
4800 MagickBooleanType MagickSetImageColormapColor(MagickWand *wand,
4801 const unsigned long index,const PixelWand *color)
4804 <p>A description of each parameter follows:</p></ol>
4807 <ol><p>the magick wand.</p></ol>
4810 <ol><p>the offset into the image colormap.</p></ol>
4813 <ol><p>Return the colormap color in this wand.</p></ol>
4816 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4817 _8c.html" target="source" name="MagickSetImageColorspace">MagickSetImageColorspace</a></h2>
4818 <div class="doc-section">
4820 <p>MagickSetImageColorspace() sets the image colorspace.</p></ol>
4822 <p>The format of the MagickSetImageColorspace method is:</p>
4825 MagickBooleanType MagickSetImageColorspace(MagickWand *wand,
4826 const ColorspaceType colorspace)
4829 <p>A description of each parameter follows:</p></ol>
4832 <ol><p>the magick wand.</p></ol>
4835 <ol><p>the image colorspace: UndefinedColorspace, RGBColorspace, GRAYColorspace, TransparentColorspace, OHTAColorspace, XYZColorspace, YCbCrColorspace, YCCColorspace, YIQColorspace, YPbPrColorspace, YPbPrColorspace, YUVColorspace, CMYKColorspace, sRGBColorspace, HSLColorspace, or HWBColorspace.</p></ol>
4838 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4839 _8c.html" target="source" name="MagickSetImageCompose">MagickSetImageCompose</a></h2>
4840 <div class="doc-section">
4842 <p>MagickSetImageCompose() sets the image composite operator, useful for specifying how to composite the image thumbnail when using the MagickMontageImage() method.</p></ol>
4844 <p>The format of the MagickSetImageCompose method is:</p>
4847 MagickBooleanType MagickSetImageCompose(MagickWand *wand,
4848 const CompositeOperator compose)
4851 <p>A description of each parameter follows:</p></ol>
4854 <ol><p>the magick wand.</p></ol>
4857 <ol><p>the image composite operator.</p></ol>
4860 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4861 _8c.html" target="source" name="MagickSetImageCompression">MagickSetImageCompression</a></h2>
4862 <div class="doc-section">
4864 <p>MagickSetImageCompression() sets the image compression.</p></ol>
4866 <p>The format of the MagickSetImageCompression method is:</p>
4869 MagickBooleanType MagickSetImageCompression(MagickWand *wand,
4870 const CompressionType compression)
4873 <p>A description of each parameter follows:</p></ol>
4876 <ol><p>the magick wand.</p></ol>
4878 <h5>compression</h5>
4879 <ol><p>the image compression type.</p></ol>
4882 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4883 _8c.html" target="source" name="MagickSetImageCompressionQuality">MagickSetImageCompressionQuality</a></h2>
4884 <div class="doc-section">
4886 <p>MagickSetImageCompressionQuality() sets the image compression quality.</p></ol>
4888 <p>The format of the MagickSetImageCompressionQuality method is:</p>
4891 MagickBooleanType MagickSetImageCompressionQuality(MagickWand *wand,
4892 const unsigned long quality)
4895 <p>A description of each parameter follows:</p></ol>
4898 <ol><p>the magick wand.</p></ol>
4901 <ol><p>the image compression tlityype.</p></ol>
4904 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4905 _8c.html" target="source" name="MagickSetImageDelay">MagickSetImageDelay</a></h2>
4906 <div class="doc-section">
4908 <p>MagickSetImageDelay() sets the image delay.</p></ol>
4910 <p>The format of the MagickSetImageDelay method is:</p>
4913 MagickBooleanType MagickSetImageDelay(MagickWand *wand,
4914 const unsigned long delay)
4917 <p>A description of each parameter follows:</p></ol>
4920 <ol><p>the magick wand.</p></ol>
4923 <ol><p>the image delay in ticks-per-second units.</p></ol>
4926 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4927 _8c.html" target="source" name="MagickSetImageDepth">MagickSetImageDepth</a></h2>
4928 <div class="doc-section">
4930 <p>MagickSetImageDepth() sets the image depth.</p></ol>
4932 <p>The format of the MagickSetImageDepth method is:</p>
4935 MagickBooleanType MagickSetImageDepth(MagickWand *wand,
4936 const unsigned long depth)
4939 <p>A description of each parameter follows:</p></ol>
4942 <ol><p>the magick wand.</p></ol>
4945 <ol><p>the image depth in bits: 8, 16, or 32.</p></ol>
4948 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4949 _8c.html" target="source" name="MagickSetImageDispose">MagickSetImageDispose</a></h2>
4950 <div class="doc-section">
4952 <p>MagickSetImageDispose() sets the image disposal method.</p></ol>
4954 <p>The format of the MagickSetImageDispose method is:</p>
4957 MagickBooleanType MagickSetImageDispose(MagickWand *wand,
4958 const DisposeType dispose)
4961 <p>A description of each parameter follows:</p></ol>
4964 <ol><p>the magick wand.</p></ol>
4967 <ol><p>the image disposeal type.</p></ol>
4970 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4971 _8c.html" target="source" name="MagickSetImageExtent">MagickSetImageExtent</a></h2>
4972 <div class="doc-section">
4974 <p>MagickSetImageExtent() sets the image size (i.e. columns & rows).</p></ol>
4976 <p>The format of the MagickSetImageExtent method is:</p>
4979 MagickBooleanType MagickSetImageExtent(MagickWand *wand,
4980 const unsigned long columns,const unsigned rows)
4983 <p>A description of each parameter follows:</p></ol>
4986 <ol><p>the magick wand.</p></ol>
4989 <ol><p>The image width in pixels.</p></ol>
4992 <ol><p>The image height in pixels.</p></ol>
4995 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4996 _8c.html" target="source" name="MagickSetImageFilename">MagickSetImageFilename</a></h2>
4997 <div class="doc-section">
4999 <p>MagickSetImageFilename() sets the filename of a particular image in a sequence.</p></ol>
5001 <p>The format of the MagickSetImageFilename method is:</p>
5004 MagickBooleanType MagickSetImageFilename(MagickWand *wand,
5005 const char *filename)
5008 <p>A description of each parameter follows:</p></ol>
5011 <ol><p>the magick wand.</p></ol>
5014 <ol><p>the image filename.</p></ol>
5017 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5018 _8c.html" target="source" name="MagickSetImageFormat">MagickSetImageFormat</a></h2>
5019 <div class="doc-section">
5021 <p>MagickSetImageFormat() sets the format of a particular image in a sequence.</p></ol>
5023 <p>The format of the MagickSetImageFormat method is:</p>
5026 MagickBooleanType MagickSetImageFormat(MagickWand *wand,
5030 <p>A description of each parameter follows:</p></ol>
5033 <ol><p>the magick wand.</p></ol>
5036 <ol><p>the image format.</p></ol>
5039 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5040 _8c.html" target="source" name="MagickSetImageFuzz">MagickSetImageFuzz</a></h2>
5041 <div class="doc-section">
5043 <p>MagickSetImageFuzz() sets the image fuzz.</p></ol>
5045 <p>The format of the MagickSetImageFuzz method is:</p>
5048 MagickBooleanType MagickSetImageFuzz(MagickWand *wand,
5052 <p>A description of each parameter follows:</p></ol>
5055 <ol><p>the magick wand.</p></ol>
5058 <ol><p>the image fuzz.</p></ol>
5061 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5062 _8c.html" target="source" name="MagickSetImageGamma">MagickSetImageGamma</a></h2>
5063 <div class="doc-section">
5065 <p>MagickSetImageGamma() sets the image gamma.</p></ol>
5067 <p>The format of the MagickSetImageGamma method is:</p>
5070 MagickBooleanType MagickSetImageGamma(MagickWand *wand,
5074 <p>A description of each parameter follows:</p></ol>
5077 <ol><p>the magick wand.</p></ol>
5080 <ol><p>the image gamma.</p></ol>
5083 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5084 _8c.html" target="source" name="MagickSetImageGravity">MagickSetImageGravity</a></h2>
5085 <div class="doc-section">
5087 <p>MagickSetImageGravity() sets the image gravity type.</p></ol>
5089 <p>The format of the MagickSetImageGravity method is:</p>
5092 MagickBooleanType MagickSetImageGravity(MagickWand *wand,
5093 const GravityType gravity)
5096 <p>A description of each parameter follows:</p></ol>
5099 <ol><p>the magick wand.</p></ol>
5102 <ol><p>the image interlace scheme: NoInterlace, LineInterlace, PlaneInterlace, PartitionInterlace.</p></ol>
5105 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5106 _8c.html" target="source" name="MagickSetImageGreenPrimary">MagickSetImageGreenPrimary</a></h2>
5107 <div class="doc-section">
5109 <p>MagickSetImageGreenPrimary() sets the image chromaticity green primary point.</p></ol>
5111 <p>The format of the MagickSetImageGreenPrimary method is:</p>
5114 MagickBooleanType MagickSetImageGreenPrimary(MagickWand *wand,
5115 const double x,const double y)
5118 <p>A description of each parameter follows:</p></ol>
5121 <ol><p>the magick wand.</p></ol>
5124 <ol><p>the green primary x-point.</p></ol>
5127 <ol><p>the green primary y-point.</p></ol>
5131 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5132 _8c.html" target="source" name="MagickSetImageInterlaceScheme">MagickSetImageInterlaceScheme</a></h2>
5133 <div class="doc-section">
5135 <p>MagickSetImageInterlaceScheme() sets the image interlace scheme.</p></ol>
5137 <p>The format of the MagickSetImageInterlaceScheme method is:</p>
5140 MagickBooleanType MagickSetImageInterlaceScheme(MagickWand *wand,
5141 const InterlaceType interlace)
5144 <p>A description of each parameter follows:</p></ol>
5147 <ol><p>the magick wand.</p></ol>
5150 <ol><p>the image interlace scheme: NoInterlace, LineInterlace, PlaneInterlace, PartitionInterlace.</p></ol>
5153 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5154 _8c.html" target="source" name="MagickSetImageInterpolateMethod">MagickSetImageInterpolateMethod</a></h2>
5155 <div class="doc-section">
5157 <p>MagickSetImageInterpolateMethod() sets the image interpolate pixel method.</p></ol>
5159 <p>The format of the MagickSetImageInterpolateMethod method is:</p>
5162 MagickBooleanType MagickSetImageInterpolateMethod(MagickWand *wand,
5163 const InterpolatePixelMethod method)
5166 <p>A description of each parameter follows:</p></ol>
5169 <ol><p>the magick wand.</p></ol>
5172 <ol><p>the image interpole pixel methods: choose from Undefined, Average, Bicubic, Bilinear, Filter, Integer, Mesh, NearestNeighbor.</p></ol>
5175 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5176 _8c.html" target="source" name="MagickSetImageIterations">MagickSetImageIterations</a></h2>
5177 <div class="doc-section">
5179 <p>MagickSetImageIterations() sets the image iterations.</p></ol>
5181 <p>The format of the MagickSetImageIterations method is:</p>
5184 MagickBooleanType MagickSetImageIterations(MagickWand *wand,
5185 const unsigned long iterations)
5188 <p>A description of each parameter follows:</p></ol>
5191 <ol><p>the magick wand.</p></ol>
5194 <ol><p>the image delay in 1/100th of a second.</p></ol>
5197 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5198 _8c.html" target="source" name="MagickSetImageMatte">MagickSetImageMatte</a></h2>
5199 <div class="doc-section">
5201 <p>MagickSetImageMatte() sets the image matte channel.</p></ol>
5203 <p>The format of the MagickSetImageMatteColor method is:</p>
5206 MagickBooleanType MagickSetImageMatteColor(MagickWand *wand,
5207 const MagickBooleanType *matte)
5210 <p>A description of each parameter follows:</p></ol>
5213 <ol><p>the magick wand.</p></ol>
5216 <ol><p>Set to MagickTrue to enable the image matte channel otherwise MagickFalse.</p></ol>
5219 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5220 _8c.html" target="source" name="MagickSetImageMatteColor">MagickSetImageMatteColor</a></h2>
5221 <div class="doc-section">
5223 <p>MagickSetImageMatteColor() sets the image matte color.</p></ol>
5225 <p>The format of the MagickSetImageMatteColor method is:</p>
5228 MagickBooleanType MagickSetImageMatteColor(MagickWand *wand,
5229 const PixelWand *matte)
5232 <p>A description of each parameter follows:</p></ol>
5235 <ol><p>the magick wand.</p></ol>
5238 <ol><p>the matte pixel wand.</p></ol>
5241 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5242 _8c.html" target="source" name="MagickSetImageOpacity">MagickSetImageOpacity</a></h2>
5243 <div class="doc-section">
5245 <p>MagickSetImageOpacity() sets the image to the specified opacity level.</p></ol>
5247 <p>The format of the MagickSetImageOpacity method is:</p>
5250 MagickBooleanType MagickSetImageOpacity(MagickWand *wand,
5254 <p>A description of each parameter follows:</p></ol>
5257 <ol><p>the magick wand.</p></ol>
5260 <ol><p>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.</p></ol>
5263 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5264 _8c.html" target="source" name="MagickSetImageOrientation">MagickSetImageOrientation</a></h2>
5265 <div class="doc-section">
5267 <p>MagickSetImageOrientation() sets the image orientation.</p></ol>
5269 <p>The format of the MagickSetImageOrientation method is:</p>
5272 MagickBooleanType MagickSetImageOrientation(MagickWand *wand,
5273 const OrientationType orientation)
5276 <p>A description of each parameter follows:</p></ol>
5279 <ol><p>the magick wand.</p></ol>
5281 <h5>orientation</h5>
5282 <ol><p>the image orientation type.</p></ol>
5285 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5286 _8c.html" target="source" name="MagickSetImagePage">MagickSetImagePage</a></h2>
5287 <div class="doc-section">
5289 <p>MagickSetImagePage() sets the page geometry of the image.</p></ol>
5291 <p>The format of the MagickSetImagePage method is:</p>
5294 MagickBooleanType MagickSetImagePage(MagickWand *wand,
5295 const unsigned long width,const unsigned long height,const long x,
5299 <p>A description of each parameter follows:</p></ol>
5302 <ol><p>the magick wand.</p></ol>
5305 <ol><p>the page width.</p></ol>
5308 <ol><p>the page height.</p></ol>
5311 <ol><p>the page x-offset.</p></ol>
5314 <ol><p>the page y-offset.</p></ol>
5317 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5318 _8c.html" target="source" name="MagickSetImageProgressMonitor">MagickSetImageProgressMonitor</a></h2>
5319 <div class="doc-section">
5321 <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>
5324 MagickBooleanType MagickProgressMonitor(const char *text,
5325 const MagickOffsetType offset,const MagickSizeType span,
5329 <p>If the progress monitor returns MagickFalse, the current operation is interrupted.</p></ol>
5331 <p>The format of the MagickSetImageProgressMonitor method is:</p>
5334 MagickProgressMonitor MagickSetImageProgressMonitor(MagickWand *wand
5335 const MagickProgressMonitor progress_monitor,void *client_data)
5338 <p>A description of each parameter follows:</p></ol>
5341 <ol><p>the magick wand.</p></ol>
5343 <h5>progress_monitor</h5>
5344 <ol><p>Specifies a pointer to a method to monitor progress of an image operation.</p></ol>
5346 <h5>client_data</h5>
5347 <ol><p>Specifies a pointer to any client data.</p></ol>
5350 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5351 _8c.html" target="source" name="MagickSetImageRedPrimary">MagickSetImageRedPrimary</a></h2>
5352 <div class="doc-section">
5354 <p>MagickSetImageRedPrimary() sets the image chromaticity red primary point.</p></ol>
5356 <p>The format of the MagickSetImageRedPrimary method is:</p>
5359 MagickBooleanType MagickSetImageRedPrimary(MagickWand *wand,
5360 const double x,const double y)
5363 <p>A description of each parameter follows:</p></ol>
5366 <ol><p>the magick wand.</p></ol>
5369 <ol><p>the red primary x-point.</p></ol>
5372 <ol><p>the red primary y-point.</p></ol>
5375 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5376 _8c.html" target="source" name="MagickSetImageRenderingIntent">MagickSetImageRenderingIntent</a></h2>
5377 <div class="doc-section">
5379 <p>MagickSetImageRenderingIntent() sets the image rendering intent.</p></ol>
5381 <p>The format of the MagickSetImageRenderingIntent method is:</p>
5384 MagickBooleanType MagickSetImageRenderingIntent(MagickWand *wand,
5385 const RenderingIntent rendering_intent)
5388 <p>A description of each parameter follows:</p></ol>
5391 <ol><p>the magick wand.</p></ol>
5393 <h5>rendering_intent</h5>
5394 <ol><p>the image rendering intent: UndefinedIntent, SaturationIntent, PerceptualIntent, AbsoluteIntent, or RelativeIntent.</p></ol>
5397 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5398 _8c.html" target="source" name="MagickSetImageResolution">MagickSetImageResolution</a></h2>
5399 <div class="doc-section">
5401 <p>MagickSetImageResolution() sets the image resolution.</p></ol>
5403 <p>The format of the MagickSetImageResolution method is:</p>
5406 MagickBooleanType MagickSetImageResolution(MagickWand *wand,
5407 const double x_resolution,const doubtl y_resolution)
5410 <p>A description of each parameter follows:</p></ol>
5413 <ol><p>the magick wand.</p></ol>
5415 <h5>x_resolution</h5>
5416 <ol><p>the image x resolution.</p></ol>
5418 <h5>y_resolution</h5>
5419 <ol><p>the image y resolution.</p></ol>
5422 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5423 _8c.html" target="source" name="MagickSetImageScene">MagickSetImageScene</a></h2>
5424 <div class="doc-section">
5426 <p>MagickSetImageScene() sets the image scene.</p></ol>
5428 <p>The format of the MagickSetImageScene method is:</p>
5431 MagickBooleanType MagickSetImageScene(MagickWand *wand,
5432 const unsigned long scene)
5435 <p>A description of each parameter follows:</p></ol>
5438 <ol><p>the magick wand.</p></ol>
5441 <ol><p>the image scene number.</p></ol>
5444 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5445 _8c.html" target="source" name="MagickSetImageTicksPerSecond">MagickSetImageTicksPerSecond</a></h2>
5446 <div class="doc-section">
5448 <p>MagickSetImageTicksPerSecond() sets the image ticks-per-second.</p></ol>
5450 <p>The format of the MagickSetImageTicksPerSecond method is:</p>
5453 MagickBooleanType MagickSetImageTicksPerSecond(MagickWand *wand,
5454 const long ticks_per-second)
5457 <p>A description of each parameter follows:</p></ol>
5460 <ol><p>the magick wand.</p></ol>
5462 <h5>ticks_per_second</h5>
5463 <ol><p>the units to use for the image delay.</p></ol>
5466 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5467 _8c.html" target="source" name="MagickSetImageType">MagickSetImageType</a></h2>
5468 <div class="doc-section">
5470 <p>MagickSetImageType() sets the image type.</p></ol>
5472 <p>The format of the MagickSetImageType method is:</p>
5475 MagickBooleanType MagickSetImageType(MagickWand *wand,
5476 const ImageType image_type)
5479 <p>A description of each parameter follows:</p></ol>
5482 <ol><p>the magick wand.</p></ol>
5485 <ol><p>the image type: UndefinedType, BilevelType, GrayscaleType, GrayscaleMatteType, PaletteType, PaletteMatteType, TrueColorType, TrueColorMatteType, ColorSeparationType, ColorSeparationMatteType, or OptimizeType.</p></ol>
5488 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5489 _8c.html" target="source" name="MagickSetImageUnits">MagickSetImageUnits</a></h2>
5490 <div class="doc-section">
5492 <p>MagickSetImageUnits() sets the image units of resolution.</p></ol>
5494 <p>The format of the MagickSetImageUnits method is:</p>
5497 MagickBooleanType MagickSetImageUnits(MagickWand *wand,
5498 const ResolutionType units)
5501 <p>A description of each parameter follows:</p></ol>
5504 <ol><p>the magick wand.</p></ol>
5507 <ol><p>the image units of resolution : UndefinedResolution, PixelsPerInchResolution, or PixelsPerCentimeterResolution.</p></ol>
5510 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5511 _8c.html" target="source" name="MagickSetImageVirtualPixelMethod">MagickSetImageVirtualPixelMethod</a></h2>
5512 <div class="doc-section">
5514 <p>MagickSetImageVirtualPixelMethod() sets the image virtual pixel method.</p></ol>
5516 <p>The format of the MagickSetImageVirtualPixelMethod method is:</p>
5519 VirtualPixelMethod MagickSetImageVirtualPixelMethod(MagickWand *wand,
5520 const VirtualPixelMethod method)
5523 <p>A description of each parameter follows:</p></ol>
5526 <ol><p>the magick wand.</p></ol>
5529 <ol><p>the image virtual pixel method : UndefinedVirtualPixelMethod, ConstantVirtualPixelMethod, EdgeVirtualPixelMethod, MirrorVirtualPixelMethod, or TileVirtualPixelMethod.</p></ol>
5532 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5533 _8c.html" target="source" name="MagickSetImageWhitePoint">MagickSetImageWhitePoint</a></h2>
5534 <div class="doc-section">
5536 <p>MagickSetImageWhitePoint() sets the image chromaticity white point.</p></ol>
5538 <p>The format of the MagickSetImageWhitePoint method is:</p>
5541 MagickBooleanType MagickSetImageWhitePoint(MagickWand *wand,
5542 const double x,const double y)
5545 <p>A description of each parameter follows:</p></ol>
5548 <ol><p>the magick wand.</p></ol>
5551 <ol><p>the white x-point.</p></ol>
5554 <ol><p>the white y-point.</p></ol>
5557 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5558 _8c.html" target="source" name="MagickShadeImage">MagickShadeImage</a></h2>
5559 <div class="doc-section">
5561 <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>
5563 <p>The format of the MagickShadeImage method is:</p>
5566 MagickBooleanType MagickShadeImage(MagickWand *wand,
5567 const MagickBooleanType gray,const double azimuth,
5568 const double elevation)
5571 <p>A description of each parameter follows:</p></ol>
5574 <ol><p>the magick wand.</p></ol>
5577 <ol><p>A value other than zero shades the intensity of each pixel.</p></ol>
5579 <h5>azimuth, elevation</h5>
5580 <ol><p>Define the light source direction.</p></ol>
5583 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5584 _8c.html" target="source" name="MagickShadowImage">MagickShadowImage</a></h2>
5585 <div class="doc-section">
5587 <p>MagickShadowImage() simulates an image shadow.</p></ol>
5589 <p>The format of the MagickShadowImage method is:</p>
5592 MagickBooleanType MagickShadowImage(MagickWand *wand,
5593 const double opacity,const double sigma,const long x,const long y)
5596 <p>A description of each parameter follows:</p></ol>
5599 <ol><p>the magick wand.</p></ol>
5602 <ol><p>percentage transparency.</p></ol>
5605 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
5608 <ol><p>the shadow x-offset.</p></ol>
5611 <ol><p>the shadow y-offset.</p></ol>
5614 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5615 _8c.html" target="source" name="MagickSharpenImage">MagickSharpenImage</a></h2>
5616 <div class="doc-section">
5618 <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>
5620 <p>The format of the MagickSharpenImage method is:</p>
5623 MagickBooleanType MagickSharpenImage(MagickWand *wand,
5624 const double radius,const double sigma)
5625 MagickBooleanType MagickSharpenImageChannel(MagickWand *wand,
5626 const ChannelType channel,const double radius,const double sigma)
5629 <p>A description of each parameter follows:</p></ol>
5632 <ol><p>the magick wand.</p></ol>
5635 <ol><p>the image channel(s).</p></ol>
5638 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
5641 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
5644 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5645 _8c.html" target="source" name="MagickShaveImage">MagickShaveImage</a></h2>
5646 <div class="doc-section">
5648 <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>
5650 <p>The format of the MagickShaveImage method is:</p>
5653 MagickBooleanType MagickShaveImage(MagickWand *wand,
5654 const unsigned long columns,const unsigned long rows)
5657 <p>A description of each parameter follows:</p></ol>
5660 <ol><p>the magick wand.</p></ol>
5663 <ol><p>the number of columns in the scaled image.</p></ol>
5666 <ol><p>the number of rows in the scaled image.</p></ol>
5670 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5671 _8c.html" target="source" name="MagickShearImage">MagickShearImage</a></h2>
5672 <div class="doc-section">
5674 <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>
5676 <p>The format of the MagickShearImage method is:</p>
5679 MagickBooleanType MagickShearImage(MagickWand *wand,
5680 const PixelWand *background,const double x_shear,onst double y_shear)
5683 <p>A description of each parameter follows:</p></ol>
5686 <ol><p>the magick wand.</p></ol>
5689 <ol><p>the background pixel wand.</p></ol>
5692 <ol><p>the number of degrees to shear the image.</p></ol>
5695 <ol><p>the number of degrees to shear the image.</p></ol>
5698 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5699 _8c.html" target="source" name="MagickSigmoidalContrastImage">MagickSigmoidalContrastImage</a></h2>
5700 <div class="doc-section">
5702 <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>
5704 <p>The format of the MagickSigmoidalContrastImage method is:</p>
5707 MagickBooleanType MagickSigmoidalContrastImage(MagickWand *wand,
5708 const MagickBooleanType sharpen,const double alpha,const double beta)
5709 MagickBooleanType MagickSigmoidalContrastImageChannel(MagickWand *wand,
5710 const ChannelType channel,const MagickBooleanType sharpen,
5711 const double alpha,const double beta)
5714 <p>A description of each parameter follows:</p></ol>
5717 <ol><p>the magick wand.</p></ol>
5720 <ol><p>Identify which channel to level: RedChannel, GreenChannel,</p></ol>
5723 <ol><p>Increase or decrease image contrast.</p></ol>
5726 <ol><p>control the "shoulder" of the contast curve.</p></ol>
5729 <ol><p>control the "toe" of the contast curve.</p></ol>
5732 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5733 _8c.html" target="source" name="MagickSimilarityImage">MagickSimilarityImage</a></h2>
5734 <div class="doc-section">
5736 <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>
5738 <p>The format of the MagickSimilarityImage method is:</p>
5741 MagickWand *MagickSimilarityImage(MagickWand *wand,
5742 const MagickWand *reference,RectangeInfo *offset,double *similarity)
5745 <p>A description of each parameter follows:</p></ol>
5748 <ol><p>the magick wand.</p></ol>
5751 <ol><p>the reference wand.</p></ol>
5754 <ol><p>the best match offset of the reference image within the image.</p></ol>
5757 <ol><p>the computed similarity between the images.</p></ol>
5760 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5761 _8c.html" target="source" name="MagickSketchImage">MagickSketchImage</a></h2>
5762 <div class="doc-section">
5764 <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>
5766 <p>The format of the MagickSketchImage method is:</p>
5769 MagickBooleanType MagickSketchImage(MagickWand *wand,
5770 const double radius,const double sigma,const double angle)
5773 <p>A description of each parameter follows:</p></ol>
5776 <ol><p>the magick wand.</p></ol>
5779 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
5782 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
5785 <ol><p>Apply the effect along this angle.</p></ol>
5788 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5789 _8c.html" target="source" name="MagickSolarizeImage">MagickSolarizeImage</a></h2>
5790 <div class="doc-section">
5792 <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>
5794 <p>The format of the MagickSolarizeImage method is:</p>
5797 MagickBooleanType MagickSolarizeImage(MagickWand *wand,
5798 const double threshold)
5801 <p>A description of each parameter follows:</p></ol>
5804 <ol><p>the magick wand.</p></ol>
5807 <ol><p>Define the extent of the solarization.</p></ol>
5810 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5811 _8c.html" target="source" name="MagickSparseColorImage">MagickSparseColorImage</a></h2>
5812 <div class="doc-section">
5814 <p>MagickSparseColorImage(), given a set of coordinates, interpolates the colors found at those coordinates, across the whole image, using various methods.</p></ol>
5816 <p>The format of the MagickSparseColorImage method is:</p>
5819 MagickBooleanType MagickSparseColorImage(MagickWand *wand,
5820 const ChannelType channel,const SparseColorMethod method,
5821 const unsigned long number_arguments,const double *arguments)
5824 <p>A description of each parameter follows:</p></ol>
5827 <ol><p>the image to be sparseed.</p></ol>
5830 <ol><p>the method of image sparseion.</p></ol>
5832 <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>
5834 <p>Bilinear has no simple inverse mapping so will not allow 'bestfit' style of image sparseion.</p></ol>
5836 <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>
5838 <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>
5840 <h5>number_arguments</h5>
5841 <ol><p>the number of arguments given for this sparseion method.</p></ol>
5844 <ol><p>the arguments for this sparseion method.</p></ol>
5847 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5848 _8c.html" target="source" name="MagickSpliceImage">MagickSpliceImage</a></h2>
5849 <div class="doc-section">
5851 <p>MagickSpliceImage() splices a solid color into the image.</p></ol>
5853 <p>The format of the MagickSpliceImage method is:</p>
5856 MagickBooleanType MagickSpliceImage(MagickWand *wand,
5857 const unsigned long width,const unsigned long height,const long x,
5861 <p>A description of each parameter follows:</p></ol>
5864 <ol><p>the magick wand.</p></ol>
5867 <ol><p>the region width.</p></ol>
5870 <ol><p>the region height.</p></ol>
5873 <ol><p>the region x offset.</p></ol>
5876 <ol><p>the region y offset.</p></ol>
5879 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5880 _8c.html" target="source" name="MagickSpreadImage">MagickSpreadImage</a></h2>
5881 <div class="doc-section">
5883 <p>MagickSpreadImage() is a special effects method that randomly displaces each pixel in a block defined by the radius parameter.</p></ol>
5885 <p>The format of the MagickSpreadImage method is:</p>
5888 MagickBooleanType MagickSpreadImage(MagickWand *wand,const double radius)
5891 <p>A description of each parameter follows:</p></ol>
5894 <ol><p>the magick wand.</p></ol>
5897 <ol><p>Choose a random pixel in a neighborhood of this extent.</p></ol>
5900 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5901 _8c.html" target="source" name="MagickSteganoImage">MagickSteganoImage</a></h2>
5902 <div class="doc-section">
5904 <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>
5906 <p>The format of the MagickSteganoImage method is:</p>
5909 MagickWand *MagickSteganoImage(MagickWand *wand,
5910 const MagickWand *watermark_wand,const long offset)
5913 <p>A description of each parameter follows:</p></ol>
5916 <ol><p>the magick wand.</p></ol>
5918 <h5>watermark_wand</h5>
5919 <ol><p>the watermark wand.</p></ol>
5922 <ol><p>Start hiding at this offset into the image.</p></ol>
5925 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5926 _8c.html" target="source" name="MagickStereoImage">MagickStereoImage</a></h2>
5927 <div class="doc-section">
5929 <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>
5931 <p>The format of the MagickStereoImage method is:</p>
5934 MagickWand *MagickStereoImage(MagickWand *wand,
5935 const MagickWand *offset_wand)
5938 <p>A description of each parameter follows:</p></ol>
5941 <ol><p>the magick wand.</p></ol>
5943 <h5>offset_wand</h5>
5944 <ol><p>Another image wand.</p></ol>
5947 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5948 _8c.html" target="source" name="MagickStripImage">MagickStripImage</a></h2>
5949 <div class="doc-section">
5951 <p>MagickStripImage() strips an image of all profiles and comments.</p></ol>
5953 <p>The format of the MagickStripImage method is:</p>
5956 MagickBooleanType MagickStripImage(MagickWand *wand)
5959 <p>A description of each parameter follows:</p></ol>
5962 <ol><p>the magick wand.</p></ol>
5965 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5966 _8c.html" target="source" name="MagickSwirlImage">MagickSwirlImage</a></h2>
5967 <div class="doc-section">
5969 <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>
5971 <p>The format of the MagickSwirlImage method is:</p>
5974 MagickBooleanType MagickSwirlImage(MagickWand *wand,const double degrees)
5977 <p>A description of each parameter follows:</p></ol>
5980 <ol><p>the magick wand.</p></ol>
5983 <ol><p>Define the tightness of the swirling effect.</p></ol>
5986 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5987 _8c.html" target="source" name="MagickTextureImage">MagickTextureImage</a></h2>
5988 <div class="doc-section">
5990 <p>MagickTextureImage() repeatedly tiles the texture image across and down the image canvas.</p></ol>
5992 <p>The format of the MagickTextureImage method is:</p>
5995 MagickWand *MagickTextureImage(MagickWand *wand,
5996 const MagickWand *texture_wand)
5999 <p>A description of each parameter follows:</p></ol>
6002 <ol><p>the magick wand.</p></ol>
6004 <h5>texture_wand</h5>
6005 <ol><p>the texture wand</p></ol>
6008 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6009 _8c.html" target="source" name="MagickThresholdImage">MagickThresholdImage</a></h2>
6010 <div class="doc-section">
6012 <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>
6014 <p>The format of the MagickThresholdImage method is:</p>
6017 MagickBooleanType MagickThresholdImage(MagickWand *wand,
6018 const double threshold)
6019 MagickBooleanType MagickThresholdImageChannel(MagickWand *wand,
6020 const ChannelType channel,const double threshold)
6023 <p>A description of each parameter follows:</p></ol>
6026 <ol><p>the magick wand.</p></ol>
6029 <ol><p>the image channel(s).</p></ol>
6032 <ol><p>Define the threshold value.</p></ol>
6035 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6036 _8c.html" target="source" name="MagickThumbnailImage">MagickThumbnailImage</a></h2>
6037 <div class="doc-section">
6039 <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>
6041 <p>The format of the MagickThumbnailImage method is:</p>
6044 MagickBooleanType MagickThumbnailImage(MagickWand *wand,
6045 const unsigned long columns,const unsigned long rows)
6048 <p>A description of each parameter follows:</p></ol>
6051 <ol><p>the magick wand.</p></ol>
6054 <ol><p>the number of columns in the scaled image.</p></ol>
6057 <ol><p>the number of rows in the scaled image.</p></ol>
6060 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6061 _8c.html" target="source" name="MagickTintImage">MagickTintImage</a></h2>
6062 <div class="doc-section">
6064 <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>
6066 <p>The format of the MagickTintImage method is:</p>
6069 MagickBooleanType MagickTintImage(MagickWand *wand,
6070 const PixelWand *tint,const PixelWand *opacity)
6073 <p>A description of each parameter follows:</p></ol>
6076 <ol><p>the magick wand.</p></ol>
6079 <ol><p>the tint pixel wand.</p></ol>
6082 <ol><p>the opacity pixel wand.</p></ol>
6085 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6086 _8c.html" target="source" name="MagickTransformImage">MagickTransformImage</a></h2>
6087 <div class="doc-section">
6089 <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>
6091 <p>The format of the MagickTransformImage method is:</p>
6094 MagickWand *MagickTransformImage(MagickWand *wand,const char *crop,
6095 const char *geometry)
6098 <p>A description of each parameter follows:</p></ol>
6101 <ol><p>the magick wand.</p></ol>
6104 <ol><p>A crop geometry string. This geometry defines a subregion of the image to crop.</p></ol>
6107 <ol><p>An image geometry string. This geometry defines the final size of the image.</p></ol>
6110 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6111 _8c.html" target="source" name="MagickTransformImageColorspace">MagickTransformImageColorspace</a></h2>
6112 <div class="doc-section">
6114 <p>MagickTransformImageColorspace() transform the image colorspace.</p></ol>
6116 <p>The format of the MagickTransformImageColorspace method is:</p>
6119 MagickBooleanType MagickTransformImageColorspace(MagickWand *wand,
6120 const ColorspaceType colorspace)
6123 <p>A description of each parameter follows:</p></ol>
6126 <ol><p>the magick wand.</p></ol>
6129 <ol><p>the image colorspace: UndefinedColorspace, RGBColorspace, GRAYColorspace, TransparentColorspace, OHTAColorspace, XYZColorspace, YCbCrColorspace, YCCColorspace, YIQColorspace, YPbPrColorspace, YPbPrColorspace, YUVColorspace, CMYKColorspace, sRGBColorspace, HSLColorspace, or HWBColorspace.</p></ol>
6132 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6133 _8c.html" target="source" name="MagickTransparentPaintImage">MagickTransparentPaintImage</a></h2>
6134 <div class="doc-section">
6136 <p>MagickTransparentPaintImage() changes any pixel that matches color with the color defined by fill.</p></ol>
6138 <p>The format of the MagickTransparentPaintImage method is:</p>
6141 MagickBooleanType MagickTransparentPaintImage(MagickWand *wand,
6142 const PixelWand *target,const double alpha,const double fuzz,
6143 const MagickBooleanType invert)
6146 <p>A description of each parameter follows:</p></ol>
6149 <ol><p>the magick wand.</p></ol>
6152 <ol><p>Change this target color to specified opacity value within the image.</p></ol>
6155 <ol><p>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.</p></ol>
6158 <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>
6161 <ol><p>paint any pixel that does not match the target color.</p></ol>
6164 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6165 _8c.html" target="source" name="MagickTransposeImage">MagickTransposeImage</a></h2>
6166 <div class="doc-section">
6168 <p>MagickTransposeImage() creates a vertical mirror image by reflecting the pixels around the central x-axis while rotating them 90-degrees.</p></ol>
6170 <p>The format of the MagickTransposeImage method is:</p>
6173 MagickBooleanType MagickTransposeImage(MagickWand *wand)
6176 <p>A description of each parameter follows:</p></ol>
6179 <ol><p>the magick wand.</p></ol>
6182 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6183 _8c.html" target="source" name="MagickTransverseImage">MagickTransverseImage</a></h2>
6184 <div class="doc-section">
6186 <p>MagickTransverseImage() creates a horizontal mirror image by reflecting the pixels around the central y-axis while rotating them 270-degrees.</p></ol>
6188 <p>The format of the MagickTransverseImage method is:</p>
6191 MagickBooleanType MagickTransverseImage(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="MagickTrimImage">MagickTrimImage</a></h2>
6202 <div class="doc-section">
6204 <p>MagickTrimImage() remove edges that are the background color from the image.</p></ol>
6206 <p>The format of the MagickTrimImage method is:</p>
6209 MagickBooleanType MagickTrimImage(MagickWand *wand,const double fuzz)
6212 <p>A description of each parameter follows:</p></ol>
6215 <ol><p>the magick wand.</p></ol>
6218 <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>
6221 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6222 _8c.html" target="source" name="MagickUniqueImageColors">MagickUniqueImageColors</a></h2>
6223 <div class="doc-section">
6225 <p>MagickUniqueImageColors() discards all but one of any pixel color.</p></ol>
6227 <p>The format of the MagickUniqueImageColors method is:</p>
6230 MagickBooleanType MagickUniqueImageColors(MagickWand *wand)
6233 <p>A description of each parameter follows:</p></ol>
6236 <ol><p>the magick wand.</p></ol>
6239 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6240 _8c.html" target="source" name="MagickUnsharpMaskImage">MagickUnsharpMaskImage</a></h2>
6241 <div class="doc-section">
6243 <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>
6245 <p>The format of the MagickUnsharpMaskImage method is:</p>
6248 MagickBooleanType MagickUnsharpMaskImage(MagickWand *wand,
6249 const double radius,const double sigma,const double amount,
6250 const double threshold)
6251 MagickBooleanType MagickUnsharpMaskImageChannel(MagickWand *wand,
6252 const ChannelType channel,const double radius,const double sigma,
6253 const double amount,const double threshold)
6256 <p>A description of each parameter follows:</p></ol>
6259 <ol><p>the magick wand.</p></ol>
6262 <ol><p>the image channel(s).</p></ol>
6265 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
6268 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
6271 <ol><p>the percentage of the difference between the original and the blur image that is added back into the original.</p></ol>
6274 <ol><p>the threshold in pixels needed to apply the diffence amount.</p></ol>
6277 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6278 _8c.html" target="source" name="MagickVignetteImage">MagickVignetteImage</a></h2>
6279 <div class="doc-section">
6281 <p>MagickVignetteImage() softens the edges of the image in vignette style.</p></ol>
6283 <p>The format of the MagickVignetteImage method is:</p>
6286 MagickBooleanType MagickVignetteImage(MagickWand *wand,
6287 const double black_point,const double white_point,const long x,
6291 <p>A description of each parameter follows:</p></ol>
6294 <ol><p>the magick wand.</p></ol>
6296 <h5>black_point</h5>
6297 <ol><p>the black point.</p></ol>
6299 <h5>white_point</h5>
6300 <ol><p>the white point.</p></ol>
6303 <ol><p>Define the x and y ellipse offset.</p></ol>
6306 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6307 _8c.html" target="source" name="MagickWaveImage">MagickWaveImage</a></h2>
6308 <div class="doc-section">
6310 <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>
6312 <p>The format of the MagickWaveImage method is:</p>
6315 MagickBooleanType MagickWaveImage(MagickWand *wand,const double amplitude,
6316 const double wave_length)
6319 <p>A description of each parameter follows:</p></ol>
6322 <ol><p>the magick wand.</p></ol>
6324 <h5>amplitude, wave_length</h5>
6325 <ol><p>Define the amplitude and wave length of the sine wave.</p></ol>
6328 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6329 _8c.html" target="source" name="MagickWhiteThresholdImage">MagickWhiteThresholdImage</a></h2>
6330 <div class="doc-section">
6332 <p>MagickWhiteThresholdImage() is like ThresholdImage() but force all pixels above the threshold into white while leaving all pixels below the threshold unchanged.</p></ol>
6334 <p>The format of the MagickWhiteThresholdImage method is:</p>
6337 MagickBooleanType MagickWhiteThresholdImage(MagickWand *wand,
6338 const PixelWand *threshold)
6341 <p>A description of each parameter follows:</p></ol>
6344 <ol><p>the magick wand.</p></ol>
6347 <ol><p>the pixel wand.</p></ol>
6350 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6351 _8c.html" target="source" name="MagickWriteImage">MagickWriteImage</a></h2>
6352 <div class="doc-section">
6354 <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>
6356 <p>The format of the MagickWriteImage method is:</p>
6359 MagickBooleanType MagickWriteImage(MagickWand *wand,
6360 const char *filename)
6363 <p>A description of each parameter follows:</p></ol>
6366 <ol><p>the magick wand.</p></ol>
6369 <ol><p>the image filename.</p></ol>
6373 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6374 _8c.html" target="source" name="MagickWriteImageFile">MagickWriteImageFile</a></h2>
6375 <div class="doc-section">
6377 <p>MagickWriteImageFile() writes an image to an open file descriptor.</p></ol>
6379 <p>The format of the MagickWriteImageFile method is:</p>
6382 MagickBooleanType MagickWriteImageFile(MagickWand *wand,FILE *file)
6385 <p>A description of each parameter follows:</p></ol>
6388 <ol><p>the magick wand.</p></ol>
6391 <ol><p>the file descriptor.</p></ol>
6394 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6395 _8c.html" target="source" name="MagickWriteImages">MagickWriteImages</a></h2>
6396 <div class="doc-section">
6398 <p>MagickWriteImages() writes an image or image sequence.</p></ol>
6400 <p>The format of the MagickWriteImages method is:</p>
6403 MagickBooleanType MagickWriteImages(MagickWand *wand,
6404 const char *filename,const MagickBooleanType adjoin)
6407 <p>A description of each parameter follows:</p></ol>
6410 <ol><p>the magick wand.</p></ol>
6413 <ol><p>the image filename.</p></ol>
6416 <ol><p>join images into a single multi-image file.</p></ol>
6419 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6420 _8c.html" target="source" name="MagickWriteImagesFile">MagickWriteImagesFile</a></h2>
6421 <div class="doc-section">
6423 <p>MagickWriteImagesFile() writes an image sequence to an open file descriptor.</p></ol>
6425 <p>The format of the MagickWriteImagesFile method is:</p>
6428 MagickBooleanType MagickWriteImagesFile(MagickWand *wand,FILE *file)
6431 <p>A description of each parameter follows:</p></ol>
6434 <ol><p>the magick wand.</p></ol>
6437 <ol><p>the file descriptor.</p></ol>
6443 <div id="linkbar">
\r
6444 <!-- <span id="linkbar-west"> </span> -->
\r
6445 <span id="linkbar-center">
\r
6446 <a href="http://www.imagemagick.org/discourse-server/">Discourse Server</a> •
\r
6447 <a href="http://studio.webbyland.com/ImageMagick/MagickStudio/scripts/MagickStudio.cgi">Studio</a>
\r
6449 <span id="linkbar-east"> </span>
\r
6451 <div class="footer">
\r
6452 <span id="footer-west">© 1999-2010 ImageMagick Studio LLC</span>
\r
6453 <span id="footer-east"> <a href="../http://www.imagemagick.org/script/contact.php">Contact the Wizards</a></span>
\r
6455 <div style="clear: both; margin: 0; width: 100%; "></div>
\r