Debian Codegraph @

www/api/magick-image.html

raw symbols ◀ ▶ SCIP
5 Debian patches touch this file
1
2
3
4
•5 <!DOCTYPE html>
6 <html lang="en" data-bs-theme="dark">
7 <head>
8 <script src="../assets/color-modes.js" ></script>
9 <meta charset="utf-8" />
10 <meta name="viewport" content="width=device-width, initial-scale=1" />
11 <title>ImageMagick – MagickWand, C API: Image Methods</title>
12 <meta name="keywords" content="MagickWand, C API: Image Methods, Image Processing, Digital Image Editing, Image Conversion, Open-Source Software, Image Manipulation, Command-Line Image Tools" />
13 <meta name="description" content="ImageMagick is a powerful, open-source software suite for creating, editing, converting, and manipulating images in over 200 formats. Ideal for web developers, graphic designers, and researchers, it offers versatile tools for image processing, including batch processing, format conversion, and complex image transformations." />
14 <meta name="application-name" content="ImageMagick" />
15 <meta name="application-url" content="https://imagemagick.org" />
16 <meta name="copyright" content="Copyright (c) 1999 ImageMagick Studio LLC" />
17 <meta itemprop='url' content='../../' />
18 <meta itemprop='title' content='ImageMagick' />
19 <meta itemprop='description' content="ImageMagick is a powerful, open-source software suite for creating, editing, converting, and manipulating images in over 200 formats. Ideal for web developers, graphic designers, and researchers, it offers versatile tools for image processing, including batch processing, format conversion, and complex image transformations." />
20 <meta property='og:url' content='../../' />
21 <meta property='og:name' content='ImageMagick' />
22 <meta property='og:image' content='../../../../../../../../images/logo.png' />
23 <meta property='og:type' content='website' />
24 <meta property='og:site_name' content='ImageMagick' />
25 <meta property='og:description' content="ImageMagick is a powerful, open-source software suite for creating, editing, converting, and manipulating images in over 200 formats. Ideal for web developers, graphic designers, and researchers, it offers versatile tools for image processing, including batch processing, format conversion, and complex image transformations." />
26 <meta name="google-site-verification" content="_bMOCDpkx9ZAzBwb2kF3PRHbfUUdFj2uO8Jd1AXArz4" />
27 <link type="images/png" sizes="64x64" href="../../../../../../../images/wand.png" rel="icon" />
28 <link type="images/icon" sizes="16x16" href="../../../../../../../images/wand.ico" rel="shortcut icon" />
29 <link href="magick-image.html" rel="canonical" />
30 <link href="../assets/bootstrap.min.css" rel="stylesheet" />
31 </head>
32 <body>
33 <svg xmlns="http://www.w3.org/2000/svg" class="d-none">
34 <symbol id="check2" viewBox="0 0 16 16">
35 <path d="M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z"/>
36 </symbol>
37 <symbol id="circle-half" viewBox="0 0 16 16">
38 <path d="M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z"/>
39 </symbol>
40 <symbol id="moon-stars-fill" viewBox="0 0 16 16">
41 <path d="M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z"/>
42 <path d="M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z"/>
43 </symbol>
44 <symbol id="sun-fill" viewBox="0 0 16 16">
45 <path d="M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z"/>
46 </symbol>
47 </svg>
48 <div class="dropdown position-fixed bottom-0 end-0 mb-3 me-3 bd-mode-toggle">
49 <button class="btn btn-bd-secondary py-2 dropdown-toggle d-flex align-items-center"
50 id="bd-theme"
51 type="button"
52 aria-expanded="false"
53 data-bs-toggle="dropdown"
54 aria-label="Toggle theme (auto)">
55 <svg class="bi my-1 theme-icon-active" width="1em" height="1em"><use href="#circle-half"></use></svg>
56 <span class="visually-hidden" id="bd-theme-text">Toggle theme</span>
57 </button>
58 <ul class="dropdown-menu dropdown-menu-end shadow" aria-labelledby="bd-theme-text">
59 <li>
60 <button type="button" class="dropdown-item d-flex align-items-center" data-bs-theme-value="light" aria-pressed="false">
61 <svg class="bi me-2 opacity-50" width="1em" height="1em"><use href="#sun-fill"></use></svg>
62 Light
63 <svg class="bi ms-auto d-none" width="1em" height="1em"><use href="#check2"></use></svg>
64 </button>
65 </li>
66 <li>
67 <button type="button" class="dropdown-item d-flex align-items-center active" data-bs-theme-value="dark" aria-pressed="false">
68 <svg class="bi me-2 opacity-50" width="1em" height="1em"><use href="#moon-stars-fill"></use></svg>
69 Dark
70 <svg class="bi ms-auto d-none" width="1em" height="1em"><use href="#check2"></use></svg>
71 </button>
72 </li>
73 <li>
74 <button type="button" class="dropdown-item d-flex align-items-center" data-bs-theme-value="auto" aria-pressed="true">
75 <svg class="bi me-2 opacity-50" width="1em" height="1em"><use href="#circle-half"></use></svg>
76 Auto
77 <svg class="bi ms-auto d-none" width="1em" height="1em"><use href="#check2"></use></svg>
78 </button>
79 </li>
80 </ul>
81 </div>
82 <svg xmlns="http://www.w3.org/2000/svg" class="d-none">
83 <symbol id="arrow-right-circle" viewBox="0 0 16 16">
84 <path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM4.5 7.5a.5.5 0 0 0 0 1h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5H4.5z"/>
85 </symbol>
86 <symbol id="color-mode" viewBox="0 0 118 94">
87 <title>Color Modes</title>
88 <path fill-rule="evenodd" clip-rule="evenodd" d="M24.509 0c-6.733 0-11.715 5.893-11.492 12.284.214 6.14-.064 14.092-2.066 20.577C8.943 39.365 5.547 43.485 0 44.014v5.972c5.547.529 8.943 4.649 10.951 11.153 2.002 6.485 2.28 14.437 2.066 20.577C12.794 88.106 17.776 94 24.51 94H93.5c6.733 0 11.714-5.893 11.491-12.284-.214-6.14.064-14.092 2.066-20.577 2.009-6.504 5.396-10.624 10.943-11.153v-5.972c-5.547-.529-8.934-4.649-10.943-11.153-2.002-6.484-2.28-14.437-2.066-20.577C105.214 5.894 100.233 0 93.5 0H24.508zM80 57.863C80 66.663 73.436 72 62.543 72H44a2 2 0 01-2-2V24a2 2 0 012-2h18.437c9.083 0 15.044 4.92 15.044 12.474 0 5.302-4.01 10.049-9.119 10.88v.277C75.317 46.394 80 51.21 80 57.863zM60.521 28.34H49.948v14.934h8.905c6.884 0 10.68-2.772 10.68-7.727 0-4.643-3.264-7.207-9.012-7.207zM49.948 49.2v16.458H60.91c7.167 0 10.964-2.876 10.964-8.281 0-5.406-3.903-8.178-11.425-8.178H49.948z"></path>
89 </symbol>
90 </svg>
91 <nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
92 <div class="container-fluid">
93 <a class="navbar-brand" href="../index.html"><img class="d-block" id="icon" alt="ImageMagick" width="32" height="32" src="../../../../../../../images/wand.ico"/></a>
94 <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#magick-navbars" aria-controls="magick-navbars" aria-expanded="false" aria-label="Toggle navigation">
95 <span class="navbar-toggler-icon"></span>
96 </button>
97
98 <div class="collapse navbar-collapse" id="magick-navbars">
99 <ul class="navbar-nav me-auto mb-2 mb-md-0">
100 <li class="nav-item">
101 <a class="nav-link " href="../www/download.html">Download</a>
102 </li>
103 <li class="nav-item">
104 <a class="nav-link " href="../www/command-line-tools.html">Tools</a>
105 </li>
106 <li class="nav-item">
107 <a class="nav-link " href="../www/command-line-processing.html">CLI</a>
108 </li>
109 <li class="nav-item">
110 <a class="nav-link " href="../www/develop.html">Develop</a>
111 </li>
112 <li class="nav-item">
113 <a class="nav-link" target="_blank" href="https://github.com/ImageMagick/ImageMagick/discussions">Community</a>
114 </li>
115 <li class="nav-item">
•116
117 </li>
118 </ul>
•119 </div>
120 </div>
121 </nav>
122
123 <div class="col-lg-8 mx-auto p-4 py-md-5 text-body-secondary">
124 <header class="d-flex align-items-center pb-3 mb-5 border-bottom">
125 <a href="../index.html" class="d-flex align-items-center text-decoration-none">
126 <h1 class="mt-5 fs-3">MagickWand, C API: Image Methods</h1>
127 </a>
128 </header>
129
130 <main class="container">
131 <h1 class="text-center">Magick-image</h1>
132 <div class="btn-group">
133 <button class="btn btn-secondary dropdown-toggle" type="button" id="defaultDropdown" data-bs-toggle="dropdown" data-bs-auto-close="true" aria-expanded="false">
134 Select API Method
135 </button>
136 <ul class="dropdown-menu pre-scrollable" aria-labelledby="defaultDropdown">
137 <li><a href="#GetImageFromMagickWand">GetImageFromMagickWand</a></li>
138 <li><a href="#MagickAdaptiveBlurImage">MagickAdaptiveBlurImage</a></li>
139 <li><a href="#MagickAdaptiveResizeImage">MagickAdaptiveResizeImage</a></li>
140 <li><a href="#MagickAdaptiveSharpenImage">MagickAdaptiveSharpenImage</a></li>
141 <li><a href="#MagickAdaptiveThresholdImage">MagickAdaptiveThresholdImage</a></li>
142 <li><a href="#MagickAddImage">MagickAddImage</a></li>
143 <li><a href="#MagickAddNoiseImage">MagickAddNoiseImage</a></li>
144 <li><a href="#MagickAffineTransformImage">MagickAffineTransformImage</a></li>
145 <li><a href="#MagickAnnotateImage">MagickAnnotateImage</a></li>
146 <li><a href="#MagickAnimateImages">MagickAnimateImages</a></li>
147 <li><a href="#MagickAppendImages">MagickAppendImages</a></li>
148 <li><a href="#MagickAutoGammaImage">MagickAutoGammaImage</a></li>
149 <li><a href="#MagickAutoLevelImage">MagickAutoLevelImage</a></li>
150 <li><a href="#MagickAutoOrientImage">MagickAutoOrientImage</a></li>
151 <li><a href="#MagickAutoThresholdImage">MagickAutoThresholdImage</a></li>
152 <li><a href="#MagickBilateralBlurImage">MagickBilateralBlurImage</a></li>
153 <li><a href="#MagickBlackThresholdImage">MagickBlackThresholdImage</a></li>
154 <li><a href="#MagickBlueShiftImage">MagickBlueShiftImage</a></li>
155 <li><a href="#MagickBlurImage">MagickBlurImage</a></li>
156 <li><a href="#MagickBorderImage">MagickBorderImage</a></li>
157 <li><a href="#Use MagickBrightnessContrastImage">Use MagickBrightnessContrastImage</a></li>
158 <li><a href="#MagickCannyEdgeImage">MagickCannyEdgeImage</a></li>
159 <li><a href="#MagickChannelFxImage">MagickChannelFxImage</a></li>
160 <li><a href="#MagickCharcoalImage">MagickCharcoalImage</a></li>
161 <li><a href="#MagickChopImage">MagickChopImage</a></li>
162 <li><a href="#MagickCLAHEImage">MagickCLAHEImage</a></li>
163 <li><a href="#MagickClampImage">MagickClampImage</a></li>
164 <li><a href="#MagickClipImage">MagickClipImage</a></li>
165 <li><a href="#MagickClipImagePath">MagickClipImagePath</a></li>
166 <li><a href="#MagickClutImage">MagickClutImage</a></li>
167 <li><a href="#MagickCoalesceImages">MagickCoalesceImages</a></li>
168 <li><a href="#MagickColorDecisionListImage">MagickColorDecisionListImage</a></li>
169 <li><a href="#MagickColorizeImage">MagickColorizeImage</a></li>
170 <li><a href="#MagickColorMatrixImage">MagickColorMatrixImage</a></li>
171 <li><a href="#MagickColorThresholdImage">MagickColorThresholdImage</a></li>
172 <li><a href="#MagickCombineImages">MagickCombineImages</a></li>
173 <li><a href="#MagickCommentImage">MagickCommentImage</a></li>
174 <li><a href="#MagickCompareImagesLayers">MagickCompareImagesLayers</a></li>
175 <li><a href="#MagickCompareImages">MagickCompareImages</a></li>
176 <li><a href="#MagickComplexImages">MagickComplexImages</a></li>
177 <li><a href="#MagickCompositeImage">MagickCompositeImage</a></li>
178 <li><a href="#MagickCompositeImageGravity">MagickCompositeImageGravity</a></li>
179 <li><a href="#MagickCompositeLayers">MagickCompositeLayers</a></li>
180 <li><a href="#MagickConnectedComponentsImage">MagickConnectedComponentsImage</a></li>
181 <li><a href="#MagickContrastImage">MagickContrastImage</a></li>
182 <li><a href="#MagickContrastStretchImage">MagickContrastStretchImage</a></li>
183 <li><a href="#MagickConvolveImage">MagickConvolveImage</a></li>
184 <li><a href="#MagickCropImage">MagickCropImage</a></li>
185 <li><a href="#MagickCycleColormapImage">MagickCycleColormapImage</a></li>
186 <li><a href="#MagickConstituteImage">MagickConstituteImage</a></li>
187 <li><a href="#MagickDecipherImage">MagickDecipherImage</a></li>
188 <li><a href="#MagickDeconstructImages">MagickDeconstructImages</a></li>
189 <li><a href="#MagickDeskewImage">MagickDeskewImage</a></li>
190 <li><a href="#MagickDespeckleImage">MagickDespeckleImage</a></li>
191 <li><a href="#MagickDestroyImage">MagickDestroyImage</a></li>
192 <li><a href="#MagickDisplayImage">MagickDisplayImage</a></li>
193 <li><a href="#MagickDisplayImages">MagickDisplayImages</a></li>
194 <li><a href="#MagickDistortImage">MagickDistortImage</a></li>
195 <li><a href="#MagickDrawImage">MagickDrawImage</a></li>
196 <li><a href="#MagickEdgeImage">MagickEdgeImage</a></li>
197 <li><a href="#MagickEmbossImage">MagickEmbossImage</a></li>
198 <li><a href="#MagickEncipherImage">MagickEncipherImage</a></li>
199 <li><a href="#MagickEnhanceImage">MagickEnhanceImage</a></li>
200 <li><a href="#MagickEqualizeImage">MagickEqualizeImage</a></li>
201 <li><a href="#MagickEvaluateImage">MagickEvaluateImage</a></li>
202 <li><a href="#MagickExportImagePixels">MagickExportImagePixels</a></li>
203 <li><a href="#MagickExtentImage">MagickExtentImage</a></li>
204 <li><a href="#MagickFlipImage">MagickFlipImage</a></li>
205 <li><a href="#MagickFloodfillPaintImage">MagickFloodfillPaintImage</a></li>
206 <li><a href="#MagickFlopImage">MagickFlopImage</a></li>
207 <li><a href="#MagickForwardFourierTransformImage">MagickForwardFourierTransformImage</a></li>
208 <li><a href="#MagickFrameImage">MagickFrameImage</a></li>
209 <li><a href="#MagickFunctionImage">MagickFunctionImage</a></li>
210 <li><a href="#MagickFxImage">MagickFxImage</a></li>
211 <li><a href="#MagickGammaImage">MagickGammaImage</a></li>
212 <li><a href="#MagickGaussianBlurImage">MagickGaussianBlurImage</a></li>
213 <li><a href="#MagickGetImage">MagickGetImage</a></li>
214 <li><a href="#MagickGetImageAlphaChannel">MagickGetImageAlphaChannel</a></li>
215 <li><a href="#MagickGetImageMask">MagickGetImageMask</a></li>
216 <li><a href="#MagickGetImageBackgroundColor">MagickGetImageBackgroundColor</a></li>
217 <li><a href="#MagickGetImageBlob">MagickGetImageBlob</a></li>
218 <li><a href="#MagickGetImagesBlob">MagickGetImagesBlob</a></li>
219 <li><a href="#MagickGetImageBluePrimary">MagickGetImageBluePrimary</a></li>
220 <li><a href="#MagickGetImageBorderColor">MagickGetImageBorderColor</a></li>
221 <li><a href="#MagickGetImageFeatures">MagickGetImageFeatures</a></li>
222 <li><a href="#MagickGetImageKurtosis">MagickGetImageKurtosis</a></li>
223 <li><a href="#MagickGetImageMean">MagickGetImageMean</a></li>
224 <li><a href="#MagickGetImageRange">MagickGetImageRange</a></li>
225 <li><a href="#MagickGetImageStatistics">MagickGetImageStatistics</a></li>
226 <li><a href="#MagickGetImageColormapColor">MagickGetImageColormapColor</a></li>
227 <li><a href="#MagickGetImageColors">MagickGetImageColors</a></li>
228 <li><a href="#MagickGetImageColorspace">MagickGetImageColorspace</a></li>
229 <li><a href="#MagickGetImageCompose">MagickGetImageCompose</a></li>
230 <li><a href="#MagickGetImageCompression">MagickGetImageCompression</a></li>
231 <li><a href="#MagickGetImageCompressionQuality">MagickGetImageCompressionQuality</a></li>
232 <li><a href="#MagickGetImageDelay">MagickGetImageDelay</a></li>
233 <li><a href="#MagickGetImageDepth">MagickGetImageDepth</a></li>
234 <li><a href="#MagickGetImageDispose">MagickGetImageDispose</a></li>
235 <li><a href="#MagickGetImageDistortion">MagickGetImageDistortion</a></li>
236 <li><a href="#MagickGetImageDistortions">MagickGetImageDistortions</a></li>
237 <li><a href="#MagickGetImageEndian">MagickGetImageEndian</a></li>
238 <li><a href="#MagickGetImageFilename">MagickGetImageFilename</a></li>
239 <li><a href="#MagickGetImageFilter">MagickGetImageFilter</a></li>
240 <li><a href="#MagickGetImageFormat">MagickGetImageFormat</a></li>
241 <li><a href="#MagickGetImageFuzz">MagickGetImageFuzz</a></li>
242 <li><a href="#MagickGetImageGamma">MagickGetImageGamma</a></li>
243 <li><a href="#MagickGetImageGravity">MagickGetImageGravity</a></li>
244 <li><a href="#MagickGetImageGreenPrimary">MagickGetImageGreenPrimary</a></li>
245 <li><a href="#MagickGetImageHeight">MagickGetImageHeight</a></li>
246 <li><a href="#MagickGetImageHistogram">MagickGetImageHistogram</a></li>
247 <li><a href="#MagickGetImageInterlaceScheme">MagickGetImageInterlaceScheme</a></li>
248 <li><a href="#MagickGetImageInterpolateMethod">MagickGetImageInterpolateMethod</a></li>
249 <li><a href="#MagickGetImageIterations">MagickGetImageIterations</a></li>
250 <li><a href="#MagickGetImageLength">MagickGetImageLength</a></li>
251 <li><a href="#MagickGetImageMatteColor">MagickGetImageMatteColor</a></li>
252 <li><a href="#MagickGetImageOrientation">MagickGetImageOrientation</a></li>
253 <li><a href="#MagickGetImagePage">MagickGetImagePage</a></li>
254 <li><a href="#MagickGetImagePixelColor">MagickGetImagePixelColor</a></li>
255 <li><a href="#MagickGetImageRedPrimary">MagickGetImageRedPrimary</a></li>
256 <li><a href="#MagickGetImageRegion">MagickGetImageRegion</a></li>
257 <li><a href="#MagickGetImageRenderingIntent">MagickGetImageRenderingIntent</a></li>
258 <li><a href="#MagickGetImageResolution">MagickGetImageResolution</a></li>
259 <li><a href="#MagickGetImageScene">MagickGetImageScene</a></li>
260 <li><a href="#MagickGetImageSignature">MagickGetImageSignature</a></li>
261 <li><a href="#MagickGetImageTicksPerSecond">MagickGetImageTicksPerSecond</a></li>
262 <li><a href="#MagickGetImageType">MagickGetImageType</a></li>
263 <li><a href="#MagickGetImageUnits">MagickGetImageUnits</a></li>
264 <li><a href="#MagickGetImageVirtualPixelMethod">MagickGetImageVirtualPixelMethod</a></li>
265 <li><a href="#MagickGetImageWhitePoint">MagickGetImageWhitePoint</a></li>
266 <li><a href="#MagickGetImageWidth">MagickGetImageWidth</a></li>
267 <li><a href="#MagickGetNumberImages">MagickGetNumberImages</a></li>
268 <li><a href="#MagickGetImageTotalInkDensity">MagickGetImageTotalInkDensity</a></li>
269 <li><a href="#MagickHaldClutImage">MagickHaldClutImage</a></li>
270 <li><a href="#MagickHasNextImage">MagickHasNextImage</a></li>
271 <li><a href="#MagickHasPreviousImage">MagickHasPreviousImage</a></li>
272 <li><a href="#MagickHoughLineImage">MagickHoughLineImage</a></li>
273 <li><a href="#MagickIdentifyImage">MagickIdentifyImage</a></li>
274 <li><a href="#MagickIdentifyImageType">MagickIdentifyImageType</a></li>
275 <li><a href="#MagickImplodeImage">MagickImplodeImage</a></li>
276 <li><a href="#MagickImportImagePixels">MagickImportImagePixels</a></li>
277 <li><a href="#MagickInterpolativeResizeImage">MagickInterpolativeResizeImage</a></li>
278 <li><a href="#MagickInverseFourierTransformImage">MagickInverseFourierTransformImage</a></li>
279 <li><a href="#MagickKmeansImage">MagickKmeansImage</a></li>
280 <li><a href="#Use MagickKuwaharaImage">Use MagickKuwaharaImage</a></li>
281 <li><a href="#MagickLabelImage">MagickLabelImage</a></li>
282 <li><a href="#MagickLevelImage">MagickLevelImage</a></li>
283 <li><a href="#MagickLevelImageColors">MagickLevelImageColors</a></li>
284 <li><a href="#MagickLevelizeImage">MagickLevelizeImage</a></li>
285 <li><a href="#MagickLinearStretchImage">MagickLinearStretchImage</a></li>
286 <li><a href="#MagickLiquidRescaleImage">MagickLiquidRescaleImage</a></li>
287 <li><a href="#MagickLocalContrastImage">MagickLocalContrastImage</a></li>
288 <li><a href="#MagickMagnifyImage">MagickMagnifyImage</a></li>
289 <li><a href="#MagickMeanShiftImage">MagickMeanShiftImage</a></li>
290 <li><a href="#MagickMergeImageLayers">MagickMergeImageLayers</a></li>
291 <li><a href="#MagickMinifyImage">MagickMinifyImage</a></li>
292 <li><a href="#MagickModulateImage">MagickModulateImage</a></li>
293 <li><a href="#MagickMontageImage">MagickMontageImage</a></li>
294 <li><a href="#MagickMorphImages">MagickMorphImages</a></li>
295 <li><a href="#MagickMorphologyImage">MagickMorphologyImage</a></li>
296 <li><a href="#MagickMotionBlurImage">MagickMotionBlurImage</a></li>
297 <li><a href="#MagickNegateImage">MagickNegateImage</a></li>
298 <li><a href="#MagickNewImage">MagickNewImage</a></li>
299 <li><a href="#MagickNextImage">MagickNextImage</a></li>
300 <li><a href="#MagickNormalizeImage">MagickNormalizeImage</a></li>
301 <li><a href="#MagickOilPaintImage">MagickOilPaintImage</a></li>
302 <li><a href="#MagickOpaquePaintImage">MagickOpaquePaintImage</a></li>
303 <li><a href="#MagickOptimizeImageLayers">MagickOptimizeImageLayers</a></li>
304 <li><a href="#MagickOptimizeImageTransparency">MagickOptimizeImageTransparency</a></li>
305 <li><a href="#MagickOrderedDitherImage">MagickOrderedDitherImage</a></li>
306 <li><a href="#MagickPingImage">MagickPingImage</a></li>
307 <li><a href="#MagickPingImageBlob">MagickPingImageBlob</a></li>
308 <li><a href="#MagickPingImageFile">MagickPingImageFile</a></li>
309 <li><a href="#MagickPolaroidImage">MagickPolaroidImage</a></li>
310 <li><a href="#MagickPolynomialImage">MagickPolynomialImage</a></li>
311 <li><a href="#MagickPosterizeImage">MagickPosterizeImage</a></li>
312 <li><a href="#MagickPreviewImages">MagickPreviewImages</a></li>
313 <li><a href="#MagickPreviousImage">MagickPreviousImage</a></li>
314 <li><a href="#MagickQuantizeImage">MagickQuantizeImage</a></li>
315 <li><a href="#MagickQuantizeImages">MagickQuantizeImages</a></li>
316 <li><a href="#MagickRangeThresholdImage">MagickRangeThresholdImage</a></li>
317 <li><a href="#MagickRotationalBlurImage">MagickRotationalBlurImage</a></li>
318 <li><a href="#MagickRaiseImage">MagickRaiseImage</a></li>
319 <li><a href="#MagickRandomThresholdImage">MagickRandomThresholdImage</a></li>
320 <li><a href="#MagickReadImage">MagickReadImage</a></li>
321 <li><a href="#MagickReadImageBlob">MagickReadImageBlob</a></li>
322 <li><a href="#MagickReadImageFile">MagickReadImageFile</a></li>
323 <li><a href="#MagickRemapImage">MagickRemapImage</a></li>
324 <li><a href="#MagickRemoveImage">MagickRemoveImage</a></li>
325 <li><a href="#MagickResampleImage">MagickResampleImage</a></li>
326 <li><a href="#MagickResetImagePage">MagickResetImagePage</a></li>
327 <li><a href="#MagickResizeImage">MagickResizeImage</a></li>
328 <li><a href="#MagickRollImage">MagickRollImage</a></li>
329 <li><a href="#MagickRotateImage">MagickRotateImage</a></li>
330 <li><a href="#MagickSampleImage">MagickSampleImage</a></li>
331 <li><a href="#MagickScaleImage">MagickScaleImage</a></li>
332 <li><a href="#MagickSegmentImage">MagickSegmentImage</a></li>
333 <li><a href="#MagickSelectiveBlurImage">MagickSelectiveBlurImage</a></li>
334 <li><a href="#MagickSeparateImage">MagickSeparateImage</a></li>
335 <li><a href="#MagickSepiaToneImage">MagickSepiaToneImage</a></li>
336 <li><a href="#MagickSetImage">MagickSetImage</a></li>
337 <li><a href="#MagickSetImageAlphaChannel">MagickSetImageAlphaChannel</a></li>
338 <li><a href="#MagickSetImageBackgroundColor">MagickSetImageBackgroundColor</a></li>
339 <li><a href="#MagickSetImageBluePrimary">MagickSetImageBluePrimary</a></li>
340 <li><a href="#MagickSetImageBorderColor">MagickSetImageBorderColor</a></li>
341 <li><a href="#MagickSetImageChannelMask">MagickSetImageChannelMask</a></li>
342 <li><a href="#MagickSetImageMask">MagickSetImageMask</a></li>
343 <li><a href="#MagickSetImageColor">MagickSetImageColor</a></li>
344 <li><a href="#MagickSetImageColormapColor">MagickSetImageColormapColor</a></li>
345 <li><a href="#MagickSetImageColorspace">MagickSetImageColorspace</a></li>
346 <li><a href="#MagickSetImageCompose">MagickSetImageCompose</a></li>
347 <li><a href="#MagickSetImageCompression">MagickSetImageCompression</a></li>
348 <li><a href="#MagickSetImageCompressionQuality">MagickSetImageCompressionQuality</a></li>
349 <li><a href="#MagickSetImageDelay">MagickSetImageDelay</a></li>
350 <li><a href="#MagickSetImageDepth">MagickSetImageDepth</a></li>
351 <li><a href="#MagickSetImageDispose">MagickSetImageDispose</a></li>
352 <li><a href="#MagickSetImageEndian">MagickSetImageEndian</a></li>
353 <li><a href="#MagickSetImageExtent">MagickSetImageExtent</a></li>
354 <li><a href="#MagickSetImageFilename">MagickSetImageFilename</a></li>
355 <li><a href="#MagickSetImageFilter">MagickSetImageFilter</a></li>
356 <li><a href="#MagickSetImageFormat">MagickSetImageFormat</a></li>
357 <li><a href="#MagickSetImageFuzz">MagickSetImageFuzz</a></li>
358 <li><a href="#MagickSetImageGamma">MagickSetImageGamma</a></li>
359 <li><a href="#MagickSetImageGravity">MagickSetImageGravity</a></li>
360 <li><a href="#MagickSetImageGreenPrimary">MagickSetImageGreenPrimary</a></li>
361 <li><a href="#MagickSetImageInterlaceScheme">MagickSetImageInterlaceScheme</a></li>
362 <li><a href="#MagickSetImageInterpolateMethod">MagickSetImageInterpolateMethod</a></li>
363 <li><a href="#MagickSetImageIterations">MagickSetImageIterations</a></li>
364 <li><a href="#MagickSetImageMatte">MagickSetImageMatte</a></li>
365 <li><a href="#MagickSetImageMatteColor">MagickSetImageMatteColor</a></li>
366 <li><a href="#MagickSetImageAlpha">MagickSetImageAlpha</a></li>
367 <li><a href="#MagickSetImageOrientation">MagickSetImageOrientation</a></li>
368 <li><a href="#MagickSetImagePage">MagickSetImagePage</a></li>
369 <li><a href="#MagickSetImagePixelColor">MagickSetImagePixelColor</a></li>
370 <li><a href="#MagickSetImageProgressMonitor">MagickSetImageProgressMonitor</a></li>
371 <li><a href="#MagickSetImageRedPrimary">MagickSetImageRedPrimary</a></li>
372 <li><a href="#MagickSetImageRenderingIntent">MagickSetImageRenderingIntent</a></li>
373 <li><a href="#MagickSetImageResolution">MagickSetImageResolution</a></li>
374 <li><a href="#MagickSetImageScene">MagickSetImageScene</a></li>
375 <li><a href="#MagickSetImageTicksPerSecond">MagickSetImageTicksPerSecond</a></li>
376 <li><a href="#MagickSetImageType">MagickSetImageType</a></li>
377 <li><a href="#MagickSetImageUnits">MagickSetImageUnits</a></li>
378 <li><a href="#MagickSetImageVirtualPixelMethod">MagickSetImageVirtualPixelMethod</a></li>
379 <li><a href="#MagickSetImageWhitePoint">MagickSetImageWhitePoint</a></li>
380 <li><a href="#MagickShadeImage">MagickShadeImage</a></li>
381 <li><a href="#MagickShadowImage">MagickShadowImage</a></li>
382 <li><a href="#MagickSharpenImage">MagickSharpenImage</a></li>
383 <li><a href="#MagickShaveImage">MagickShaveImage</a></li>
384 <li><a href="#MagickShearImage">MagickShearImage</a></li>
385 <li><a href="#MagickSigmoidalContrastImage">MagickSigmoidalContrastImage</a></li>
386 <li><a href="#MagickSimilarityImage">MagickSimilarityImage</a></li>
387 <li><a href="#MagickSketchImage">MagickSketchImage</a></li>
388 <li><a href="#MagickSmushImages">MagickSmushImages</a></li>
389 <li><a href="#MagickSolarizeImage">MagickSolarizeImage</a></li>
390 <li><a href="#MagickSparseColorImage">MagickSparseColorImage</a></li>
391 <li><a href="#MagickSpliceImage">MagickSpliceImage</a></li>
392 <li><a href="#MagickSpreadImage">MagickSpreadImage</a></li>
393 <li><a href="#MagickStatisticImage">MagickStatisticImage</a></li>
394 <li><a href="#MagickSteganoImage">MagickSteganoImage</a></li>
395 <li><a href="#MagickStereoImage">MagickStereoImage</a></li>
396 <li><a href="#MagickStripImage">MagickStripImage</a></li>
397 <li><a href="#MagickSwirlImage">MagickSwirlImage</a></li>
398 <li><a href="#MagickTextureImage">MagickTextureImage</a></li>
399 <li><a href="#MagickThresholdImage">MagickThresholdImage</a></li>
400 <li><a href="#MagickThumbnailImage">MagickThumbnailImage</a></li>
401 <li><a href="#MagickTintImage">MagickTintImage</a></li>
402 <li><a href="#MagickTransformImageColorspace">MagickTransformImageColorspace</a></li>
403 <li><a href="#MagickTransparentPaintImage">MagickTransparentPaintImage</a></li>
404 <li><a href="#MagickTransposeImage">MagickTransposeImage</a></li>
405 <li><a href="#MagickTransverseImage">MagickTransverseImage</a></li>
406 <li><a href="#MagickTrimImage">MagickTrimImage</a></li>
407 <li><a href="#MagickUniqueImageColors">MagickUniqueImageColors</a></li>
408 <li><a href="#MagickUnsharpMaskImage">MagickUnsharpMaskImage</a></li>
409 <li><a href="#MagickVignetteImage">MagickVignetteImage</a></li>
410 <li><a href="#MagickWaveImage">MagickWaveImage</a></li>
411 <li><a href="#MagickWaveletDenoiseImage">MagickWaveletDenoiseImage</a></li>
412 <li><a href="#MagickWhiteBalanceImage">MagickWhiteBalanceImage</a></li>
413 <li><a href="#MagickWhiteThresholdImage">MagickWhiteThresholdImage</a></li>
414 <li><a href="#MagickWriteImage">MagickWriteImage</a></li>
415 <li><a href="#MagickWriteImageFile">MagickWriteImageFile</a></li>
416 <li><a href="#MagickWriteImages">MagickWriteImages</a></li>
417 </ul>
418 </div>
419 <br/>
420 <br/>
421 <div class="magick-header">
422 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="GetImageFromMagickWand">GetImageFromMagickWand</a></h2>
423
424 <p>GetImageFromMagickWand() returns the current image from the magick wand.</p>
425
426 <p>The format of the GetImageFromMagickWand method is:</p>
427
428 <pre class="bg-light text-dark mx-4"><samp>Image *GetImageFromMagickWand(const MagickWand *wand)
429 </samp></pre>
430
431 <p>A description of each parameter follows:</p>
432
433 <dd>
434 </dd>
435
436 <dd> </dd>
437 <dl class="dl-horizontal">
438 <dt>wand</dt>
439 <dd>the magick wand. </dd>
440
441 <dd> </dd>
442 </dl>
443 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAdaptiveBlurImage">MagickAdaptiveBlurImage</a></h2>
444
445 <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>
446
447 <p>The format of the MagickAdaptiveBlurImage method is:</p>
448
449 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickAdaptiveBlurImage(MagickWand *wand,
450 const double radius,const double sigma)
451 </samp></pre>
452
453 <p>A description of each parameter follows:</p>
454
455 <dd>
456 </dd>
457
458 <dd> </dd>
459 <dl class="dl-horizontal">
460 <dt>wand</dt>
461 <dd>the magick wand. </dd>
462
463 <dd> </dd>
464 <dt>radius</dt>
465 <dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
466
467 <dd> </dd>
468 <dt>sigma</dt>
469 <dd>the standard deviation of the Gaussian, in pixels. </dd>
470
471 <dd> </dd>
472 </dl>
473 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAdaptiveResizeImage">MagickAdaptiveResizeImage</a></h2>
474
475 <p>MagickAdaptiveResizeImage() adaptively resize image with data dependent triangulation.</p>
476
477 <p>MagickBooleanType MagickAdaptiveResizeImage(MagickWand *wand, const size_t columns,const size_t rows)</p>
478
479 <p>A description of each parameter follows:</p>
480
481 <dd>
482 </dd>
483
484 <dd> </dd>
485 <dl class="dl-horizontal">
486 <dt>wand</dt>
487 <dd>the magick wand. </dd>
488
489 <dd> </dd>
490 <dt>columns</dt>
491 <dd>the number of columns in the scaled image. </dd>
492
493 <dd> </dd>
494 <dt>rows</dt>
495 <dd>the number of rows in the scaled image. </dd>
496
497 <dd> </dd>
498 </dl>
499 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAdaptiveSharpenImage">MagickAdaptiveSharpenImage</a></h2>
500
501 <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>
502
503 <p>The format of the MagickAdaptiveSharpenImage method is:</p>
504
505 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickAdaptiveSharpenImage(MagickWand *wand,
506 const double radius,const double sigma)
507 </samp></pre>
508
509 <p>A description of each parameter follows:</p>
510
511 <dd>
512 </dd>
513
514 <dd> </dd>
515 <dl class="dl-horizontal">
516 <dt>wand</dt>
517 <dd>the magick wand. </dd>
518
519 <dd> </dd>
520 <dt>radius</dt>
521 <dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
522
523 <dd> </dd>
524 <dt>sigma</dt>
525 <dd>the standard deviation of the Gaussian, in pixels. </dd>
526
527 <dd> </dd>
528 </dl>
529 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAdaptiveThresholdImage">MagickAdaptiveThresholdImage</a></h2>
530
531 <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>
532
533 <p>The format of the AdaptiveThresholdImage method is:</p>
534
535 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickAdaptiveThresholdImage(MagickWand *wand,
536 const size_t width,const size_t height,const double bias)
537 </samp></pre>
538
539 <p>A description of each parameter follows:</p>
540
541 <dd>
542 </dd>
543
544 <dd> </dd>
545 <dl class="dl-horizontal">
546 <dt>wand</dt>
547 <dd>the magick wand. </dd>
548
549 <dd> </dd>
550 <dt>width</dt>
551 <dd>the width of the local neighborhood. </dd>
552
553 <dd> </dd>
554 <dt>height</dt>
555 <dd>the height of the local neighborhood. </dd>
556
557 <dd> </dd>
558 <dt>offset</dt>
559 <dd>the mean bias. </dd>
560
561 <dd> </dd>
562 </dl>
563 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAddImage">MagickAddImage</a></h2>
564
565 <p>MagickAddImage() adds a clone of the images from the second wand and inserts them into the first wand.</p>
566
567 <p>Use MagickSetLastIterator(), to append new images into an existing wand, current image will be set to last image so later adds with also be appended to end of wand.</p>
568
569 <p>Use MagickSetFirstIterator() to prepend new images into wand, any more images added will also be prepended before other images in the wand. However the order of a list of new images will not change.</p>
570
571 <p>Otherwise the new images will be inserted just after the current image, and any later image will also be added after this current image but before the previously added images. Caution is advised when multiple image adds are inserted into the middle of the wand image list.</p>
572
573 <p>The format of the MagickAddImage method is:</p>
574
575 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickAddImage(MagickWand *wand,
576 const MagickWand *add_wand)
577 </samp></pre>
578
579 <p>A description of each parameter follows:</p>
580
581 <dd>
582 </dd>
583
584 <dd> </dd>
585 <dl class="dl-horizontal">
586 <dt>wand</dt>
587 <dd>the magick wand. </dd>
588
589 <dd> </dd>
590 <dt>add_wand</dt>
591 <dd>A wand that contains the image list to be added </dd>
592
593 <dd> </dd>
594 </dl>
595 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAddNoiseImage">MagickAddNoiseImage</a></h2>
596
597 <p>MagickAddNoiseImage() adds random noise to the image.</p>
598
599 <p>The format of the MagickAddNoiseImage method is:</p>
600
601 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickAddNoiseImage(MagickWand *wand,
602 const NoiseType noise_type,const double attenuate)
603 </samp></pre>
604
605 <p>A description of each parameter follows:</p>
606
607 <dd>
608 </dd>
609
610 <dd> </dd>
611 <dl class="dl-horizontal">
612 <dt>wand</dt>
613 <dd>the magick wand. </dd>
614
615 <dd> </dd>
616 <dt>noise_type</dt>
617 <dd> The type of noise: Uniform, Gaussian, Multiplicative, Impulse, Laplacian, or Poisson. </dd>
618
619 <dd> </dd>
620 <dt>attenuate</dt>
621 <dd> attenuate the random distribution. </dd>
622
623 <dd> </dd>
624 </dl>
625 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAffineTransformImage">MagickAffineTransformImage</a></h2>
626
627 <p>MagickAffineTransformImage() transforms an image as dictated by the affine matrix of the drawing wand.</p>
628
629 <p>The format of the MagickAffineTransformImage method is:</p>
630
631 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickAffineTransformImage(MagickWand *wand,
632 const DrawingWand *drawing_wand)
633 </samp></pre>
634
635 <p>A description of each parameter follows:</p>
636
637 <dd>
638 </dd>
639
640 <dd> </dd>
641 <dl class="dl-horizontal">
642 <dt>wand</dt>
643 <dd>the magick wand. </dd>
644
645 <dd> </dd>
646 <dt>drawing_wand</dt>
647 <dd>the draw wand. </dd>
648
649 <dd> </dd>
650 </dl>
651 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAnnotateImage">MagickAnnotateImage</a></h2>
652
653 <p>MagickAnnotateImage() annotates an image with text.</p>
654
655 <p>The format of the MagickAnnotateImage method is:</p>
656
657 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickAnnotateImage(MagickWand *wand,
658 const DrawingWand *drawing_wand,const double x,const double y,
659 const double angle,const char *text)
660 </samp></pre>
661
662 <p>A description of each parameter follows:</p>
663
664 <dd>
665 </dd>
666
667 <dd> </dd>
668 <dl class="dl-horizontal">
669 <dt>wand</dt>
670 <dd>the magick wand. </dd>
671
672 <dd> </dd>
673 <dt>drawing_wand</dt>
674 <dd>the draw wand. </dd>
675
676 <dd> </dd>
677 <dt>x</dt>
678 <dd>x ordinate to left of text </dd>
679
680 <dd> </dd>
681 <dt>y</dt>
682 <dd>y ordinate to text baseline </dd>
683
684 <dd> </dd>
685 <dt>angle</dt>
686 <dd>rotate text relative to this angle. </dd>
687
688 <dd> </dd>
689 <dt>text</dt>
690 <dd>text to draw </dd>
691
692 <dd> </dd>
693 </dl>
694 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAnimateImages">MagickAnimateImages</a></h2>
695
696 <p>MagickAnimateImages() animates an image or image sequence.</p>
697
698 <p>The format of the MagickAnimateImages method is:</p>
699
700 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickAnimateImages(MagickWand *wand,
701 const char *server_name)
702 </samp></pre>
703
704 <p>A description of each parameter follows:</p>
705
706 <dd>
707 </dd>
708
709 <dd> </dd>
710 <dl class="dl-horizontal">
711 <dt>wand</dt>
712 <dd>the magick wand. </dd>
713
714 <dd> </dd>
715 <dt>server_name</dt>
716 <dd>the X server name. </dd>
717
718 <dd> </dd>
719 </dl>
720 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAppendImages">MagickAppendImages</a></h2>
721
722 <p>MagickAppendImages() append the images in a wand from the current image onwards, creating a new wand with the single image result. This is affected by the gravity and background settings of the first image.</p>
723
724 <p>Typically you would call either MagickResetIterator() or MagickSetFirstImage() before calling this function to ensure that all the images in the wand's image list will be appended together.</p>
725
726 <p>The format of the MagickAppendImages method is:</p>
727
728 <pre class="bg-light text-dark mx-4"><samp>MagickWand *MagickAppendImages(MagickWand *wand,
729 const MagickBooleanType stack)
730 </samp></pre>
731
732 <p>A description of each parameter follows:</p>
733
734 <dd>
735 </dd>
736
737 <dd> </dd>
738 <dl class="dl-horizontal">
739 <dt>wand</dt>
740 <dd>the magick wand. </dd>
741
742 <dd> </dd>
743 <dt>stack</dt>
744 <dd>By default, images are stacked left-to-right. Set stack to MagickTrue to stack them top-to-bottom. </dd>
745
746 <dd> </dd>
747 </dl>
748 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAutoGammaImage">MagickAutoGammaImage</a></h2>
749
750 <p>MagickAutoGammaImage() extracts the 'mean' from the image and adjust the image to try make set its gamma appropriately.</p>
751
752 <p>The format of the MagickAutoGammaImage method is:</p>
753
754 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickAutoGammaImage(MagickWand *wand)
755 </samp></pre>
756
757 <p>A description of each parameter follows:</p>
758
759 <dd>
760 </dd>
761
762 <dd> </dd>
763 <dl class="dl-horizontal">
764 <dt>wand</dt>
765 <dd>the magick wand. </dd>
766
767 <dd> </dd>
768 </dl>
769 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAutoLevelImage">MagickAutoLevelImage</a></h2>
770
771 <p>MagickAutoLevelImage() adjusts the levels of a particular image channel by scaling the minimum and maximum values to the full quantum range.</p>
772
773 <p>The format of the MagickAutoLevelImage method is:</p>
774
775 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickAutoLevelImage(MagickWand *wand)
776 </samp></pre>
777
778 <p>A description of each parameter follows:</p>
779
780 <dd>
781 </dd>
782
783 <dd> </dd>
784 <dl class="dl-horizontal">
785 <dt>wand</dt>
786 <dd>the magick wand. </dd>
787
788 <dd> </dd>
789 </dl>
790 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAutoOrientImage">MagickAutoOrientImage</a></h2>
791
792 <p>MagickAutoOrientImage() adjusts an image so that its orientation is suitable $ for viewing (i.e. top-left orientation).</p>
793
794 <p>The format of the MagickAutoOrientImage method is:</p>
795
796 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickAutoOrientImage(MagickWand *image)
797 </samp></pre>
798
799 <p>A description of each parameter follows:</p>
800
801 <dd>
802 </dd>
803
804 <dd> </dd>
805 <dl class="dl-horizontal">
806 <dt>wand</dt>
807 <dd>the magick wand. </dd>
808
809 <dd> </dd>
810 </dl>
811 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickAutoThresholdImage">MagickAutoThresholdImage</a></h2>
812
813 <p>MagickAutoThresholdImage() automatically performs image thresholding dependent on which method you specify.</p>
814
815 <p>The format of the AutoThresholdImage method is:</p>
816
817 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickAutoThresholdImage(MagickWand *wand,
818 const AutoThresholdMethod method)
819 </samp></pre>
820
821 <p>A description of each parameter follows:</p>
822
823 <dd>
824 </dd>
825
826 <dd> </dd>
827 <dl class="dl-horizontal">
828 <dt>wand</dt>
829 <dd>the magick wand. </dd>
830
831 <dd> </dd>
832 <dt>method</dt>
833 <dd>choose from KapurThresholdMethod, OTSUThresholdMethod, or TriangleThresholdMethod. </dd>
834
835 <dd> </dd>
836 </dl>
837 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickBilateralBlurImage">MagickBilateralBlurImage</a></h2>
838
839 <p>MagickBilateralBlurImage() is a non-linear, edge-preserving, and noise-reducing smoothing filter for images. It replaces the intensity of each pixel with a weighted average of intensity values from nearby pixels. This weight is based on a Gaussian distribution. The weights depend not only on Euclidean distance of pixels, but also on the radiometric differences (e.g., range differences, such as color intensity, depth distance, etc.). This preserves sharp edges.</p>
840
841 <p>The format of the MagickBilateralBlurImage method is:</p>
842
843 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickBilateralBlurImage(MagickWand *wand,
844 const double radius,const double sigma,const double intensity_sigma,
845 const double spatial_sigma)
846 </samp></pre>
847
848 <p>A description of each parameter follows:</p>
849
850 <dd>
851 </dd>
852
853 <dd> </dd>
854 <dl class="dl-horizontal">
855 <dt>wand</dt>
856 <dd>the magick wand. </dd>
857
858 <dd> </dd>
859 <dt>radius</dt>
860 <dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
861
862 <dd> </dd>
863 <dt>sigma</dt>
864 <dd>the standard deviation of the , in pixels. </dd>
865
866 <dd> </dd>
867 <dt>intensity_sigma</dt>
868 <dd>sigma in the intensity space. A larger value means that farther colors within the pixel neighborhood (see spatial_sigma) will be mixed together, resulting in larger areas of semi-equal color. </dd>
869
870 <dd> </dd>
871 <dt>spatial_sigma</dt>
872 <dd>sigma in the coordinate space. A larger value means that farther pixels influence each other as long as their colors are close enough (see intensity_sigma ). When the neighborhood diameter is greater than zero, it specifies the neighborhood size regardless of spatial_sigma. Otherwise, the neighborhood diameter is proportional to spatial_sigma. </dd>
873
874 <dd> </dd>
875 </dl>
876 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickBlackThresholdImage">MagickBlackThresholdImage</a></h2>
877
878 <p>MagickBlackThresholdImage() is like MagickThresholdImage() but forces all pixels below the threshold into black while leaving all pixels above the threshold unchanged.</p>
879
880 <p>The format of the MagickBlackThresholdImage method is:</p>
881
882 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickBlackThresholdImage(MagickWand *wand,
883 const PixelWand *threshold)
884 </samp></pre>
885
886 <p>A description of each parameter follows:</p>
887
888 <dd>
889 </dd>
890
891 <dd> </dd>
892 <dl class="dl-horizontal">
893 <dt>wand</dt>
894 <dd>the magick wand. </dd>
895
896 <dd> </dd>
897 <dt>threshold</dt>
898 <dd>the pixel wand. </dd>
899
900 <dd> </dd>
901 </dl>
902 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickBlueShiftImage">MagickBlueShiftImage</a></h2>
903
904 <p>MagickBlueShiftImage() mutes the colors of the image to simulate a scene at nighttime in the moonlight.</p>
905
906 <p>The format of the MagickBlueShiftImage method is:</p>
907
908 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickBlueShiftImage(MagickWand *wand,
909 const double factor)
910 </samp></pre>
911
912 <p>A description of each parameter follows:</p>
913
914 <dd>
915 </dd>
916
917 <dd> </dd>
918 <dl class="dl-horizontal">
919 <dt>wand</dt>
920 <dd>the magick wand. </dd>
921
922 <dd> </dd>
923 <dt>factor</dt>
924 <dd>the blue shift factor (default 1.5) </dd>
925
926 <dd> </dd>
927 </dl>
928 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickBlurImage">MagickBlurImage</a></h2>
929
930 <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>
931
932 <p>The format of the MagickBlurImage method is:</p>
933
934 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickBlurImage(MagickWand *wand,const double radius,
935 const double sigma)
936 </samp></pre>
937
938 <p>A description of each parameter follows:</p>
939
940 <dd>
941 </dd>
942
943 <dd> </dd>
944 <dl class="dl-horizontal">
945 <dt>wand</dt>
946 <dd>the magick wand. </dd>
947
948 <dd> </dd>
949 <dt>radius</dt>
950 <dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
951
952 <dd> </dd>
953 <dt>sigma</dt>
954 <dd>the standard deviation of the , in pixels. </dd>
955
956 <dd> </dd>
957 </dl>
958 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickBorderImage">MagickBorderImage</a></h2>
959
960 <p>MagickBorderImage() surrounds the image with a border of the color defined by the bordercolor pixel wand.</p>
961
962 <p>The format of the MagickBorderImage method is:</p>
963
964 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickBorderImage(MagickWand *wand,
965 const PixelWand *bordercolor,const size_t width,
966 const size_t height,const CompositeOperator compose)
967 </samp></pre>
968
969 <p>A description of each parameter follows:</p>
970
971 <dd>
972 </dd>
973
974 <dd> </dd>
975 <dl class="dl-horizontal">
976 <dt>wand</dt>
977 <dd>the magick wand. </dd>
978
979 <dd> </dd>
980 <dt>bordercolor</dt>
981 <dd>the border color pixel wand. </dd>
982
983 <dd> </dd>
984 <dt>width</dt>
985 <dd>the border width. </dd>
986
987 <dd> </dd>
988 <dt>height</dt>
989 <dd>the border height. </dd>
990
991 <dd> </dd>
992 <dt>compose</dt>
993 <dd>the composite operator. </dd>
994
995 <dd> </dd>
996 </dl>
997 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="Use_MagickBrightnessContrastImage">Use MagickBrightnessContrastImage</a></h2>
998
999 <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 polynomial function to apply to the image.</p>
1000
1001
1002 <p>The format of the MagickBrightnessContrastImage method is:</p>
1003
1004 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickBrightnessContrastImage(MagickWand *wand,
1005 const double brightness,const double contrast)
1006 </samp></pre>
1007
1008 <p>A description of each parameter follows:</p>
1009
1010 <dd>
1011 </dd>
1012
1013 <dd> </dd>
1014 <dl class="dl-horizontal">
1015 <dt>wand</dt>
1016 <dd>the magick wand. </dd>
1017
1018 <dd> </dd>
1019 <dt>brightness</dt>
1020 <dd>the brightness percent (-100 .. 100). </dd>
1021
1022 <dd> </dd>
1023 <dt>contrast</dt>
1024 <dd>the contrast percent (-100 .. 100). </dd>
1025
1026 <dd> </dd>
1027 </dl>
1028 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCannyEdgeImage">MagickCannyEdgeImage</a></h2>
1029
1030 <p>MagickCannyEdgeImage() uses a multi-stage algorithm to detect a wide range of edges in images.</p>
1031
1032 <p>The format of the MagickCannyEdgeImage method is:</p>
1033
1034 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickCannyEdgeImage(MagickWand *wand,
1035 const double radius,const double sigma,const double lower_percent,
1036 const double upper_percent)
1037 </samp></pre>
1038
1039 <p>A description of each parameter follows:</p>
1040
1041 <dd>
1042 </dd>
1043
1044 <dd> </dd>
1045 <dl class="dl-horizontal">
1046 <dt>wand</dt>
1047 <dd>the magick wand. </dd>
1048
1049 <dd> </dd>
1050 <dt>radius</dt>
1051 <dd>the radius of the gaussian smoothing filter. </dd>
1052
1053 <dd> </dd>
1054 <dt>sigma</dt>
1055 <dd>the sigma of the gaussian smoothing filter. </dd>
1056
1057 <dd> </dd>
1058 <dt>lower_percent</dt>
1059 <dd>percentage of edge pixels in the lower threshold. </dd>
1060
1061 <dd> </dd>
1062 <dt>upper_percent</dt>
1063 <dd>percentage of edge pixels in the upper threshold. </dd>
1064
1065 <dd> </dd>
1066 </dl>
1067 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickChannelFxImage">MagickChannelFxImage</a></h2>
1068
1069 <p>MagickChannelFxImage() applies a channel expression to the specified image. The expression consists of one or more channels, either mnemonic or numeric (e.g. red, 1), separated by actions as follows:</p>
1070
1071 <dd>
1072 </dd>
1073
1074 <dd> &lt;=&gt; exchange two channels (e.g. red&lt;=&gt;blue) =&gt; transfer a channel to another (e.g. red=&gt;green) , separate channel operations (e.g. red, green) | read channels from next input image (e.g. red | green) ; write channels to next output image (e.g. red; green; blue) </dd>
1075
1076 <dd> A channel without a operation symbol implies extract. For example, to create 3 grayscale images from the red, green, and blue channels of an image, use: </dd>
1077
1078 <pre class="bg-light text-dark mx-4"><samp> -channel-fx "red; green; blue"
1079 </samp></pre>
1080
•1081 <p>The format of the MagickChannelFxImage method is: </p>
1082
1083 <pre class="bg-light text-dark mx-4"><samp>MagickWand *MagickChannelFxImage(MagickWand *wand,const char *expression)
1084 </samp></pre>
1085
•1086 <p>A description of each parameter follows: </p>
1087
1088 <dd>
1089 </dd>
1090
1091 <dd> </dd>
1092 <dl class="dl-horizontal">
1093 <dt>wand</dt>
1094 <dd>the magick wand. </dd>
1095
1096 <dd> </dd>
1097 <dt>expression</dt>
1098 <dd>the expression. </dd>
1099
1100 <dd> </dd>
1101 </dl>
1102 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCharcoalImage">MagickCharcoalImage</a></h2>
1103
1104 <p>MagickCharcoalImage() simulates a charcoal drawing.</p>
1105
1106 <p>The format of the MagickCharcoalImage method is:</p>
1107
1108 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickCharcoalImage(MagickWand *wand,
1109 const double radius,const double sigma)
1110 </samp></pre>
1111
1112 <p>A description of each parameter follows:</p>
1113
1114 <dd>
1115 </dd>
1116
1117 <dd> </dd>
1118 <dl class="dl-horizontal">
1119 <dt>wand</dt>
1120 <dd>the magick wand. </dd>
1121
1122 <dd> </dd>
1123 <dt>radius</dt>
1124 <dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
1125
1126 <dd> </dd>
1127 <dt>sigma</dt>
1128 <dd>the standard deviation of the Gaussian, in pixels. </dd>
1129
1130 <dd> </dd>
1131 </dl>
1132 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickChopImage">MagickChopImage</a></h2>
1133
1134 <p>MagickChopImage() removes a region of an image and collapses the image to occupy the removed portion</p>
1135
1136 <p>The format of the MagickChopImage method is:</p>
1137
1138 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickChopImage(MagickWand *wand,
1139 const size_t width,const size_t height,const ssize_t x,
1140 const ssize_t y)
1141 </samp></pre>
1142
1143 <p>A description of each parameter follows:</p>
1144
1145 <dd>
1146 </dd>
1147
1148 <dd> </dd>
1149 <dl class="dl-horizontal">
1150 <dt>wand</dt>
1151 <dd>the magick wand. </dd>
1152
1153 <dd> </dd>
1154 <dt>width</dt>
1155 <dd>the region width. </dd>
1156
1157 <dd> </dd>
1158 <dt>height</dt>
1159 <dd>the region height. </dd>
1160
1161 <dd> </dd>
1162 <dt>x</dt>
1163 <dd>the region x offset. </dd>
1164
1165 <dd> </dd>
1166 <dt>y</dt>
1167 <dd>the region y offset. </dd>
1168
1169 <dd> </dd>
1170
1171 <dd> </dd>
1172 </dl>
1173 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCLAHEImage">MagickCLAHEImage</a></h2>
1174
1175 <p>MagickCLAHEImage() is a variant of adaptive histogram equalization in which the contrast amplification is limited, so as to reduce this problem of noise amplification.</p>
1176
1177 <p>The format of the CLAHEImage method is:</p>
1178
1179 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickCLAHEImage(MagickWand *wand,const size_t width,
1180 const size_t height,const double number_bins,const double clip_limit)
1181 </samp></pre>
1182
1183 <p>A description of each parameter follows:</p>
1184
1185 <dd>
1186 </dd>
1187
1188 <dd> </dd>
1189 <dl class="dl-horizontal">
1190 <dt>wand</dt>
1191 <dd>the magick wand. </dd>
1192
1193 <dd> </dd>
1194 <dt>width</dt>
1195 <dd>the width of the tile divisions to use in horizontal direction. </dd>
1196
1197 <dd> </dd>
1198 <dt>height</dt>
1199 <dd>the height of the tile divisions to use in vertical direction. </dd>
1200
1201 <dd> </dd>
1202 <dt>number_bins</dt>
1203 <dd>number of bins for histogram ("dynamic range"). Although parameter is currently a double, it is cast to size_t internally. </dd>
1204
1205 <dd> </dd>
1206 <dt>clip_limit</dt>
1207 <dd>contrast limit for localised changes in contrast. A limit less than 1 results in standard non-contrast limited AHE. </dd>
1208
1209 <dd> </dd>
1210 </dl>
1211 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickClampImage">MagickClampImage</a></h2>
1212
1213 <p>MagickClampImage() restricts the color range from 0 to the quantum depth.</p>
1214
1215 <p>The format of the MagickClampImage method is:</p>
1216
1217 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickClampImage(MagickWand *wand)
1218 </samp></pre>
1219
1220 <p>A description of each parameter follows:</p>
1221
1222 <dd>
1223 </dd>
1224
1225 <dd> </dd>
1226 <dl class="dl-horizontal">
1227 <dt>wand</dt>
1228 <dd>the magick wand. </dd>
1229
1230 <dd> </dd>
1231 <dt>channel</dt>
1232 <dd>the channel. </dd>
1233
1234 <dd> </dd>
1235 </dl>
1236 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickClipImage">MagickClipImage</a></h2>
1237
1238 <p>MagickClipImage() clips along the first path from the 8BIM profile, if present.</p>
1239
1240 <p>The format of the MagickClipImage method is:</p>
1241
1242 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickClipImage(MagickWand *wand)
1243 </samp></pre>
1244
1245 <p>A description of each parameter follows:</p>
1246
1247 <dd>
1248 </dd>
1249
1250 <dd> </dd>
1251 <dl class="dl-horizontal">
1252 <dt>wand</dt>
1253 <dd>the magick wand. </dd>
1254
1255 <dd> </dd>
1256 </dl>
1257 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickClipImagePath">MagickClipImagePath</a></h2>
1258
1259 <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>
1260
1261 <p>The format of the MagickClipImagePath method is:</p>
1262
1263 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickClipImagePath(MagickWand *wand,
1264 const char *pathname,const MagickBooleanType inside)
1265 </samp></pre>
1266
1267 <p>A description of each parameter follows:</p>
1268
1269 <dd>
1270 </dd>
1271
1272 <dd> </dd>
1273 <dl class="dl-horizontal">
1274 <dt>wand</dt>
1275 <dd>the magick wand. </dd>
1276
1277 <dd> </dd>
1278 <dt>pathname</dt>
1279 <dd>name of clipping path resource. If name is preceded by #, use clipping path numbered by name. </dd>
1280
1281 <dd> </dd>
1282 <dt>inside</dt>
1283 <dd>if non-zero, later operations take effect inside clipping path. Otherwise later operations take effect outside clipping path. </dd>
1284
1285 <dd> </dd>
1286 </dl>
1287 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickClutImage">MagickClutImage</a></h2>
1288
1289 <p>MagickClutImage() replaces colors in the image from a color lookup table.</p>
1290
1291 <p>The format of the MagickClutImage method is:</p>
1292
1293 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickClutImage(MagickWand *wand,
1294 const MagickWand *clut_wand,const PixelInterpolateMethod method)
1295 </samp></pre>
1296
1297 <p>A description of each parameter follows:</p>
1298
1299 <dd>
1300 </dd>
1301
1302 <dd> </dd>
1303 <dl class="dl-horizontal">
1304 <dt>wand</dt>
1305 <dd>the magick wand. </dd>
1306
1307 <dd> </dd>
1308 <dt>clut_image</dt>
1309 <dd>the clut image. </dd>
1310
1311 <dd> </dd>
1312 <dt>method</dt>
1313 <dd>the pixel interpolation method. </dd>
1314
1315 <dd> </dd>
1316 </dl>
1317 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCoalesceImages">MagickCoalesceImages</a></h2>
1318
1319 <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>
1320
1321 <p>The format of the MagickCoalesceImages method is:</p>
1322
1323 <pre class="bg-light text-dark mx-4"><samp>MagickWand *MagickCoalesceImages(MagickWand *wand)
1324 </samp></pre>
1325
1326 <p>A description of each parameter follows:</p>
1327
1328 <dd>
1329 </dd>
1330
1331 <dd> </dd>
1332 <dl class="dl-horizontal">
1333 <dt>wand</dt>
1334 <dd>the magick wand. </dd>
1335
1336 <dd> </dd>
1337 </dl>
1338 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickColorDecisionListImage">MagickColorDecisionListImage</a></h2>
1339
1340 <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>
1341
1342 <pre class="bg-light text-dark mx-4"><samp> &lt;ColorCorrectionCollection xmlns="urn:ASC:CDL:v1.2"&gt;
1343 &lt;ColorCorrection id="cc03345"&gt;
1344 &lt;SOPNode&gt;
1345 &lt;Slope&gt; 0.9 1.2 0.5 &lt;/Slope&gt;
1346 &lt;Offset&gt; 0.4 -0.5 0.6 &lt;/Offset&gt;
1347 &lt;Power&gt; 1.0 0.8 1.5 &lt;/Power&gt;
1348 &lt;/SOPNode&gt;
1349 &lt;SATNode&gt;
1350 &lt;Saturation&gt; 0.85 &lt;/Saturation&gt;
1351 &lt;/SATNode&gt;
1352 &lt;/ColorCorrection&gt;
1353 &lt;/ColorCorrectionCollection&gt;
1354 </samp></pre>
1355
1356 <p>which includes the offset, slope, and power for each of the RGB channels as well as the saturation.</p>
1357
1358 <p>The format of the MagickColorDecisionListImage method is:</p>
1359
1360 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickColorDecisionListImage(MagickWand *wand,
1361 const char *color_correction_collection)
1362 </samp></pre>
1363
1364 <p>A description of each parameter follows:</p>
1365
1366 <dd>
1367 </dd>
1368
1369 <dd> </dd>
1370 <dl class="dl-horizontal">
1371 <dt>wand</dt>
1372 <dd>the magick wand. </dd>
1373
1374 <dd> </dd>
1375 <dt>color_correction_collection</dt>
1376 <dd>the color correction collection in XML. </dd>
1377
1378 <dd> </dd>
1379 </dl>
1380 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickColorizeImage">MagickColorizeImage</a></h2>
1381
1382 <p>MagickColorizeImage() blends the fill color with each pixel in the image.</p>
1383
1384 <p>The format of the MagickColorizeImage method is:</p>
1385
1386 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickColorizeImage(MagickWand *wand,
1387 const PixelWand *colorize,const PixelWand *blend)
1388 </samp></pre>
1389
1390 <p>A description of each parameter follows:</p>
1391
1392 <dd>
1393 </dd>
1394
1395 <dd> </dd>
1396 <dl class="dl-horizontal">
1397 <dt>wand</dt>
1398 <dd>the magick wand. </dd>
1399
1400 <dd> </dd>
1401 <dt>colorize</dt>
1402 <dd>the colorize pixel wand. </dd>
1403
1404 <dd> </dd>
1405 <dt>alpha</dt>
1406 <dd>the alpha pixel wand. </dd>
1407
1408 <dd> </dd>
1409 </dl>
1410 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickColorMatrixImage">MagickColorMatrixImage</a></h2>
1411
1412 <p>MagickColorMatrixImage() apply color transformation to an image. The method permits saturation changes, hue rotation, luminance to alpha, and various other effects. Although variable-sized transformation matrices can be used, typically one uses a 5x5 matrix for an RGBA image and a 6x6 for CMYKA (or RGBA with offsets). The matrix is similar to those used by Adobe Flash except offsets are in column 6 rather than 5 (in support of CMYKA images) and offsets are normalized (divide Flash offset by 255).</p>
1413
1414 <p>The format of the MagickColorMatrixImage method is:</p>
1415
1416 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickColorMatrixImage(MagickWand *wand,
1417 const KernelInfo *color_matrix)
1418 </samp></pre>
1419
1420 <p>A description of each parameter follows:</p>
1421
1422 <dd>
1423 </dd>
1424
1425 <dd> </dd>
1426 <dl class="dl-horizontal">
1427 <dt>wand</dt>
1428 <dd>the magick wand. </dd>
1429
1430 <dd> </dd>
1431 <dt>color_matrix</dt>
1432 <dd> the color matrix. </dd>
1433
1434 <dd> </dd>
1435 </dl>
1436 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickColorThresholdImage">MagickColorThresholdImage</a></h2>
1437
1438 <p>MagickColorThresholdImage() forces all pixels in the color range to white otherwise black.</p>
1439
1440 <p>The format of the MagickColorThresholdImage method is:</p>
1441
1442 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickColorThresholdImage(MagickWand *wand,
1443 const PixelWand *start_color,const PixelWand *stop_color)
1444 </samp></pre>
1445
1446 <p>A description of each parameter follows:</p>
1447
1448 <dd>
1449 </dd>
1450
1451 <dd> </dd>
1452 <dl class="dl-horizontal">
1453 <dt>wand</dt>
1454 <dd>the magick wand. </dd>
1455
1456 <dd> </dd>
1457 <dt>start_color</dt>
1458 <dd>the start color pixel wand. </dd>
1459
1460 <dd> </dd>
1461 <dt>stop_color</dt>
1462 <dd>the stop color pixel wand. </dd>
1463
1464 <dd> </dd>
1465 </dl>
1466 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCombineImages">MagickCombineImages</a></h2>
1467
1468 <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 channels of the combined image. The typical ordering would be image 1 =&gt; Red, 2 =&gt; Green, 3 =&gt; Blue, etc.</p>
1469
1470 <p>The format of the MagickCombineImages method is:</p>
1471
1472 <pre class="bg-light text-dark mx-4"><samp>MagickWand *MagickCombineImages(MagickWand *wand,
1473 const ColorspaceType colorspace)
1474 </samp></pre>
1475
1476 <p>A description of each parameter follows:</p>
1477
1478 <dd>
1479 </dd>
1480
1481 <dd> </dd>
1482 <dl class="dl-horizontal">
1483 <dt>wand</dt>
1484 <dd>the magick wand. </dd>
1485
1486 <dd> </dd>
1487 <dt>colorspace</dt>
1488 <dd>the colorspace. </dd>
1489
1490 <dd> </dd>
1491 </dl>
1492 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCommentImage">MagickCommentImage</a></h2>
1493
1494 <p>MagickCommentImage() adds a comment to your image.</p>
1495
1496 <p>The format of the MagickCommentImage method is:</p>
1497
1498 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickCommentImage(MagickWand *wand,
1499 const char *comment)
1500 </samp></pre>
1501
1502 <p>A description of each parameter follows:</p>
1503
1504 <dd>
1505 </dd>
1506
1507 <dd> </dd>
1508 <dl class="dl-horizontal">
1509 <dt>wand</dt>
1510 <dd>the magick wand. </dd>
1511
1512 <dd> </dd>
1513 <dt>comment</dt>
1514 <dd>the image comment. </dd>
1515
1516 <dd> </dd>
1517 </dl>
1518 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCompareImagesLayers">MagickCompareImagesLayers</a></h2>
1519
1520 <p>MagickCompareImagesLayers() compares each image with the next in a sequence and returns the maximum bounding region of any pixel differences it discovers.</p>
1521
1522 <p>The format of the MagickCompareImagesLayers method is:</p>
1523
1524 <pre class="bg-light text-dark mx-4"><samp>MagickWand *MagickCompareImagesLayers(MagickWand *wand,
1525 const LayerMethod method)
1526 </samp></pre>
1527
1528 <p>A description of each parameter follows:</p>
1529
1530 <dd>
1531 </dd>
1532
1533 <dd> </dd>
1534 <dl class="dl-horizontal">
1535 <dt>wand</dt>
1536 <dd>the magick wand. </dd>
1537
1538 <dd> </dd>
1539 <dt>method</dt>
1540 <dd>the compare method. </dd>
1541
1542 <dd> </dd>
1543 </dl>
1544 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCompareImages">MagickCompareImages</a></h2>
1545
1546 <p>MagickCompareImages() compares an image to a reconstructed image and returns the specified difference image.</p>
1547
1548 <p>The format of the MagickCompareImages method is:</p>
1549
1550 <pre class="bg-light text-dark mx-4"><samp>MagickWand *MagickCompareImages(MagickWand *wand,
1551 const MagickWand *reference,const MetricType metric,
1552 double *distortion)
1553 </samp></pre>
1554
1555 <p>A description of each parameter follows:</p>
1556
1557 <dd>
1558 </dd>
1559
1560 <dd> </dd>
1561 <dl class="dl-horizontal">
1562 <dt>wand</dt>
1563 <dd>the magick wand. </dd>
1564
1565 <dd> </dd>
1566 <dt>reference</dt>
1567 <dd>the reference wand. </dd>
1568
1569 <dd> </dd>
1570 <dt>metric</dt>
1571 <dd>the metric. </dd>
1572
1573 <dd> </dd>
1574 <dt>distortion</dt>
1575 <dd>the computed distortion between the images. </dd>
1576
1577 <dd> </dd>
1578 </dl>
1579 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickComplexImages">MagickComplexImages</a></h2>
1580
1581 <p>MagickComplexImages() performs complex mathematics on an image sequence.</p>
1582
1583 <p>The format of the MagickComplexImages method is:</p>
1584
1585 <pre class="bg-light text-dark mx-4"><samp>MagickWand *MagickComplexImages(MagickWand *wand,
1586 const ComplexOperator op)
1587 </samp></pre>
1588
1589 <p>A description of each parameter follows:</p>
1590
1591 <dd>
1592 </dd>
1593
1594 <dd> </dd>
1595 <dl class="dl-horizontal">
1596 <dt>wand</dt>
1597 <dd>the magick wand. </dd>
1598
1599 <dd> </dd>
1600 <dt>op</dt>
1601 <dd>A complex operator. Choose from AddComplexOperator, ConjugateComplexOperator,DivideComplexOperator, MagnitudePhaseComplexOperator,MultiplyComplexOperator, RealImaginaryComplexOperator, SubtractComplexOperator. </dd>
1602
1603 <dd> </dd>
1604 </dl>
1605 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCompositeImage">MagickCompositeImage</a></h2>
1606
1607 <p>MagickCompositeImage() composite one image onto another at the specified offset.</p>
1608
1609 <p>The format of the MagickCompositeImage method is:</p>
1610
1611 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickCompositeImage(MagickWand *wand,
1612 const MagickWand *source_wand,const CompositeOperator compose,
1613 const MagickBooleanType clip_to_self,const ssize_t x,const ssize_t y)
1614 </samp></pre>
1615
1616 <p>A description of each parameter follows:</p>
1617
1618 <dd>
1619 </dd>
1620
1621 <dd> </dd>
1622 <dl class="dl-horizontal">
1623 <dt>wand</dt>
1624 <dd>the magick wand holding the destination images </dd>
1625
1626 <dd> </dd>
1627 <dt>source_image</dt>
1628 <dd>the magick wand holding source image. </dd>
1629
1630 <dd> </dd>
1631 <dt>compose</dt>
1632 <dd>This operator affects how the composite is applied to the image. The default is Over. These are some of the compose methods available. </dd>
1633
1634 <dd> OverCompositeOp InCompositeOp OutCompositeOp AtopCompositeOp XorCompositeOp PlusCompositeOp MinusCompositeOp AddCompositeOp SubtractCompositeOp DifferenceCompositeOp BumpmapCompositeOp CopyCompositeOp DisplaceCompositeOp </dd>
1635
1636 <dd> </dd>
1637 <dt>clip_to_self</dt>
1638 <dd>set to MagickTrue to limit composition to area composed. </dd>
1639
1640 <dd> </dd>
1641 <dt>x</dt>
1642 <dd>the column offset of the composited image. </dd>
1643
1644 <dd> </dd>
1645 <dt>y</dt>
1646 <dd>the row offset of the composited image. </dd>
1647
1648 <dd> </dd>
1649 </dl>
1650 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCompositeImageGravity">MagickCompositeImageGravity</a></h2>
1651
1652 <p>MagickCompositeImageGravity() composite one image onto another using the specified gravity.</p>
1653
1654 <p>The format of the MagickCompositeImageGravity method is:</p>
1655
1656 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickCompositeImageGravity(MagickWand *wand,
1657 const MagickWand *source_wand,const CompositeOperator compose,
1658 const GravityType gravity)
1659 </samp></pre>
1660
1661 <p>A description of each parameter follows:</p>
1662
1663 <dd>
1664 </dd>
1665
1666 <dd> </dd>
1667 <dl class="dl-horizontal">
1668 <dt>wand</dt>
1669 <dd>the magick wand holding the destination images </dd>
1670
1671 <dd> </dd>
1672 <dt>source_image</dt>
1673 <dd>the magick wand holding source image. </dd>
1674
1675 <dd> </dd>
1676 <dt>compose</dt>
1677 <dd>This operator affects how the composite is applied to the image. The default is Over. These are some of the compose methods available. </dd>
1678
1679 <dd> OverCompositeOp InCompositeOp OutCompositeOp AtopCompositeOp XorCompositeOp PlusCompositeOp MinusCompositeOp AddCompositeOp SubtractCompositeOp DifferenceCompositeOp BumpmapCompositeOp CopyCompositeOp DisplaceCompositeOp </dd>
1680
1681 <dd> </dd>
1682 <dt>gravity</dt>
1683 <dd>positioning gravity (NorthWestGravity, NorthGravity, NorthEastGravity, WestGravity, CenterGravity, EastGravity, SouthWestGravity, SouthGravity, SouthEastGravity) </dd>
1684
1685 <dd> </dd>
1686 </dl>
1687 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCompositeLayers">MagickCompositeLayers</a></h2>
1688
1689 <p>MagickCompositeLayers() composite the images in the source wand over the images in the destination wand in sequence, starting with the current image in both lists.</p>
1690
1691 <p>Each layer from the two image lists are composted together until the end of one of the image lists is reached. The offset of each composition is also adjusted to match the virtual canvas offsets of each layer. As such the given offset is relative to the virtual canvas, and not the actual image.</p>
1692
1693 <p>Composition uses given x and y offsets, as the 'origin' location of the source images virtual canvas (not the real image) allowing you to compose a list of 'layer images' into the destination images. This makes it well suitable for directly composing 'Clears Frame Animations' or 'Coalesced Animations' onto a static or other 'Coalesced Animation' destination image list. GIF disposal handling is not looked at.</p>
1694
1695 <p>Special case:- If one of the image sequences is the last image (just a single image remaining), that image is repeatedly composed with all the images in the other image list. Either the source or destination lists may be the single image, for this situation.</p>
1696
1697 <p>In the case of a single destination image (or last image given), that image will ve cloned to match the number of images remaining in the source image list.</p>
1698
1699 <p>This is equivalent to the "-layer Composite" Shell API operator.</p>
1700
1701 <p>The format of the MagickCompositeLayers method is:</p>
1702
1703 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickCompositeLayers(MagickWand *wand,
1704 const MagickWand *source_wand, const CompositeOperator compose,
1705 const ssize_t x,const ssize_t y)
1706 </samp></pre>
1707
1708 <p>A description of each parameter follows:</p>
1709
1710 <dd>
1711 </dd>
1712
1713 <dd> </dd>
1714 <dl class="dl-horizontal">
1715 <dt>wand</dt>
1716 <dd>the magick wand holding destination images </dd>
1717
1718 <dd> </dd>
1719 <dt>source_wand</dt>
1720 <dd>the wand holding the source images </dd>
1721
1722 <dd> </dd>
1723 <dt>compose, x, y</dt>
1724 <dd> composition arguments </dd>
1725
1726 <dd> </dd>
1727 </dl>
1728 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickConnectedComponentsImage">MagickConnectedComponentsImage</a></h2>
1729
1730 <p>MagickConnectedComponentsImage() returns the connected-components of the image uniquely labeled. The returned connected components image colors member defines the number of unique objects. Choose from 4 or 8-way connectivity.</p>
1731
1732 <p>The format of the MagickConnectedComponentsImage method is:</p>
1733
1734 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickConnectedComponentsImage(MagickWand *wand,
1735 const size_t connectivity,CCObjectInfo **objects)
1736 </samp></pre>
1737
1738 <p>A description of each parameter follows:</p>
1739
1740 <dd>
1741 </dd>
1742
1743 <dd> </dd>
1744 <dl class="dl-horizontal">
1745 <dt>wand</dt>
1746 <dd>the magick wand. </dd>
1747
1748 <dd> </dd>
1749 <dt>connectivity</dt>
1750 <dd>how many neighbors to visit, choose from 4 or 8. </dd>
1751
1752 <dd> </dd>
1753 <dt>objects</dt>
1754 <dd>return the attributes of each unique object. </dd>
1755
1756 <dd> </dd>
1757 </dl>
1758 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickContrastImage">MagickContrastImage</a></h2>
1759
1760 <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>
1761
1762 <p>The format of the MagickContrastImage method is:</p>
1763
1764 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickContrastImage(MagickWand *wand,
1765 const MagickBooleanType sharpen)
1766 </samp></pre>
1767
1768 <p>A description of each parameter follows:</p>
1769
1770 <dd>
1771 </dd>
1772
1773 <dd> </dd>
1774 <dl class="dl-horizontal">
1775 <dt>wand</dt>
1776 <dd>the magick wand. </dd>
1777
1778 <dd> </dd>
1779 <dt>sharpen</dt>
1780 <dd>Increase or decrease image contrast. </dd>
1781
1782 <dd> </dd>
1783
1784 <dd> </dd>
1785 </dl>
1786 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickContrastStretchImage">MagickContrastStretchImage</a></h2>
1787
1788 <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>
1789
1790 <p>The format of the MagickContrastStretchImage method is:</p>
1791
1792 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickContrastStretchImage(MagickWand *wand,
1793 const double black_point,const double white_point)
1794 </samp></pre>
1795
1796 <p>A description of each parameter follows:</p>
1797
1798 <dd>
1799 </dd>
1800
1801 <dd> </dd>
1802 <dl class="dl-horizontal">
1803 <dt>wand</dt>
1804 <dd>the magick wand. </dd>
1805
1806 <dd> </dd>
1807 <dt>black_point</dt>
1808 <dd>the black point. </dd>
1809
1810 <dd> </dd>
1811 <dt>white_point</dt>
1812 <dd>the white point. </dd>
1813
1814 <dd> </dd>
1815 </dl>
1816 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickConvolveImage">MagickConvolveImage</a></h2>
1817
1818 <p>MagickConvolveImage() applies a custom convolution kernel to the image.</p>
1819
1820 <p>The format of the MagickConvolveImage method is:</p>
1821
1822 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickConvolveImage(MagickWand *wand,
1823 const KernelInfo *kernel)
1824 </samp></pre>
1825
1826 <p>A description of each parameter follows:</p>
1827
1828 <dd>
1829 </dd>
1830
1831 <dd> </dd>
1832 <dl class="dl-horizontal">
1833 <dt>wand</dt>
1834 <dd>the magick wand. </dd>
1835
1836 <dd> </dd>
1837 <dt>kernel</dt>
1838 <dd>An array of doubles representing the convolution kernel. </dd>
1839
1840 <dd> </dd>
1841 </dl>
1842 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCropImage">MagickCropImage</a></h2>
1843
1844 <p>MagickCropImage() extracts a region of the image.</p>
1845
1846 <p>The format of the MagickCropImage method is:</p>
1847
1848 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickCropImage(MagickWand *wand,
1849 const size_t width,const size_t height,const ssize_t x,const ssize_t y)
1850 </samp></pre>
1851
1852 <p>A description of each parameter follows:</p>
1853
1854 <dd>
1855 </dd>
1856
1857 <dd> </dd>
1858 <dl class="dl-horizontal">
1859 <dt>wand</dt>
1860 <dd>the magick wand. </dd>
1861
1862 <dd> </dd>
1863 <dt>width</dt>
1864 <dd>the region width. </dd>
1865
1866 <dd> </dd>
1867 <dt>height</dt>
1868 <dd>the region height. </dd>
1869
1870 <dd> </dd>
1871 <dt>x</dt>
1872 <dd>the region x-offset. </dd>
1873
1874 <dd> </dd>
1875 <dt>y</dt>
1876 <dd>the region y-offset. </dd>
1877
1878 <dd> </dd>
1879 </dl>
1880 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickCycleColormapImage">MagickCycleColormapImage</a></h2>
1881
1882 <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>
1883
1884 <p>The format of the MagickCycleColormapImage method is:</p>
1885
1886 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickCycleColormapImage(MagickWand *wand,
1887 const ssize_t displace)
1888 </samp></pre>
1889
1890 <p>A description of each parameter follows:</p>
1891
1892 <dd>
1893 </dd>
1894
1895 <dd> </dd>
1896 <dl class="dl-horizontal">
1897 <dt>wand</dt>
1898 <dd>the magick wand. </dd>
1899
1900 <dd> </dd>
1901 <dt>pixel_wand</dt>
1902 <dd>the pixel wand. </dd>
1903
1904 <dd> </dd>
1905 </dl>
1906 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickConstituteImage">MagickConstituteImage</a></h2>
1907
1908 <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>
1909
1910 <p>MagickConstituteImage(wand,640,480,"RGB",CharPixel,pixels);</p>
1911
1912 <p>The format of the MagickConstituteImage method is:</p>
1913
1914 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickConstituteImage(MagickWand *wand,
1915 const size_t columns,const size_t rows,const char *map,
1916 const StorageType storage,const void *pixels)
1917 </samp></pre>
1918
1919 <p>A description of each parameter follows:</p>
1920
1921 <dd>
1922 </dd>
1923
1924 <dd> </dd>
1925 <dl class="dl-horizontal">
1926 <dt>wand</dt>
1927 <dd>the magick wand. </dd>
1928
1929 <dd> </dd>
1930 <dt>columns</dt>
1931 <dd>width in pixels of the image. </dd>
1932
1933 <dd> </dd>
1934 <dt>rows</dt>
1935 <dd>height in pixels of the image. </dd>
1936
1937 <dd> </dd>
1938 <dt>map</dt>
1939 <dd> 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 = alpha (0 is opaque), C = cyan, Y = yellow, M = magenta, K = black, I = intensity (for grayscale), P = pad. </dd>
1940
1941 <dd> </dd>
1942 <dt>storage</dt>
1943 <dd>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. </dd>
1944
1945 <dd> </dd>
1946 <dt>pixels</dt>
1947 <dd>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. </dd>
1948
1949 <dd> </dd>
1950
1951 <dd> </dd>
1952 </dl>
1953 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickDecipherImage">MagickDecipherImage</a></h2>
1954
1955 <p>MagickDecipherImage() converts cipher pixels to plain pixels.</p>
1956
1957 <p>The format of the MagickDecipherImage method is:</p>
1958
1959 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickDecipherImage(MagickWand *wand,
1960 const char *passphrase)
1961 </samp></pre>
1962
1963 <p>A description of each parameter follows:</p>
1964
1965 <dd>
1966 </dd>
1967
1968 <dd> </dd>
1969 <dl class="dl-horizontal">
1970 <dt>wand</dt>
1971 <dd>the magick wand. </dd>
1972
1973 <dd> </dd>
1974 <dt>passphrase</dt>
1975 <dd>the passphrase. </dd>
1976
1977 <dd> </dd>
1978 </dl>
1979 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickDeconstructImages">MagickDeconstructImages</a></h2>
1980
1981 <p>MagickDeconstructImages() compares each image with the next in a sequence and returns the maximum bounding region of any pixel differences it discovers.</p>
1982
1983 <p>The format of the MagickDeconstructImages method is:</p>
1984
1985 <pre class="bg-light text-dark mx-4"><samp>MagickWand *MagickDeconstructImages(MagickWand *wand)
1986 </samp></pre>
1987
1988 <p>A description of each parameter follows:</p>
1989
1990 <dd>
1991 </dd>
1992
1993 <dd> </dd>
1994 <dl class="dl-horizontal">
1995 <dt>wand</dt>
1996 <dd>the magick wand. </dd>
1997
1998 <dd> </dd>
1999 </dl>
2000 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickDeskewImage">MagickDeskewImage</a></h2>
2001
2002 <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>
2003
2004 <p>The format of the MagickDeskewImage method is:</p>
2005
2006 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickDeskewImage(MagickWand *wand,
2007 const double threshold)
2008 </samp></pre>
2009
2010 <p>A description of each parameter follows:</p>
2011
2012 <dd>
2013 </dd>
2014
2015 <dd> </dd>
2016 <dl class="dl-horizontal">
2017 <dt>wand</dt>
2018 <dd>the magick wand. </dd>
2019
2020 <dd> </dd>
2021 <dt>threshold</dt>
2022 <dd>separate background from foreground. </dd>
2023
2024 <dd> </dd>
2025 </dl>
2026 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickDespeckleImage">MagickDespeckleImage</a></h2>
2027
2028 <p>MagickDespeckleImage() reduces the speckle noise in an image while preserving the edges of the original image.</p>
2029
2030 <p>The format of the MagickDespeckleImage method is:</p>
2031
2032 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickDespeckleImage(MagickWand *wand)
2033 </samp></pre>
2034
2035 <p>A description of each parameter follows:</p>
2036
2037 <dd>
2038 </dd>
2039
2040 <dd> </dd>
2041 <dl class="dl-horizontal">
2042 <dt>wand</dt>
2043 <dd>the magick wand. </dd>
2044
2045 <dd> </dd>
2046 </dl>
2047 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickDestroyImage">MagickDestroyImage</a></h2>
2048
2049 <p>MagickDestroyImage() dereferences an image, deallocating memory associated with the image if the reference count becomes zero.</p>
2050
2051 <p>The format of the MagickDestroyImage method is:</p>
2052
2053 <pre class="bg-light text-dark mx-4"><samp>Image *MagickDestroyImage(Image *image)
2054 </samp></pre>
2055
2056 <p>A description of each parameter follows:</p>
2057
2058 <dd>
2059 </dd>
2060
2061 <dd> </dd>
2062 <dl class="dl-horizontal">
2063 <dt>image</dt>
2064 <dd>the image. </dd>
2065
2066 <dd> </dd>
2067 </dl>
2068 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickDisplayImage">MagickDisplayImage</a></h2>
2069
2070 <p>MagickDisplayImage() displays an image.</p>
2071
2072 <p>The format of the MagickDisplayImage method is:</p>
2073
2074 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickDisplayImage(MagickWand *wand,
2075 const char *server_name)
2076 </samp></pre>
2077
2078 <p>A description of each parameter follows:</p>
2079
2080 <dd>
2081 </dd>
2082
2083 <dd> </dd>
2084 <dl class="dl-horizontal">
2085 <dt>wand</dt>
2086 <dd>the magick wand. </dd>
2087
2088 <dd> </dd>
2089 <dt>server_name</dt>
2090 <dd>the X server name. </dd>
2091
2092 <dd> </dd>
2093 </dl>
2094 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickDisplayImages">MagickDisplayImages</a></h2>
2095
2096 <p>MagickDisplayImages() displays an image or image sequence.</p>
2097
2098 <p>The format of the MagickDisplayImages method is:</p>
2099
2100 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickDisplayImages(MagickWand *wand,
2101 const char *server_name)
2102 </samp></pre>
2103
2104 <p>A description of each parameter follows:</p>
2105
2106 <dd>
2107 </dd>
2108
2109 <dd> </dd>
2110 <dl class="dl-horizontal">
2111 <dt>wand</dt>
2112 <dd>the magick wand. </dd>
2113
2114 <dd> </dd>
2115 <dt>server_name</dt>
2116 <dd>the X server name. </dd>
2117
2118 <dd> </dd>
2119 </dl>
2120 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickDistortImage">MagickDistortImage</a></h2>
2121
2122 <p>MagickDistortImage() distorts an image using various distortion methods, by mapping color lookups of the source image to a new destination image usually of the same size as the source image, unless 'bestfit' is set to true.</p>
2123
2124 <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>
2125
2126 <p>The format of the MagickDistortImage method is:</p>
2127
2128 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickDistortImage(MagickWand *wand,
2129 const DistortMethod method,const size_t number_arguments,
2130 const double *arguments,const MagickBooleanType bestfit)
2131 </samp></pre>
2132
2133 <p>A description of each parameter follows:</p>
2134
2135 <dd>
2136 </dd>
2137
2138 <dd> </dd>
2139 <dl class="dl-horizontal">
2140 <dt>image</dt>
2141 <dd>the image to be distorted. </dd>
2142
2143 <dd> </dd>
2144 <dt>method</dt>
2145 <dd>the method of image distortion. </dd>
2146
2147 <dd> 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. </dd>
2148
2149 <dd> Bilinear has no simple inverse mapping so it does not allow 'bestfit' style of image distortion. </dd>
2150
2151 <dd> Affine, Perspective, and Bilinear, do least squares fitting of the distortion when more than the minimum number of control point pairs are provided. </dd>
2152
2153 <dd> 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) distortion, one pair is a translation and two pairs of control points do a scale-rotate-translate, without any shearing. </dd>
2154
2155 <dd> </dd>
2156 <dt>number_arguments</dt>
2157 <dd>the number of arguments given for this distortion method. </dd>
2158
2159 <dd> </dd>
2160 <dt>arguments</dt>
2161 <dd>the arguments for this distortion method. </dd>
2162
2163 <dd> </dd>
2164 <dt>bestfit</dt>
2165 <dd>Attempt to resize destination to fit distorted source. </dd>
2166
2167 <dd> </dd>
2168 </dl>
2169 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickDrawImage">MagickDrawImage</a></h2>
2170
2171 <p>MagickDrawImage() renders the drawing wand on the current image.</p>
2172
2173 <p>The format of the MagickDrawImage method is:</p>
2174
2175 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickDrawImage(MagickWand *wand,
2176 const DrawingWand *drawing_wand)
2177 </samp></pre>
2178
2179 <p>A description of each parameter follows:</p>
2180
2181 <dd>
2182 </dd>
2183
2184 <dd> </dd>
2185 <dl class="dl-horizontal">
2186 <dt>wand</dt>
2187 <dd>the magick wand. </dd>
2188
2189 <dd> </dd>
2190 <dt>drawing_wand</dt>
2191 <dd>the draw wand. </dd>
2192
2193 <dd> </dd>
2194 </dl>
2195 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickEdgeImage">MagickEdgeImage</a></h2>
2196
2197 <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>
2198
2199 <p>The format of the MagickEdgeImage method is:</p>
2200
2201 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickEdgeImage(MagickWand *wand,const double radius)
2202 </samp></pre>
2203
2204 <p>A description of each parameter follows:</p>
2205
2206 <dd>
2207 </dd>
2208
2209 <dd> </dd>
2210 <dl class="dl-horizontal">
2211 <dt>wand</dt>
2212 <dd>the magick wand. </dd>
2213
2214 <dd> </dd>
2215 <dt>radius</dt>
2216 <dd>the radius of the pixel neighborhood. </dd>
2217
2218 <dd> </dd>
2219 </dl>
2220 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickEmbossImage">MagickEmbossImage</a></h2>
2221
2222 <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>
2223
2224 <p>The format of the MagickEmbossImage method is:</p>
2225
2226 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickEmbossImage(MagickWand *wand,const double radius,
2227 const double sigma)
2228 </samp></pre>
2229
2230 <p>A description of each parameter follows:</p>
2231
2232 <dd>
2233 </dd>
2234
2235 <dd> </dd>
2236 <dl class="dl-horizontal">
2237 <dt>wand</dt>
2238 <dd>the magick wand. </dd>
2239
2240 <dd> </dd>
2241 <dt>radius</dt>
2242 <dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
2243
2244 <dd> </dd>
2245 <dt>sigma</dt>
2246 <dd>the standard deviation of the Gaussian, in pixels. </dd>
2247
2248 <dd> </dd>
2249 </dl>
2250 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickEncipherImage">MagickEncipherImage</a></h2>
2251
2252 <p>MagickEncipherImage() converts plaint pixels to cipher pixels.</p>
2253
2254 <p>The format of the MagickEncipherImage method is:</p>
2255
2256 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickEncipherImage(MagickWand *wand,
2257 const char *passphrase)
2258 </samp></pre>
2259
2260 <p>A description of each parameter follows:</p>
2261
2262 <dd>
2263 </dd>
2264
2265 <dd> </dd>
2266 <dl class="dl-horizontal">
2267 <dt>wand</dt>
2268 <dd>the magick wand. </dd>
2269
2270 <dd> </dd>
2271 <dt>passphrase</dt>
2272 <dd>the passphrase. </dd>
2273
2274 <dd> </dd>
2275 </dl>
2276 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickEnhanceImage">MagickEnhanceImage</a></h2>
2277
2278 <p>MagickEnhanceImage() applies a digital filter that improves the quality of a noisy image.</p>
2279
2280 <p>The format of the MagickEnhanceImage method is:</p>
2281
2282 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickEnhanceImage(MagickWand *wand)
2283 </samp></pre>
2284
2285 <p>A description of each parameter follows:</p>
2286
2287 <dd>
2288 </dd>
2289
2290 <dd> </dd>
2291 <dl class="dl-horizontal">
2292 <dt>wand</dt>
2293 <dd>the magick wand. </dd>
2294
2295 <dd> </dd>
2296 </dl>
2297 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickEqualizeImage">MagickEqualizeImage</a></h2>
2298
2299 <p>MagickEqualizeImage() equalizes the image histogram.</p>
2300
2301 <p>The format of the MagickEqualizeImage method is:</p>
2302
2303 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickEqualizeImage(MagickWand *wand)
2304 </samp></pre>
2305
2306 <p>A description of each parameter follows:</p>
2307
2308 <dd>
2309 </dd>
2310
2311 <dd> </dd>
2312 <dl class="dl-horizontal">
2313 <dt>wand</dt>
2314 <dd>the magick wand. </dd>
2315
2316 <dd> </dd>
2317 <dt>channel</dt>
2318 <dd>the image channel(s). </dd>
2319
2320 <dd> </dd>
2321 </dl>
2322 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickEvaluateImage">MagickEvaluateImage</a></h2>
2323
2324 <p>MagickEvaluateImage() applies 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>
2325
2326 <p>The format of the MagickEvaluateImage method is:</p>
2327
2328 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickEvaluateImage(MagickWand *wand,
2329 const MagickEvaluateOperator operator,const double value)
2330 MagickWand *MagickEvaluateImages(MagickWand *wand,
2331 const MagickEvaluateOperator operator)
2332 </samp></pre>
2333
2334 <p>A description of each parameter follows:</p>
2335
2336 <dd>
2337 </dd>
2338
2339 <dd> </dd>
2340 <dl class="dl-horizontal">
2341 <dt>wand</dt>
2342 <dd>the magick wand. </dd>
2343
2344 <dd> </dd>
2345 <dt>op</dt>
2346 <dd>A channel operator. </dd>
2347
2348 <dd> </dd>
2349 <dt>value</dt>
2350 <dd>A value value. </dd>
2351
2352 <dd> </dd>
2353 </dl>
2354 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickExportImagePixels">MagickExportImagePixels</a></h2>
2355
2356 <p>MagickExportImagePixels() extracts pixel data from an image and returns it to you. The method returns MagickTrue on success otherwise MagickFalse if an error is encountered. The data is returned as char, short int, int, ssize_t, float, or double in the order specified by map.</p>
2357
2358 <p>Suppose you want to extract the first scanline of a 640x480 image as character data in red-green-blue order:</p>
2359
2360 <pre class="bg-light text-dark mx-4"><samp>MagickExportImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels);
2361 </samp></pre>
2362
2363 <p>The format of the MagickExportImagePixels method is:</p>
2364
2365 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickExportImagePixels(MagickWand *wand,
2366 const ssize_t x,const ssize_t y,const size_t columns,
2367 const size_t rows,const char *map,const StorageType storage,
2368 void *pixels)
2369 </samp></pre>
2370
2371 <p>A description of each parameter follows:</p>
2372
2373 <dd>
2374 </dd>
2375
2376 <dd> </dd>
2377 <dl class="dl-horizontal">
2378 <dt>wand</dt>
2379 <dd>the magick wand. </dd>
2380
2381 <dd> </dd>
2382 <dt>x, y, columns, rows</dt>
2383 <dd> These values define the perimeter of a region of pixels you want to extract. </dd>
2384
2385 <dd> </dd>
2386 <dt>map</dt>
2387 <dd> 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 = alpha (0 is opaque), C = cyan, Y = yellow, M = magenta, K = black, I = intensity (for grayscale), P = pad. </dd>
2388
2389 <dd> </dd>
2390 <dt>storage</dt>
2391 <dd>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. </dd>
2392
2393 <dd> </dd>
2394 <dt>pixels</dt>
2395 <dd>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. </dd>
2396
2397 <dd> </dd>
2398 </dl>
2399 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickExtentImage">MagickExtentImage</a></h2>
2400
2401 <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>
2402
2403 <p>The format of the MagickExtentImage method is:</p>
2404
2405 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickExtentImage(MagickWand *wand,const size_t width,
2406 const size_t height,const ssize_t x,const ssize_t y)
2407 </samp></pre>
2408
2409 <p>A description of each parameter follows:</p>
2410
2411 <dd>
2412 </dd>
2413
2414 <dd> </dd>
2415 <dl class="dl-horizontal">
2416 <dt>wand</dt>
2417 <dd>the magick wand. </dd>
2418
2419 <dd> </dd>
2420 <dt>width</dt>
2421 <dd>the region width. </dd>
2422
2423 <dd> </dd>
2424 <dt>height</dt>
2425 <dd>the region height. </dd>
2426
2427 <dd> </dd>
2428 <dt>x</dt>
2429 <dd>the region x offset. </dd>
2430
2431 <dd> </dd>
2432 <dt>y</dt>
2433 <dd>the region y offset. </dd>
2434
2435 <dd> </dd>
2436 </dl>
2437 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickFlipImage">MagickFlipImage</a></h2>
2438
2439 <p>MagickFlipImage() creates a vertical mirror image by reflecting the pixels around the central x-axis.</p>
2440
2441 <p>The format of the MagickFlipImage method is:</p>
2442
2443 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickFlipImage(MagickWand *wand)
2444 </samp></pre>
2445
2446 <p>A description of each parameter follows:</p>
2447
2448 <dd>
2449 </dd>
2450
2451 <dd> </dd>
2452 <dl class="dl-horizontal">
2453 <dt>wand</dt>
2454 <dd>the magick wand. </dd>
2455
2456 <dd> </dd>
2457 </dl>
2458 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickFloodfillPaintImage">MagickFloodfillPaintImage</a></h2>
2459
2460 <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>
2461
2462 <p>The format of the MagickFloodfillPaintImage method is:</p>
2463
2464 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickFloodfillPaintImage(MagickWand *wand,
2465 const PixelWand *fill,const double fuzz,const PixelWand *bordercolor,
2466 const ssize_t x,const ssize_t y,const MagickBooleanType invert)
2467 </samp></pre>
2468
2469 <p>A description of each parameter follows:</p>
2470
2471 <dd>
2472 </dd>
2473
2474 <dd> </dd>
2475 <dl class="dl-horizontal">
2476 <dt>wand</dt>
2477 <dd>the magick wand. </dd>
2478
2479 <dd> </dd>
2480 <dt>fill</dt>
2481 <dd>the floodfill color pixel wand. </dd>
2482
2483 <dd> </dd>
2484 <dt>fuzz</dt>
2485 <dd>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. </dd>
2486
2487 <dd> </dd>
2488 <dt>bordercolor</dt>
2489 <dd>the border color pixel wand. </dd>
2490
2491 <dd> </dd>
2492 <dt>x,y</dt>
2493 <dd>the starting location of the operation. </dd>
2494
2495 <dd> </dd>
2496 <dt>invert</dt>
2497 <dd>paint any pixel that does not match the target color. </dd>
2498
2499 <dd> </dd>
2500 </dl>
2501 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickFlopImage">MagickFlopImage</a></h2>
2502
2503 <p>MagickFlopImage() creates a horizontal mirror image by reflecting the pixels around the central y-axis.</p>
2504
2505 <p>The format of the MagickFlopImage method is:</p>
2506
2507 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickFlopImage(MagickWand *wand)
2508 </samp></pre>
2509
2510 <p>A description of each parameter follows:</p>
2511
2512 <dd>
2513 </dd>
2514
2515 <dd> </dd>
2516 <dl class="dl-horizontal">
2517 <dt>wand</dt>
2518 <dd>the magick wand. </dd>
2519
2520 <dd> </dd>
2521 </dl>
2522 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickForwardFourierTransformImage">MagickForwardFourierTransformImage</a></h2>
2523
2524 <p>MagickForwardFourierTransformImage() implements the discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.</p>
2525
2526 <p>The format of the MagickForwardFourierTransformImage method is:</p>
2527
2528 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickForwardFourierTransformImage(MagickWand *wand,
2529 const MagickBooleanType magnitude)
2530 </samp></pre>
2531
2532 <p>A description of each parameter follows:</p>
2533
2534 <dd>
2535 </dd>
2536
2537 <dd> </dd>
2538 <dl class="dl-horizontal">
2539 <dt>wand</dt>
2540 <dd>the magick wand. </dd>
2541
2542 <dd> </dd>
2543 <dt>magnitude</dt>
2544 <dd>if true, return as magnitude / phase pair otherwise a real / imaginary image pair. </dd>
2545
2546 <dd> </dd>
2547 </dl>
2548 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickFrameImage">MagickFrameImage</a></h2>
2549
2550 <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>
2551
2552 <p>The format of the MagickFrameImage method is:</p>
2553
2554 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickFrameImage(MagickWand *wand,
2555 const PixelWand *matte_color,const size_t width,
2556 const size_t height,const ssize_t inner_bevel,
2557 const ssize_t outer_bevel,const CompositeOperator compose)
2558 </samp></pre>
2559
2560 <p>A description of each parameter follows:</p>
2561
2562 <dd>
2563 </dd>
2564
2565 <dd> </dd>
2566 <dl class="dl-horizontal">
2567 <dt>wand</dt>
2568 <dd>the magick wand. </dd>
2569
2570 <dd> </dd>
2571 <dt>matte_color</dt>
2572 <dd>the frame color pixel wand. </dd>
2573
2574 <dd> </dd>
2575 <dt>width</dt>
2576 <dd>the border width. </dd>
2577
2578 <dd> </dd>
2579 <dt>height</dt>
2580 <dd>the border height. </dd>
2581
2582 <dd> </dd>
2583 <dt>inner_bevel</dt>
2584 <dd>the inner bevel width. </dd>
2585
2586 <dd> </dd>
2587 <dt>outer_bevel</dt>
2588 <dd>the outer bevel width. </dd>
2589
2590 <dd> </dd>
2591 <dt>compose</dt>
2592 <dd>the composite operator. </dd>
2593
2594 <dd> </dd>
2595 </dl>
2596 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickFunctionImage">MagickFunctionImage</a></h2>
2597
2598 <p>MagickFunctionImage() applies 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>
2599
2600 <p>The format of the MagickFunctionImage method is:</p>
2601
2602 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickFunctionImage(MagickWand *wand,
2603 const MagickFunction function,const size_t number_arguments,
2604 const double *arguments)
2605 </samp></pre>
2606
2607 <p>A description of each parameter follows:</p>
2608
2609 <dd>
2610 </dd>
2611
2612 <dd> </dd>
2613 <dl class="dl-horizontal">
2614 <dt>wand</dt>
2615 <dd>the magick wand. </dd>
2616
2617 <dd> </dd>
2618 <dt>function</dt>
2619 <dd>the image function. </dd>
2620
2621 <dd> </dd>
2622 <dt>number_arguments</dt>
2623 <dd>the number of function arguments. </dd>
2624
2625 <dd> </dd>
2626 <dt>arguments</dt>
2627 <dd>the function arguments. </dd>
2628
2629 <dd> </dd>
2630 </dl>
2631 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickFxImage">MagickFxImage</a></h2>
2632
2633 <p>MagickFxImage() evaluate expression for each pixel in the image.</p>
2634
2635 <p>The format of the MagickFxImage method is:</p>
2636
2637 <pre class="bg-light text-dark mx-4"><samp>MagickWand *MagickFxImage(MagickWand *wand,const char *expression)
2638 </samp></pre>
2639
2640 <p>A description of each parameter follows:</p>
2641
2642 <dd>
2643 </dd>
2644
2645 <dd> </dd>
2646 <dl class="dl-horizontal">
2647 <dt>wand</dt>
2648 <dd>the magick wand. </dd>
2649
2650 <dd> </dd>
2651 <dt>expression</dt>
2652 <dd>the expression. </dd>
2653
2654 <dd> </dd>
2655 </dl>
2656 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGammaImage">MagickGammaImage</a></h2>
2657
2658 <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>
2659
2660 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p>
2661
2662 <p>The format of the MagickGammaImage method is:</p>
2663
2664 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGammaImage(MagickWand *wand,const double gamma)
2665 </samp></pre>
2666
2667 <p>A description of each parameter follows:</p>
2668
2669 <dd>
2670 </dd>
2671
2672 <dd> </dd>
2673 <dl class="dl-horizontal">
2674 <dt>wand</dt>
2675 <dd>the magick wand. </dd>
2676
2677 <dd> </dd>
2678 <dt>level</dt>
2679 <dd>Define the level of gamma correction. </dd>
2680
2681 <dd> </dd>
2682 </dl>
2683 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGaussianBlurImage">MagickGaussianBlurImage</a></h2>
2684
2685 <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>
2686
2687 <p>The format of the MagickGaussianBlurImage method is:</p>
2688
2689 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGaussianBlurImage(MagickWand *wand,
2690 const double radius,const double sigma)
2691 </samp></pre>
2692
2693 <p>A description of each parameter follows:</p>
2694
2695 <dd>
2696 </dd>
2697
2698 <dd> </dd>
2699 <dl class="dl-horizontal">
2700 <dt>wand</dt>
2701 <dd>the magick wand. </dd>
2702
2703 <dd> </dd>
2704 <dt>radius</dt>
2705 <dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
2706
2707 <dd> </dd>
2708 <dt>sigma</dt>
2709 <dd>the standard deviation of the Gaussian, in pixels. </dd>
2710
2711 <dd> </dd>
2712 </dl>
2713 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImage">MagickGetImage</a></h2>
2714
2715 <p>MagickGetImage() gets the image at the current image index.</p>
2716
2717 <p>The format of the MagickGetImage method is:</p>
2718
2719 <pre class="bg-light text-dark mx-4"><samp>MagickWand *MagickGetImage(MagickWand *wand)
2720 </samp></pre>
2721
2722 <p>A description of each parameter follows:</p>
2723
2724 <dd>
2725 </dd>
2726
2727 <dd> </dd>
2728 <dl class="dl-horizontal">
2729 <dt>wand</dt>
2730 <dd>the magick wand. </dd>
2731
2732 <dd> </dd>
2733 </dl>
2734 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageAlphaChannel">MagickGetImageAlphaChannel</a></h2>
2735
2736 <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>
2737
2738 <p>The format of the MagickGetImageAlphaChannel method is:</p>
2739
2740 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImageAlphaChannel(MagickWand *wand)
2741 </samp></pre>
2742
2743 <p>A description of each parameter follows:</p>
2744
2745 <dd>
2746 </dd>
2747
2748 <dd> </dd>
2749 <dl class="dl-horizontal">
2750 <dt>wand</dt>
2751 <dd>the magick wand. </dd>
2752
2753 <dd> </dd>
2754 </dl>
2755 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageMask">MagickGetImageMask</a></h2>
2756
2757 <p>MagickGetImageMask() gets the image clip mask at the current image index.</p>
2758
2759 <p>The format of the MagickGetImageMask method is:</p>
2760
2761 <pre class="bg-light text-dark mx-4"><samp>MagickWand *MagickGetImageMask(MagickWand *wand, const PixelMask type)
2762 </samp></pre>
2763
2764 <p>A description of each parameter follows:</p>
2765
2766 <dd>
2767 </dd>
2768
2769 <dd> </dd>
2770 <dl class="dl-horizontal">
2771 <dt>wand</dt>
2772 <dd>the magick wand. </dd>
2773
2774 <dd> </dd>
2775 <dt>type</dt>
2776 <dd>type of mask, ReadPixelMask or WritePixelMask. </dd>
2777
2778 <dd> </dd>
2779 </dl>
2780 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageBackgroundColor">MagickGetImageBackgroundColor</a></h2>
2781
2782 <p>MagickGetImageBackgroundColor() returns the image background color.</p>
2783
2784 <p>The format of the MagickGetImageBackgroundColor method is:</p>
2785
2786 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImageBackgroundColor(MagickWand *wand,
2787 PixelWand *background_color)
2788 </samp></pre>
2789
2790 <p>A description of each parameter follows:</p>
2791
2792 <dd>
2793 </dd>
2794
2795 <dd> </dd>
2796 <dl class="dl-horizontal">
2797 <dt>wand</dt>
2798 <dd>the magick wand. </dd>
2799
2800 <dd> </dd>
2801 <dt>background_color</dt>
2802 <dd>Return the background color. </dd>
2803
2804 <dd> </dd>
2805 </dl>
2806 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageBlob">MagickGetImageBlob</a></h2>
2807
2808 <p>MagickGetImageBlob() implements direct to memory image formats. It returns the image as a blob (a formatted "file" in memory) and its length, starting from the current position in the image sequence. Use MagickSetImageFormat() to set the format to write to the blob (GIF, JPEG, PNG, etc.).</p>
2809
2810 <p>Utilize MagickResetIterator() to ensure the write is from the beginning of the image sequence.</p>
2811
2812 <p>Use MagickRelinquishMemory() to free the blob when you are done with it.</p>
2813
2814 <p>The format of the MagickGetImageBlob method is:</p>
2815
2816 <pre class="bg-light text-dark mx-4"><samp>unsigned char *MagickGetImageBlob(MagickWand *wand,size_t *length)
2817 </samp></pre>
2818
2819 <p>A description of each parameter follows:</p>
2820
2821 <dd>
2822 </dd>
2823
2824 <dd> </dd>
2825 <dl class="dl-horizontal">
2826 <dt>wand</dt>
2827 <dd>the magick wand. </dd>
2828
2829 <dd> </dd>
2830 <dt>length</dt>
2831 <dd>the length of the blob. </dd>
2832
2833 <dd> </dd>
2834 </dl>
2835 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImagesBlob">MagickGetImagesBlob</a></h2>
2836
2837 <p>MagickGetImagesBlob() 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>
2838
2839 <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>
2840
2841 <p>The format of the MagickGetImagesBlob method is:</p>
2842
2843 <pre class="bg-light text-dark mx-4"><samp>unsigned char *MagickGetImagesBlob(MagickWand *wand,size_t *length)
2844 </samp></pre>
2845
2846 <p>A description of each parameter follows:</p>
2847
2848 <dd>
2849 </dd>
2850
2851 <dd> </dd>
2852 <dl class="dl-horizontal">
2853 <dt>wand</dt>
2854 <dd>the magick wand. </dd>
2855
2856 <dd> </dd>
2857 <dt>length</dt>
2858 <dd>the length of the blob. </dd>
2859
2860 <dd> </dd>
2861 </dl>
2862 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageBluePrimary">MagickGetImageBluePrimary</a></h2>
2863
2864 <p>MagickGetImageBluePrimary() returns the chromaticity blue primary point for the image.</p>
2865
2866 <p>The format of the MagickGetImageBluePrimary method is:</p>
2867
2868 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImageBluePrimary(MagickWand *wand,double *x,
2869 double *y,double *z)
2870 </samp></pre>
2871
2872 <p>A description of each parameter follows:</p>
2873
2874 <dd>
2875 </dd>
2876
2877 <dd> </dd>
2878 <dl class="dl-horizontal">
2879 <dt>wand</dt>
2880 <dd>the magick wand. </dd>
2881
2882 <dd> </dd>
2883 <dt>x</dt>
2884 <dd>the chromaticity blue primary x-point. </dd>
2885
2886 <dd> </dd>
2887 <dt>y</dt>
2888 <dd>the chromaticity blue primary y-point. </dd>
2889
2890 <dd> </dd>
2891 <dt>z</dt>
2892 <dd>the chromaticity blue primary z-point. </dd>
2893
2894 <dd> </dd>
2895 </dl>
2896 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageBorderColor">MagickGetImageBorderColor</a></h2>
2897
2898 <p>MagickGetImageBorderColor() returns the image border color.</p>
2899
2900 <p>The format of the MagickGetImageBorderColor method is:</p>
2901
2902 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImageBorderColor(MagickWand *wand,
2903 PixelWand *border_color)
2904 </samp></pre>
2905
2906 <p>A description of each parameter follows:</p>
2907
2908 <dd>
2909 </dd>
2910
2911 <dd> </dd>
2912 <dl class="dl-horizontal">
2913 <dt>wand</dt>
2914 <dd>the magick wand. </dd>
2915
2916 <dd> </dd>
2917 <dt>border_color</dt>
2918 <dd>Return the border color. </dd>
2919
2920 <dd> </dd>
2921 </dl>
2922 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageFeatures">MagickGetImageFeatures</a></h2>
2923
2924 <p>MagickGetImageFeatures() 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 variance, 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>
2925
2926 <pre class="bg-light text-dark mx-4"><samp>channel_features=MagickGetImageFeatures(wand,1);
2927 contrast=channel_features[RedPixelChannel].contrast[0];
2928 </samp></pre>
2929
2930 <p>Use MagickRelinquishMemory() to free the statistics buffer.</p>
2931
2932 <p>The format of the MagickGetImageFeatures method is:</p>
2933
2934 <pre class="bg-light text-dark mx-4"><samp>ChannelFeatures *MagickGetImageFeatures(MagickWand *wand,
2935 const size_t distance)
2936 </samp></pre>
2937
2938 <p>A description of each parameter follows:</p>
2939
2940 <dd>
2941 </dd>
2942
2943 <dd> </dd>
2944 <dl class="dl-horizontal">
2945 <dt>wand</dt>
2946 <dd>the magick wand. </dd>
2947
2948 <dd> </dd>
2949 <dt>distance</dt>
2950 <dd>the distance. </dd>
2951
2952 <dd> </dd>
2953 </dl>
2954 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageKurtosis">MagickGetImageKurtosis</a></h2>
2955
2956 <p>MagickGetImageKurtosis() gets the kurtosis and skewness of one or more image channels.</p>
2957
2958 <p>The format of the MagickGetImageKurtosis method is:</p>
2959
2960 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImageKurtosis(MagickWand *wand,
2961 double *kurtosis,double *skewness)
2962 </samp></pre>
2963
2964 <p>A description of each parameter follows:</p>
2965
2966 <dd>
2967 </dd>
2968
2969 <dd> </dd>
2970 <dl class="dl-horizontal">
2971 <dt>wand</dt>
2972 <dd>the magick wand. </dd>
2973
2974 <dd> </dd>
2975 <dt>kurtosis</dt>
2976 <dd> The kurtosis for the specified channel(s). </dd>
2977
2978 <dd> </dd>
2979 <dt>skewness</dt>
2980 <dd> The skewness for the specified channel(s). </dd>
2981
2982 <dd> </dd>
2983 </dl>
2984 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageMean">MagickGetImageMean</a></h2>
2985
2986 <p>MagickGetImageMean() gets the mean and standard deviation of one or more image channels.</p>
2987
2988 <p>The format of the MagickGetImageMean method is:</p>
2989
2990 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImageMean(MagickWand *wand,double *mean,
2991 double *standard_deviation)
2992 </samp></pre>
2993
2994 <p>A description of each parameter follows:</p>
2995
2996 <dd>
2997 </dd>
2998
2999 <dd> </dd>
3000 <dl class="dl-horizontal">
3001 <dt>wand</dt>
3002 <dd>the magick wand. </dd>
3003
3004 <dd> </dd>
3005 <dt>channel</dt>
3006 <dd>the image channel(s). </dd>
3007
3008 <dd> </dd>
3009 <dt>mean</dt>
3010 <dd> The mean pixel value for the specified channel(s). </dd>
3011
3012 <dd> </dd>
3013 <dt>standard_deviation</dt>
3014 <dd> The standard deviation for the specified channel(s). </dd>
3015
3016 <dd> </dd>
3017 </dl>
3018 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageRange">MagickGetImageRange</a></h2>
3019
3020 <p>MagickGetImageRange() gets the range for one or more image channels.</p>
3021
3022 <p>The format of the MagickGetImageRange method is:</p>
3023
3024 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImageRange(MagickWand *wand,double *minima,
3025 double *maxima)
3026 </samp></pre>
3027
3028 <p>A description of each parameter follows:</p>
3029
3030 <dd>
3031 </dd>
3032
3033 <dd> </dd>
3034 <dl class="dl-horizontal">
3035 <dt>wand</dt>
3036 <dd>the magick wand. </dd>
3037
3038 <dd> </dd>
3039 <dt>minima</dt>
3040 <dd> The minimum pixel value for the specified channel(s). </dd>
3041
3042 <dd> </dd>
3043 <dt>maxima</dt>
3044 <dd> The maximum pixel value for the specified channel(s). </dd>
3045
3046 <dd> </dd>
3047 </dl>
3048 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageStatistics">MagickGetImageStatistics</a></h2>
3049
3050 <p>MagickGetImageStatistics() 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>
3051
3052 <pre class="bg-light text-dark mx-4"><samp>channel_statistics=MagickGetImageStatistics(wand);
3053 red_mean=channel_statistics[RedPixelChannel].mean;
3054 </samp></pre>
3055
3056 <p>Use MagickRelinquishMemory() to free the statistics buffer.</p>
3057
3058 <p>The format of the MagickGetImageStatistics method is:</p>
3059
3060 <pre class="bg-light text-dark mx-4"><samp>ChannelStatistics *MagickGetImageStatistics(MagickWand *wand)
3061 </samp></pre>
3062
3063 <p>A description of each parameter follows:</p>
3064
3065 <dd>
3066 </dd>
3067
3068 <dd> </dd>
3069 <dl class="dl-horizontal">
3070 <dt>wand</dt>
3071 <dd>the magick wand. </dd>
3072
3073 <dd> </dd>
3074 </dl>
3075 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageColormapColor">MagickGetImageColormapColor</a></h2>
3076
3077 <p>MagickGetImageColormapColor() returns the color of the specified colormap index.</p>
3078
3079 <p>The format of the MagickGetImageColormapColor method is:</p>
3080
3081 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImageColormapColor(MagickWand *wand,
3082 const size_t index,PixelWand *color)
3083 </samp></pre>
3084
3085 <p>A description of each parameter follows:</p>
3086
3087 <dd>
3088 </dd>
3089
3090 <dd> </dd>
3091 <dl class="dl-horizontal">
3092 <dt>wand</dt>
3093 <dd>the magick wand. </dd>
3094
3095 <dd> </dd>
3096 <dt>index</dt>
3097 <dd>the offset into the image colormap. </dd>
3098
3099 <dd> </dd>
3100 <dt>color</dt>
3101 <dd>Return the colormap color in this wand. </dd>
3102
3103 <dd> </dd>
3104 </dl>
3105 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageColors">MagickGetImageColors</a></h2>
3106
3107 <p>MagickGetImageColors() gets the number of unique colors in the image.</p>
3108
3109 <p>The format of the MagickGetImageColors method is:</p>
3110
3111 <pre class="bg-light text-dark mx-4"><samp>size_t MagickGetImageColors(MagickWand *wand)
3112 </samp></pre>
3113
3114 <p>A description of each parameter follows:</p>
3115
3116 <dd>
3117 </dd>
3118
3119 <dd> </dd>
3120 <dl class="dl-horizontal">
3121 <dt>wand</dt>
3122 <dd>the magick wand. </dd>
3123
3124 <dd> </dd>
3125 </dl>
3126 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageColorspace">MagickGetImageColorspace</a></h2>
3127
3128 <p>MagickGetImageColorspace() gets the image colorspace.</p>
3129
3130 <p>The format of the MagickGetImageColorspace method is:</p>
3131
3132 <pre class="bg-light text-dark mx-4"><samp>ColorspaceType MagickGetImageColorspace(MagickWand *wand)
3133 </samp></pre>
3134
3135 <p>A description of each parameter follows:</p>
3136
3137 <dd>
3138 </dd>
3139
3140 <dd> </dd>
3141 <dl class="dl-horizontal">
3142 <dt>wand</dt>
3143 <dd>the magick wand. </dd>
3144
3145 <dd> </dd>
3146 </dl>
3147 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageCompose">MagickGetImageCompose</a></h2>
3148
3149 <p>MagickGetImageCompose() returns the composite operator associated with the image.</p>
3150
3151 <p>The format of the MagickGetImageCompose method is:</p>
3152
3153 <pre class="bg-light text-dark mx-4"><samp>CompositeOperator MagickGetImageCompose(MagickWand *wand)
3154 </samp></pre>
3155
3156 <p>A description of each parameter follows:</p>
3157
3158 <dd>
3159 </dd>
3160
3161 <dd> </dd>
3162 <dl class="dl-horizontal">
3163 <dt>wand</dt>
3164 <dd>the magick wand. </dd>
3165
3166 <dd> </dd>
3167 </dl>
3168 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageCompression">MagickGetImageCompression</a></h2>
3169
3170 <p>MagickGetImageCompression() gets the image compression.</p>
3171
3172 <p>The format of the MagickGetImageCompression method is:</p>
3173
3174 <pre class="bg-light text-dark mx-4"><samp>CompressionType MagickGetImageCompression(MagickWand *wand)
3175 </samp></pre>
3176
3177 <p>A description of each parameter follows:</p>
3178
3179 <dd>
3180 </dd>
3181
3182 <dd> </dd>
3183 <dl class="dl-horizontal">
3184 <dt>wand</dt>
3185 <dd>the magick wand. </dd>
3186
3187 <dd> </dd>
3188 </dl>
3189 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageCompressionQuality">MagickGetImageCompressionQuality</a></h2>
3190
3191 <p>MagickGetImageCompressionQuality() gets the image compression quality.</p>
3192
3193 <p>The format of the MagickGetImageCompressionQuality method is:</p>
3194
3195 <pre class="bg-light text-dark mx-4"><samp>size_t MagickGetImageCompressionQuality(MagickWand *wand)
3196 </samp></pre>
3197
3198 <p>A description of each parameter follows:</p>
3199
3200 <dd>
3201 </dd>
3202
3203 <dd> </dd>
3204 <dl class="dl-horizontal">
3205 <dt>wand</dt>
3206 <dd>the magick wand. </dd>
3207
3208 <dd> </dd>
3209 </dl>
3210 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageDelay">MagickGetImageDelay</a></h2>
3211
3212 <p>MagickGetImageDelay() gets the image delay.</p>
3213
3214 <p>The format of the MagickGetImageDelay method is:</p>
3215
3216 <pre class="bg-light text-dark mx-4"><samp>size_t MagickGetImageDelay(MagickWand *wand)
3217 </samp></pre>
3218
3219 <p>A description of each parameter follows:</p>
3220
3221 <dd>
3222 </dd>
3223
3224 <dd> </dd>
3225 <dl class="dl-horizontal">
3226 <dt>wand</dt>
3227 <dd>the magick wand. </dd>
3228
3229 <dd> </dd>
3230 </dl>
3231 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageDepth">MagickGetImageDepth</a></h2>
3232
3233 <p>MagickGetImageDepth() gets the image depth.</p>
3234
3235 <p>The format of the MagickGetImageDepth method is:</p>
3236
3237 <pre class="bg-light text-dark mx-4"><samp>size_t MagickGetImageDepth(MagickWand *wand)
3238 </samp></pre>
3239
3240 <p>A description of each parameter follows:</p>
3241
3242 <dd>
3243 </dd>
3244
3245 <dd> </dd>
3246 <dl class="dl-horizontal">
3247 <dt>wand</dt>
3248 <dd>the magick wand. </dd>
3249
3250 <dd> </dd>
3251 </dl>
3252 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageDispose">MagickGetImageDispose</a></h2>
3253
3254 <p>MagickGetImageDispose() gets the image disposal method.</p>
3255
3256 <p>The format of the MagickGetImageDispose method is:</p>
3257
3258 <pre class="bg-light text-dark mx-4"><samp>DisposeType MagickGetImageDispose(MagickWand *wand)
3259 </samp></pre>
3260
3261 <p>A description of each parameter follows:</p>
3262
3263 <dd>
3264 </dd>
3265
3266 <dd> </dd>
3267 <dl class="dl-horizontal">
3268 <dt>wand</dt>
3269 <dd>the magick wand. </dd>
3270
3271 <dd> </dd>
3272 </dl>
3273 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageDistortion">MagickGetImageDistortion</a></h2>
3274
3275 <p>MagickGetImageDistortion() compares an image to a reconstructed image and returns the specified distortion metric.</p>
3276
3277 <p>The format of the MagickGetImageDistortion method is:</p>
3278
3279 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImageDistortion(MagickWand *wand,
3280 const MagickWand *reference,const MetricType metric,
3281 double *distortion)
3282 </samp></pre>
3283
3284 <p>A description of each parameter follows:</p>
3285
3286 <dd>
3287 </dd>
3288
3289 <dd> </dd>
3290 <dl class="dl-horizontal">
3291 <dt>wand</dt>
3292 <dd>the magick wand. </dd>
3293
3294 <dd> </dd>
3295 <dt>reference</dt>
3296 <dd>the reference wand. </dd>
3297
3298 <dd> </dd>
3299 <dt>metric</dt>
3300 <dd>the metric. </dd>
3301
3302 <dd> </dd>
3303 <dt>distortion</dt>
3304 <dd>the computed distortion between the images. </dd>
3305
3306 <dd> </dd>
3307 </dl>
3308 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageDistortions">MagickGetImageDistortions</a></h2>
3309
3310 <p>MagickGetImageDistortions() compares one or more pixel channels of an image to a reconstructed image and returns the specified distortion metrics.</p>
3311
3312 <p>Use MagickRelinquishMemory() to free the metrics when you are done with them.</p>
3313
3314 <p>The format of the MagickGetImageDistortions method is:</p>
3315
3316 <pre class="bg-light text-dark mx-4"><samp>double *MagickGetImageDistortions(MagickWand *wand,
3317 const MagickWand *reference,const MetricType metric)
3318 </samp></pre>
3319
3320 <p>A description of each parameter follows:</p>
3321
3322 <dd>
3323 </dd>
3324
3325 <dd> </dd>
3326 <dl class="dl-horizontal">
3327 <dt>wand</dt>
3328 <dd>the magick wand. </dd>
3329
3330 <dd> </dd>
3331 <dt>reference</dt>
3332 <dd>the reference wand. </dd>
3333
3334 <dd> </dd>
3335 <dt>metric</dt>
3336 <dd>the metric. </dd>
3337
3338 <dd> </dd>
3339 </dl>
3340 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageEndian">MagickGetImageEndian</a></h2>
3341
3342 <p>MagickGetImageEndian() gets the image endian.</p>
3343
3344 <p>The format of the MagickGetImageEndian method is:</p>
3345
3346 <pre class="bg-light text-dark mx-4"><samp>EndianType MagickGetImageEndian(MagickWand *wand)
3347 </samp></pre>
3348
3349 <p>A description of each parameter follows:</p>
3350
3351 <dd>
3352 </dd>
3353
3354 <dd> </dd>
3355 <dl class="dl-horizontal">
3356 <dt>wand</dt>
3357 <dd>the magick wand. </dd>
3358
3359 <dd> </dd>
3360 </dl>
3361 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageFilename">MagickGetImageFilename</a></h2>
3362
3363 <p>MagickGetImageFilename() returns the filename of a particular image in a sequence.</p>
3364
3365 <p>The format of the MagickGetImageFilename method is:</p>
3366
3367 <pre class="bg-light text-dark mx-4"><samp>char *MagickGetImageFilename(MagickWand *wand)
3368 </samp></pre>
3369
3370 <p>A description of each parameter follows:</p>
3371
3372 <dd>
3373 </dd>
3374
3375 <dd> </dd>
3376 <dl class="dl-horizontal">
3377 <dt>wand</dt>
3378 <dd>the magick wand. </dd>
3379
3380 <dd> </dd>
3381 </dl>
3382 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageFilter">MagickGetImageFilter</a></h2>
3383
3384 <p>MagickGetImageFilter() gets the image filter.</p>
3385
3386 <p>The format of the MagickGetImageFilter method is:</p>
3387
3388 <pre class="bg-light text-dark mx-4"><samp>FilterType MagickGetImageFilter(MagickWand *wand)
3389 </samp></pre>
3390
3391 <p>A description of each parameter follows:</p>
3392
3393 <dd>
3394 </dd>
3395
3396 <dd> </dd>
3397 <dl class="dl-horizontal">
3398 <dt>wand</dt>
3399 <dd>the magick wand. </dd>
3400
3401 <dd> </dd>
3402 </dl>
3403 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageFormat">MagickGetImageFormat</a></h2>
3404
3405 <p>MagickGetImageFormat() returns the format of a particular image in a sequence.</p>
3406
3407 <p>The format of the MagickGetImageFormat method is:</p>
3408
3409 <pre class="bg-light text-dark mx-4"><samp>char *MagickGetImageFormat(MagickWand *wand)
3410 </samp></pre>
3411
3412 <p>A description of each parameter follows:</p>
3413
3414 <dd>
3415 </dd>
3416
3417 <dd> </dd>
3418 <dl class="dl-horizontal">
3419 <dt>wand</dt>
3420 <dd>the magick wand. </dd>
3421
3422 <dd> </dd>
3423 </dl>
3424 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageFuzz">MagickGetImageFuzz</a></h2>
3425
3426 <p>MagickGetImageFuzz() gets the image fuzz.</p>
3427
3428 <p>The format of the MagickGetImageFuzz method is:</p>
3429
3430 <pre class="bg-light text-dark mx-4"><samp>double MagickGetImageFuzz(MagickWand *wand)
3431 </samp></pre>
3432
3433 <p>A description of each parameter follows:</p>
3434
3435 <dd>
3436 </dd>
3437
3438 <dd> </dd>
3439 <dl class="dl-horizontal">
3440 <dt>wand</dt>
3441 <dd>the magick wand. </dd>
3442
3443 <dd> </dd>
3444 </dl>
3445 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageGamma">MagickGetImageGamma</a></h2>
3446
3447 <p>MagickGetImageGamma() gets the image gamma.</p>
3448
3449 <p>The format of the MagickGetImageGamma method is:</p>
3450
3451 <pre class="bg-light text-dark mx-4"><samp>double MagickGetImageGamma(MagickWand *wand)
3452 </samp></pre>
3453
3454 <p>A description of each parameter follows:</p>
3455
3456 <dd>
3457 </dd>
3458
3459 <dd> </dd>
3460 <dl class="dl-horizontal">
3461 <dt>wand</dt>
3462 <dd>the magick wand. </dd>
3463
3464 <dd> </dd>
3465 </dl>
3466 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageGravity">MagickGetImageGravity</a></h2>
3467
3468 <p>MagickGetImageGravity() gets the image gravity.</p>
3469
3470 <p>The format of the MagickGetImageGravity method is:</p>
3471
3472 <pre class="bg-light text-dark mx-4"><samp>GravityType MagickGetImageGravity(MagickWand *wand)
3473 </samp></pre>
3474
3475 <p>A description of each parameter follows:</p>
3476
3477 <dd>
3478 </dd>
3479
3480 <dd> </dd>
3481 <dl class="dl-horizontal">
3482 <dt>wand</dt>
3483 <dd>the magick wand. </dd>
3484
3485 <dd> </dd>
3486 </dl>
3487 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageGreenPrimary">MagickGetImageGreenPrimary</a></h2>
3488
3489 <p>MagickGetImageGreenPrimary() returns the chromaticity green primary point.</p>
3490
3491 <p>The format of the MagickGetImageGreenPrimary method is:</p>
3492
3493 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImageGreenPrimary(MagickWand *wand,double *x,
3494 double *y,double *z)
3495 </samp></pre>
3496
3497 <p>A description of each parameter follows:</p>
3498
3499 <dd>
3500 </dd>
3501
3502 <dd> </dd>
3503 <dl class="dl-horizontal">
3504 <dt>wand</dt>
3505 <dd>the magick wand. </dd>
3506
3507 <dd> </dd>
3508 <dt>x</dt>
3509 <dd>the chromaticity green primary x-point. </dd>
3510
3511 <dd> </dd>
3512 <dt>y</dt>
3513 <dd>the chromaticity green primary y-point. </dd>
3514
3515 <dd> </dd>
3516 <dt>z</dt>
3517 <dd>the chromaticity green primary z-point. </dd>
3518
3519 <dd> </dd>
3520 </dl>
3521 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageHeight">MagickGetImageHeight</a></h2>
3522
3523 <p>MagickGetImageHeight() returns the image height.</p>
3524
3525 <p>The format of the MagickGetImageHeight method is:</p>
3526
3527 <pre class="bg-light text-dark mx-4"><samp>size_t MagickGetImageHeight(MagickWand *wand)
3528 </samp></pre>
3529
3530 <p>A description of each parameter follows:</p>
3531
3532 <dd>
3533 </dd>
3534
3535 <dd> </dd>
3536 <dl class="dl-horizontal">
3537 <dt>wand</dt>
3538 <dd>the magick wand. </dd>
3539
3540 <dd> </dd>
3541 </dl>
3542 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageHistogram">MagickGetImageHistogram</a></h2>
3543
3544 <p>MagickGetImageHistogram() returns the image histogram as an array of PixelWand wands.</p>
3545
3546 <p>The format of the MagickGetImageHistogram method is:</p>
3547
3548 <pre class="bg-light text-dark mx-4"><samp>PixelWand **MagickGetImageHistogram(MagickWand *wand,
3549 size_t *number_colors)
3550 </samp></pre>
3551
3552 <p>A description of each parameter follows:</p>
3553
3554 <dd>
3555 </dd>
3556
3557 <dd> </dd>
3558 <dl class="dl-horizontal">
3559 <dt>wand</dt>
3560 <dd>the magick wand. </dd>
3561
3562 <dd> </dd>
3563 <dt>number_colors</dt>
3564 <dd>the number of unique colors in the image and the number of pixel wands returned. </dd>
3565
3566 <dd> </dd>
3567 </dl>
3568 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageInterlaceScheme">MagickGetImageInterlaceScheme</a></h2>
3569
3570 <p>MagickGetImageInterlaceScheme() gets the image interlace scheme.</p>
3571
3572 <p>The format of the MagickGetImageInterlaceScheme method is:</p>
3573
3574 <pre class="bg-light text-dark mx-4"><samp>InterlaceType MagickGetImageInterlaceScheme(MagickWand *wand)
3575 </samp></pre>
3576
3577 <p>A description of each parameter follows:</p>
3578
3579 <dd>
3580 </dd>
3581
3582 <dd> </dd>
3583 <dl class="dl-horizontal">
3584 <dt>wand</dt>
3585 <dd>the magick wand. </dd>
3586
3587 <dd> </dd>
3588 </dl>
3589 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageInterpolateMethod">MagickGetImageInterpolateMethod</a></h2>
3590
3591 <p>MagickGetImageInterpolateMethod() returns the interpolation method for the specified image.</p>
3592
3593 <p>The format of the MagickGetImageInterpolateMethod method is:</p>
3594
3595 <pre class="bg-light text-dark mx-4"><samp>PixelInterpolateMethod MagickGetImageInterpolateMethod(MagickWand *wand)
3596 </samp></pre>
3597
3598 <p>A description of each parameter follows:</p>
3599
3600 <dd>
3601 </dd>
3602
3603 <dd> </dd>
3604 <dl class="dl-horizontal">
3605 <dt>wand</dt>
3606 <dd>the magick wand. </dd>
3607
3608 <dd> </dd>
3609 </dl>
3610 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageIterations">MagickGetImageIterations</a></h2>
3611
3612 <p>MagickGetImageIterations() gets the image iterations.</p>
3613
3614 <p>The format of the MagickGetImageIterations method is:</p>
3615
3616 <pre class="bg-light text-dark mx-4"><samp>size_t MagickGetImageIterations(MagickWand *wand)
3617 </samp></pre>
3618
3619 <p>A description of each parameter follows:</p>
3620
3621 <dd>
3622 </dd>
3623
3624 <dd> </dd>
3625 <dl class="dl-horizontal">
3626 <dt>wand</dt>
3627 <dd>the magick wand. </dd>
3628
3629 <dd> </dd>
3630 </dl>
3631 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageLength">MagickGetImageLength</a></h2>
3632
3633 <p>MagickGetImageLength() returns the image length in bytes.</p>
3634
3635 <p>The format of the MagickGetImageLength method is:</p>
3636
3637 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImageLength(MagickWand *wand,
3638 MagickSizeType *length)
3639 </samp></pre>
3640
3641 <p>A description of each parameter follows:</p>
3642
3643 <dd>
3644 </dd>
3645
3646 <dd> </dd>
3647 <dl class="dl-horizontal">
3648 <dt>wand</dt>
3649 <dd>the magick wand. </dd>
3650
3651 <dd> </dd>
3652 <dt>length</dt>
3653 <dd>the image length in bytes. </dd>
3654
3655 <dd> </dd>
3656 </dl>
3657 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageMatteColor">MagickGetImageMatteColor</a></h2>
3658
3659 <p>MagickGetImageMatteColor() returns the image matte color.</p>
3660
3661 <p>The format of the MagickGetImageMatteColor method is:</p>
3662
3663 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImageMatteColor(MagickWand *wand,
3664 PixelWand *matte_color)
3665 </samp></pre>
3666
3667 <p>A description of each parameter follows:</p>
3668
3669 <dd>
3670 </dd>
3671
3672 <dd> </dd>
3673 <dl class="dl-horizontal">
3674 <dt>wand</dt>
3675 <dd>the magick wand. </dd>
3676
3677 <dd> </dd>
3678 <dt>matte_color</dt>
3679 <dd>return the alpha color. </dd>
3680
3681 <dd> </dd>
3682 </dl>
3683 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageOrientation">MagickGetImageOrientation</a></h2>
3684
3685 <p>MagickGetImageOrientation() returns the image orientation.</p>
3686
3687 <p>The format of the MagickGetImageOrientation method is:</p>
3688
3689 <pre class="bg-light text-dark mx-4"><samp>OrientationType MagickGetImageOrientation(MagickWand *wand)
3690 </samp></pre>
3691
3692 <p>A description of each parameter follows:</p>
3693
3694 <dd>
3695 </dd>
3696
3697 <dd> </dd>
3698 <dl class="dl-horizontal">
3699 <dt>wand</dt>
3700 <dd>the magick wand. </dd>
3701
3702 <dd> </dd>
3703 </dl>
3704 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImagePage">MagickGetImagePage</a></h2>
3705
3706 <p>MagickGetImagePage() returns the page geometry associated with the image.</p>
3707
3708 <p>The format of the MagickGetImagePage method is:</p>
3709
3710 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImagePage(MagickWand *wand,
3711 size_t *width,size_t *height,ssize_t *x,ssize_t *y)
3712 </samp></pre>
3713
3714 <p>A description of each parameter follows:</p>
3715
3716 <dd>
3717 </dd>
3718
3719 <dd> </dd>
3720 <dl class="dl-horizontal">
3721 <dt>wand</dt>
3722 <dd>the magick wand. </dd>
3723
3724 <dd> </dd>
3725 <dt>width</dt>
3726 <dd>the page width. </dd>
3727
3728 <dd> </dd>
3729 <dt>height</dt>
3730 <dd>the page height. </dd>
3731
3732 <dd> </dd>
3733 <dt>x</dt>
3734 <dd>the page x-offset. </dd>
3735
3736 <dd> </dd>
3737 <dt>y</dt>
3738 <dd>the page y-offset. </dd>
3739
3740 <dd> </dd>
3741 </dl>
3742 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImagePixelColor">MagickGetImagePixelColor</a></h2>
3743
3744 <p>MagickGetImagePixelColor() gets the color of the specified pixel.</p>
3745
3746 <p>The format of the MagickGetImagePixelColor method is:</p>
3747
3748 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImagePixelColor(MagickWand *wand,
3749 const ssize_t x,const ssize_t y,PixelWand *color)
3750 </samp></pre>
3751
3752 <p>A description of each parameter follows:</p>
3753
3754 <dd>
3755 </dd>
3756
3757 <dd> </dd>
3758 <dl class="dl-horizontal">
3759 <dt>wand</dt>
3760 <dd>the magick wand. </dd>
3761
3762 <dd> </dd>
3763 <dt>x,y</dt>
3764 <dd>the pixel offset into the image. </dd>
3765
3766 <dd> </dd>
3767 <dt>color</dt>
3768 <dd>Return the colormap color in this wand. </dd>
3769
3770 <dd> </dd>
3771 </dl>
3772 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageRedPrimary">MagickGetImageRedPrimary</a></h2>
3773
3774 <p>MagickGetImageRedPrimary() returns the chromaticity red primary point.</p>
3775
3776 <p>The format of the MagickGetImageRedPrimary method is:</p>
3777
3778 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImageRedPrimary(MagickWand *wand,double *x,
3779 double *y, double *z)
3780 </samp></pre>
3781
3782 <p>A description of each parameter follows:</p>
3783
3784 <dd>
3785 </dd>
3786
3787 <dd> </dd>
3788 <dl class="dl-horizontal">
3789 <dt>wand</dt>
3790 <dd>the magick wand. </dd>
3791
3792 <dd> </dd>
3793 <dt>x</dt>
3794 <dd>the chromaticity red primary x-point. </dd>
3795
3796 <dd> </dd>
3797 <dt>y</dt>
3798 <dd>the chromaticity red primary y-point. </dd>
3799
3800 <dd> </dd>
3801 <dt>z</dt>
3802 <dd>the chromaticity red primary z-point. </dd>
3803
3804 <dd> </dd>
3805 </dl>
3806 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageRegion">MagickGetImageRegion</a></h2>
3807
3808 <p>MagickGetImageRegion() extracts a region of the image and returns it as a a new wand.</p>
3809
3810 <p>The format of the MagickGetImageRegion method is:</p>
3811
3812 <pre class="bg-light text-dark mx-4"><samp>MagickWand *MagickGetImageRegion(MagickWand *wand,
3813 const size_t width,const size_t height,const ssize_t x,
3814 const ssize_t y)
3815 </samp></pre>
3816
3817 <p>A description of each parameter follows:</p>
3818
3819 <dd>
3820 </dd>
3821
3822 <dd> </dd>
3823 <dl class="dl-horizontal">
3824 <dt>wand</dt>
3825 <dd>the magick wand. </dd>
3826
3827 <dd> </dd>
3828 <dt>width</dt>
3829 <dd>the region width. </dd>
3830
3831 <dd> </dd>
3832 <dt>height</dt>
3833 <dd>the region height. </dd>
3834
3835 <dd> </dd>
3836 <dt>x</dt>
3837 <dd>the region x offset. </dd>
3838
3839 <dd> </dd>
3840 <dt>y</dt>
3841 <dd>the region y offset. </dd>
3842
3843 <dd> </dd>
3844 </dl>
3845 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageRenderingIntent">MagickGetImageRenderingIntent</a></h2>
3846
3847 <p>MagickGetImageRenderingIntent() gets the image rendering intent.</p>
3848
3849 <p>The format of the MagickGetImageRenderingIntent method is:</p>
3850
3851 <pre class="bg-light text-dark mx-4"><samp>RenderingIntent MagickGetImageRenderingIntent(MagickWand *wand)
3852 </samp></pre>
3853
3854 <p>A description of each parameter follows:</p>
3855
3856 <dd>
3857 </dd>
3858
3859 <dd> </dd>
3860 <dl class="dl-horizontal">
3861 <dt>wand</dt>
3862 <dd>the magick wand. </dd>
3863
3864 <dd> </dd>
3865 </dl>
3866 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageResolution">MagickGetImageResolution</a></h2>
3867
3868 <p>MagickGetImageResolution() gets the image X and Y resolution.</p>
3869
3870 <p>The format of the MagickGetImageResolution method is:</p>
3871
3872 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImageResolution(MagickWand *wand,double *x,
3873 double *y)
3874 </samp></pre>
3875
3876 <p>A description of each parameter follows:</p>
3877
3878 <dd>
3879 </dd>
3880
3881 <dd> </dd>
3882 <dl class="dl-horizontal">
3883 <dt>wand</dt>
3884 <dd>the magick wand. </dd>
3885
3886 <dd> </dd>
3887 <dt>x</dt>
3888 <dd>the image x-resolution. </dd>
3889
3890 <dd> </dd>
3891 <dt>y</dt>
3892 <dd>the image y-resolution. </dd>
3893
3894 <dd> </dd>
3895 </dl>
3896 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageScene">MagickGetImageScene</a></h2>
3897
3898 <p>MagickGetImageScene() gets the image scene.</p>
3899
3900 <p>The format of the MagickGetImageScene method is:</p>
3901
3902 <pre class="bg-light text-dark mx-4"><samp>size_t MagickGetImageScene(MagickWand *wand)
3903 </samp></pre>
3904
3905 <p>A description of each parameter follows:</p>
3906
3907 <dd>
3908 </dd>
3909
3910 <dd> </dd>
3911 <dl class="dl-horizontal">
3912 <dt>wand</dt>
3913 <dd>the magick wand. </dd>
3914
3915 <dd> </dd>
3916 </dl>
3917 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageSignature">MagickGetImageSignature</a></h2>
3918
3919 <p>MagickGetImageSignature() generates an SHA-256 message digest for the image pixel stream.</p>
3920
3921 <p>The format of the MagickGetImageSignature method is:</p>
3922
3923 <pre class="bg-light text-dark mx-4"><samp>char *MagickGetImageSignature(MagickWand *wand)
3924 </samp></pre>
3925
3926 <p>A description of each parameter follows:</p>
3927
3928 <dd>
3929 </dd>
3930
3931 <dd> </dd>
3932 <dl class="dl-horizontal">
3933 <dt>wand</dt>
3934 <dd>the magick wand. </dd>
3935
3936 <dd> </dd>
3937 </dl>
3938 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageTicksPerSecond">MagickGetImageTicksPerSecond</a></h2>
3939
3940 <p>MagickGetImageTicksPerSecond() gets the image ticks-per-second.</p>
3941
3942 <p>The format of the MagickGetImageTicksPerSecond method is:</p>
3943
3944 <pre class="bg-light text-dark mx-4"><samp>size_t MagickGetImageTicksPerSecond(MagickWand *wand)
3945 </samp></pre>
3946
3947 <p>A description of each parameter follows:</p>
3948
3949 <dd>
3950 </dd>
3951
3952 <dd> </dd>
3953 <dl class="dl-horizontal">
3954 <dt>wand</dt>
3955 <dd>the magick wand. </dd>
3956
3957 <dd> </dd>
3958 </dl>
3959 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageType">MagickGetImageType</a></h2>
3960
3961 <p>MagickGetImageType() gets the potential image type:</p>
3962
3963 <p>Bilevel Grayscale GrayscaleMatte Palette PaletteMatte TrueColor TrueColorMatte ColorSeparation ColorSeparationMatte</p>
3964
3965 <p>The format of the MagickGetImageType method is:</p>
3966
3967 <pre class="bg-light text-dark mx-4"><samp>ImageType MagickGetImageType(MagickWand *wand)
3968 </samp></pre>
3969
3970 <p>A description of each parameter follows:</p>
3971
3972 <dd>
3973 </dd>
3974
3975 <dd> </dd>
3976 <dl class="dl-horizontal">
3977 <dt>wand</dt>
3978 <dd>the magick wand. </dd>
3979
3980 <dd> </dd>
3981 </dl>
3982 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageUnits">MagickGetImageUnits</a></h2>
3983
3984 <p>MagickGetImageUnits() gets the image units of resolution.</p>
3985
3986 <p>The format of the MagickGetImageUnits method is:</p>
3987
3988 <pre class="bg-light text-dark mx-4"><samp>ResolutionType MagickGetImageUnits(MagickWand *wand)
3989 </samp></pre>
3990
3991 <p>A description of each parameter follows:</p>
3992
3993 <dd>
3994 </dd>
3995
3996 <dd> </dd>
3997 <dl class="dl-horizontal">
3998 <dt>wand</dt>
3999 <dd>the magick wand. </dd>
4000
4001 <dd> </dd>
4002 </dl>
4003 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageVirtualPixelMethod">MagickGetImageVirtualPixelMethod</a></h2>
4004
4005 <p>MagickGetImageVirtualPixelMethod() returns the virtual pixel method for the specified image.</p>
4006
4007 <p>The format of the MagickGetImageVirtualPixelMethod method is:</p>
4008
4009 <pre class="bg-light text-dark mx-4"><samp>VirtualPixelMethod MagickGetImageVirtualPixelMethod(MagickWand *wand)
4010 </samp></pre>
4011
4012 <p>A description of each parameter follows:</p>
4013
4014 <dd>
4015 </dd>
4016
4017 <dd> </dd>
4018 <dl class="dl-horizontal">
4019 <dt>wand</dt>
4020 <dd>the magick wand. </dd>
4021
4022 <dd> </dd>
4023 </dl>
4024 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageWhitePoint">MagickGetImageWhitePoint</a></h2>
4025
4026 <p>MagickGetImageWhitePoint() returns the chromaticity white point.</p>
4027
4028 <p>The format of the MagickGetImageWhitePoint method is:</p>
4029
4030 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickGetImageWhitePoint(MagickWand *wand,double *x,
4031 double *y,double *z)
4032 </samp></pre>
4033
4034 <p>A description of each parameter follows:</p>
4035
4036 <dd>
4037 </dd>
4038
4039 <dd> </dd>
4040 <dl class="dl-horizontal">
4041 <dt>wand</dt>
4042 <dd>the magick wand. </dd>
4043
4044 <dd> </dd>
4045 <dt>x</dt>
4046 <dd>the chromaticity white x-point. </dd>
4047
4048 <dd> </dd>
4049 <dt>y</dt>
4050 <dd>the chromaticity white y-point. </dd>
4051
4052 <dd> </dd>
4053 <dt>z</dt>
4054 <dd>the chromaticity white z-point. </dd>
4055
4056 <dd> </dd>
4057 </dl>
4058 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageWidth">MagickGetImageWidth</a></h2>
4059
4060 <p>MagickGetImageWidth() returns the image width.</p>
4061
4062 <p>The format of the MagickGetImageWidth method is:</p>
4063
4064 <pre class="bg-light text-dark mx-4"><samp>size_t MagickGetImageWidth(MagickWand *wand)
4065 </samp></pre>
4066
4067 <p>A description of each parameter follows:</p>
4068
4069 <dd>
4070 </dd>
4071
4072 <dd> </dd>
4073 <dl class="dl-horizontal">
4074 <dt>wand</dt>
4075 <dd>the magick wand. </dd>
4076
4077 <dd> </dd>
4078 </dl>
4079 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetNumberImages">MagickGetNumberImages</a></h2>
4080
4081 <p>MagickGetNumberImages() returns the number of images associated with a magick wand.</p>
4082
4083 <p>The format of the MagickGetNumberImages method is:</p>
4084
4085 <pre class="bg-light text-dark mx-4"><samp>size_t MagickGetNumberImages(MagickWand *wand)
4086 </samp></pre>
4087
4088 <p>A description of each parameter follows:</p>
4089
4090 <dd>
4091 </dd>
4092
4093 <dd> </dd>
4094 <dl class="dl-horizontal">
4095 <dt>wand</dt>
4096 <dd>the magick wand. </dd>
4097
4098 <dd> </dd>
4099 </dl>
4100 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickGetImageTotalInkDensity">MagickGetImageTotalInkDensity</a></h2>
4101
4102 <p>MagickGetImageTotalInkDensity() gets the image total ink density.</p>
4103
4104 <p>The format of the MagickGetImageTotalInkDensity method is:</p>
4105
4106 <pre class="bg-light text-dark mx-4"><samp>double MagickGetImageTotalInkDensity(MagickWand *wand)
4107 </samp></pre>
4108
4109 <p>A description of each parameter follows:</p>
4110
4111 <dd>
4112 </dd>
4113
4114 <dd> </dd>
4115 <dl class="dl-horizontal">
4116 <dt>wand</dt>
4117 <dd>the magick wand. </dd>
4118
4119 <dd> </dd>
4120 </dl>
4121 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickHaldClutImage">MagickHaldClutImage</a></h2>
4122
4123 <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>
4124
4125 <p>The format of the MagickHaldClutImage method is:</p>
4126
4127 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickHaldClutImage(MagickWand *wand,
4128 const MagickWand *hald_wand)
4129 </samp></pre>
4130
4131 <p>A description of each parameter follows:</p>
4132
4133 <dd>
4134 </dd>
4135
4136 <dd> </dd>
4137 <dl class="dl-horizontal">
4138 <dt>wand</dt>
4139 <dd>the magick wand. </dd>
4140
4141 <dd> </dd>
4142 <dt>hald_image</dt>
4143 <dd>the hald CLUT image. </dd>
4144
4145 <dd> </dd>
4146 </dl>
4147 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickHasNextImage">MagickHasNextImage</a></h2>
4148
4149 <p>MagickHasNextImage() returns MagickTrue if the wand has more images when traversing the list in the forward direction</p>
4150
4151 <p>The format of the MagickHasNextImage method is:</p>
4152
4153 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickHasNextImage(MagickWand *wand)
4154 </samp></pre>
4155
4156 <p>A description of each parameter follows:</p>
4157
4158 <dd>
4159 </dd>
4160
4161 <dd> </dd>
4162 <dl class="dl-horizontal">
4163 <dt>wand</dt>
4164 <dd>the magick wand. </dd>
4165
4166 <dd> </dd>
4167 </dl>
4168 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickHasPreviousImage">MagickHasPreviousImage</a></h2>
4169
4170 <p>MagickHasPreviousImage() returns MagickTrue if the wand has more images when traversing the list in the reverse direction</p>
4171
4172 <p>The format of the MagickHasPreviousImage method is:</p>
4173
4174 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickHasPreviousImage(MagickWand *wand)
4175 </samp></pre>
4176
4177 <p>A description of each parameter follows:</p>
4178
4179 <dd>
4180 </dd>
4181
4182 <dd> </dd>
4183 <dl class="dl-horizontal">
4184 <dt>wand</dt>
4185 <dd>the magick wand. </dd>
4186
4187 <dd> </dd>
4188 </dl>
4189 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickHoughLineImage">MagickHoughLineImage</a></h2>
4190
4191 <p>MagickHoughLineImage() can be used in conjunction with any binary edge extracted image (we recommend Canny) to identify lines in the image. The algorithm accumulates counts for every white pixel for every possible orientation (for angles from 0 to 179 in 1 degree increments) and distance from the center of the image to the corner (in 1 px increments) and stores the counts in an accumulator matrix of angle vs distance. The size of the accumulator is 180x(diagonal/2). Next it searches this space for peaks in counts and converts the locations of the peaks to slope and intercept in the normal x,y input image space. Use the slope/intercepts to find the endpoints clipped to the bounds of the image. The lines are then drawn. The counts are a measure of the length of the lines.</p>
4192
4193 <p>The format of the MagickHoughLineImage method is:</p>
4194
4195 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickHoughLineImage(MagickWand *wand,
4196 const size_t width,const size_t height,const size_t threshold)
4197 </samp></pre>
4198
4199 <p>A description of each parameter follows:</p>
4200
4201 <dd>
4202 </dd>
4203
4204 <dd> </dd>
4205 <dl class="dl-horizontal">
4206 <dt>wand</dt>
4207 <dd>the magick wand. </dd>
4208
4209 <dd> </dd>
4210 <dt>width, height</dt>
4211 <dd>find line pairs as local maxima in this neighborhood. </dd>
4212
4213 <dd> </dd>
4214 <dt>threshold</dt>
4215 <dd>the line count threshold. </dd>
4216
4217 <dd> </dd>
4218 </dl>
4219 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickIdentifyImage">MagickIdentifyImage</a></h2>
4220
4221 <p>MagickIdentifyImage() identifies an image by printing its attributes to the file. Attributes include the image width, height, size, and others.</p>
4222
4223 <p>The format of the MagickIdentifyImage method is:</p>
4224
4225 <pre class="bg-light text-dark mx-4"><samp>const char *MagickIdentifyImage(MagickWand *wand)
4226 </samp></pre>
4227
4228 <p>A description of each parameter follows:</p>
4229
4230 <dd>
4231 </dd>
4232
4233 <dd> </dd>
4234 <dl class="dl-horizontal">
4235 <dt>wand</dt>
4236 <dd>the magick wand. </dd>
4237
4238 <dd> </dd>
4239 </dl>
4240 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickIdentifyImageType">MagickIdentifyImageType</a></h2>
4241
4242 <p>MagickIdentifyImageType() gets the potential image type:</p>
4243
4244 <p>Bilevel Grayscale GrayscaleMatte Palette PaletteMatte TrueColor TrueColorMatte ColorSeparation ColorSeparationMatte</p>
4245
4246 <p>To ensure the image type matches its potential, use MagickSetImageType():</p>
4247
4248 <pre class="bg-light text-dark mx-4"><samp> (void) MagickSetImageType(wand,MagickIdentifyImageType(wand));
4249 </samp></pre>
4250
4251 <p>The format of the MagickIdentifyImageType method is:</p>
4252
4253 <pre class="bg-light text-dark mx-4"><samp>ImageType MagickIdentifyImageType(MagickWand *wand)
4254 </samp></pre>
4255
4256 <p>A description of each parameter follows:</p>
4257
4258 <dd>
4259 </dd>
4260
4261 <dd> </dd>
4262 <dl class="dl-horizontal">
4263 <dt>wand</dt>
4264 <dd>the magick wand. </dd>
4265
4266 <dd> </dd>
4267 </dl>
4268 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickImplodeImage">MagickImplodeImage</a></h2>
4269
4270 <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>
4271
4272 <p>The format of the MagickImplodeImage method is:</p>
4273
4274 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickImplodeImage(MagickWand *wand,
4275 const double radius,const PixelInterpolateMethod method)
4276 </samp></pre>
4277
4278 <p>A description of each parameter follows:</p>
4279
4280 <dd>
4281 </dd>
4282
4283 <dd> </dd>
4284 <dl class="dl-horizontal">
4285 <dt>wand</dt>
4286 <dd>the magick wand. </dd>
4287
4288 <dd> </dd>
4289 <dt>amount</dt>
4290 <dd>Define the extent of the implosion. </dd>
4291
4292 <dd> </dd>
4293 <dt>method</dt>
4294 <dd>the pixel interpolation method. </dd>
4295
4296 <dd> </dd>
4297 </dl>
4298 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickImportImagePixels">MagickImportImagePixels</a></h2>
4299
4300 <p>MagickImportImagePixels() accepts pixel datand stores it in the image at the location you specify. The method returns MagickTrue on success otherwise MagickFalse if an error is encountered. The pixel data can be either char, short int, int, ssize_t, float, or double in the order specified by map.</p>
4301
4302 <p>Suppose your want to upload the first scanline of a 640x480 image from character data in red-green-blue order:</p>
4303
4304 <pre class="bg-light text-dark mx-4"><samp>MagickImportImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels);
4305 </samp></pre>
4306
4307 <p>The format of the MagickImportImagePixels method is:</p>
4308
4309 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickImportImagePixels(MagickWand *wand,
4310 const ssize_t x,const ssize_t y,const size_t columns,
4311 const size_t rows,const char *map,const StorageType storage,
4312 const void *pixels)
4313 </samp></pre>
4314
4315 <p>A description of each parameter follows:</p>
4316
4317 <dd>
4318 </dd>
4319
4320 <dd> </dd>
4321 <dl class="dl-horizontal">
4322 <dt>wand</dt>
4323 <dd>the magick wand. </dd>
4324
4325 <dd> </dd>
4326 <dt>x, y, columns, rows</dt>
4327 <dd> These values define the perimeter of a region of pixels you want to define. </dd>
4328
4329 <dd> </dd>
4330 <dt>map</dt>
4331 <dd> 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 = alpha (0 is opaque), C = cyan, Y = yellow, M = magenta, K = black, I = intensity (for grayscale), P = pad. </dd>
4332
4333 <dd> </dd>
4334 <dt>storage</dt>
4335 <dd>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. </dd>
4336
4337 <dd> </dd>
4338 <dt>pixels</dt>
4339 <dd>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. </dd>
4340
4341 <dd> </dd>
4342 </dl>
4343 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickInterpolativeResizeImage">MagickInterpolativeResizeImage</a></h2>
4344
4345 <p>MagickInterpolativeResizeImage() resize image using a interpolative method.</p>
4346
4347 <p>MagickBooleanType MagickInterpolativeResizeImage(MagickWand *wand, const size_t columns,const size_t rows, const PixelInterpolateMethod method)</p>
4348
4349 <p>A description of each parameter follows:</p>
4350
4351 <dd>
4352 </dd>
4353
4354 <dd> </dd>
4355 <dl class="dl-horizontal">
4356 <dt>wand</dt>
4357 <dd>the magick wand. </dd>
4358
4359 <dd> </dd>
4360 <dt>columns</dt>
4361 <dd>the number of columns in the scaled image. </dd>
4362
4363 <dd> </dd>
4364 <dt>rows</dt>
4365 <dd>the number of rows in the scaled image. </dd>
4366
4367 <dd> </dd>
4368 <dt>interpolate</dt>
4369 <dd>the pixel interpolation method. </dd>
4370
4371 <dd> </dd>
4372 </dl>
4373 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickInverseFourierTransformImage">MagickInverseFourierTransformImage</a></h2>
4374
4375 <p>MagickInverseFourierTransformImage() implements the inverse discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.</p>
4376
4377 <p>The format of the MagickInverseFourierTransformImage method is:</p>
4378
4379 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickInverseFourierTransformImage(
4380 MagickWand *magnitude_wand,MagickWand *phase_wand,
4381 const MagickBooleanType magnitude)
4382 </samp></pre>
4383
4384 <p>A description of each parameter follows:</p>
4385
4386 <dd>
4387 </dd>
4388
4389 <dd> </dd>
4390 <dl class="dl-horizontal">
4391 <dt>magnitude_wand</dt>
4392 <dd>the magnitude or real wand. </dd>
4393
4394 <dd> </dd>
4395 <dt>phase_wand</dt>
4396 <dd>the phase or imaginary wand. </dd>
4397
4398 <dd> </dd>
4399 <dt>magnitude</dt>
4400 <dd>if true, return as magnitude / phase pair otherwise a real / imaginary image pair. </dd>
4401
4402 <dd> </dd>
4403 </dl>
4404 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickKmeansImage">MagickKmeansImage</a></h2>
4405
4406 <p>MagickKmeansImage() applies k-means color reduction to an image. This is a colorspace clustering or segmentation technique.</p>
4407
4408 <p>The format of the MagickKmeansImage method is:</p>
4409
4410 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickKmeansImage(MagickWand *wand,
4411 const size_t number_colors, const size_t max_iterations,
4412 const double tolerance)
4413 </samp></pre>
4414
4415 <p>A description of each parameter follows:</p>
4416
4417 <dd>
4418 </dd>
4419
4420 <dd> </dd>
4421 <dl class="dl-horizontal">
4422 <dt>wand</dt>
4423 <dd>the magick wand. </dd>
4424
4425 <dd> </dd>
4426 <dt>number_colors</dt>
4427 <dd>number of colors to use as seeds. </dd>
4428
4429 <dd> </dd>
4430 <dt>max_iterations</dt>
4431 <dd>maximum number of iterations while converging. </dd>
4432
4433 <dd> </dd>
4434 <dt>tolerance</dt>
4435 <dd>the maximum tolerance. </dd>
4436
4437 <dd> </dd>
4438 </dl>
4439 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="Use_MagickKuwaharaImage">Use MagickKuwaharaImage</a></h2>
4440
4441 <p>Use MagickKuwaharaImage() is an edge preserving noise reduction filter.</p>
4442
4443 <p>The format of the MagickKuwaharaImage method is:</p>
4444
4445 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickKuwaharaImage(MagickWand *wand,
4446 const double radius,const double sigma)
4447 </samp></pre>
4448
4449 <p>A description of each parameter follows:</p>
4450
4451 <dd>
4452 </dd>
4453
4454 <dd> </dd>
4455 <dl class="dl-horizontal">
4456 <dt>wand</dt>
4457 <dd>the magick wand. </dd>
4458
4459 <dd> </dd>
4460 <dt>radius</dt>
4461 <dd>the square window radius. </dd>
4462
4463 <dd> </dd>
4464 <dt>sigma</dt>
4465 <dd>the standard deviation of the Gaussian, in pixels. </dd>
4466
4467 <dd> </dd>
4468 </dl>
4469 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickLabelImage">MagickLabelImage</a></h2>
4470
4471 <p>MagickLabelImage() adds a label to your image.</p>
4472
4473 <p>The format of the MagickLabelImage method is:</p>
4474
4475 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickLabelImage(MagickWand *wand,const char *label)
4476 </samp></pre>
4477
4478 <p>A description of each parameter follows:</p>
4479
4480 <dd>
4481 </dd>
4482
4483 <dd> </dd>
4484 <dl class="dl-horizontal">
4485 <dt>wand</dt>
4486 <dd>the magick wand. </dd>
4487
4488 <dd> </dd>
4489 <dt>label</dt>
4490 <dd>the image label. </dd>
4491
4492 <dd> </dd>
4493 </dl>
4494 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickLevelImage">MagickLevelImage</a></h2>
4495
4496 <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>
4497
4498 <p>The format of the MagickLevelImage method is:</p>
4499
4500 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickLevelImage(MagickWand *wand,
4501 const double black_point,const double gamma,const double white_point)
4502 </samp></pre>
4503
4504 <p>A description of each parameter follows:</p>
4505
4506 <dd>
4507 </dd>
4508
4509 <dd> </dd>
4510 <dl class="dl-horizontal">
4511 <dt>wand</dt>
4512 <dd>the magick wand. </dd>
4513
4514 <dd> </dd>
4515 <dt>channel</dt>
4516 <dd>Identify which channel to level: RedPixelChannel, GreenPixelChannel, etc. </dd>
4517
4518 <dd> </dd>
4519 <dt>black_point</dt>
4520 <dd>the black point. </dd>
4521
4522 <dd> </dd>
4523 <dt>gamma</dt>
4524 <dd>the gamma. </dd>
4525
4526 <dd> </dd>
4527 <dt>white_point</dt>
4528 <dd>the white point. </dd>
4529
4530 <dd> </dd>
4531 </dl>
4532 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickLevelImageColors">MagickLevelImageColors</a></h2>
4533
4534 <p>MagickLevelImageColors() maps the given color to "black" and "white" values, linearly spreading out the colors, and level values on a channel by channel bases, as per LevelImage(). The given colors allows you to specify different level ranges for each of the color channels separately.</p>
4535
4536 <p>The format of the MagickLevelImageColors method is:</p>
4537
4538 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickLevelImageColors(MagickWand *wand,
4539 const PixelWand *black_color,const PixelWand *white_color,
4540 const MagickBooleanType invert)
4541 </samp></pre>
4542
4543 <p>A description of each parameter follows:</p>
4544
4545 <dd>
4546 </dd>
4547
4548 <dd> </dd>
4549 <dl class="dl-horizontal">
4550 <dt>wand</dt>
4551 <dd>the magick wand. </dd>
4552
4553 <dd> </dd>
4554 <dt>black_color</dt>
4555 <dd>the black color. </dd>
4556
4557 <dd> </dd>
4558 <dt>white_color</dt>
4559 <dd>the white color. </dd>
4560
4561 <dd> </dd>
4562 <dt>invert</dt>
4563 <dd>if true map the colors (levelize), rather than from (level) </dd>
4564
4565 <dd> </dd>
4566 </dl>
4567 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickLevelizeImage">MagickLevelizeImage</a></h2>
4568
4569 <p>MagickLevelizeImage() applies the reversed MagickLevelImage(). It compresses the full range of color values, so that they lie between the given black and white points. Gamma is applied before the values are mapped. It can be used to de-contrast a greyscale image to the exact levels specified.</p>
4570
4571 <p>The format of the MagickLevelizeImage method is:</p>
4572
4573 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickLevelizeImage(MagickWand *wand,
4574 const double black_point, const double white_point,const double gamma)
4575 </samp></pre>
4576
4577 <p>A description of each parameter follows:</p>
4578
4579 <dd>
4580 </dd>
4581
4582 <dd> </dd>
4583 <dl class="dl-horizontal">
4584 <dt>wand</dt>
4585 <dd>the magick wand. </dd>
4586
4587 <dd> </dd>
4588 <dt>black_point</dt>
4589 <dd>The level to map zero (black) to. </dd>
4590
4591 <dd> </dd>
4592 <dt>white_point</dt>
4593 <dd>The level to map QuantumRange (white) to. </dd>
4594
4595 <dd> </dd>
4596 <dt>gamma</dt>
4597 <dd>adjust gamma by this factor before mapping values. </dd>
4598
4599 <dd> </dd>
4600 </dl>
4601 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickLinearStretchImage">MagickLinearStretchImage</a></h2>
4602
4603 <p>MagickLinearStretchImage() stretches with saturation the image intensity.</p>
4604
4605 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p>
4606
4607 <p>The format of the MagickLinearStretchImage method is:</p>
4608
4609 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickLinearStretchImage(MagickWand *wand,
4610 const double black_point,const double white_point)
4611 </samp></pre>
4612
4613 <p>A description of each parameter follows:</p>
4614
4615 <dd>
4616 </dd>
4617
4618 <dd> </dd>
4619 <dl class="dl-horizontal">
4620 <dt>wand</dt>
4621 <dd>the magick wand. </dd>
4622
4623 <dd> </dd>
4624 <dt>black_point</dt>
4625 <dd>the black point. </dd>
4626
4627 <dd> </dd>
4628 <dt>white_point</dt>
4629 <dd>the white point. </dd>
4630
4631 <dd> </dd>
4632 </dl>
4633 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickLiquidRescaleImage">MagickLiquidRescaleImage</a></h2>
4634
4635 <p>MagickLiquidRescaleImage() rescales image with seam carving.</p>
4636
4637 <p>MagickBooleanType MagickLiquidRescaleImage(MagickWand *wand, const size_t columns,const size_t rows, const double delta_x,const double rigidity)</p>
4638
4639 <p>A description of each parameter follows:</p>
4640
4641 <dd>
4642 </dd>
4643
4644 <dd> </dd>
4645 <dl class="dl-horizontal">
4646 <dt>wand</dt>
4647 <dd>the magick wand. </dd>
4648
4649 <dd> </dd>
4650 <dt>columns</dt>
4651 <dd>the number of columns in the scaled image. </dd>
4652
4653 <dd> </dd>
4654 <dt>rows</dt>
4655 <dd>the number of rows in the scaled image. </dd>
4656
4657 <dd> </dd>
4658 <dt>delta_x</dt>
4659 <dd>maximum seam transversal step (0 means straight seams). </dd>
4660
4661 <dd> </dd>
4662 <dt>rigidity</dt>
4663 <dd>introduce a bias for non-straight seams (typically 0). </dd>
4664
4665 <dd> </dd>
4666 </dl>
4667 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickLocalContrastImage">MagickLocalContrastImage</a></h2>
4668
4669 <p>MagickLocalContrastImage() attempts to increase the appearance of large-scale light-dark transitions. Local contrast enhancement works similarly to sharpening with an unsharp mask, however the mask is instead created using an image with a greater blur distance.</p>
4670
4671 <p>MagickBooleanType MagickLocalContrastImage(MagickWand *wand, const double radius,const double strength)</p>
4672
4673 <p>A description of each parameter follows:</p>
4674
4675 <dd>
4676 </dd>
4677
4678 <dd> </dd>
4679 <dl class="dl-horizontal">
4680 <dt>image</dt>
4681 <dd>the image. </dd>
4682
4683 <dd> </dd>
4684 <dt>radius</dt>
4685 <dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
4686
4687 <dd> </dd>
4688 <dt>strength</dt>
4689 <dd>the strength of the blur mask in percentage. </dd>
4690
4691 <dd> </dd>
4692 </dl>
4693 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickMagnifyImage">MagickMagnifyImage</a></h2>
4694
4695 <p>MagickMagnifyImage() is a convenience method that scales an image proportionally to twice its original size.</p>
4696
4697 <p>The format of the MagickMagnifyImage method is:</p>
4698
4699 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickMagnifyImage(MagickWand *wand)
4700 </samp></pre>
4701
4702 <p>A description of each parameter follows:</p>
4703
4704 <dd>
4705 </dd>
4706
4707 <dd> </dd>
4708 <dl class="dl-horizontal">
4709 <dt>wand</dt>
4710 <dd>the magick wand. </dd>
4711
4712 <dd> </dd>
4713 </dl>
4714 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickMeanShiftImage">MagickMeanShiftImage</a></h2>
4715
4716 <p>MagickMeanShiftImage() delineate arbitrarily shaped clusters in the image. For each pixel, it visits all the pixels in the neighborhood specified by the window centered at the pixel and excludes those that are outside the radius=(window-1)/2 surrounding the pixel. From those pixels, it finds those that are within the specified color distance from the current mean, and computes a new x,y centroid from those coordinates and a new mean. This new x,y centroid is used as the center for a new window. This process iterates until it converges and the final mean is replaces the (original window center) pixel value. It repeats this process for the next pixel, etc., until it processes all pixels in the image. Results are typically better with colorspaces other than sRGB. We recommend YIQ, YUV or YCbCr.</p>
4717
4718 <p>The format of the MagickMeanShiftImage method is:</p>
4719
4720 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickMeanShiftImage(MagickWand *wand,
4721 const size_t width,const size_t height,const double color_distance)
4722 </samp></pre>
4723
4724 <p>A description of each parameter follows:</p>
4725
4726 <dd>
4727 </dd>
4728
4729 <dd> </dd>
4730 <dl class="dl-horizontal">
4731 <dt>wand</dt>
4732 <dd>the magick wand. </dd>
4733
4734 <dd> </dd>
4735 <dt>width, height</dt>
4736 <dd>find pixels in this neighborhood. </dd>
4737
4738 <dd> </dd>
4739 <dt>color_distance</dt>
4740 <dd>the color distance. </dd>
4741
4742 <dd> </dd>
4743 </dl>
4744 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickMergeImageLayers">MagickMergeImageLayers</a></h2>
4745
4746 <p>MagickMergeImageLayers() composes all the image layers from the current given image onward to produce a single image of the merged layers.</p>
4747
4748 <p>The inital canvas's size depends on the given LayerMethod, and is initialized using the first images background color. The images are then composited onto that image in sequence using the given composition that has been assigned to each individual image.</p>
4749
4750 <p>The format of the MagickMergeImageLayers method is:</p>
4751
4752 <pre class="bg-light text-dark mx-4"><samp>MagickWand *MagickMergeImageLayers(MagickWand *wand,
4753 const LayerMethod method)
4754 </samp></pre>
4755
4756 <p>A description of each parameter follows:</p>
4757
4758 <dd>
4759 </dd>
4760
4761 <dd> </dd>
4762 <dl class="dl-horizontal">
4763 <dt>wand</dt>
4764 <dd>the magick wand. </dd>
4765
4766 <dd> </dd>
4767 <dt>method</dt>
4768 <dd>the method of selecting the size of the initial canvas. </dd>
4769
4770 <dd> 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. </dd>
4771
4772 <dd> 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. </dd>
4773
4774 <dd> 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. </dd>
4775
4776 <dd> </dd>
4777 </dl>
4778 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickMinifyImage">MagickMinifyImage</a></h2>
4779
4780 <p>MagickMinifyImage() is a convenience method that scales an image proportionally to one-half its original size</p>
4781
4782 <p>The format of the MagickMinifyImage method is:</p>
4783
4784 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickMinifyImage(MagickWand *wand)
4785 </samp></pre>
4786
4787 <p>A description of each parameter follows:</p>
4788
4789 <dd>
4790 </dd>
4791
4792 <dd> </dd>
4793 <dl class="dl-horizontal">
4794 <dt>wand</dt>
4795 <dd>the magick wand. </dd>
4796
4797 <dd> </dd>
4798 </dl>
4799 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickModulateImage">MagickModulateImage</a></h2>
4800
4801 <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>
4802
4803 <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>
4804
4805 <p>The format of the MagickModulateImage method is:</p>
4806
4807 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickModulateImage(MagickWand *wand,
4808 const double brightness,const double saturation,const double hue)
4809 </samp></pre>
4810
4811 <p>A description of each parameter follows:</p>
4812
4813 <dd>
4814 </dd>
4815
4816 <dd> </dd>
4817 <dl class="dl-horizontal">
4818 <dt>wand</dt>
4819 <dd>the magick wand. </dd>
4820
4821 <dd> </dd>
4822 <dt>brightness</dt>
4823 <dd>the percent change in brightness. </dd>
4824
4825 <dd> </dd>
4826 <dt>saturation</dt>
4827 <dd>the percent change in saturation. </dd>
4828
4829 <dd> </dd>
4830 <dt>hue</dt>
4831 <dd>the percent change in hue. </dd>
4832
4833 <dd> </dd>
4834 </dl>
4835 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickMontageImage">MagickMontageImage</a></h2>
4836
4837 <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>
4838
4839 <p>The format of the MagickMontageImage method is:</p>
4840
4841 <pre class="bg-light text-dark mx-4"><samp>MagickWand *MagickMontageImage(MagickWand *wand,
4842 const DrawingWand *drawing_wand,const char *tile_geometry,
4843 const char *thumbnail_geometry,const MontageMode mode,
4844 const char *frame)
4845 </samp></pre>
4846
4847 <p>A description of each parameter follows:</p>
4848
4849 <dd>
4850 </dd>
4851
4852 <dd> </dd>
4853 <dl class="dl-horizontal">
4854 <dt>wand</dt>
4855 <dd>the magick wand. </dd>
4856
4857 <dd> </dd>
4858 <dt>drawing_wand</dt>
4859 <dd>the drawing wand. The font name, size, and color are obtained from this wand. </dd>
4860
4861 <dd> </dd>
4862 <dt>tile_geometry</dt>
4863 <dd>the number of tiles per row and page (e.g. 6x4+0+0). </dd>
4864
4865 <dd> </dd>
4866 <dt>thumbnail_geometry</dt>
4867 <dd>Preferred image size and border size of each thumbnail (e.g. 120x120+4+3&gt;). </dd>
4868
4869 <dd> </dd>
4870 <dt>mode</dt>
4871 <dd>Thumbnail framing mode: Frame, Unframe, or Concatenate. </dd>
4872
4873 <dd> </dd>
4874 <dt>frame</dt>
4875 <dd>Surround the image with an ornamental border (e.g. 15x15+3+3). The frame color is that of the thumbnail's matte color. </dd>
4876
4877 <dd> </dd>
4878 </dl>
4879 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickMorphImages">MagickMorphImages</a></h2>
4880
4881 <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>
4882
4883 <p>The format of the MagickMorphImages method is:</p>
4884
4885 <pre class="bg-light text-dark mx-4"><samp>MagickWand *MagickMorphImages(MagickWand *wand,
4886 const size_t number_frames)
4887 </samp></pre>
4888
4889 <p>A description of each parameter follows:</p>
4890
4891 <dd>
4892 </dd>
4893
4894 <dd> </dd>
4895 <dl class="dl-horizontal">
4896 <dt>wand</dt>
4897 <dd>the magick wand. </dd>
4898
4899 <dd> </dd>
4900 <dt>number_frames</dt>
4901 <dd>the number of in-between images to generate. </dd>
4902
4903 <dd> </dd>
4904 </dl>
4905 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickMorphologyImage">MagickMorphologyImage</a></h2>
4906
4907 <p>MagickMorphologyImage() applies a user supplied kernel to the image according to the given morphology method.</p>
4908
4909 <p>The format of the MagickMorphologyImage method is:</p>
4910
4911 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickMorphologyImage(MagickWand *wand,
4912 const MorphologyMethod method,const ssize_t iterations,
4913 const KernelInfo *kernel)
4914 </samp></pre>
4915
4916 <p>A description of each parameter follows:</p>
4917
4918 <dd>
4919 </dd>
4920
4921 <dd> </dd>
4922 <dl class="dl-horizontal">
4923 <dt>wand</dt>
4924 <dd>the magick wand. </dd>
4925
4926 <dd> </dd>
4927 <dt>method</dt>
4928 <dd>the morphology method to be applied. </dd>
4929
4930 <dd> </dd>
4931 <dt>iterations</dt>
4932 <dd>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. </dd>
4933
4934 <dd> </dd>
4935 <dt>kernel</dt>
4936 <dd>An array of doubles representing the morphology kernel. </dd>
4937
4938 <dd> </dd>
4939 </dl>
4940 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickMotionBlurImage">MagickMotionBlurImage</a></h2>
4941
4942 <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>
4943
4944 <p>The format of the MagickMotionBlurImage method is:</p>
4945
4946 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickMotionBlurImage(MagickWand *wand,
4947 const double radius,const double sigma,const double angle)
4948 </samp></pre>
4949
4950 <p>A description of each parameter follows:</p>
4951
4952 <dd>
4953 </dd>
4954
4955 <dd> </dd>
4956 <dl class="dl-horizontal">
4957 <dt>wand</dt>
4958 <dd>the magick wand. </dd>
4959
4960 <dd> </dd>
4961 <dt>radius</dt>
4962 <dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
4963
4964 <dd> </dd>
4965 <dt>sigma</dt>
4966 <dd>the standard deviation of the Gaussian, in pixels. </dd>
4967
4968 <dd> </dd>
4969 <dt>angle</dt>
4970 <dd>Apply the effect along this angle. </dd>
4971
4972 <dd> </dd>
4973 </dl>
4974 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickNegateImage">MagickNegateImage</a></h2>
4975
4976 <p>MagickNegateImage() negates the colors in the reference image. The Grayscale option means that only grayscale values within the image are negated.</p>
4977
4978 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p>
4979
4980 <p>The format of the MagickNegateImage method is:</p>
4981
4982 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickNegateImage(MagickWand *wand,
4983 const MagickBooleanType gray)
4984 </samp></pre>
4985
4986 <p>A description of each parameter follows:</p>
4987
4988 <dd>
4989 </dd>
4990
4991 <dd> </dd>
4992 <dl class="dl-horizontal">
4993 <dt>wand</dt>
4994 <dd>the magick wand. </dd>
4995
4996 <dd> </dd>
4997 <dt>gray</dt>
4998 <dd>If MagickTrue, only negate grayscale pixels within the image. </dd>
4999
5000 <dd> </dd>
5001 </dl>
5002 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickNewImage">MagickNewImage</a></h2>
5003
5004 <p>MagickNewImage() adds a blank image canvas of the specified size and background color to the wand.</p>
5005
5006 <p>The format of the MagickNewImage method is:</p>
5007
5008 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickNewImage(MagickWand *wand,
5009 const size_t columns,const size_t rows,
5010 const PixelWand *background)
5011 </samp></pre>
5012
5013 <p>A description of each parameter follows:</p>
5014
5015 <dd>
5016 </dd>
5017
5018 <dd> </dd>
5019 <dl class="dl-horizontal">
5020 <dt>wand</dt>
5021 <dd>the magick wand. </dd>
5022
5023 <dd> </dd>
5024 <dt>width</dt>
5025 <dd>the image width. </dd>
5026
5027 <dd> </dd>
5028 <dt>height</dt>
5029 <dd>the image height. </dd>
5030
5031 <dd> </dd>
5032 <dt>background</dt>
5033 <dd>the image color. </dd>
5034
5035 <dd> </dd>
5036 </dl>
5037 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickNextImage">MagickNextImage</a></h2>
5038
5039 <p>MagickNextImage() sets the next image in the wand as the current image.</p>
5040
5041 <p>It is typically used after MagickResetIterator(), after which its first use will set the first image as the current image (unless the wand is empty).</p>
5042
5043 <p>It will return MagickFalse when no more images are left to be returned which happens when the wand is empty, or the current image is the last image.</p>
5044
5045 <p>When the above condition (end of image list) is reached, the iterator is automatically set so that you can start using MagickPreviousImage() to again iterate over the images in the reverse direction, starting with the last image (again). You can jump to this condition immediately using MagickSetLastIterator().</p>
5046
5047 <p>The format of the MagickNextImage method is:</p>
5048
5049 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickNextImage(MagickWand *wand)
5050 </samp></pre>
5051
5052 <p>A description of each parameter follows:</p>
5053
5054 <dd>
5055 </dd>
5056
5057 <dd> </dd>
5058 <dl class="dl-horizontal">
5059 <dt>wand</dt>
5060 <dd>the magick wand. </dd>
5061
5062 <dd> </dd>
5063 </dl>
5064 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickNormalizeImage">MagickNormalizeImage</a></h2>
5065
5066 <p>MagickNormalizeImage() enhances the contrast of a color image by adjusting the pixels color to span the entire range of colors available</p>
5067
5068 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p>
5069
5070 <p>The format of the MagickNormalizeImage method is:</p>
5071
5072 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickNormalizeImage(MagickWand *wand)
5073 </samp></pre>
5074
5075 <p>A description of each parameter follows:</p>
5076
5077 <dd>
5078 </dd>
5079
5080 <dd> </dd>
5081 <dl class="dl-horizontal">
5082 <dt>wand</dt>
5083 <dd>the magick wand. </dd>
5084
5085 <dd> </dd>
5086 </dl>
5087 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickOilPaintImage">MagickOilPaintImage</a></h2>
5088
5089 <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>
5090
5091 <p>The format of the MagickOilPaintImage method is:</p>
5092
5093 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickOilPaintImage(MagickWand *wand,
5094 const double radius,const double sigma)
5095 </samp></pre>
5096
5097 <p>A description of each parameter follows:</p>
5098
5099 <dd>
5100 </dd>
5101
5102 <dd> </dd>
5103 <dl class="dl-horizontal">
5104 <dt>wand</dt>
5105 <dd>the magick wand. </dd>
5106
5107 <dd> </dd>
5108 <dt>radius</dt>
5109 <dd>the radius of the circular neighborhood. </dd>
5110
5111 <dd> </dd>
5112 <dt>sigma</dt>
5113 <dd>the standard deviation of the Gaussian, in pixels. </dd>
5114
5115 <dd> </dd>
5116 </dl>
5117 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickOpaquePaintImage">MagickOpaquePaintImage</a></h2>
5118
5119 <p>MagickOpaquePaintImage() changes any pixel that matches color with the color defined by fill.</p>
5120
5121 <p>The format of the MagickOpaquePaintImage method is:</p>
5122
5123 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickOpaquePaintImage(MagickWand *wand,
5124 const PixelWand *target,const PixelWand *fill,const double fuzz,
5125 const MagickBooleanType invert)
5126 </samp></pre>
5127
5128 <p>A description of each parameter follows:</p>
5129
5130 <dd>
5131 </dd>
5132
5133 <dd> </dd>
5134 <dl class="dl-horizontal">
5135 <dt>wand</dt>
5136 <dd>the magick wand. </dd>
5137
5138 <dd> </dd>
5139 <dt>target</dt>
5140 <dd>Change this target color to the fill color within the image. </dd>
5141
5142 <dd> </dd>
5143 <dt>fill</dt>
5144 <dd>the fill pixel wand. </dd>
5145
5146 <dd> </dd>
5147 <dt>fuzz</dt>
5148 <dd>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. </dd>
5149
5150 <dd> </dd>
5151 <dt>invert</dt>
5152 <dd>paint any pixel that does not match the target color. </dd>
5153
5154 <dd> </dd>
5155 </dl>
5156 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickOptimizeImageLayers">MagickOptimizeImageLayers</a></h2>
5157
5158 <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>
5159
5160 <p>The format of the MagickOptimizeImageLayers method is:</p>
5161
5162 <pre class="bg-light text-dark mx-4"><samp>MagickWand *MagickOptimizeImageLayers(MagickWand *wand)
5163 </samp></pre>
5164
5165 <p>A description of each parameter follows:</p>
5166
5167 <dd>
5168 </dd>
5169
5170 <dd> </dd>
5171 <dl class="dl-horizontal">
5172 <dt>wand</dt>
5173 <dd>the magick wand. </dd>
5174
5175 <dd> </dd>
5176 </dl>
5177 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickOptimizeImageTransparency">MagickOptimizeImageTransparency</a></h2>
5178
5179 <p>MagickOptimizeImageTransparency() takes a frame optimized GIF animation, and compares the overlayed pixels against the disposal image resulting from all the previous frames in the animation. Any pixel that does not change the disposal image (and thus does not effect the outcome of an overlay) is made transparent.</p>
5180
5181 <p>WARNING: This modifies the current images directly, rather than generate a new image sequence. The format of the MagickOptimizeImageTransparency method is:</p>
5182
5183 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickOptimizeImageTransparency(MagickWand *wand)
5184 </samp></pre>
5185
5186 <p>A description of each parameter follows:</p>
5187
5188 <dd>
5189 </dd>
5190
5191 <dd> </dd>
5192 <dl class="dl-horizontal">
5193 <dt>wand</dt>
5194 <dd>the magick wand. </dd>
5195
5196 <dd> </dd>
5197 </dl>
5198 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickOrderedDitherImage">MagickOrderedDitherImage</a></h2>
5199
5200 <p>MagickOrderedDitherImage() 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>
5201
5202 <p>The format of the MagickOrderedDitherImage method is:</p>
5203
5204 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickOrderedDitherImage(MagickWand *wand,
5205 const char *threshold_map)
5206 </samp></pre>
5207
5208 <p>A description of each parameter follows:</p>
5209
5210 <dd>
5211 </dd>
5212
5213 <dd> </dd>
5214 <dl class="dl-horizontal">
5215 <dt>image</dt>
5216 <dd>the image. </dd>
5217
5218 <dd> </dd>
5219 <dt>threshold_map</dt>
5220 <dd>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. </dd>
5221
5222 <dd> Any level number less than 2 is equivalent to 2, and means only binary dithering will be applied to each color channel. </dd>
5223
5224 <dd> 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. </dd>
5225
5226 <dd> 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 minimum of dithering. </dd>
5227
5228 <dd> </dd>
5229 </dl>
5230 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickPingImage">MagickPingImage</a></h2>
5231
5232 <p>MagickPingImage() is the same as 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>
5233
5234 <p>The format of the MagickPingImage method is:</p>
5235
5236 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickPingImage(MagickWand *wand,const char *filename)
5237 </samp></pre>
5238
5239 <p>A description of each parameter follows:</p>
5240
5241 <dd>
5242 </dd>
5243
5244 <dd> </dd>
5245 <dl class="dl-horizontal">
5246 <dt>wand</dt>
5247 <dd>the magick wand. </dd>
5248
5249 <dd> </dd>
5250 <dt>filename</dt>
5251 <dd>the image filename. </dd>
5252
5253 <dd> </dd>
5254 </dl>
5255 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickPingImageBlob">MagickPingImageBlob</a></h2>
5256
5257 <p>MagickPingImageBlob() pings an image or image sequence from a blob.</p>
5258
5259 <p>The format of the MagickPingImageBlob method is:</p>
5260
5261 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickPingImageBlob(MagickWand *wand,
5262 const void *blob,const size_t length)
5263 </samp></pre>
5264
5265 <p>A description of each parameter follows:</p>
5266
5267 <dd>
5268 </dd>
5269
5270 <dd> </dd>
5271 <dl class="dl-horizontal">
5272 <dt>wand</dt>
5273 <dd>the magick wand. </dd>
5274
5275 <dd> </dd>
5276 <dt>blob</dt>
5277 <dd>the blob. </dd>
5278
5279 <dd> </dd>
5280 <dt>length</dt>
5281 <dd>the blob length. </dd>
5282
5283 <dd> </dd>
5284 </dl>
5285 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickPingImageFile">MagickPingImageFile</a></h2>
5286
5287 <p>MagickPingImageFile() pings an image or image sequence from an open file descriptor.</p>
5288
5289 <p>The format of the MagickPingImageFile method is:</p>
5290
5291 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickPingImageFile(MagickWand *wand,FILE *file)
5292 </samp></pre>
5293
5294 <p>A description of each parameter follows:</p>
5295
5296 <dd>
5297 </dd>
5298
5299 <dd> </dd>
5300 <dl class="dl-horizontal">
5301 <dt>wand</dt>
5302 <dd>the magick wand. </dd>
5303
5304 <dd> </dd>
5305 <dt>file</dt>
5306 <dd>the file descriptor. </dd>
5307
5308 <dd> </dd>
5309 </dl>
5310 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickPolaroidImage">MagickPolaroidImage</a></h2>
5311
5312 <p>MagickPolaroidImage() simulates a Polaroid picture.</p>
5313
5314 <p>The format of the MagickPolaroidImage method is:</p>
5315
5316 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickPolaroidImage(MagickWand *wand,
5317 const DrawingWand *drawing_wand,const char *caption,const double angle,
5318 const PixelInterpolateMethod method)
5319 </samp></pre>
5320
5321 <p>A description of each parameter follows:</p>
5322
5323 <dd>
5324 </dd>
5325
5326 <dd> </dd>
5327 <dl class="dl-horizontal">
5328 <dt>wand</dt>
5329 <dd>the magick wand. </dd>
5330
5331 <dd> </dd>
5332 <dt>drawing_wand</dt>
5333 <dd>the draw wand. </dd>
5334
5335 <dd> </dd>
5336 <dt>caption</dt>
5337 <dd>the Polaroid caption. </dd>
5338
5339 <dd> </dd>
5340 <dt>angle</dt>
5341 <dd>Apply the effect along this angle. </dd>
5342
5343 <dd> </dd>
5344 <dt>method</dt>
5345 <dd>the pixel interpolation method. </dd>
5346
5347 <dd> </dd>
5348 </dl>
5349 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickPolynomialImage">MagickPolynomialImage</a></h2>
5350
5351 <p>MagickPolynomialImage() returns an image where each pixel is the sum of the pixels in the image sequence after applying its corresponding terms (coefficient and degree pairs).</p>
5352
5353 <p>The format of the MagickPolynomialImage method is:</p>
5354
5355 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickPolynomialImage(MagickWand *wand,
5356 const size_t number_terms,const double *terms)
5357 </samp></pre>
5358
5359 <p>A description of each parameter follows:</p>
5360
5361 <dd>
5362 </dd>
5363
5364 <dd> </dd>
5365 <dl class="dl-horizontal">
5366 <dt>wand</dt>
5367 <dd>the magick wand. </dd>
5368
5369 <dd> </dd>
5370 <dt>number_terms</dt>
5371 <dd>the number of terms in the list. The actual list length is 2 x number_terms + 1 (the constant). </dd>
5372
5373 <dd> </dd>
5374 <dt>terms</dt>
5375 <dd>the list of polynomial coefficients and degree pairs and a constant. </dd>
5376
5377 <dd> </dd>
5378 </dl>
5379 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickPosterizeImage">MagickPosterizeImage</a></h2>
5380
5381 <p>MagickPosterizeImage() reduces the image to a limited number of color level.</p>
5382
5383 <p>The format of the MagickPosterizeImage method is:</p>
5384
5385 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickPosterizeImage(MagickWand *wand,
5386 const size_t levels,const DitherMethod method)
5387 </samp></pre>
5388
5389 <p>A description of each parameter follows:</p>
5390
5391 <dd>
5392 </dd>
5393
5394 <dd> </dd>
5395 <dl class="dl-horizontal">
5396 <dt>wand</dt>
5397 <dd>the magick wand. </dd>
5398
5399 <dd> </dd>
5400 <dt>levels</dt>
5401 <dd>Number of color levels allowed in each channel. Very low values (2, 3, or 4) have the most visible effect. </dd>
5402
5403 <dd> </dd>
5404 <dt>method</dt>
5405 <dd>choose the dither method: UndefinedDitherMethod, NoDitherMethod, RiemersmaDitherMethod, or FloydSteinbergDitherMethod. </dd>
5406
5407 <dd> </dd>
5408 </dl>
5409 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickPreviewImages">MagickPreviewImages</a></h2>
5410
5411 <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>
5412
5413 <p>The format of the MagickPreviewImages method is:</p>
5414
5415 <pre class="bg-light text-dark mx-4"><samp>MagickWand *MagickPreviewImages(MagickWand *wand,
5416 const PreviewType preview)
5417 </samp></pre>
5418
5419 <p>A description of each parameter follows:</p>
5420
5421 <dd>
5422 </dd>
5423
5424 <dd> </dd>
5425 <dl class="dl-horizontal">
5426 <dt>wand</dt>
5427 <dd>the magick wand. </dd>
5428
5429 <dd> </dd>
5430 <dt>preview</dt>
5431 <dd>the preview type. </dd>
5432
5433 <dd> </dd>
5434 </dl>
5435 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickPreviousImage">MagickPreviousImage</a></h2>
5436
5437 <p>MagickPreviousImage() sets the previous image in the wand as the current image.</p>
5438
5439 <p>It is typically used after MagickSetLastIterator(), after which its first use will set the last image as the current image (unless the wand is empty).</p>
5440
5441 <p>It will return MagickFalse when no more images are left to be returned which happens when the wand is empty, or the current image is the first image. At that point the iterator is than reset to again process images in the forward direction, again starting with the first image in list. Images added at this point are prepended.</p>
5442
5443 <p>Also at that point any images added to the wand using MagickAddImages() or MagickReadImages() will be prepended before the first image. In this sense the condition is not quite exactly the same as MagickResetIterator().</p>
5444
5445 <p>The format of the MagickPreviousImage method is:</p>
5446
5447 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickPreviousImage(MagickWand *wand)
5448 </samp></pre>
5449
5450 <p>A description of each parameter follows:</p>
5451
5452 <dd>
5453 </dd>
5454
5455 <dd> </dd>
5456 <dl class="dl-horizontal">
5457 <dt>wand</dt>
5458 <dd>the magick wand. </dd>
5459
5460 <dd> </dd>
5461 </dl>
5462 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickQuantizeImage">MagickQuantizeImage</a></h2>
5463
5464 <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>
5465
5466 <p>The format of the MagickQuantizeImage method is:</p>
5467
5468 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickQuantizeImage(MagickWand *wand,
5469 const size_t number_colors,const ColorspaceType colorspace,
5470 const size_t treedepth,const DitherMethod dither_method,
5471 const MagickBooleanType measure_error)
5472 </samp></pre>
5473
5474 <p>A description of each parameter follows:</p>
5475
5476 <dd>
5477 </dd>
5478
5479 <dd> </dd>
5480 <dl class="dl-horizontal">
5481 <dt>wand</dt>
5482 <dd>the magick wand. </dd>
5483
5484 <dd> </dd>
5485 <dt>number_colors</dt>
5486 <dd>the number of colors. </dd>
5487
5488 <dd> </dd>
5489 <dt>colorspace</dt>
5490 <dd>Perform color reduction in this colorspace, typically RGBColorspace. </dd>
5491
5492 <dd> </dd>
5493 <dt>treedepth</dt>
5494 <dd>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. </dd>
5495
5496 <dd> </dd>
5497 <dt>dither_method</dt>
5498 <dd>choose from UndefinedDitherMethod, NoDitherMethod, RiemersmaDitherMethod, FloydSteinbergDitherMethod. </dd>
5499
5500 <dd> </dd>
5501 <dt>measure_error</dt>
5502 <dd>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. </dd>
5503
5504 <dd> </dd>
5505 </dl>
5506 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickQuantizeImages">MagickQuantizeImages</a></h2>
5507
5508 <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>
5509
5510 <p>The format of the MagickQuantizeImages method is:</p>
5511
5512 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickQuantizeImages(MagickWand *wand,
5513 const size_t number_colors,const ColorspaceType colorspace,
5514 const size_t treedepth,const DitherMethod dither_method,
5515 const MagickBooleanType measure_error)
5516 </samp></pre>
5517
5518 <p>A description of each parameter follows:</p>
5519
5520 <dd>
5521 </dd>
5522
5523 <dd> </dd>
5524 <dl class="dl-horizontal">
5525 <dt>wand</dt>
5526 <dd>the magick wand. </dd>
5527
5528 <dd> </dd>
5529 <dt>number_colors</dt>
5530 <dd>the number of colors. </dd>
5531
5532 <dd> </dd>
5533 <dt>colorspace</dt>
5534 <dd>Perform color reduction in this colorspace, typically RGBColorspace. </dd>
5535
5536 <dd> </dd>
5537 <dt>treedepth</dt>
5538 <dd>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. </dd>
5539
5540 <dd> </dd>
5541 <dt>dither_method</dt>
5542 <dd>choose from these dither methods: NoDitherMethod, RiemersmaDitherMethod, or FloydSteinbergDitherMethod. </dd>
5543
5544 <dd> </dd>
5545 <dt>measure_error</dt>
5546 <dd>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. </dd>
5547
5548 <dd> </dd>
5549 </dl>
5550 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickRangeThresholdImage">MagickRangeThresholdImage</a></h2>
5551
5552 <p>MagickRangeThresholdImage() applies soft and hard thresholding.</p>
5553
5554 <p>The format of the RangeThresholdImage method is:</p>
5555
5556 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickRangeThresholdImage(MagickWand *wand,
5557 const double low_black,const double low_white,const double high_white,
5558 const double high_black)
5559 </samp></pre>
5560
5561 <p>A description of each parameter follows:</p>
5562
5563 <dd>
5564 </dd>
5565
5566 <dd> </dd>
5567 <dl class="dl-horizontal">
5568 <dt>wand</dt>
5569 <dd>the magick wand. </dd>
5570
5571 <dd> </dd>
5572 <dt>low_black</dt>
5573 <dd>Define the minimum threshold value. </dd>
5574
5575 <dd> </dd>
5576 <dt>low_white</dt>
5577 <dd>Define the maximum threshold value. </dd>
5578
5579 <dd> </dd>
5580 <dt>high_white</dt>
5581 <dd>Define the minimum threshold value. </dd>
5582
5583 <dd> </dd>
5584 <dt>low_white</dt>
5585 <dd>Define the maximum threshold value. </dd>
5586
5587 <dd> </dd>
5588 </dl>
5589 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickRotationalBlurImage">MagickRotationalBlurImage</a></h2>
5590
5591 <p>MagickRotationalBlurImage() rotational blurs an image.</p>
5592
5593 <p>The format of the MagickRotationalBlurImage method is:</p>
5594
5595 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickRotationalBlurImage(MagickWand *wand,
5596 const double angle)
5597 </samp></pre>
5598
5599 <p>A description of each parameter follows:</p>
5600
5601 <dd>
5602 </dd>
5603
5604 <dd> </dd>
5605 <dl class="dl-horizontal">
5606 <dt>wand</dt>
5607 <dd>the magick wand. </dd>
5608
5609 <dd> </dd>
5610 <dt>angle</dt>
5611 <dd>the angle of the blur in degrees. </dd>
5612
5613 <dd> </dd>
5614 </dl>
5615 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickRaiseImage">MagickRaiseImage</a></h2>
5616
5617 <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>
5618
5619 <p>The format of the MagickRaiseImage method is:</p>
5620
5621 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickRaiseImage(MagickWand *wand,
5622 const size_t width,const size_t height,const ssize_t x,
5623 const ssize_t y,const MagickBooleanType raise)
5624 </samp></pre>
5625
5626 <p>A description of each parameter follows:</p>
5627
5628 <dd>
5629 </dd>
5630
5631 <dd> </dd>
5632 <dl class="dl-horizontal">
5633 <dt>wand</dt>
5634 <dd>the magick wand. </dd>
5635
5636 <dd> </dd>
5637 <dt>width,height,x,y</dt>
5638 <dd> Define the dimensions of the area to raise. </dd>
5639
5640 <dd> </dd>
5641 <dt>raise</dt>
5642 <dd>A value other than zero creates a 3-D raise effect, otherwise it has a lowered effect. </dd>
5643
5644 <dd> </dd>
5645 </dl>
5646 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickRandomThresholdImage">MagickRandomThresholdImage</a></h2>
5647
5648 <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>
5649
5650 <p>The format of the MagickRandomThresholdImage method is:</p>
5651
5652 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickRandomThresholdImage(MagickWand *wand,
5653 const double low,const double high)
5654 </samp></pre>
5655
5656 <p>A description of each parameter follows:</p>
5657
5658 <dd>
5659 </dd>
5660
5661 <dd> </dd>
5662 <dl class="dl-horizontal">
5663 <dt>wand</dt>
5664 <dd>the magick wand. </dd>
5665
5666 <dd> </dd>
5667 <dt>low,high</dt>
5668 <dd>Specify the high and low thresholds. These values range from 0 to QuantumRange. </dd>
5669
5670 <dd> </dd>
5671 </dl>
5672 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickReadImage">MagickReadImage</a></h2>
5673
5674 <p>MagickReadImage() reads an image or image sequence. The images are inserted just before the current image pointer position.</p>
5675
5676 <p>Use MagickSetFirstIterator(), to insert new images before all the current images in the wand, MagickSetLastIterator() to append add to the end, MagickSetIteratorIndex() to place images just after the given index.</p>
5677
5678 <p>The format of the MagickReadImage method is:</p>
5679
5680 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickReadImage(MagickWand *wand,const char *filename)
5681 </samp></pre>
5682
5683 <p>A description of each parameter follows:</p>
5684
5685 <dd>
5686 </dd>
5687
5688 <dd> </dd>
5689 <dl class="dl-horizontal">
5690 <dt>wand</dt>
5691 <dd>the magick wand. </dd>
5692
5693 <dd> </dd>
5694 <dt>filename</dt>
5695 <dd>the image filename. </dd>
5696
5697 <dd> </dd>
5698 </dl>
5699 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickReadImageBlob">MagickReadImageBlob</a></h2>
5700
5701 <p>MagickReadImageBlob() reads an image or image sequence from a blob. In all other respects it is like MagickReadImage().</p>
5702
5703 <p>The format of the MagickReadImageBlob method is:</p>
5704
5705 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickReadImageBlob(MagickWand *wand,
5706 const void *blob,const size_t length)
5707 </samp></pre>
5708
5709 <p>A description of each parameter follows:</p>
5710
5711 <dd>
5712 </dd>
5713
5714 <dd> </dd>
5715 <dl class="dl-horizontal">
5716 <dt>wand</dt>
5717 <dd>the magick wand. </dd>
5718
5719 <dd> </dd>
5720 <dt>blob</dt>
5721 <dd>the blob. </dd>
5722
5723 <dd> </dd>
5724 <dt>length</dt>
5725 <dd>the blob length. </dd>
5726
5727 <dd> </dd>
5728 </dl>
5729 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickReadImageFile">MagickReadImageFile</a></h2>
5730
5731 <p>MagickReadImageFile() reads an image or image sequence from an already opened file descriptor. Otherwise it is like MagickReadImage().</p>
5732
5733 <p>The format of the MagickReadImageFile method is:</p>
5734
5735 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickReadImageFile(MagickWand *wand,FILE *file)
5736 </samp></pre>
5737
5738 <p>A description of each parameter follows:</p>
5739
5740 <dd>
5741 </dd>
5742
5743 <dd> </dd>
5744 <dl class="dl-horizontal">
5745 <dt>wand</dt>
5746 <dd>the magick wand. </dd>
5747
5748 <dd> </dd>
5749 <dt>file</dt>
5750 <dd>the file descriptor. </dd>
5751
5752 <dd> </dd>
5753 </dl>
5754 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickRemapImage">MagickRemapImage</a></h2>
5755
5756 <p>MagickRemapImage() replaces the colors of an image with the closest color from a reference image.</p>
5757
5758 <p>The format of the MagickRemapImage method is:</p>
5759
5760 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickRemapImage(MagickWand *wand,
5761 const MagickWand *remap_wand,const DitherMethod method)
5762 </samp></pre>
5763
5764 <p>A description of each parameter follows:</p>
5765
5766 <dd>
5767 </dd>
5768
5769 <dd> </dd>
5770 <dl class="dl-horizontal">
5771 <dt>wand</dt>
5772 <dd>the magick wand. </dd>
5773
5774 <dd> </dd>
5775 <dt>affinity</dt>
5776 <dd>the affinity wand. </dd>
5777
5778 <dd> </dd>
5779 <dt>method</dt>
5780 <dd>choose from these dither methods: NoDitherMethod, RiemersmaDitherMethod, or FloydSteinbergDitherMethod. </dd>
5781
5782 <dd> </dd>
5783 </dl>
5784 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickRemoveImage">MagickRemoveImage</a></h2>
5785
5786 <p>MagickRemoveImage() removes an image from the image list.</p>
5787
5788 <p>The format of the MagickRemoveImage method is:</p>
5789
5790 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickRemoveImage(MagickWand *wand)
5791 </samp></pre>
5792
5793 <p>A description of each parameter follows:</p>
5794
5795 <dd>
5796 </dd>
5797
5798 <dd> </dd>
5799 <dl class="dl-horizontal">
5800 <dt>wand</dt>
5801 <dd>the magick wand. </dd>
5802
5803 <dd> </dd>
5804 <dt>insert</dt>
5805 <dd>the splice wand. </dd>
5806
5807 <dd> </dd>
5808 </dl>
5809 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickResampleImage">MagickResampleImage</a></h2>
5810
5811 <p>MagickResampleImage() resample image to desired resolution.</p>
5812
5813 <p>Bessel Blackman Box Catrom Cubic Gaussian Hanning Hermite Lanczos Mitchell Point Quadratic Sinc Triangle</p>
5814
5815 <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>
5816
5817 <p>The format of the MagickResampleImage method is:</p>
5818
5819 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickResampleImage(MagickWand *wand,
5820 const double x_resolution,const double y_resolution,
5821 const FilterType filter)
5822 </samp></pre>
5823
5824 <p>A description of each parameter follows:</p>
5825
5826 <dd>
5827 </dd>
5828
5829 <dd> </dd>
5830 <dl class="dl-horizontal">
5831 <dt>wand</dt>
5832 <dd>the magick wand. </dd>
5833
5834 <dd> </dd>
5835 <dt>x_resolution</dt>
5836 <dd>the new image x resolution. </dd>
5837
5838 <dd> </dd>
5839 <dt>y_resolution</dt>
5840 <dd>the new image y resolution. </dd>
5841
5842 <dd> </dd>
5843 <dt>filter</dt>
5844 <dd>Image filter to use. </dd>
5845
5846 <dd> </dd>
5847 </dl>
5848 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickResetImagePage">MagickResetImagePage</a></h2>
5849
5850 <p>MagickResetImagePage() resets the Wand page canvas and position.</p>
5851
5852 <p>The format of the MagickResetImagePage method is:</p>
5853
5854 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickResetImagePage(MagickWand *wand,
5855 const char *page)
5856 </samp></pre>
5857
5858 <p>A description of each parameter follows:</p>
5859
5860 <dd>
5861 </dd>
5862
5863 <dd> </dd>
5864 <dl class="dl-horizontal">
5865 <dt>wand</dt>
5866 <dd>the magick wand. </dd>
5867
5868 <dd> </dd>
5869 <dt>page</dt>
5870 <dd>the relative page specification. </dd>
5871
5872 <dd> </dd>
5873 </dl>
5874 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickResizeImage">MagickResizeImage</a></h2>
5875
5876 <p>MagickResizeImage() scales an image to the desired dimensions with one of these filters:</p>
5877
5878 <pre class="bg-light text-dark mx-4"><samp> Bessel Blackman Box
5879 Catrom CubicGaussian
5880 Hanning Hermite Lanczos
5881 Mitchell PointQuadratic
5882 Sinc Triangle
5883 </samp></pre>
5884
5885 <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>
5886
5887 <p>The format of the MagickResizeImage method is:</p>
5888
5889 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickResizeImage(MagickWand *wand,
5890 const size_t columns,const size_t rows,const FilterType filter)
5891 </samp></pre>
5892
5893 <p>A description of each parameter follows:</p>
5894
5895 <dd>
5896 </dd>
5897
5898 <dd> </dd>
5899 <dl class="dl-horizontal">
5900 <dt>wand</dt>
5901 <dd>the magick wand. </dd>
5902
5903 <dd> </dd>
5904 <dt>columns</dt>
5905 <dd>the number of columns in the scaled image. </dd>
5906
5907 <dd> </dd>
5908 <dt>rows</dt>
5909 <dd>the number of rows in the scaled image. </dd>
5910
5911 <dd> </dd>
5912 <dt>filter</dt>
5913 <dd>Image filter to use. </dd>
5914
5915 <dd> </dd>
5916 </dl>
5917 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickRollImage">MagickRollImage</a></h2>
5918
5919 <p>MagickRollImage() offsets an image as defined by x and y.</p>
5920
5921 <p>The format of the MagickRollImage method is:</p>
5922
5923 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickRollImage(MagickWand *wand,const ssize_t x,
5924 const ssize_t y)
5925 </samp></pre>
5926
5927 <p>A description of each parameter follows:</p>
5928
5929 <dd>
5930 </dd>
5931
5932 <dd> </dd>
5933 <dl class="dl-horizontal">
5934 <dt>wand</dt>
5935 <dd>the magick wand. </dd>
5936
5937 <dd> </dd>
5938 <dt>x</dt>
5939 <dd>the x offset. </dd>
5940
5941 <dd> </dd>
5942 <dt>y</dt>
5943 <dd>the y offset. </dd>
5944
5945 <dd> </dd>
5946
5947 <dd> </dd>
5948 </dl>
5949 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickRotateImage">MagickRotateImage</a></h2>
5950
5951 <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>
5952
5953 <p>The format of the MagickRotateImage method is:</p>
5954
5955 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickRotateImage(MagickWand *wand,
5956 const PixelWand *background,const double degrees)
5957 </samp></pre>
5958
5959 <p>A description of each parameter follows:</p>
5960
5961 <dd>
5962 </dd>
5963
5964 <dd> </dd>
5965 <dl class="dl-horizontal">
5966 <dt>wand</dt>
5967 <dd>the magick wand. </dd>
5968
5969 <dd> </dd>
5970 <dt>background</dt>
5971 <dd>the background pixel wand. </dd>
5972
5973 <dd> </dd>
5974 <dt>degrees</dt>
5975 <dd>the number of degrees to rotate the image. </dd>
5976
5977 <dd> </dd>
5978
5979 <dd> </dd>
5980 </dl>
5981 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSampleImage">MagickSampleImage</a></h2>
5982
5983 <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>
5984
5985 <p>The format of the MagickSampleImage method is:</p>
5986
5987 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSampleImage(MagickWand *wand,
5988 const size_t columns,const size_t rows)
5989 </samp></pre>
5990
5991 <p>A description of each parameter follows:</p>
5992
5993 <dd>
5994 </dd>
5995
5996 <dd> </dd>
5997 <dl class="dl-horizontal">
5998 <dt>wand</dt>
5999 <dd>the magick wand. </dd>
6000
6001 <dd> </dd>
6002 <dt>columns</dt>
6003 <dd>the number of columns in the scaled image. </dd>
6004
6005 <dd> </dd>
6006 <dt>rows</dt>
6007 <dd>the number of rows in the scaled image. </dd>
6008
6009 <dd> </dd>
6010
6011 <dd> </dd>
6012 </dl>
6013 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickScaleImage">MagickScaleImage</a></h2>
6014
6015 <p>MagickScaleImage() scales the size of an image to the given dimensions.</p>
6016
6017 <p>The format of the MagickScaleImage method is:</p>
6018
6019 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickScaleImage(MagickWand *wand,
6020 const size_t columns,const size_t rows)
6021 </samp></pre>
6022
6023 <p>A description of each parameter follows:</p>
6024
6025 <dd>
6026 </dd>
6027
6028 <dd> </dd>
6029 <dl class="dl-horizontal">
6030 <dt>wand</dt>
6031 <dd>the magick wand. </dd>
6032
6033 <dd> </dd>
6034 <dt>columns</dt>
6035 <dd>the number of columns in the scaled image. </dd>
6036
6037 <dd> </dd>
6038 <dt>rows</dt>
6039 <dd>the number of rows in the scaled image. </dd>
6040
6041 <dd> </dd>
6042
6043 <dd> </dd>
6044 </dl>
6045 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSegmentImage">MagickSegmentImage</a></h2>
6046
6047 <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>
6048
6049 <p>The format of the SegmentImage method is:</p>
6050
6051 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSegmentImage(MagickWand *wand,
6052 const ColorspaceType colorspace,const MagickBooleanType verbose,
6053 const double cluster_threshold,const double smooth_threshold)
6054 </samp></pre>
6055
6056 <p>A description of each parameter follows.</p>
6057
6058 <dt>wand</dt>
6059 <p>the wand.</p>
6060
6061 <dt>colorspace</dt>
6062 <p>the image colorspace.</p>
6063
6064 <dt>verbose</dt>
6065 <p>Set to MagickTrue to print detailed information about the identified classes.</p>
6066
6067 <dt>cluster_threshold</dt>
6068 <p>This represents the minimum number of pixels contained in a hexahedra before it can be considered valid (expressed as a percentage).</p>
6069
6070 <dt>smooth_threshold</dt>
6071 <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>
6072
6073 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSelectiveBlurImage">MagickSelectiveBlurImage</a></h2>
6074
6075 <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>
6076
6077 <p>The format of the MagickSelectiveBlurImage method is:</p>
6078
6079 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSelectiveBlurImage(MagickWand *wand,
6080 const double radius,const double sigma,const double threshold)
6081 </samp></pre>
6082
6083 <p>A description of each parameter follows:</p>
6084
6085 <dd>
6086 </dd>
6087
6088 <dd> </dd>
6089 <dl class="dl-horizontal">
6090 <dt>wand</dt>
6091 <dd>the magick wand. </dd>
6092
6093 <dd> </dd>
6094 <dt>radius</dt>
6095 <dd>the radius of the gaussian, in pixels, not counting the center pixel. </dd>
6096
6097 <dd> </dd>
6098 <dt>sigma</dt>
6099 <dd>the standard deviation of the gaussian, in pixels. </dd>
6100
6101 <dd> </dd>
6102 <dt>threshold</dt>
6103 <dd>only pixels within this contrast threshold are included in the blur operation. </dd>
6104
6105 <dd> </dd>
6106 </dl>
6107 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSeparateImage">MagickSeparateImage</a></h2>
6108
6109 <p>MagickSeparateImage() 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>
6110
6111 <p>The format of the MagickSeparateImage method is:</p>
6112
6113 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSeparateImage(MagickWand *wand,
6114 const ChannelType channel)
6115 </samp></pre>
6116
6117 <p>A description of each parameter follows:</p>
6118
6119 <dd>
6120 </dd>
6121
6122 <dd> </dd>
6123 <dl class="dl-horizontal">
6124 <dt>wand</dt>
6125 <dd>the magick wand. </dd>
6126
6127 <dd> </dd>
6128 <dt>channel</dt>
6129 <dd>the channel. </dd>
6130
6131 <dd> </dd>
6132 </dl>
6133 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSepiaToneImage">MagickSepiaToneImage</a></h2>
6134
6135 <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>
6136
6137 <p>The format of the MagickSepiaToneImage method is:</p>
6138
6139 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSepiaToneImage(MagickWand *wand,
6140 const double threshold)
6141 </samp></pre>
6142
6143 <p>A description of each parameter follows:</p>
6144
6145 <dd>
6146 </dd>
6147
6148 <dd> </dd>
6149 <dl class="dl-horizontal">
6150 <dt>wand</dt>
6151 <dd>the magick wand. </dd>
6152
6153 <dd> </dd>
6154 <dt>threshold</dt>
6155 <dd> Define the extent of the sepia toning. </dd>
6156
6157 <dd> </dd>
6158 </dl>
6159 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImage">MagickSetImage</a></h2>
6160
6161 <p>MagickSetImage() replaces the last image returned by MagickSetIteratorIndex(), MagickNextImage(), MagickPreviousImage() with the images from the specified wand.</p>
6162
6163 <p>The format of the MagickSetImage method is:</p>
6164
6165 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImage(MagickWand *wand,
6166 const MagickWand *set_wand)
6167 </samp></pre>
6168
6169 <p>A description of each parameter follows:</p>
6170
6171 <dd>
6172 </dd>
6173
6174 <dd> </dd>
6175 <dl class="dl-horizontal">
6176 <dt>wand</dt>
6177 <dd>the magick wand. </dd>
6178
6179 <dd> </dd>
6180 <dt>set_wand</dt>
6181 <dd>the set_wand wand. </dd>
6182
6183 <dd> </dd>
6184 </dl>
6185 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageAlphaChannel">MagickSetImageAlphaChannel</a></h2>
6186
6187 <p>MagickSetImageAlphaChannel() activates, deactivates, resets, or sets the alpha channel.</p>
6188
6189 <p>The format of the MagickSetImageAlphaChannel method is:</p>
6190
6191 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageAlphaChannel(MagickWand *wand,
6192 const AlphaChannelOption alpha_type)
6193 </samp></pre>
6194
6195 <p>A description of each parameter follows:</p>
6196
6197 <dd>
6198 </dd>
6199
6200 <dd> </dd>
6201 <dl class="dl-horizontal">
6202 <dt>wand</dt>
6203 <dd>the magick wand. </dd>
6204
6205 <dd> </dd>
6206 <dt>alpha_type</dt>
6207 <dd>the alpha channel type: ActivateAlphaChannel, DeactivateAlphaChannel, OpaqueAlphaChannel, or SetAlphaChannel. </dd>
6208
6209 <dd> </dd>
6210 </dl>
6211 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageBackgroundColor">MagickSetImageBackgroundColor</a></h2>
6212
6213 <p>MagickSetImageBackgroundColor() sets the image background color.</p>
6214
6215 <p>The format of the MagickSetImageBackgroundColor method is:</p>
6216
6217 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageBackgroundColor(MagickWand *wand,
6218 const PixelWand *background)
6219 </samp></pre>
6220
6221 <p>A description of each parameter follows:</p>
6222
6223 <dd>
6224 </dd>
6225
6226 <dd> </dd>
6227 <dl class="dl-horizontal">
6228 <dt>wand</dt>
6229 <dd>the magick wand. </dd>
6230
6231 <dd> </dd>
6232 <dt>background</dt>
6233 <dd>the background pixel wand. </dd>
6234
6235 <dd> </dd>
6236 </dl>
6237 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageBluePrimary">MagickSetImageBluePrimary</a></h2>
6238
6239 <p>MagickSetImageBluePrimary() sets the image chromaticity blue primary point.</p>
6240
6241 <p>The format of the MagickSetImageBluePrimary method is:</p>
6242
6243 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageBluePrimary(MagickWand *wand,
6244 const double x,const double y,const double z)
6245 </samp></pre>
6246
6247 <p>A description of each parameter follows:</p>
6248
6249 <dd>
6250 </dd>
6251
6252 <dd> </dd>
6253 <dl class="dl-horizontal">
6254 <dt>wand</dt>
6255 <dd>the magick wand. </dd>
6256
6257 <dd> </dd>
6258 <dt>x</dt>
6259 <dd>the blue primary x-point. </dd>
6260
6261 <dd> </dd>
6262 <dt>y</dt>
6263 <dd>the blue primary y-point. </dd>
6264
6265 <dd> </dd>
6266 <dt>z</dt>
6267 <dd>the blue primary z-point. </dd>
6268
6269 <dd> </dd>
6270 </dl>
6271 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageBorderColor">MagickSetImageBorderColor</a></h2>
6272
6273 <p>MagickSetImageBorderColor() sets the image border color.</p>
6274
6275 <p>The format of the MagickSetImageBorderColor method is:</p>
6276
6277 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageBorderColor(MagickWand *wand,
6278 const PixelWand *border)
6279 </samp></pre>
6280
6281 <p>A description of each parameter follows:</p>
6282
6283 <dd>
6284 </dd>
6285
6286 <dd> </dd>
6287 <dl class="dl-horizontal">
6288 <dt>wand</dt>
6289 <dd>the magick wand. </dd>
6290
6291 <dd> </dd>
6292 <dt>border</dt>
6293 <dd>the border pixel wand. </dd>
6294
6295 <dd> </dd>
6296 </dl>
6297 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageChannelMask">MagickSetImageChannelMask</a></h2>
6298
6299 <p>MagickSetImageChannelMask() sets image channel mask.</p>
6300
6301 <p>The format of the MagickSetImageChannelMask method is:</p>
6302
6303 <pre class="bg-light text-dark mx-4"><samp>ChannelType MagickSetImageChannelMask(MagickWand *wand,
6304 const ChannelType channel_mask)
6305 </samp></pre>
6306
6307 <p>A description of each parameter follows:</p>
6308
6309 <dd>
6310 </dd>
6311
6312 <dd> </dd>
6313 <dl class="dl-horizontal">
6314 <dt>wand</dt>
6315 <dd>the magick wand. </dd>
6316
6317 <dd> </dd>
6318 <dt>channel_mask</dt>
6319 <dd>the channel_mask wand. </dd>
6320
6321 <dd> </dd>
6322 </dl>
6323 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageMask">MagickSetImageMask</a></h2>
6324
6325 <p>MagickSetImageMask() sets image clip mask.</p>
6326
6327 <p>The format of the MagickSetImageMask method is:</p>
6328
6329 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageMask(MagickWand *wand,
6330 const PixelMask type,const MagickWand *clip_mask)
6331 </samp></pre>
6332
6333 <p>A description of each parameter follows:</p>
6334
6335 <dd>
6336 </dd>
6337
6338 <dd> </dd>
6339 <dl class="dl-horizontal">
6340 <dt>wand</dt>
6341 <dd>the magick wand. </dd>
6342
6343 <dd> </dd>
6344 <dt>type</dt>
6345 <dd>type of mask, ReadPixelMask or WritePixelMask. </dd>
6346
6347 <dd> </dd>
6348 <dt>clip_mask</dt>
6349 <dd>the clip_mask wand. </dd>
6350
6351 <dd> </dd>
6352 </dl>
6353 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageColor">MagickSetImageColor</a></h2>
6354
6355 <p>MagickSetImageColor() set the entire wand canvas to the specified color.</p>
6356
6357 <p>The format of the MagickSetImageColor method is:</p>
6358
6359 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageColor(MagickWand *wand,
6360 const PixelWand *color)
6361 </samp></pre>
6362
6363 <p>A description of each parameter follows:</p>
6364
6365 <dd>
6366 </dd>
6367
6368 <dd> </dd>
6369 <dl class="dl-horizontal">
6370 <dt>wand</dt>
6371 <dd>the magick wand. </dd>
6372
6373 <dd> </dd>
6374 <dt>background</dt>
6375 <dd>the image color. </dd>
6376
6377 <dd> </dd>
6378 </dl>
6379 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageColormapColor">MagickSetImageColormapColor</a></h2>
6380
6381 <p>MagickSetImageColormapColor() sets the color of the specified colormap index.</p>
6382
6383 <p>The format of the MagickSetImageColormapColor method is:</p>
6384
6385 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageColormapColor(MagickWand *wand,
6386 const size_t index,const PixelWand *color)
6387 </samp></pre>
6388
6389 <p>A description of each parameter follows:</p>
6390
6391 <dd>
6392 </dd>
6393
6394 <dd> </dd>
6395 <dl class="dl-horizontal">
6396 <dt>wand</dt>
6397 <dd>the magick wand. </dd>
6398
6399 <dd> </dd>
6400 <dt>index</dt>
6401 <dd>the offset into the image colormap. </dd>
6402
6403 <dd> </dd>
6404 <dt>color</dt>
6405 <dd>Return the colormap color in this wand. </dd>
6406
6407 <dd> </dd>
6408 </dl>
6409 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageColorspace">MagickSetImageColorspace</a></h2>
6410
6411 <p>MagickSetImageColorspace() sets the image colorspace. But does not modify the image data.</p>
6412
6413 <p>The format of the MagickSetImageColorspace method is:</p>
6414
6415 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageColorspace(MagickWand *wand,
6416 const ColorspaceType colorspace)
6417 </samp></pre>
6418
6419 <p>A description of each parameter follows:</p>
6420
6421 <dd>
6422 </dd>
6423
6424 <dd> </dd>
6425 <dl class="dl-horizontal">
6426 <dt>wand</dt>
6427 <dd>the magick wand. </dd>
6428
6429 <dd> </dd>
6430 <dt>colorspace</dt>
6431 <dd>the image colorspace: UndefinedColorspace, RGBColorspace, GRAYColorspace, TransparentColorspace, OHTAColorspace, XYZColorspace, YCbCrColorspace, YCCColorspace, YIQColorspace, YPbPrColorspace, YPbPrColorspace, YUVColorspace, CMYKColorspace, sRGBColorspace, HSLColorspace, or HWBColorspace. </dd>
6432
6433 <dd> </dd>
6434 </dl>
6435 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageCompose">MagickSetImageCompose</a></h2>
6436
6437 <p>MagickSetImageCompose() sets the image composite operator, useful for specifying how to composite the image thumbnail when using the MagickMontageImage() method.</p>
6438
6439 <p>The format of the MagickSetImageCompose method is:</p>
6440
6441 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageCompose(MagickWand *wand,
6442 const CompositeOperator compose)
6443 </samp></pre>
6444
6445 <p>A description of each parameter follows:</p>
6446
6447 <dd>
6448 </dd>
6449
6450 <dd> </dd>
6451 <dl class="dl-horizontal">
6452 <dt>wand</dt>
6453 <dd>the magick wand. </dd>
6454
6455 <dd> </dd>
6456 <dt>compose</dt>
6457 <dd>the image composite operator. </dd>
6458
6459 <dd> </dd>
6460 </dl>
6461 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageCompression">MagickSetImageCompression</a></h2>
6462
6463 <p>MagickSetImageCompression() sets the image compression.</p>
6464
6465 <p>The format of the MagickSetImageCompression method is:</p>
6466
6467 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageCompression(MagickWand *wand,
6468 const CompressionType compression)
6469 </samp></pre>
6470
6471 <p>A description of each parameter follows:</p>
6472
6473 <dd>
6474 </dd>
6475
6476 <dd> </dd>
6477 <dl class="dl-horizontal">
6478 <dt>wand</dt>
6479 <dd>the magick wand. </dd>
6480
6481 <dd> </dd>
6482 <dt>compression</dt>
6483 <dd>the image compression type. </dd>
6484
6485 <dd> </dd>
6486 </dl>
6487 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageCompressionQuality">MagickSetImageCompressionQuality</a></h2>
6488
6489 <p>MagickSetImageCompressionQuality() sets the image compression quality.</p>
6490
6491 <p>The format of the MagickSetImageCompressionQuality method is:</p>
6492
6493 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageCompressionQuality(MagickWand *wand,
6494 const size_t quality)
6495 </samp></pre>
6496
6497 <p>A description of each parameter follows:</p>
6498
6499 <dd>
6500 </dd>
6501
6502 <dd> </dd>
6503 <dl class="dl-horizontal">
6504 <dt>wand</dt>
6505 <dd>the magick wand. </dd>
6506
6507 <dd> </dd>
6508 <dt>quality</dt>
6509 <dd>the image compression tlityype. </dd>
6510
6511 <dd> </dd>
6512 </dl>
6513 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageDelay">MagickSetImageDelay</a></h2>
6514
6515 <p>MagickSetImageDelay() sets the image delay.</p>
6516
6517 <p>The format of the MagickSetImageDelay method is:</p>
6518
6519 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageDelay(MagickWand *wand,
6520 const size_t delay)
6521 </samp></pre>
6522
6523 <p>A description of each parameter follows:</p>
6524
6525 <dd>
6526 </dd>
6527
6528 <dd> </dd>
6529 <dl class="dl-horizontal">
6530 <dt>wand</dt>
6531 <dd>the magick wand. </dd>
6532
6533 <dd> </dd>
6534 <dt>delay</dt>
6535 <dd>the image delay in ticks-per-second units. </dd>
6536
6537 <dd> </dd>
6538 </dl>
6539 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageDepth">MagickSetImageDepth</a></h2>
6540
6541 <p>MagickSetImageDepth() sets the image depth.</p>
6542
6543 <p>The format of the MagickSetImageDepth method is:</p>
6544
6545 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageDepth(MagickWand *wand,
6546 const size_t depth)
6547 </samp></pre>
6548
6549 <p>A description of each parameter follows:</p>
6550
6551 <dd>
6552 </dd>
6553
6554 <dd> </dd>
6555 <dl class="dl-horizontal">
6556 <dt>wand</dt>
6557 <dd>the magick wand. </dd>
6558
6559 <dd> </dd>
6560 <dt>depth</dt>
6561 <dd>the image depth in bits: 8, 16, or 32. </dd>
6562
6563 <dd> </dd>
6564 </dl>
6565 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageDispose">MagickSetImageDispose</a></h2>
6566
6567 <p>MagickSetImageDispose() sets the image disposal method.</p>
6568
6569 <p>The format of the MagickSetImageDispose method is:</p>
6570
6571 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageDispose(MagickWand *wand,
6572 const DisposeType dispose)
6573 </samp></pre>
6574
6575 <p>A description of each parameter follows:</p>
6576
6577 <dd>
6578 </dd>
6579
6580 <dd> </dd>
6581 <dl class="dl-horizontal">
6582 <dt>wand</dt>
6583 <dd>the magick wand. </dd>
6584
6585 <dd> </dd>
6586 <dt>dispose</dt>
6587 <dd>the image disposal type. </dd>
6588
6589 <dd> </dd>
6590 </dl>
6591 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageEndian">MagickSetImageEndian</a></h2>
6592
6593 <p>MagickSetImageEndian() sets the image endian method.</p>
6594
6595 <p>The format of the MagickSetImageEndian method is:</p>
6596
6597 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageEndian(MagickWand *wand,
6598 const EndianType endian)
6599 </samp></pre>
6600
6601 <p>A description of each parameter follows:</p>
6602
6603 <dd>
6604 </dd>
6605
6606 <dd> </dd>
6607 <dl class="dl-horizontal">
6608 <dt>wand</dt>
6609 <dd>the magick wand. </dd>
6610
6611 <dd> </dd>
6612 <dt>endian</dt>
6613 <dd>the image endian type. </dd>
6614
6615 <dd> </dd>
6616 </dl>
6617 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageExtent">MagickSetImageExtent</a></h2>
6618
6619 <p>MagickSetImageExtent() sets the image size (i.e. columns &amp; rows).</p>
6620
6621 <p>The format of the MagickSetImageExtent method is:</p>
6622
6623 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageExtent(MagickWand *wand,
6624 const size_t columns,const size_t rows)
6625 </samp></pre>
6626
6627 <p>A description of each parameter follows:</p>
6628
6629 <dd>
6630 </dd>
6631
6632 <dd> </dd>
6633 <dl class="dl-horizontal">
6634 <dt>wand</dt>
6635 <dd>the magick wand. </dd>
6636
6637 <dd> </dd>
6638 <dt>columns</dt>
6639 <dd> The image width in pixels. </dd>
6640
6641 <dd> </dd>
6642 <dt>rows</dt>
6643 <dd> The image height in pixels. </dd>
6644
6645 <dd> </dd>
6646 </dl>
6647 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageFilename">MagickSetImageFilename</a></h2>
6648
6649 <p>MagickSetImageFilename() sets the filename of a particular image in a sequence.</p>
6650
6651 <p>The format of the MagickSetImageFilename method is:</p>
6652
6653 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageFilename(MagickWand *wand,
6654 const char *filename)
6655 </samp></pre>
6656
6657 <p>A description of each parameter follows:</p>
6658
6659 <dd>
6660 </dd>
6661
6662 <dd> </dd>
6663 <dl class="dl-horizontal">
6664 <dt>wand</dt>
6665 <dd>the magick wand. </dd>
6666
6667 <dd> </dd>
6668 <dt>filename</dt>
6669 <dd>the image filename. </dd>
6670
6671 <dd> </dd>
6672 </dl>
6673 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageFilter">MagickSetImageFilter</a></h2>
6674
6675 <p>MagickSetImageFilter() sets the image filter type.</p>
6676
6677 <p>The format of the MagickSetImageFilter method is:</p>
6678
6679 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageFilter(MagickWand *wand,
6680 const FilterType filter)
6681 </samp></pre>
6682
6683 <p>A description of each parameter follows:</p>
6684
6685 <dd>
6686 </dd>
6687
6688 <dd> </dd>
6689 <dl class="dl-horizontal">
6690 <dt>wand</dt>
6691 <dd>the magick wand. </dd>
6692
6693 <dd> </dd>
6694 <dt>filter</dt>
6695 <dd>Bartlett, Blackman, Bohman, Box, Catrom, Cosine, Cubic, CubicSpline, Gaussian, Hamming, Hann, Hermite, Jinc, Kaiser, Lagrange, Lanczos, Lanczos2, Lanczos2Sharp, LanczosRadius, LanczosSharp, Mitchell, Parzen, Point, Quadratic, Robidoux, RobidouxSharp, Sinc, SincFast, Spline, Triangle, Undefined, Welch. </dd>
6696
6697 <dd> </dd>
6698 </dl>
6699 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageFormat">MagickSetImageFormat</a></h2>
6700
6701 <p>MagickSetImageFormat() sets the format of a particular image in a sequence.</p>
6702
6703 <p>The format of the MagickSetImageFormat method is:</p>
6704
6705 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageFormat(MagickWand *wand,
6706 const char *format)
6707 </samp></pre>
6708
6709 <p>A description of each parameter follows:</p>
6710
6711 <dd>
6712 </dd>
6713
6714 <dd> </dd>
6715 <dl class="dl-horizontal">
6716 <dt>wand</dt>
6717 <dd>the magick wand. </dd>
6718
6719 <dd> </dd>
6720 <dt>format</dt>
6721 <dd>the image format. </dd>
6722
6723 <dd> </dd>
6724 </dl>
6725 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageFuzz">MagickSetImageFuzz</a></h2>
6726
6727 <p>MagickSetImageFuzz() sets the image fuzz.</p>
6728
6729 <p>The format of the MagickSetImageFuzz method is:</p>
6730
6731 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageFuzz(MagickWand *wand,
6732 const double fuzz)
6733 </samp></pre>
6734
6735 <p>A description of each parameter follows:</p>
6736
6737 <dd>
6738 </dd>
6739
6740 <dd> </dd>
6741 <dl class="dl-horizontal">
6742 <dt>wand</dt>
6743 <dd>the magick wand. </dd>
6744
6745 <dd> </dd>
6746 <dt>fuzz</dt>
6747 <dd>the image fuzz. </dd>
6748
6749 <dd> </dd>
6750 </dl>
6751 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageGamma">MagickSetImageGamma</a></h2>
6752
6753 <p>MagickSetImageGamma() sets the image gamma.</p>
6754
6755 <p>The format of the MagickSetImageGamma method is:</p>
6756
6757 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageGamma(MagickWand *wand,
6758 const double gamma)
6759 </samp></pre>
6760
6761 <p>A description of each parameter follows:</p>
6762
6763 <dd>
6764 </dd>
6765
6766 <dd> </dd>
6767 <dl class="dl-horizontal">
6768 <dt>wand</dt>
6769 <dd>the magick wand. </dd>
6770
6771 <dd> </dd>
6772 <dt>gamma</dt>
6773 <dd>the image gamma. </dd>
6774
6775 <dd> </dd>
6776 </dl>
6777 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageGravity">MagickSetImageGravity</a></h2>
6778
6779 <p>MagickSetImageGravity() sets the image gravity type.</p>
6780
6781 <p>The format of the MagickSetImageGravity method is:</p>
6782
6783 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageGravity(MagickWand *wand,
6784 const GravityType gravity)
6785 </samp></pre>
6786
6787 <p>A description of each parameter follows:</p>
6788
6789 <dd>
6790 </dd>
6791
6792 <dd> </dd>
6793 <dl class="dl-horizontal">
6794 <dt>wand</dt>
6795 <dd>the magick wand. </dd>
6796
6797 <dd> </dd>
6798 <dt>gravity</dt>
6799 <dd>positioning gravity (NorthWestGravity, NorthGravity, NorthEastGravity, WestGravity, CenterGravity, EastGravity, SouthWestGravity, SouthGravity, SouthEastGravity) </dd>
6800
6801 <dd> </dd>
6802 </dl>
6803 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageGreenPrimary">MagickSetImageGreenPrimary</a></h2>
6804
6805 <p>MagickSetImageGreenPrimary() sets the image chromaticity green primary point.</p>
6806
6807 <p>The format of the MagickSetImageGreenPrimary method is:</p>
6808
6809 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageGreenPrimary(MagickWand *wand,
6810 const double x,const double y,const double z)
6811 </samp></pre>
6812
6813 <p>A description of each parameter follows:</p>
6814
6815 <dd>
6816 </dd>
6817
6818 <dd> </dd>
6819 <dl class="dl-horizontal">
6820 <dt>wand</dt>
6821 <dd>the magick wand. </dd>
6822
6823 <dd> </dd>
6824 <dt>x</dt>
6825 <dd>the green primary x-point. </dd>
6826
6827 <dd> </dd>
6828 <dt>y</dt>
6829 <dd>the green primary y-point. </dd>
6830
6831 <dd> </dd>
6832 <dt>z</dt>
6833 <dd>the green primary z-point. </dd>
6834
6835 <dd> </dd>
6836 </dl>
6837 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageInterlaceScheme">MagickSetImageInterlaceScheme</a></h2>
6838
6839 <p>MagickSetImageInterlaceScheme() sets the image interlace scheme.</p>
6840
6841 <p>The format of the MagickSetImageInterlaceScheme method is:</p>
6842
6843 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageInterlaceScheme(MagickWand *wand,
6844 const InterlaceType interlace)
6845 </samp></pre>
6846
6847 <p>A description of each parameter follows:</p>
6848
6849 <dd>
6850 </dd>
6851
6852 <dd> </dd>
6853 <dl class="dl-horizontal">
6854 <dt>wand</dt>
6855 <dd>the magick wand. </dd>
6856
6857 <dd> </dd>
6858 <dt>interlace</dt>
6859 <dd>the image interlace scheme: NoInterlace, LineInterlace, PlaneInterlace, PartitionInterlace. </dd>
6860
6861 <dd> </dd>
6862 </dl>
6863 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageInterpolateMethod">MagickSetImageInterpolateMethod</a></h2>
6864
6865 <p>MagickSetImageInterpolateMethod() sets the image interpolate pixel method.</p>
6866
6867 <p>The format of the MagickSetImageInterpolateMethod method is:</p>
6868
6869 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageInterpolateMethod(MagickWand *wand,
6870 const PixelInterpolateMethod method)
6871 </samp></pre>
6872
6873 <p>A description of each parameter follows:</p>
6874
6875 <dd>
6876 </dd>
6877
6878 <dd> </dd>
6879 <dl class="dl-horizontal">
6880 <dt>wand</dt>
6881 <dd>the magick wand. </dd>
6882
6883 <dd> </dd>
6884 <dt>method</dt>
6885 <dd>the image interpole pixel methods: choose from Undefined, Average, Bicubic, Bilinear, Filter, Integer, Mesh, NearestNeighbor. </dd>
6886
6887 <dd> </dd>
6888 </dl>
6889 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageIterations">MagickSetImageIterations</a></h2>
6890
6891 <p>MagickSetImageIterations() sets the image iterations.</p>
6892
6893 <p>The format of the MagickSetImageIterations method is:</p>
6894
6895 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageIterations(MagickWand *wand,
6896 const size_t iterations)
6897 </samp></pre>
6898
6899 <p>A description of each parameter follows:</p>
6900
6901 <dd>
6902 </dd>
6903
6904 <dd> </dd>
6905 <dl class="dl-horizontal">
6906 <dt>wand</dt>
6907 <dd>the magick wand. </dd>
6908
6909 <dd> </dd>
6910 <dt>delay</dt>
6911 <dd>the image delay in 1/100th of a second. </dd>
6912
6913 <dd> </dd>
6914 </dl>
6915 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageMatte">MagickSetImageMatte</a></h2>
6916
6917 <p>MagickSetImageMatte() sets the image matte channel.</p>
6918
6919 <p>The format of the MagickSetImageMatte method is:</p>
6920
6921 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageMatte(MagickWand *wand,
6922 const MagickBooleanType matte)
6923 </samp></pre>
6924
6925 <p>A description of each parameter follows:</p>
6926
6927 <dd>
6928 </dd>
6929
6930 <dd> </dd>
6931 <dl class="dl-horizontal">
6932 <dt>wand</dt>
6933 <dd>the magick wand. </dd>
6934
6935 <dd> </dd>
6936 <dt>matte</dt>
6937 <dd>Set to MagickTrue to enable the image matte channel otherwise MagickFalse. </dd>
6938
6939 <dd> </dd>
6940 </dl>
6941 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageMatteColor">MagickSetImageMatteColor</a></h2>
6942
6943 <p>MagickSetImageMatteColor() sets the image alpha color.</p>
6944
6945 <p>The format of the MagickSetImageMatteColor method is:</p>
6946
6947 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageMatteColor(MagickWand *wand,
6948 const PixelWand *matte)
6949 </samp></pre>
6950
6951 <p>A description of each parameter follows:</p>
6952
6953 <dd>
6954 </dd>
6955
6956 <dd> </dd>
6957 <dl class="dl-horizontal">
6958 <dt>wand</dt>
6959 <dd>the magick wand. </dd>
6960
6961 <dd> </dd>
6962 <dt>matte</dt>
6963 <dd>the alpha pixel wand. </dd>
6964
6965 <dd> </dd>
6966 </dl>
6967 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageAlpha">MagickSetImageAlpha</a></h2>
6968
6969 <p>MagickSetImageAlpha() sets the image to the specified alpha level.</p>
6970
6971 <p>The format of the MagickSetImageAlpha method is:</p>
6972
6973 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageAlpha(MagickWand *wand,
6974 const double alpha)
6975 </samp></pre>
6976
6977 <p>A description of each parameter follows:</p>
6978
6979 <dd>
6980 </dd>
6981
6982 <dd> </dd>
6983 <dl class="dl-horizontal">
6984 <dt>wand</dt>
6985 <dd>the magick wand. </dd>
6986
6987 <dd> </dd>
6988 <dt>alpha</dt>
6989 <dd>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent. </dd>
6990
6991 <dd> </dd>
6992 </dl>
6993 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageOrientation">MagickSetImageOrientation</a></h2>
6994
6995 <p>MagickSetImageOrientation() sets the image orientation.</p>
6996
6997 <p>The format of the MagickSetImageOrientation method is:</p>
6998
6999 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageOrientation(MagickWand *wand,
7000 const OrientationType orientation)
7001 </samp></pre>
7002
7003 <p>A description of each parameter follows:</p>
7004
7005 <dd>
7006 </dd>
7007
7008 <dd> </dd>
7009 <dl class="dl-horizontal">
7010 <dt>wand</dt>
7011 <dd>the magick wand. </dd>
7012
7013 <dd> </dd>
7014 <dt>orientation</dt>
7015 <dd>the image orientation type. </dd>
7016
7017 <dd> </dd>
7018 </dl>
7019 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImagePage">MagickSetImagePage</a></h2>
7020
7021 <p>MagickSetImagePage() sets the page geometry of the image.</p>
7022
7023 <p>The format of the MagickSetImagePage method is:</p>
7024
7025 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImagePage(MagickWand *wand,const size_t width, const size_t height,const ssize_t x,const ssize_t y)
7026 </samp></pre>
7027
7028 <p>A description of each parameter follows:</p>
7029
7030 <dd>
7031 </dd>
7032
7033 <dd> </dd>
7034 <dl class="dl-horizontal">
7035 <dt>wand</dt>
7036 <dd>the magick wand. </dd>
7037
7038 <dd> </dd>
7039 <dt>width</dt>
7040 <dd>the page width. </dd>
7041
7042 <dd> </dd>
7043 <dt>height</dt>
7044 <dd>the page height. </dd>
7045
7046 <dd> </dd>
7047 <dt>x</dt>
7048 <dd>the page x-offset. </dd>
7049
7050 <dd> </dd>
7051 <dt>y</dt>
7052 <dd>the page y-offset. </dd>
7053
7054 <dd> </dd>
7055 </dl>
7056 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImagePixelColor">MagickSetImagePixelColor</a></h2>
7057
7058 <p>MagickSetImagePixelColor() sets the color of the specified pixel.</p>
7059
7060 <p>The format of the MagickSetImagePixelColor method is:</p>
7061
7062 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImagePixelColor(MagickWand *wand,
7063 const ssize_t x,const ssize_t y,const PixelWand *color)
7064 </samp></pre>
7065
7066 <p>A description of each parameter follows:</p>
7067
7068 <dd>
7069 </dd>
7070
7071 <dd> </dd>
7072 <dl class="dl-horizontal">
7073 <dt>wand</dt>
7074 <dd>the magick wand. </dd>
7075
7076 <dd> </dd>
7077 <dt>x,y</dt>
7078 <dd>the pixel offset into the image. </dd>
7079
7080 <dd> </dd>
7081 <dt>color</dt>
7082 <dd>Return the colormap color in this wand. </dd>
7083
7084 <dd> </dd>
7085 </dl>
7086 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageProgressMonitor">MagickSetImageProgressMonitor</a></h2>
7087
7088 <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>
7089
7090 <pre class="bg-light text-dark mx-4"><samp> MagickBooleanType MagickProgressMonitor(const char *text,
7091 const MagickOffsetType offset,const MagickSizeType span,
7092 void *client_data)
7093 </samp></pre>
7094
7095 <p>If the progress monitor returns MagickFalse, the current operation is interrupted.</p>
7096
7097 <p>The format of the MagickSetImageProgressMonitor method is:</p>
7098
7099 <pre class="bg-light text-dark mx-4"><samp>MagickProgressMonitor MagickSetImageProgressMonitor(MagickWand *wand
7100 const MagickProgressMonitor progress_monitor,void *client_data)
7101 </samp></pre>
7102
7103 <p>A description of each parameter follows:</p>
7104
7105 <dd>
7106 </dd>
7107
7108 <dd> </dd>
7109 <dl class="dl-horizontal">
7110 <dt>wand</dt>
7111 <dd>the magick wand. </dd>
7112
7113 <dd> </dd>
7114 <dt>progress_monitor</dt>
7115 <dd>Specifies a pointer to a method to monitor progress of an image operation. </dd>
7116
7117 <dd> </dd>
7118 <dt>client_data</dt>
7119 <dd>Specifies a pointer to any client data. </dd>
7120
7121 <dd> </dd>
7122 </dl>
7123 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageRedPrimary">MagickSetImageRedPrimary</a></h2>
7124
7125 <p>MagickSetImageRedPrimary() sets the image chromaticity red primary point.</p>
7126
7127 <p>The format of the MagickSetImageRedPrimary method is:</p>
7128
7129 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageRedPrimary(MagickWand *wand,
7130 const double x,const double y,const double z)
7131 </samp></pre>
7132
7133 <p>A description of each parameter follows:</p>
7134
7135 <dd>
7136 </dd>
7137
7138 <dd> </dd>
7139 <dl class="dl-horizontal">
7140 <dt>wand</dt>
7141 <dd>the magick wand. </dd>
7142
7143 <dd> </dd>
7144 <dt>x</dt>
7145 <dd>the red primary x-point. </dd>
7146
7147 <dd> </dd>
7148 <dt>y</dt>
7149 <dd>the red primary y-point. </dd>
7150
7151 <dd> </dd>
7152 <dt>z</dt>
7153 <dd>the red primary z-point. </dd>
7154
7155 <dd> </dd>
7156 </dl>
7157 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageRenderingIntent">MagickSetImageRenderingIntent</a></h2>
7158
7159 <p>MagickSetImageRenderingIntent() sets the image rendering intent.</p>
7160
7161 <p>The format of the MagickSetImageRenderingIntent method is:</p>
7162
7163 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageRenderingIntent(MagickWand *wand,
7164 const RenderingIntent rendering_intent)
7165 </samp></pre>
7166
7167 <p>A description of each parameter follows:</p>
7168
7169 <dd>
7170 </dd>
7171
7172 <dd> </dd>
7173 <dl class="dl-horizontal">
7174 <dt>wand</dt>
7175 <dd>the magick wand. </dd>
7176
7177 <dd> </dd>
7178 <dt>rendering_intent</dt>
7179 <dd>the image rendering intent: UndefinedIntent, SaturationIntent, PerceptualIntent, AbsoluteIntent, or RelativeIntent. </dd>
7180
7181 <dd> </dd>
7182 </dl>
7183 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageResolution">MagickSetImageResolution</a></h2>
7184
7185 <p>MagickSetImageResolution() sets the image resolution.</p>
7186
7187 <p>The format of the MagickSetImageResolution method is:</p>
7188
7189 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageResolution(MagickWand *wand,
7190 const double x_resolution,const double y_resolution)
7191 </samp></pre>
7192
7193 <p>A description of each parameter follows:</p>
7194
7195 <dd>
7196 </dd>
7197
7198 <dd> </dd>
7199 <dl class="dl-horizontal">
7200 <dt>wand</dt>
7201 <dd>the magick wand. </dd>
7202
7203 <dd> </dd>
7204 <dt>x_resolution</dt>
7205 <dd>the image x resolution. </dd>
7206
7207 <dd> </dd>
7208 <dt>y_resolution</dt>
7209 <dd>the image y resolution. </dd>
7210
7211 <dd> </dd>
7212 </dl>
7213 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageScene">MagickSetImageScene</a></h2>
7214
7215 <p>MagickSetImageScene() sets the image scene.</p>
7216
7217 <p>The format of the MagickSetImageScene method is:</p>
7218
7219 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageScene(MagickWand *wand,
7220 const size_t scene)
7221 </samp></pre>
7222
7223 <p>A description of each parameter follows:</p>
7224
7225 <dd>
7226 </dd>
7227
7228 <dd> </dd>
7229 <dl class="dl-horizontal">
7230 <dt>wand</dt>
7231 <dd>the magick wand. </dd>
7232
7233 <dd> </dd>
7234 <dt>delay</dt>
7235 <dd>the image scene number. </dd>
7236
7237 <dd> </dd>
7238 </dl>
7239 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageTicksPerSecond">MagickSetImageTicksPerSecond</a></h2>
7240
7241 <p>MagickSetImageTicksPerSecond() sets the image ticks-per-second.</p>
7242
7243 <p>The format of the MagickSetImageTicksPerSecond method is:</p>
7244
7245 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageTicksPerSecond(MagickWand *wand,
7246 const ssize_t ticks_per_second)
7247 </samp></pre>
7248
7249 <p>A description of each parameter follows:</p>
7250
7251 <dd>
7252 </dd>
7253
7254 <dd> </dd>
7255 <dl class="dl-horizontal">
7256 <dt>wand</dt>
7257 <dd>the magick wand. </dd>
7258
7259 <dd> </dd>
7260 <dt>ticks_per_second</dt>
7261 <dd>the units to use for the image delay. </dd>
7262
7263 <dd> </dd>
7264 </dl>
7265 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageType">MagickSetImageType</a></h2>
7266
7267 <p>MagickSetImageType() sets the image type.</p>
7268
7269 <p>The format of the MagickSetImageType method is:</p>
7270
7271 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageType(MagickWand *wand,
7272 const ImageType image_type)
7273 </samp></pre>
7274
7275 <p>A description of each parameter follows:</p>
7276
7277 <dd>
7278 </dd>
7279
7280 <dd> </dd>
7281 <dl class="dl-horizontal">
7282 <dt>wand</dt>
7283 <dd>the magick wand. </dd>
7284
7285 <dd> </dd>
7286 <dt>image_type</dt>
7287 <dd>the image type: UndefinedType, BilevelType, GrayscaleType, GrayscaleAlphaType, PaletteType, PaletteAlphaType, TrueColorType, TrueColorAlphaType, ColorSeparationType, ColorSeparationAlphaType, or OptimizeType. </dd>
7288
7289 <dd> </dd>
7290 </dl>
7291 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageUnits">MagickSetImageUnits</a></h2>
7292
7293 <p>MagickSetImageUnits() sets the image units of resolution.</p>
7294
7295 <p>The format of the MagickSetImageUnits method is:</p>
7296
7297 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageUnits(MagickWand *wand,
7298 const ResolutionType units)
7299 </samp></pre>
7300
7301 <p>A description of each parameter follows:</p>
7302
7303 <dd>
7304 </dd>
7305
7306 <dd> </dd>
7307 <dl class="dl-horizontal">
7308 <dt>wand</dt>
7309 <dd>the magick wand. </dd>
7310
7311 <dd> </dd>
7312 <dt>units</dt>
7313 <dd>the image units of resolution : UndefinedResolution, PixelsPerInchResolution, or PixelsPerCentimeterResolution. </dd>
7314
7315 <dd> </dd>
7316 </dl>
7317 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageVirtualPixelMethod">MagickSetImageVirtualPixelMethod</a></h2>
7318
7319 <p>MagickSetImageVirtualPixelMethod() sets the image virtual pixel method.</p>
7320
7321 <p>The format of the MagickSetImageVirtualPixelMethod method is:</p>
7322
7323 <pre class="bg-light text-dark mx-4"><samp>VirtualPixelMethod MagickSetImageVirtualPixelMethod(MagickWand *wand,
7324 const VirtualPixelMethod method)
7325 </samp></pre>
7326
7327 <p>A description of each parameter follows:</p>
7328
7329 <dd>
7330 </dd>
7331
7332 <dd> </dd>
7333 <dl class="dl-horizontal">
7334 <dt>wand</dt>
7335 <dd>the magick wand. </dd>
7336
7337 <dd> </dd>
7338 <dt>method</dt>
7339 <dd>the image virtual pixel method : UndefinedVirtualPixelMethod, ConstantVirtualPixelMethod, EdgeVirtualPixelMethod, MirrorVirtualPixelMethod, or TileVirtualPixelMethod. </dd>
7340
7341 <dd> </dd>
7342 </dl>
7343 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSetImageWhitePoint">MagickSetImageWhitePoint</a></h2>
7344
7345 <p>MagickSetImageWhitePoint() sets the image chromaticity white point.</p>
7346
7347 <p>The format of the MagickSetImageWhitePoint method is:</p>
7348
7349 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSetImageWhitePoint(MagickWand *wand,
7350 const double x,const double y,const double z)
7351 </samp></pre>
7352
7353 <p>A description of each parameter follows:</p>
7354
7355 <dd>
7356 </dd>
7357
7358 <dd> </dd>
7359 <dl class="dl-horizontal">
7360 <dt>wand</dt>
7361 <dd>the magick wand. </dd>
7362
7363 <dd> </dd>
7364 <dt>x</dt>
7365 <dd>the white x-point. </dd>
7366
7367 <dd> </dd>
7368 <dt>y</dt>
7369 <dd>the white y-point. </dd>
7370
7371 <dd> </dd>
7372 <dt>z</dt>
7373 <dd>the white z-point. </dd>
7374
7375 <dd> </dd>
7376 </dl>
7377 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickShadeImage">MagickShadeImage</a></h2>
7378
7379 <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>
7380
7381 <p>The format of the MagickShadeImage method is:</p>
7382
7383 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickShadeImage(MagickWand *wand,
7384 const MagickBooleanType gray,const double azimuth,
7385 const double elevation)
7386 </samp></pre>
7387
7388 <p>A description of each parameter follows:</p>
7389
7390 <dd>
7391 </dd>
7392
7393 <dd> </dd>
7394 <dl class="dl-horizontal">
7395 <dt>wand</dt>
7396 <dd>the magick wand. </dd>
7397
7398 <dd> </dd>
7399 <dt>gray</dt>
7400 <dd>A value other than zero shades the intensity of each pixel. </dd>
7401
7402 <dd> </dd>
7403 <dt>azimuth, elevation</dt>
7404 <dd> Define the light source direction. </dd>
7405
7406 <dd> </dd>
7407 </dl>
7408 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickShadowImage">MagickShadowImage</a></h2>
7409
7410 <p>MagickShadowImage() simulates an image shadow.</p>
7411
7412 <p>The format of the MagickShadowImage method is:</p>
7413
7414 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickShadowImage(MagickWand *wand,const double alpha,
7415 const double sigma,const ssize_t x,const ssize_t y)
7416 </samp></pre>
7417
7418 <p>A description of each parameter follows:</p>
7419
7420 <dd>
7421 </dd>
7422
7423 <dd> </dd>
7424 <dl class="dl-horizontal">
7425 <dt>wand</dt>
7426 <dd>the magick wand. </dd>
7427
7428 <dd> </dd>
7429 <dt>alpha</dt>
7430 <dd>percentage transparency. </dd>
7431
7432 <dd> </dd>
7433 <dt>sigma</dt>
7434 <dd>the standard deviation of the Gaussian, in pixels. </dd>
7435
7436 <dd> </dd>
7437 <dt>x</dt>
7438 <dd>the shadow x-offset. </dd>
7439
7440 <dd> </dd>
7441 <dt>y</dt>
7442 <dd>the shadow y-offset. </dd>
7443
7444 <dd> </dd>
7445 </dl>
7446 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSharpenImage">MagickSharpenImage</a></h2>
7447
7448 <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>
7449
7450 <p>The format of the MagickSharpenImage method is:</p>
7451
7452 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSharpenImage(MagickWand *wand,
7453 const double radius,const double sigma)
7454 </samp></pre>
7455
7456 <p>A description of each parameter follows:</p>
7457
7458 <dd>
7459 </dd>
7460
7461 <dd> </dd>
7462 <dl class="dl-horizontal">
7463 <dt>wand</dt>
7464 <dd>the magick wand. </dd>
7465
7466 <dd> </dd>
7467 <dt>radius</dt>
7468 <dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
7469
7470 <dd> </dd>
7471 <dt>sigma</dt>
7472 <dd>the standard deviation of the Gaussian, in pixels. </dd>
7473
7474 <dd> </dd>
7475 </dl>
7476 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickShaveImage">MagickShaveImage</a></h2>
7477
7478 <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>
7479
7480 <p>The format of the MagickShaveImage method is:</p>
7481
7482 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickShaveImage(MagickWand *wand,
7483 const size_t columns,const size_t rows)
7484 </samp></pre>
7485
7486 <p>A description of each parameter follows:</p>
7487
7488 <dd>
7489 </dd>
7490
7491 <dd> </dd>
7492 <dl class="dl-horizontal">
7493 <dt>wand</dt>
7494 <dd>the magick wand. </dd>
7495
7496 <dd> </dd>
7497 <dt>columns</dt>
7498 <dd>the number of columns in the scaled image. </dd>
7499
7500 <dd> </dd>
7501 <dt>rows</dt>
7502 <dd>the number of rows in the scaled image. </dd>
7503
7504 <dd> </dd>
7505
7506 <dd> </dd>
7507 </dl>
7508 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickShearImage">MagickShearImage</a></h2>
7509
7510 <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>
7511
7512 <p>The format of the MagickShearImage method is:</p>
7513
7514 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickShearImage(MagickWand *wand,
7515 const PixelWand *background,const double x_shear,const double y_shear)
7516 </samp></pre>
7517
7518 <p>A description of each parameter follows:</p>
7519
7520 <dd>
7521 </dd>
7522
7523 <dd> </dd>
7524 <dl class="dl-horizontal">
7525 <dt>wand</dt>
7526 <dd>the magick wand. </dd>
7527
7528 <dd> </dd>
7529 <dt>background</dt>
7530 <dd>the background pixel wand. </dd>
7531
7532 <dd> </dd>
7533 <dt>x_shear</dt>
7534 <dd>the number of degrees to shear the image. </dd>
7535
7536 <dd> </dd>
7537 <dt>y_shear</dt>
7538 <dd>the number of degrees to shear the image. </dd>
7539
7540 <dd> </dd>
7541 </dl>
7542 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSigmoidalContrastImage">MagickSigmoidalContrastImage</a></h2>
7543
7544 <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>
7545
7546 <p>The format of the MagickSigmoidalContrastImage method is:</p>
7547
7548 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSigmoidalContrastImage(MagickWand *wand,
7549 const MagickBooleanType sharpen,const double alpha,const double beta)
7550 </samp></pre>
7551
7552 <p>A description of each parameter follows:</p>
7553
7554 <dd>
7555 </dd>
7556
7557 <dd> </dd>
7558 <dl class="dl-horizontal">
7559 <dt>wand</dt>
7560 <dd>the magick wand. </dd>
7561
7562 <dd> </dd>
7563 <dt>sharpen</dt>
7564 <dd>Increase or decrease image contrast. </dd>
7565
7566 <dd> </dd>
7567 <dt>alpha</dt>
7568 <dd>strength of the contrast, the larger the number the more 'threshold-like' it becomes. </dd>
7569
7570 <dd> </dd>
7571 <dt>beta</dt>
7572 <dd>midpoint of the function as a color value 0 to QuantumRange. </dd>
7573
7574 <dd> </dd>
7575 </dl>
7576 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSimilarityImage">MagickSimilarityImage</a></h2>
7577
7578 <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>
7579
7580 <p>The format of the MagickSimilarityImage method is:</p>
7581
7582 <pre class="bg-light text-dark mx-4"><samp>MagickWand *MagickSimilarityImage(MagickWand *wand,
7583 const MagickWand *reference,const MetricType metric,
7584 const double similarity_threshold,RectangleInfo *offset,
7585 double *similarity)
7586 </samp></pre>
7587
7588 <p>A description of each parameter follows:</p>
7589
7590 <dd>
7591 </dd>
7592
7593 <dd> </dd>
7594 <dl class="dl-horizontal">
7595 <dt>wand</dt>
7596 <dd>the magick wand. </dd>
7597
7598 <dd> </dd>
7599 <dt>reference</dt>
7600 <dd>the reference wand. </dd>
7601
7602 <dd> </dd>
7603 <dt>metric</dt>
7604 <dd>the metric. </dd>
7605
7606 <dd> </dd>
7607 <dt>similarity_threshold</dt>
7608 <dd>minimum distortion for (sub)image match. </dd>
7609
7610 <dd> </dd>
7611 <dt>offset</dt>
7612 <dd>the best match offset of the reference image within the image. </dd>
7613
7614 <dd> </dd>
7615 <dt>similarity</dt>
7616 <dd>the computed similarity between the images. </dd>
7617
7618 <dd> </dd>
7619 </dl>
7620 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSketchImage">MagickSketchImage</a></h2>
7621
7622 <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>
7623
7624 <p>The format of the MagickSketchImage method is:</p>
7625
7626 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSketchImage(MagickWand *wand,
7627 const double radius,const double sigma,const double angle)
7628 </samp></pre>
7629
7630 <p>A description of each parameter follows:</p>
7631
7632 <dd>
7633 </dd>
7634
7635 <dd> </dd>
7636 <dl class="dl-horizontal">
7637 <dt>wand</dt>
7638 <dd>the magick wand. </dd>
7639
7640 <dd> </dd>
7641 <dt>radius</dt>
7642 <dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
7643
7644 <dd> </dd>
7645 <dt>sigma</dt>
7646 <dd>the standard deviation of the Gaussian, in pixels. </dd>
7647
7648 <dd> </dd>
7649 <dt>angle</dt>
7650 <dd>apply the effect along this angle. </dd>
7651
7652 <dd> </dd>
7653 </dl>
7654 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSmushImages">MagickSmushImages</a></h2>
7655
7656 <p>MagickSmushImages() takes all images from the current image pointer to the end of the image list and smushes them to each other top-to-bottom if the stack parameter is true, otherwise left-to-right.</p>
7657
7658 <p>The format of the MagickSmushImages method is:</p>
7659
7660 <pre class="bg-light text-dark mx-4"><samp>MagickWand *MagickSmushImages(MagickWand *wand,
7661 const MagickBooleanType stack,const ssize_t offset)
7662 </samp></pre>
7663
7664 <p>A description of each parameter follows:</p>
7665
7666 <dd>
7667 </dd>
7668
7669 <dd> </dd>
7670 <dl class="dl-horizontal">
7671 <dt>wand</dt>
7672 <dd>the magick wand. </dd>
7673
7674 <dd> </dd>
7675 <dt>stack</dt>
7676 <dd>By default, images are stacked left-to-right. Set stack to MagickTrue to stack them top-to-bottom. </dd>
7677
7678 <dd> </dd>
7679 <dt>offset</dt>
7680 <dd>minimum distance in pixels between images. </dd>
7681
7682 <dd> </dd>
7683 </dl>
7684 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSolarizeImage">MagickSolarizeImage</a></h2>
7685
7686 <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>
7687
7688 <p>The format of the MagickSolarizeImage method is:</p>
7689
7690 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSolarizeImage(MagickWand *wand,
7691 const double threshold)
7692 </samp></pre>
7693
7694 <p>A description of each parameter follows:</p>
7695
7696 <dd>
7697 </dd>
7698
7699 <dd> </dd>
7700 <dl class="dl-horizontal">
7701 <dt>wand</dt>
7702 <dd>the magick wand. </dd>
7703
7704 <dd> </dd>
7705 <dt>threshold</dt>
7706 <dd> Define the extent of the solarization. </dd>
7707
7708 <dd> </dd>
7709 </dl>
7710 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSparseColorImage">MagickSparseColorImage</a></h2>
7711
7712 <p>MagickSparseColorImage(), given a set of coordinates, interpolates the colors found at those coordinates, across the whole image, using various methods.</p>
7713
7714 <p>The format of the MagickSparseColorImage method is:</p>
7715
7716 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSparseColorImage(MagickWand *wand,
7717 const SparseColorMethod method,const size_t number_arguments,
7718 const double *arguments)
7719 </samp></pre>
7720
7721 <p>A description of each parameter follows:</p>
7722
7723 <dd>
7724 </dd>
7725
7726 <dd> </dd>
7727 <dl class="dl-horizontal">
7728 <dt>image</dt>
7729 <dd>the image to be sparseed. </dd>
7730
7731 <dd> </dd>
7732 <dt>method</dt>
7733 <dd>the method of image sparseion. </dd>
7734
7735 <dd> 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. </dd>
7736
7737 <dd> Bilinear has no simple inverse mapping so will not allow 'bestfit' style of image sparseion. </dd>
7738
7739 <dd> Affine, Perspective, and Bilinear, will do least squares fitting of the distortion when more than the minimum number of control point pairs are provided. </dd>
7740
7741 <dd> 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) distortion, one pair is a translation and two pairs of control points will do a scale-rotate-translate, without any shearing. </dd>
7742
7743 <dd> </dd>
7744 <dt>number_arguments</dt>
7745 <dd>the number of arguments given for this sparseion method. </dd>
7746
7747 <dd> </dd>
7748 <dt>arguments</dt>
7749 <dd>the arguments for this sparseion method. </dd>
7750
7751 <dd> </dd>
7752 </dl>
7753 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSpliceImage">MagickSpliceImage</a></h2>
7754
7755 <p>MagickSpliceImage() splices a solid color into the image.</p>
7756
7757 <p>The format of the MagickSpliceImage method is:</p>
7758
7759 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSpliceImage(MagickWand *wand,
7760 const size_t width,const size_t height,const ssize_t x,
7761 const ssize_t y)
7762 </samp></pre>
7763
7764 <p>A description of each parameter follows:</p>
7765
7766 <dd>
7767 </dd>
7768
7769 <dd> </dd>
7770 <dl class="dl-horizontal">
7771 <dt>wand</dt>
7772 <dd>the magick wand. </dd>
7773
7774 <dd> </dd>
7775 <dt>width</dt>
7776 <dd>the region width. </dd>
7777
7778 <dd> </dd>
7779 <dt>height</dt>
7780 <dd>the region height. </dd>
7781
7782 <dd> </dd>
7783 <dt>x</dt>
7784 <dd>the region x offset. </dd>
7785
7786 <dd> </dd>
7787 <dt>y</dt>
7788 <dd>the region y offset. </dd>
7789
7790 <dd> </dd>
7791 </dl>
7792 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSpreadImage">MagickSpreadImage</a></h2>
7793
7794 <p>MagickSpreadImage() is a special effects method that randomly displaces each pixel in a block defined by the radius parameter.</p>
7795
7796 <p>The format of the MagickSpreadImage method is:</p>
7797
7798 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSpreadImage(MagickWand *wand,
7799 const PixelInterpolateMethod method,const double radius)
7800 </samp></pre>
7801
7802 <p>A description of each parameter follows:</p>
7803
7804 <dd>
7805 </dd>
7806
7807 <dd> </dd>
7808 <dl class="dl-horizontal">
7809 <dt>wand</dt>
7810 <dd>the magick wand. </dd>
7811
7812 <dd> </dd>
7813 <dt>method</dt>
7814 <dd> interpolation method. </dd>
7815
7816 <dd> </dd>
7817 <dt>radius</dt>
7818 <dd> Choose a random pixel in a neighborhood of this extent. </dd>
7819
7820 <dd> </dd>
7821 </dl>
7822 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickStatisticImage">MagickStatisticImage</a></h2>
7823
7824 <p>MagickStatisticImage() replace each pixel with corresponding statistic from the neighborhood of the specified width and height.</p>
7825
7826 <p>The format of the MagickStatisticImage method is:</p>
7827
7828 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickStatisticImage(MagickWand *wand,
7829 const StatisticType type,const size_t width,const size_t height)
7830 </samp></pre>
7831
7832 <p>A description of each parameter follows:</p>
7833
7834 <dd>
7835 </dd>
7836
7837 <dd> </dd>
7838 <dl class="dl-horizontal">
7839 <dt>wand</dt>
7840 <dd>the magick wand. </dd>
7841
7842 <dd> </dd>
7843 <dt>type</dt>
7844 <dd>the statistic type (e.g. median, mode, etc.). </dd>
7845
7846 <dd> </dd>
7847 <dt>width</dt>
7848 <dd>the width of the pixel neighborhood. </dd>
7849
7850 <dd> </dd>
7851 <dt>height</dt>
7852 <dd>the height of the pixel neighborhood. </dd>
7853
7854 <dd> </dd>
7855 </dl>
7856 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSteganoImage">MagickSteganoImage</a></h2>
7857
7858 <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>
7859
7860 <p>The format of the MagickSteganoImage method is:</p>
7861
7862 <pre class="bg-light text-dark mx-4"><samp>MagickWand *MagickSteganoImage(MagickWand *wand,
7863 const MagickWand *watermark_wand,const ssize_t offset)
7864 </samp></pre>
7865
7866 <p>A description of each parameter follows:</p>
7867
7868 <dd>
7869 </dd>
7870
7871 <dd> </dd>
7872 <dl class="dl-horizontal">
7873 <dt>wand</dt>
7874 <dd>the magick wand. </dd>
7875
7876 <dd> </dd>
7877 <dt>watermark_wand</dt>
7878 <dd>the watermark wand. </dd>
7879
7880 <dd> </dd>
7881 <dt>offset</dt>
7882 <dd>Start hiding at this offset into the image. </dd>
7883
7884 <dd> </dd>
7885 </dl>
7886 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickStereoImage">MagickStereoImage</a></h2>
7887
7888 <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>
7889
7890 <p>The format of the MagickStereoImage method is:</p>
7891
7892 <pre class="bg-light text-dark mx-4"><samp>MagickWand *MagickStereoImage(MagickWand *wand,
7893 const MagickWand *offset_wand)
7894 </samp></pre>
7895
7896 <p>A description of each parameter follows:</p>
7897
7898 <dd>
7899 </dd>
7900
7901 <dd> </dd>
7902 <dl class="dl-horizontal">
7903 <dt>wand</dt>
7904 <dd>the magick wand. </dd>
7905
7906 <dd> </dd>
7907 <dt>offset_wand</dt>
7908 <dd>Another image wand. </dd>
7909
7910 <dd> </dd>
7911 </dl>
7912 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickStripImage">MagickStripImage</a></h2>
7913
7914 <p>MagickStripImage() strips an image of all profiles and comments.</p>
7915
7916 <p>The format of the MagickStripImage method is:</p>
7917
7918 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickStripImage(MagickWand *wand)
7919 </samp></pre>
7920
7921 <p>A description of each parameter follows:</p>
7922
7923 <dd>
7924 </dd>
7925
7926 <dd> </dd>
7927 <dl class="dl-horizontal">
7928 <dt>wand</dt>
7929 <dd>the magick wand. </dd>
7930
7931 <dd> </dd>
7932 </dl>
7933 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickSwirlImage">MagickSwirlImage</a></h2>
7934
7935 <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>
7936
7937 <p>The format of the MagickSwirlImage method is:</p>
7938
7939 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickSwirlImage(MagickWand *wand,const double degrees,
7940 const PixelInterpolateMethod method)
7941 </samp></pre>
7942
7943 <p>A description of each parameter follows:</p>
7944
7945 <dd>
7946 </dd>
7947
7948 <dd> </dd>
7949 <dl class="dl-horizontal">
7950 <dt>wand</dt>
7951 <dd>the magick wand. </dd>
7952
7953 <dd> </dd>
7954 <dt>degrees</dt>
7955 <dd>Define the tightness of the swirling effect. </dd>
7956
7957 <dd> </dd>
7958 <dt>method</dt>
7959 <dd>the pixel interpolation method. </dd>
7960
7961 <dd> </dd>
7962 </dl>
7963 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickTextureImage">MagickTextureImage</a></h2>
7964
7965 <p>MagickTextureImage() repeatedly tiles the texture image across and down the image canvas.</p>
7966
7967 <p>The format of the MagickTextureImage method is:</p>
7968
7969 <pre class="bg-light text-dark mx-4"><samp>MagickWand *MagickTextureImage(MagickWand *wand,
7970 const MagickWand *texture_wand)
7971 </samp></pre>
7972
7973 <p>A description of each parameter follows:</p>
7974
7975 <dd>
7976 </dd>
7977
7978 <dd> </dd>
7979 <dl class="dl-horizontal">
7980 <dt>wand</dt>
7981 <dd>the magick wand. </dd>
7982
7983 <dd> </dd>
7984 <dt>texture_wand</dt>
7985 <dd>the texture wand </dd>
7986
7987 <dd> </dd>
7988 </dl>
7989 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickThresholdImage">MagickThresholdImage</a></h2>
7990
7991 <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>
7992
7993 <p>The format of the MagickThresholdImage method is:</p>
7994
7995 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickThresholdImage(MagickWand *wand,
7996 const double threshold)
7997 MagickBooleanType MagickThresholdImageChannel(MagickWand *wand,
7998 const ChannelType channel,const double threshold)
7999 </samp></pre>
8000
8001 <p>A description of each parameter follows:</p>
8002
8003 <dd>
8004 </dd>
8005
8006 <dd> </dd>
8007 <dl class="dl-horizontal">
8008 <dt>wand</dt>
8009 <dd>the magick wand. </dd>
8010
8011 <dd> </dd>
8012 <dt>channel</dt>
8013 <dd>the image channel(s). </dd>
8014
8015 <dd> </dd>
8016 <dt>threshold</dt>
8017 <dd>Define the threshold value. </dd>
8018
8019 <dd> </dd>
8020 </dl>
8021 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickThumbnailImage">MagickThumbnailImage</a></h2>
8022
8023 <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>
8024
8025 <p>The format of the MagickThumbnailImage method is:</p>
8026
8027 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickThumbnailImage(MagickWand *wand,
8028 const size_t columns,const size_t rows)
8029 </samp></pre>
8030
8031 <p>A description of each parameter follows:</p>
8032
8033 <dd>
8034 </dd>
8035
8036 <dd> </dd>
8037 <dl class="dl-horizontal">
8038 <dt>wand</dt>
8039 <dd>the magick wand. </dd>
8040
8041 <dd> </dd>
8042 <dt>columns</dt>
8043 <dd>the number of columns in the scaled image. </dd>
8044
8045 <dd> </dd>
8046 <dt>rows</dt>
8047 <dd>the number of rows in the scaled image. </dd>
8048
8049 <dd> </dd>
8050 </dl>
8051 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickTintImage">MagickTintImage</a></h2>
8052
8053 <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>
8054
8055 <p>The format of the MagickTintImage method is:</p>
8056
8057 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickTintImage(MagickWand *wand,
8058 const PixelWand *tint,const PixelWand *blend)
8059 </samp></pre>
8060
8061 <p>A description of each parameter follows:</p>
8062
8063 <dd>
8064 </dd>
8065
8066 <dd> </dd>
8067 <dl class="dl-horizontal">
8068 <dt>wand</dt>
8069 <dd>the magick wand. </dd>
8070
8071 <dd> </dd>
8072 <dt>tint</dt>
8073 <dd>the tint pixel wand. </dd>
8074
8075 <dd> </dd>
8076 <dt>alpha</dt>
8077 <dd>the alpha pixel wand. </dd>
8078
8079 <dd> </dd>
8080 </dl>
8081 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickTransformImageColorspace">MagickTransformImageColorspace</a></h2>
8082
8083 <p>MagickTransformImageColorspace() transform the image colorspace, setting the images colorspace while transforming the images data to that colorspace.</p>
8084
8085 <p>The format of the MagickTransformImageColorspace method is:</p>
8086
8087 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickTransformImageColorspace(MagickWand *wand,
8088 const ColorspaceType colorspace)
8089 </samp></pre>
8090
8091 <p>A description of each parameter follows:</p>
8092
8093 <dd>
8094 </dd>
8095
8096 <dd> </dd>
8097 <dl class="dl-horizontal">
8098 <dt>wand</dt>
8099 <dd>the magick wand. </dd>
8100
8101 <dd> </dd>
8102 <dt>colorspace</dt>
8103 <dd>the image colorspace: UndefinedColorspace, sRGBColorspace, RGBColorspace, GRAYColorspace, OHTAColorspace, XYZColorspace, YCbCrColorspace, YCCColorspace, YIQColorspace, YPbPrColorspace, YPbPrColorspace, YUVColorspace, CMYKColorspace, HSLColorspace, HWBColorspace. </dd>
8104
8105 <dd> </dd>
8106 </dl>
8107 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickTransparentPaintImage">MagickTransparentPaintImage</a></h2>
8108
8109 <p>MagickTransparentPaintImage() changes any pixel that matches color with the color defined by fill.</p>
8110
8111 <p>The format of the MagickTransparentPaintImage method is:</p>
8112
8113 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickTransparentPaintImage(MagickWand *wand,
8114 const PixelWand *target,const double alpha,const double fuzz,
8115 const MagickBooleanType invert)
8116 </samp></pre>
8117
8118 <p>A description of each parameter follows:</p>
8119
8120 <dd>
8121 </dd>
8122
8123 <dd> </dd>
8124 <dl class="dl-horizontal">
8125 <dt>wand</dt>
8126 <dd>the magick wand. </dd>
8127
8128 <dd> </dd>
8129 <dt>target</dt>
8130 <dd>Change this target color to specified alpha value within the image. </dd>
8131
8132 <dd> </dd>
8133 <dt>alpha</dt>
8134 <dd>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent. </dd>
8135
8136 <dd> </dd>
8137 <dt>fuzz</dt>
8138 <dd>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. </dd>
8139
8140 <dd> </dd>
8141 <dt>invert</dt>
8142 <dd>paint any pixel that does not match the target color. </dd>
8143
8144 <dd> </dd>
8145 </dl>
8146 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickTransposeImage">MagickTransposeImage</a></h2>
8147
8148 <p>MagickTransposeImage() creates a vertical mirror image by reflecting the pixels around the central x-axis while rotating them 90-degrees.</p>
8149
8150 <p>The format of the MagickTransposeImage method is:</p>
8151
8152 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickTransposeImage(MagickWand *wand)
8153 </samp></pre>
8154
8155 <p>A description of each parameter follows:</p>
8156
8157 <dd>
8158 </dd>
8159
8160 <dd> </dd>
8161 <dl class="dl-horizontal">
8162 <dt>wand</dt>
8163 <dd>the magick wand. </dd>
8164
8165 <dd> </dd>
8166 </dl>
8167 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickTransverseImage">MagickTransverseImage</a></h2>
8168
8169 <p>MagickTransverseImage() creates a horizontal mirror image by reflecting the pixels around the central y-axis while rotating them 270-degrees.</p>
8170
8171 <p>The format of the MagickTransverseImage method is:</p>
8172
8173 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickTransverseImage(MagickWand *wand)
8174 </samp></pre>
8175
8176 <p>A description of each parameter follows:</p>
8177
8178 <dd>
8179 </dd>
8180
8181 <dd> </dd>
8182 <dl class="dl-horizontal">
8183 <dt>wand</dt>
8184 <dd>the magick wand. </dd>
8185
8186 <dd> </dd>
8187 </dl>
8188 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickTrimImage">MagickTrimImage</a></h2>
8189
8190 <p>MagickTrimImage() remove edges that are the background color from the image.</p>
8191
8192 <p>The format of the MagickTrimImage method is:</p>
8193
8194 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickTrimImage(MagickWand *wand,const double fuzz)
8195 </samp></pre>
8196
8197 <p>A description of each parameter follows:</p>
8198
8199 <dd>
8200 </dd>
8201
8202 <dd> </dd>
8203 <dl class="dl-horizontal">
8204 <dt>wand</dt>
8205 <dd>the magick wand. </dd>
8206
8207 <dd> </dd>
8208 <dt>fuzz</dt>
8209 <dd>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. </dd>
8210
8211 <dd> </dd>
8212 </dl>
8213 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickUniqueImageColors">MagickUniqueImageColors</a></h2>
8214
8215 <p>MagickUniqueImageColors() discards all but one of any pixel color.</p>
8216
8217 <p>The format of the MagickUniqueImageColors method is:</p>
8218
8219 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickUniqueImageColors(MagickWand *wand)
8220 </samp></pre>
8221
8222 <p>A description of each parameter follows:</p>
8223
8224 <dd>
8225 </dd>
8226
8227 <dd> </dd>
8228 <dl class="dl-horizontal">
8229 <dt>wand</dt>
8230 <dd>the magick wand. </dd>
8231
8232 <dd> </dd>
8233 </dl>
8234 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickUnsharpMaskImage">MagickUnsharpMaskImage</a></h2>
8235
8236 <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>
8237
8238 <p>The format of the MagickUnsharpMaskImage method is:</p>
8239
8240 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickUnsharpMaskImage(MagickWand *wand,
8241 const double radius,const double sigma,const double gain,
8242 const double threshold)
8243 </samp></pre>
8244
8245 <p>A description of each parameter follows:</p>
8246
8247 <dd>
8248 </dd>
8249
8250 <dd> </dd>
8251 <dl class="dl-horizontal">
8252 <dt>wand</dt>
8253 <dd>the magick wand. </dd>
8254
8255 <dd> </dd>
8256 <dt>radius</dt>
8257 <dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd>
8258
8259 <dd> </dd>
8260 <dt>sigma</dt>
8261 <dd>the standard deviation of the Gaussian, in pixels. </dd>
8262
8263 <dd> </dd>
8264 <dt>gain</dt>
8265 <dd>the percentage of the difference between the original and the blur image that is added back into the original. </dd>
8266
8267 <dd> </dd>
8268 <dt>threshold</dt>
8269 <dd>the threshold in pixels needed to apply the difference gain. </dd>
8270
8271 <dd> </dd>
8272 </dl>
8273 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickVignetteImage">MagickVignetteImage</a></h2>
8274
8275 <p>MagickVignetteImage() softens the edges of the image in vignette style.</p>
8276
8277 <p>The format of the MagickVignetteImage method is:</p>
8278
8279 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickVignetteImage(MagickWand *wand,
8280 const double radius,const double sigma,const ssize_t x,
8281 const ssize_t y)
8282 </samp></pre>
8283
8284 <p>A description of each parameter follows:</p>
8285
8286 <dd>
8287 </dd>
8288
8289 <dd> </dd>
8290 <dl class="dl-horizontal">
8291 <dt>wand</dt>
8292 <dd>the magick wand. </dd>
8293
8294 <dd> </dd>
8295 <dt>radius</dt>
8296 <dd>the radius. </dd>
8297
8298 <dd> </dd>
8299 <dt>sigma</dt>
8300 <dd>the sigma. </dd>
8301
8302 <dd> </dd>
8303 <dt>x, y</dt>
8304 <dd> Define the x and y ellipse offset. </dd>
8305
8306 <dd> </dd>
8307 </dl>
8308 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickWaveImage">MagickWaveImage</a></h2>
8309
8310 <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>
8311
8312 <p>The format of the MagickWaveImage method is:</p>
8313
8314 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickWaveImage(MagickWand *wand,
8315 const double amplitude,const double wave_length,
8316 const PixelInterpolateMethod method)
8317 </samp></pre>
8318
8319 <p>A description of each parameter follows:</p>
8320
8321 <dd>
8322 </dd>
8323
8324 <dd> </dd>
8325 <dl class="dl-horizontal">
8326 <dt>wand</dt>
8327 <dd>the magick wand. </dd>
8328
8329 <dd> </dd>
8330 <dt>amplitude, wave_length</dt>
8331 <dd> Define the amplitude and wave length of the sine wave. </dd>
8332
8333 <dd> </dd>
8334 <dt>method</dt>
8335 <dd>the pixel interpolation method. </dd>
8336
8337 <dd> </dd>
8338 </dl>
8339 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickWaveletDenoiseImage">MagickWaveletDenoiseImage</a></h2>
8340
8341 <p>MagickWaveletDenoiseImage() removes noise from the image using a wavelet transform. The wavelet transform is a fast hierarchical scheme for processing an image using a set of consecutive lowpass and high_pass filters, followed by a decimation. This results in a decomposition into different scales which can be regarded as different “frequency bands”, determined by the mother wavelet.</p>
8342
8343 <p>The format of the MagickWaveletDenoiseImage method is:</p>
8344
8345 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickWaveletDenoiseImage(MagickWand *wand,
8346 const double threshold,const double softness)
8347 </samp></pre>
8348
8349 <p>A description of each parameter follows:</p>
8350
8351 <dd>
8352 </dd>
8353
8354 <dd> </dd>
8355 <dl class="dl-horizontal">
8356 <dt>wand</dt>
8357 <dd>the magick wand. </dd>
8358
8359 <dd> </dd>
8360 <dt>threshold</dt>
8361 <dd>set the threshold for smoothing. </dd>
8362
8363 <dd> </dd>
8364 <dt>softness</dt>
8365 <dd>attenuate the smoothing threshold. </dd>
8366
8367 <dd> </dd>
8368 </dl>
8369 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickWhiteBalanceImage">MagickWhiteBalanceImage</a></h2>
8370
8371 <p>MagickWhiteBalanceImage() applies white balancing to an image according to a grayworld assumption in the LAB colorspace.</p>
8372
8373 <p>The format of the WhiteBalanceImage method is:</p>
8374
8375 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickWhiteBalanceImage(MagickWand *wand)
8376 </samp></pre>
8377
8378 <p>A description of each parameter follows:</p>
8379
8380 <dd>
8381 </dd>
8382
8383 <dd> </dd>
8384 <dl class="dl-horizontal">
8385 <dt>wand</dt>
8386 <dd>the magick wand. </dd>
8387
8388 <dd> </dd>
8389 </dl>
8390 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickWhiteThresholdImage">MagickWhiteThresholdImage</a></h2>
8391
8392 <p>MagickWhiteThresholdImage() is like ThresholdImage() but force all pixels above the threshold into white while leaving all pixels below the threshold unchanged.</p>
8393
8394 <p>The format of the MagickWhiteThresholdImage method is:</p>
8395
8396 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickWhiteThresholdImage(MagickWand *wand,
8397 const PixelWand *threshold)
8398 </samp></pre>
8399
8400 <p>A description of each parameter follows:</p>
8401
8402 <dd>
8403 </dd>
8404
8405 <dd> </dd>
8406 <dl class="dl-horizontal">
8407 <dt>wand</dt>
8408 <dd>the magick wand. </dd>
8409
8410 <dd> </dd>
8411 <dt>threshold</dt>
8412 <dd>the pixel wand. </dd>
8413
8414 <dd> </dd>
8415 </dl>
8416 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickWriteImage">MagickWriteImage</a></h2>
8417
8418 <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>
8419
8420 <p>The format of the MagickWriteImage method is:</p>
8421
8422 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickWriteImage(MagickWand *wand,
8423 const char *filename)
8424 </samp></pre>
8425
8426 <p>A description of each parameter follows:</p>
8427
8428 <dd>
8429 </dd>
8430
8431 <dd> </dd>
8432 <dl class="dl-horizontal">
8433 <dt>wand</dt>
8434 <dd>the magick wand. </dd>
8435
8436 <dd> </dd>
8437 <dt>filename</dt>
8438 <dd>the image filename. </dd>
8439
8440 <dd> </dd>
8441
8442 <dd> </dd>
8443 </dl>
8444 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickWriteImageFile">MagickWriteImageFile</a></h2>
8445
8446 <p>MagickWriteImageFile() writes an image to an open file descriptor.</p>
8447
8448 <p>The format of the MagickWriteImageFile method is:</p>
8449
8450 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickWriteImageFile(MagickWand *wand,FILE *file)
8451 </samp></pre>
8452
8453 <p>A description of each parameter follows:</p>
8454
8455 <dd>
8456 </dd>
8457
8458 <dd> </dd>
8459 <dl class="dl-horizontal">
8460 <dt>wand</dt>
8461 <dd>the magick wand. </dd>
8462
8463 <dd> </dd>
8464 <dt>file</dt>
8465 <dd>the file descriptor. </dd>
8466
8467 <dd> </dd>
8468 </dl>
8469 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickWriteImages">MagickWriteImages</a></h2>
8470
8471 <p>MagickWriteImages() writes an image or image sequence.</p>
8472
8473 <p>The format of the MagickWriteImages method is:</p>
8474
8475 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickWriteImages(MagickWand *wand,
8476 const char *filename,const MagickBooleanType adjoin)
8477 </samp></pre>
8478
8479 <p>A description of each parameter follows:</p>
8480
8481 <dd>
8482 </dd>
8483
8484 <dd> </dd>
8485 <dl class="dl-horizontal">
8486 <dt>wand</dt>
8487 <dd>the magick wand. </dd>
8488
8489 <dd> </dd>
8490 <dt>filename</dt>
8491 <dd>the image filename. </dd>
8492
8493 <dd> </dd>
8494 <dt>adjoin</dt>
8495 <dd>join images into a single multi-image file. </dd>
8496
8497 <dd> </dd>
8498 </dl>
8499 <h2><a href="../../api/MagickWand/magick-image_8c.html" id="MagickWriteImagesFile">MagickWriteImagesFile</a></h2>
8500
8501 <p>MagickWriteImagesFile() writes an image sequence to an open file descriptor.</p>
8502
8503 <p>The format of the MagickWriteImagesFile method is:</p>
8504
8505 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType MagickWriteImagesFile(MagickWand *wand,FILE *file)
8506 </samp></pre>
8507
8508 <p>A description of each parameter follows:</p>
8509
8510 <dd>
8511 </dd>
8512
8513 <dd> </dd>
8514 <dl class="dl-horizontal">
8515 <dt>wand</dt>
8516 <dd>the magick wand. </dd>
8517
8518 <dd> </dd>
8519 <dt>file</dt>
8520 <dd>the file descriptor. </dd>
8521
8522 <dd> </dd>
8523 </dl>
8524 </div>
8525 </main><!-- /.container -->
8526 <footer class="py-5 text-center text-body-secondary bg-body-tertiary">
8527 <div class="container-fluid">
8528 <a href="../www/security-policy.html">Security</a> •
8529 <a href="../www/news.html">News</a>
8530
8531 <a href="#"><img class="d-inline" id="wand" alt="And Now a Touch of Magick" width="16" height="16" src="../../../../../../../images/wand.ico"/></a>
8532
8533 <a href="../www/links.html">Related</a> •
8534 <a href="../www/sitemap.html">Sitemap</a>
8535 <br/>
8536 <a href="../www/support.html">Sponsor</a> •
8537 <a href="../www/cite.html">Cite</a> •
8538 <a href="http://pgp.mit.edu/pks/lookup?op=get&amp;search=0x89AB63D48277377A">Public Key</a> •
8539 <a href="../www/contact.html">Contact Us</a>
8540 <br/>
8541 <a href="https://github.com/imagemagick/imagemagick" target="_blank" rel="noopener" aria-label="GitHub"><svg xmlns="http://www.w3.org/2000/svg" class="navbar-nav-svg" viewBox="0 0 512 499.36" width="2%" height="2%" role="img" focusable="false"><title>GitHub</title><path fill="currentColor" fill-rule="evenodd" d="M256 0C114.64 0 0 114.61 0 256c0 113.09 73.34 209 175.08 242.9 12.8 2.35 17.47-5.56 17.47-12.34 0-6.08-.22-22.18-.35-43.54-71.2 15.49-86.2-34.34-86.2-34.34-11.64-29.57-28.42-37.45-28.42-37.45-23.27-15.84 1.73-15.55 1.73-15.55 25.69 1.81 39.21 26.38 39.21 26.38 22.84 39.12 59.92 27.82 74.5 21.27 2.33-16.54 8.94-27.82 16.25-34.22-56.84-6.43-116.6-28.43-116.6-126.49 0-27.95 10-50.8 26.35-68.69-2.63-6.48-11.42-32.5 2.51-67.75 0 0 21.49-6.88 70.4 26.24a242.65 242.65 0 0 1 128.18 0c48.87-33.13 70.33-26.24 70.33-26.24 14 35.25 5.18 61.27 2.55 67.75 16.41 17.9 26.31 40.75 26.31 68.69 0 98.35-59.85 120-116.88 126.32 9.19 7.9 17.38 23.53 17.38 47.41 0 34.22-.31 61.83-.31 70.23 0 6.85 4.61 14.81 17.6 12.31C438.72 464.97 512 369.08 512 256.02 512 114.62 397.37 0 256 0z"/></svg></a> •
8542 <a href="https://twitter.com/imagemagick" target="_blank" rel="noopener" aria-label="Twitter"><svg xmlns="http://www.w3.org/2000/svg" class="navbar-nav-svg" viewBox="0 0 300 300" width="2%" height="2%" role="img" focusable="false"><title>Twitter</title><path d="M178.57 127.15 290.27 0h-26.46l-97.03 110.38L89.34 0H0l117.13 166.93L0 300.25h26.46l102.4-116.59 81.8 116.59h89.34M36.01 19.54H76.66l187.13 262.13h-40.66"/></svg></a>
8543 <br/>
8544 <small>Copyright © 1999 ImageMagick Studio LLC</small>
8545 </div>
8546 </footer>
8547 </div>
8548
8549 <!-- Javascript assets -->
8550 <script src="../assets/bootstrap.bundle.min.js" ></script>
8551 </body>
8552 </html>