Debian Codegraph @

www/api/magick-image.html

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