Debian Codegraph @

www/api/pixel-wand.html

raw symbols ◀ ▶
Source reconstructed at patch state 2 of 4 — not the installed (fully patched) source.
4 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: Pixel Wand Methods</title>
12 <meta name="keywords" content="MagickWand, C API: Pixel Wand 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="pixel-wand.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: Pixel Wand Methods</h1>
131 </a>
132 </header>
133
134 <main class="container">
135 <h1 class="text-center">Pixel-wand</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="#ClearPixelWand">ClearPixelWand</a></li>
142 <li><a href="#ClonePixelWand">ClonePixelWand</a></li>
143 <li><a href="#ClonePixelWands">ClonePixelWands</a></li>
144 <li><a href="#DestroyPixelWand">DestroyPixelWand</a></li>
145 <li><a href="#DestroyPixelWands">DestroyPixelWands</a></li>
146 <li><a href="#IsPixelWandSimilar">IsPixelWandSimilar</a></li>
147 <li><a href="#IsPixelWand">IsPixelWand</a></li>
148 <li><a href="#NewPixelWand">NewPixelWand</a></li>
149 <li><a href="#NewPixelWands">NewPixelWands</a></li>
150 <li><a href="#PixelClearException">PixelClearException</a></li>
151 <li><a href="#PixelGetAlpha">PixelGetAlpha</a></li>
152 <li><a href="#PixelGetAlphaQuantum">PixelGetAlphaQuantum</a></li>
153 <li><a href="#PixelGetBlack">PixelGetBlack</a></li>
154 <li><a href="#PixelGetBlackQuantum">PixelGetBlackQuantum</a></li>
155 <li><a href="#PixelGetBlue">PixelGetBlue</a></li>
156 <li><a href="#PixelGetBlueQuantum">PixelGetBlueQuantum</a></li>
157 <li><a href="#PixelGetColorAsString">PixelGetColorAsString</a></li>
158 <li><a href="#PixelGetColorAsNormalizedString">PixelGetColorAsNormalizedString</a></li>
159 <li><a href="#PixelGetColorCount">PixelGetColorCount</a></li>
160 <li><a href="#PixelGetCyan">PixelGetCyan</a></li>
161 <li><a href="#PixelGetCyanQuantum">PixelGetCyanQuantum</a></li>
162 <li><a href="#PixelGetException">PixelGetException</a></li>
163 <li><a href="#PixelGetExceptionType">PixelGetExceptionType</a></li>
164 <li><a href="#PixelGetFuzz">PixelGetFuzz</a></li>
165 <li><a href="#PixelGetGreen">PixelGetGreen</a></li>
166 <li><a href="#PixelGetGreenQuantum">PixelGetGreenQuantum</a></li>
167 <li><a href="#PixelGetHSL">PixelGetHSL</a></li>
168 <li><a href="#PixelGetIndex">PixelGetIndex</a></li>
169 <li><a href="#PixelGetMagenta">PixelGetMagenta</a></li>
170 <li><a href="#PixelGetMagentaQuantum">PixelGetMagentaQuantum</a></li>
171 <li><a href="#PixelGetMagickColor">PixelGetMagickColor</a></li>
172 <li><a href="#PixelGetPixel">PixelGetPixel</a></li>
173 <li><a href="#PixelGetQuantumPacket">PixelGetQuantumPacket</a></li>
174 <li><a href="#PixelGetQuantumPixel">PixelGetQuantumPixel</a></li>
175 <li><a href="#PixelGetRed">PixelGetRed</a></li>
176 <li><a href="#PixelGetRedQuantum">PixelGetRedQuantum</a></li>
177 <li><a href="#PixelGetYellow">PixelGetYellow</a></li>
178 <li><a href="#PixelGetYellowQuantum">PixelGetYellowQuantum</a></li>
179 <li><a href="#PixelSetAlpha">PixelSetAlpha</a></li>
180 <li><a href="#PixelSetAlphaQuantum">PixelSetAlphaQuantum</a></li>
181 <li><a href="#PixelSetBlack">PixelSetBlack</a></li>
182 <li><a href="#PixelSetBlackQuantum">PixelSetBlackQuantum</a></li>
183 <li><a href="#PixelSetBlue">PixelSetBlue</a></li>
184 <li><a href="#PixelSetBlueQuantum">PixelSetBlueQuantum</a></li>
185 <li><a href="#PixelSetColor">PixelSetColor</a></li>
186 <li><a href="#PixelSetColorCount">PixelSetColorCount</a></li>
187 <li><a href="#PixelSetColorFromWand">PixelSetColorFromWand</a></li>
188 <li><a href="#PixelSetCyan">PixelSetCyan</a></li>
189 <li><a href="#PixelSetCyanQuantum">PixelSetCyanQuantum</a></li>
190 <li><a href="#PixelSetFuzz">PixelSetFuzz</a></li>
191 <li><a href="#PixelSetGreen">PixelSetGreen</a></li>
192 <li><a href="#PixelSetGreenQuantum">PixelSetGreenQuantum</a></li>
193 <li><a href="#PixelSetHSL">PixelSetHSL</a></li>
194 <li><a href="#PixelSetIndex">PixelSetIndex</a></li>
195 <li><a href="#PixelSetMagenta">PixelSetMagenta</a></li>
196 <li><a href="#PixelSetMagentaQuantum">PixelSetMagentaQuantum</a></li>
197 <li><a href="#PixelSetPixelColor">PixelSetPixelColor</a></li>
198 <li><a href="#PixelSetQuantumPixel">PixelSetQuantumPixel</a></li>
199 <li><a href="#PixelSetRed">PixelSetRed</a></li>
200 <li><a href="#PixelSetRedQuantum">PixelSetRedQuantum</a></li>
201 <li><a href="#PixelSetYellow">PixelSetYellow</a></li>
202 </ul>
203 </div>
204 <br/>
205 <br/>
206 <div class="magick-header">
207 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="ClearPixelWand">ClearPixelWand</a></h2>
208
209 <p>ClearPixelWand() clears resources associated with the wand.</p>
210
211 <p>The format of the ClearPixelWand method is:</p>
212
213 <pre class="bg-light text-dark mx-4"><samp>void ClearPixelWand(PixelWand *wand)
214 </samp></pre>
215
216 <p>A description of each parameter follows:</p>
217
218 <dd>
219 </dd>
220
221 <dd> </dd>
222 <dl class="dl-horizontal">
223 <dt>wand</dt>
224 <dd>the pixel wand. </dd>
225
226 <dd> </dd>
227 </dl>
228 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="ClonePixelWand">ClonePixelWand</a></h2>
229
230 <p>ClonePixelWand() makes an exact copy of the specified wand.</p>
231
232 <p>The format of the ClonePixelWand method is:</p>
233
234 <pre class="bg-light text-dark mx-4"><samp>PixelWand *ClonePixelWand(const PixelWand *wand)
235 </samp></pre>
236
237 <p>A description of each parameter follows:</p>
238
239 <dd>
240 </dd>
241
242 <dd> </dd>
243 <dl class="dl-horizontal">
244 <dt>wand</dt>
245 <dd>the magick wand. </dd>
246
247 <dd> </dd>
248 </dl>
249 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="ClonePixelWands">ClonePixelWands</a></h2>
250
251 <p>ClonePixelWands() makes an exact copy of the specified wands.</p>
252
253 <p>The format of the ClonePixelWands method is:</p>
254
255 <pre class="bg-light text-dark mx-4"><samp>PixelWand **ClonePixelWands(const PixelWand **wands,
256 const size_t number_wands)
257 </samp></pre>
258
259 <p>A description of each parameter follows:</p>
260
261 <dd>
262 </dd>
263
264 <dd> </dd>
265 <dl class="dl-horizontal">
266 <dt>wands</dt>
267 <dd>the magick wands. </dd>
268
269 <dd> </dd>
270 <dt>number_wands</dt>
271 <dd>the number of wands. </dd>
272
273 <dd> </dd>
274 </dl>
275 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="DestroyPixelWand">DestroyPixelWand</a></h2>
276
277 <p>DestroyPixelWand() deallocates resources associated with a PixelWand.</p>
278
279 <p>The format of the DestroyPixelWand method is:</p>
280
281 <pre class="bg-light text-dark mx-4"><samp>PixelWand *DestroyPixelWand(PixelWand *wand)
282 </samp></pre>
283
284 <p>A description of each parameter follows:</p>
285
286 <dd>
287 </dd>
288
289 <dd> </dd>
290 <dl class="dl-horizontal">
291 <dt>wand</dt>
292 <dd>the pixel wand. </dd>
293
294 <dd> </dd>
295 </dl>
296 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="DestroyPixelWands">DestroyPixelWands</a></h2>
297
298 <p>DestroyPixelWands() deallocates resources associated with an array of pixel wands.</p>
299
300 <p>The format of the DestroyPixelWands method is:</p>
301
302 <pre class="bg-light text-dark mx-4"><samp>PixelWand **DestroyPixelWands(PixelWand **wand,
303 const size_t number_wands)
304 </samp></pre>
305
306 <p>A description of each parameter follows:</p>
307
308 <dd>
309 </dd>
310
311 <dd> </dd>
312 <dl class="dl-horizontal">
313 <dt>wand</dt>
314 <dd>the pixel wand. </dd>
315
316 <dd> </dd>
317 <dt>number_wands</dt>
318 <dd>the number of wands. </dd>
319
320 <dd> </dd>
321 </dl>
322 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="IsPixelWandSimilar">IsPixelWandSimilar</a></h2>
323
324 <p>IsPixelWandSimilar() returns MagickTrue if the distance between two colors is less than the specified distance.</p>
325
326 <p>The format of the IsPixelWandSimilar method is:</p>
327
328 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType IsPixelWandSimilar(PixelWand *p,PixelWand *q,
329 const double fuzz)
330 </samp></pre>
331
332 <p>A description of each parameter follows:</p>
333
334 <dd>
335 </dd>
336
337 <dd> </dd>
338 <dl class="dl-horizontal">
339 <dt>p</dt>
340 <dd>the pixel wand. </dd>
341
342 <dd> </dd>
343 <dt>q</dt>
344 <dd>the pixel wand. </dd>
345
346 <dd> </dd>
347 <dt>fuzz</dt>
348 <dd>any two colors that are less than or equal to this distance squared are consider similar. </dd>
349
350 <dd> </dd>
351 </dl>
352 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="IsPixelWand">IsPixelWand</a></h2>
353
354 <p>IsPixelWand() returns MagickTrue if the wand is verified as a pixel wand.</p>
355
356 <p>The format of the IsPixelWand method is:</p>
357
358 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType IsPixelWand(const PixelWand *wand)
359 </samp></pre>
360
361 <p>A description of each parameter follows:</p>
362
363 <dd>
364 </dd>
365
366 <dd> </dd>
367 <dl class="dl-horizontal">
368 <dt>wand</dt>
369 <dd>the magick wand. </dd>
370
371 <dd> </dd>
372 </dl>
373 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="NewPixelWand">NewPixelWand</a></h2>
374
375 <p>NewPixelWand() returns a new pixel wand.</p>
376
377 <p>The format of the NewPixelWand method is:</p>
378
379 <pre class="bg-light text-dark mx-4"><samp>PixelWand *NewPixelWand(void)
380 </samp></pre>
381
382 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="NewPixelWands">NewPixelWands</a></h2>
383
384 <p>NewPixelWands() returns an array of pixel wands.</p>
385
386 <p>The format of the NewPixelWands method is:</p>
387
388 <pre class="bg-light text-dark mx-4"><samp>PixelWand **NewPixelWands(const size_t number_wands)
389 </samp></pre>
390
391 <p>A description of each parameter follows:</p>
392
393 <dd>
394 </dd>
395
396 <dd> </dd>
397 <dl class="dl-horizontal">
398 <dt>number_wands</dt>
399 <dd>the number of wands. </dd>
400
401 <dd> </dd>
402 </dl>
403 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelClearException">PixelClearException</a></h2>
404
405 <p>PixelClearException() clear any exceptions associated with the iterator.</p>
406
407 <p>The format of the PixelClearException method is:</p>
408
409 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType PixelClearException(PixelWand *wand)
410 </samp></pre>
411
412 <p>A description of each parameter follows:</p>
413
414 <dd>
415 </dd>
416
417 <dd> </dd>
418 <dl class="dl-horizontal">
419 <dt>wand</dt>
420 <dd>the pixel wand. </dd>
421
422 <dd> </dd>
423 </dl>
424 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelGetAlpha">PixelGetAlpha</a></h2>
425
426 <p>PixelGetAlpha() returns the normalized alpha value of the pixel wand.</p>
427
428 <p>The format of the PixelGetAlpha method is:</p>
429
430 <pre class="bg-light text-dark mx-4"><samp>double PixelGetAlpha(const PixelWand *wand)
431 </samp></pre>
432
433 <p>A description of each parameter follows:</p>
434
435 <dd>
436 </dd>
437
438 <dd> </dd>
439 <dl class="dl-horizontal">
440 <dt>wand</dt>
441 <dd>the pixel wand. </dd>
442
443 <dd> </dd>
444 </dl>
445 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelGetAlphaQuantum">PixelGetAlphaQuantum</a></h2>
446
447 <p>PixelGetAlphaQuantum() returns the alpha value of the pixel wand.</p>
448
449 <p>The format of the PixelGetAlphaQuantum method is:</p>
450
451 <pre class="bg-light text-dark mx-4"><samp>Quantum PixelGetAlphaQuantum(const PixelWand *wand)
452 </samp></pre>
453
454 <p>A description of each parameter follows:</p>
455
456 <dd>
457 </dd>
458
459 <dd> </dd>
460 <dl class="dl-horizontal">
461 <dt>wand</dt>
462 <dd>the pixel wand. </dd>
463
464 <dd> </dd>
465 </dl>
466 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelGetBlack">PixelGetBlack</a></h2>
467
468 <p>PixelGetBlack() returns the normalized black color of the pixel wand.</p>
469
470 <p>The format of the PixelGetBlack method is:</p>
471
472 <pre class="bg-light text-dark mx-4"><samp>double PixelGetBlack(const PixelWand *wand)
473 </samp></pre>
474
475 <p>A description of each parameter follows:</p>
476
477 <dd>
478 </dd>
479
480 <dd> </dd>
481 <dl class="dl-horizontal">
482 <dt>wand</dt>
483 <dd>the pixel wand. </dd>
484
485 <dd> </dd>
486 </dl>
487 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelGetBlackQuantum">PixelGetBlackQuantum</a></h2>
488
489 <p>PixelGetBlackQuantum() returns the black color of the pixel wand.</p>
490
491 <p>The format of the PixelGetBlackQuantum method is:</p>
492
493 <pre class="bg-light text-dark mx-4"><samp>Quantum PixelGetBlackQuantum(const PixelWand *wand)
494 </samp></pre>
495
496 <p>A description of each parameter follows:</p>
497
498 <dd>
499 </dd>
500
501 <dd> </dd>
502 <dl class="dl-horizontal">
503 <dt>wand</dt>
504 <dd>the pixel wand. </dd>
505
506 <dd> </dd>
507 </dl>
508 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelGetBlue">PixelGetBlue</a></h2>
509
510 <p>PixelGetBlue() returns the normalized blue color of the pixel wand.</p>
511
512 <p>The format of the PixelGetBlue method is:</p>
513
514 <pre class="bg-light text-dark mx-4"><samp>double PixelGetBlue(const PixelWand *wand)
515 </samp></pre>
516
517 <p>A description of each parameter follows:</p>
518
519 <dd>
520 </dd>
521
522 <dd> </dd>
523 <dl class="dl-horizontal">
524 <dt>wand</dt>
525 <dd>the pixel wand. </dd>
526
527 <dd> </dd>
528 </dl>
529 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelGetBlueQuantum">PixelGetBlueQuantum</a></h2>
530
531 <p>PixelGetBlueQuantum() returns the blue color of the pixel wand.</p>
532
533 <p>The format of the PixelGetBlueQuantum method is:</p>
534
535 <pre class="bg-light text-dark mx-4"><samp>Quantum PixelGetBlueQuantum(const PixelWand *wand)
536 </samp></pre>
537
538 <p>A description of each parameter follows:</p>
539
540 <dd>
541 </dd>
542
543 <dd> </dd>
544 <dl class="dl-horizontal">
545 <dt>wand</dt>
546 <dd>the pixel wand. </dd>
547
548 <dd> </dd>
549 </dl>
550 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelGetColorAsString">PixelGetColorAsString</a></h2>
551
552 <p>PixelGetColorAsString() returns the color of the pixel wand as a string.</p>
553
554 <p>The format of the PixelGetColorAsString method is:</p>
555
556 <pre class="bg-light text-dark mx-4"><samp>char *PixelGetColorAsString(PixelWand *wand)
557 </samp></pre>
558
559 <p>A description of each parameter follows:</p>
560
561 <dd>
562 </dd>
563
564 <dd> </dd>
565 <dl class="dl-horizontal">
566 <dt>wand</dt>
567 <dd>the pixel wand. </dd>
568
569 <dd> </dd>
570 </dl>
571 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelGetColorAsNormalizedString">PixelGetColorAsNormalizedString</a></h2>
572
573 <p>PixelGetColorAsNormalizedString() returns the normalized color of the pixel wand as a string.</p>
574
575 <p>The format of the PixelGetColorAsNormalizedString method is:</p>
576
577 <pre class="bg-light text-dark mx-4"><samp>char *PixelGetColorAsNormalizedString(PixelWand *wand)
578 </samp></pre>
579
580 <p>A description of each parameter follows:</p>
581
582 <dd>
583 </dd>
584
585 <dd> </dd>
586 <dl class="dl-horizontal">
587 <dt>wand</dt>
588 <dd>the pixel wand. </dd>
589
590 <dd> </dd>
591 </dl>
592 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelGetColorCount">PixelGetColorCount</a></h2>
593
594 <p>PixelGetColorCount() returns the color count associated with this color.</p>
595
596 <p>The format of the PixelGetColorCount method is:</p>
597
598 <pre class="bg-light text-dark mx-4"><samp>size_t PixelGetColorCount(const PixelWand *wand)
599 </samp></pre>
600
601 <p>A description of each parameter follows:</p>
602
603 <dd>
604 </dd>
605
606 <dd> </dd>
607 <dl class="dl-horizontal">
608 <dt>wand</dt>
609 <dd>the pixel wand. </dd>
610
611 <dd> </dd>
612 </dl>
613 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelGetCyan">PixelGetCyan</a></h2>
614
615 <p>PixelGetCyan() returns the normalized cyan color of the pixel wand.</p>
616
617 <p>The format of the PixelGetCyan method is:</p>
618
619 <pre class="bg-light text-dark mx-4"><samp>double PixelGetCyan(const PixelWand *wand)
620 </samp></pre>
621
622 <p>A description of each parameter follows:</p>
623
624 <dd>
625 </dd>
626
627 <dd> </dd>
628 <dl class="dl-horizontal">
629 <dt>wand</dt>
630 <dd>the pixel wand. </dd>
631
632 <dd> </dd>
633 </dl>
634 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelGetCyanQuantum">PixelGetCyanQuantum</a></h2>
635
636 <p>PixelGetCyanQuantum() returns the cyan color of the pixel wand.</p>
637
638 <p>The format of the PixelGetCyanQuantum method is:</p>
639
640 <pre class="bg-light text-dark mx-4"><samp>Quantum PixelGetCyanQuantum(const PixelWand *wand)
641 </samp></pre>
642
643 <p>A description of each parameter follows:</p>
644
645 <dd>
646 </dd>
647
648 <dd> </dd>
649 <dl class="dl-horizontal">
650 <dt>wand</dt>
651 <dd>the pixel wand. </dd>
652
653 <dd> </dd>
654 </dl>
655 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelGetException">PixelGetException</a></h2>
656
657 <p>PixelGetException() returns the severity, reason, and description of any error that occurs when using other methods in this API.</p>
658
659 <p>The format of the PixelGetException method is:</p>
660
661 <pre class="bg-light text-dark mx-4"><samp>char *PixelGetException(const PixelWand *wand,ExceptionType *severity)
662 </samp></pre>
663
664 <p>A description of each parameter follows:</p>
665
666 <dd>
667 </dd>
668
669 <dd> </dd>
670 <dl class="dl-horizontal">
671 <dt>wand</dt>
672 <dd>the pixel wand. </dd>
673
674 <dd> </dd>
675 <dt>severity</dt>
676 <dd>the severity of the error is returned here. </dd>
677
678 <dd> </dd>
679 </dl>
680 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelGetExceptionType">PixelGetExceptionType</a></h2>
681
682 <p>PixelGetExceptionType() the exception type associated with the wand. If no exception has occurred, UndefinedExceptionType is returned.</p>
683
684 <p>The format of the PixelGetExceptionType method is:</p>
685
686 <pre class="bg-light text-dark mx-4"><samp>ExceptionType PixelGetExceptionType(const PixelWand *wand)
687 </samp></pre>
688
689 <p>A description of each parameter follows:</p>
690
691 <dd>
692 </dd>
693
694 <dd> </dd>
695 <dl class="dl-horizontal">
696 <dt>wand</dt>
697 <dd>the magick wand. </dd>
698
699 <dd> </dd>
700 </dl>
701 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelGetFuzz">PixelGetFuzz</a></h2>
702
703 <p>PixelGetFuzz() returns the normalized fuzz value of the pixel wand.</p>
704
705 <p>The format of the PixelGetFuzz method is:</p>
706
707 <pre class="bg-light text-dark mx-4"><samp>double PixelGetFuzz(const PixelWand *wand)
708 </samp></pre>
709
710 <p>A description of each parameter follows:</p>
711
712 <dd>
713 </dd>
714
715 <dd> </dd>
716 <dl class="dl-horizontal">
717 <dt>wand</dt>
718 <dd>the pixel wand. </dd>
719
720 <dd> </dd>
721 </dl>
722 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelGetGreen">PixelGetGreen</a></h2>
723
724 <p>PixelGetGreen() returns the normalized green color of the pixel wand.</p>
725
726 <p>The format of the PixelGetGreen method is:</p>
727
728 <pre class="bg-light text-dark mx-4"><samp>double PixelGetGreen(const PixelWand *wand)
729 </samp></pre>
730
731 <p>A description of each parameter follows:</p>
732
733 <dd>
734 </dd>
735
736 <dd> </dd>
737 <dl class="dl-horizontal">
738 <dt>wand</dt>
739 <dd>the pixel wand. </dd>
740
741 <dd> </dd>
742 </dl>
743 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelGetGreenQuantum">PixelGetGreenQuantum</a></h2>
744
745 <p>PixelGetGreenQuantum() returns the green color of the pixel wand.</p>
746
747 <p>The format of the PixelGetGreenQuantum method is:</p>
748
749 <pre class="bg-light text-dark mx-4"><samp>Quantum PixelGetGreenQuantum(const PixelWand *wand)
750 </samp></pre>
751
752 <p>A description of each parameter follows:</p>
753
754 <dd>
755 </dd>
756
757 <dd> </dd>
758 <dl class="dl-horizontal">
759 <dt>wand</dt>
760 <dd>the pixel wand. </dd>
761
762 <dd> </dd>
763 </dl>
764 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelGetHSL">PixelGetHSL</a></h2>
765
766 <p>PixelGetHSL() returns the normalized HSL color of the pixel wand.</p>
767
768 <p>The format of the PixelGetHSL method is:</p>
769
770 <pre class="bg-light text-dark mx-4"><samp>void PixelGetHSL(const PixelWand *wand,double *hue,double *saturation,
771 double *lightness)
772 </samp></pre>
773
774 <p>A description of each parameter follows:</p>
775
776 <dd>
777 </dd>
778
779 <dd> </dd>
780 <dl class="dl-horizontal">
781 <dt>wand</dt>
782 <dd>the pixel wand. </dd>
783
784 <dd> </dd>
785 <dt>hue,saturation,lightness</dt>
786 <dd>Return the pixel hue, saturation, and brightness. </dd>
787
788 <dd> </dd>
789 </dl>
790 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelGetIndex">PixelGetIndex</a></h2>
791
792 <p>PixelGetIndex() returns the colormap index from the pixel wand.</p>
793
794 <p>The format of the PixelGetIndex method is:</p>
795
796 <pre class="bg-light text-dark mx-4"><samp>Quantum PixelGetIndex(const PixelWand *wand)
797 </samp></pre>
798
799 <p>A description of each parameter follows:</p>
800
801 <dd>
802 </dd>
803
804 <dd> </dd>
805 <dl class="dl-horizontal">
806 <dt>wand</dt>
807 <dd>the pixel wand. </dd>
808
809 <dd> </dd>
810 </dl>
811 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelGetMagenta">PixelGetMagenta</a></h2>
812
813 <p>PixelGetMagenta() returns the normalized magenta color of the pixel wand.</p>
814
815 <p>The format of the PixelGetMagenta method is:</p>
816
817 <pre class="bg-light text-dark mx-4"><samp>double PixelGetMagenta(const PixelWand *wand)
818 </samp></pre>
819
820 <p>A description of each parameter follows:</p>
821
822 <dd>
823 </dd>
824
825 <dd> </dd>
826 <dl class="dl-horizontal">
827 <dt>wand</dt>
828 <dd>the pixel wand. </dd>
829
830 <dd> </dd>
831 </dl>
832 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelGetMagentaQuantum">PixelGetMagentaQuantum</a></h2>
833
834 <p>PixelGetMagentaQuantum() returns the magenta color of the pixel wand.</p>
835
836 <p>The format of the PixelGetMagentaQuantum method is:</p>
837
838 <pre class="bg-light text-dark mx-4"><samp>Quantum PixelGetMagentaQuantum(const PixelWand *wand)
839 </samp></pre>
840
841 <p>A description of each parameter follows:</p>
842
843 <dd>
844 </dd>
845
846 <dd> </dd>
847 <dl class="dl-horizontal">
848 <dt>wand</dt>
849 <dd>the pixel wand. </dd>
850
851 <dd> </dd>
852 </dl>
853 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelGetMagickColor">PixelGetMagickColor</a></h2>
854
855 <p>PixelGetMagickColor() gets the magick color of the pixel wand.</p>
856
857 <p>The format of the PixelGetMagickColor method is:</p>
858
859 <pre class="bg-light text-dark mx-4"><samp>void PixelGetMagickColor(PixelWand *wand,PixelInfo *color)
860 </samp></pre>
861
862 <p>A description of each parameter follows:</p>
863
864 <dd>
865 </dd>
866
867 <dd> </dd>
868 <dl class="dl-horizontal">
869 <dt>wand</dt>
870 <dd>the pixel wand. </dd>
871
872 <dd> </dd>
873 <dt>color</dt>
874 <dd> The pixel wand color is returned here. </dd>
875
876 <dd> </dd>
877 </dl>
878 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelGetPixel">PixelGetPixel</a></h2>
879
880 <p>PixelGetPixel() returns the pixel wand pixel.</p>
881
882 <p>The format of the PixelGetPixel method is:</p>
883
884 <pre class="bg-light text-dark mx-4"><samp>PixelInfo PixelGetPixel(const PixelWand *wand)
885 </samp></pre>
886
887 <p>A description of each parameter follows:</p>
888
889 <dd>
890 </dd>
891
892 <dd> </dd>
893 <dl class="dl-horizontal">
894 <dt>wand</dt>
895 <dd>the pixel wand. </dd>
896
897 <dd> </dd>
898 </dl>
899 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelGetQuantumPacket">PixelGetQuantumPacket</a></h2>
900
901 <p>PixelGetQuantumPacket() gets the packet of the pixel wand as a PixelInfo.</p>
902
903 <p>The format of the PixelGetQuantumPacket method is:</p>
904
905 <pre class="bg-light text-dark mx-4"><samp>void PixelGetQuantumPacket(PixelWand *wand,PixelInfo *packet)
906 </samp></pre>
907
908 <p>A description of each parameter follows:</p>
909
910 <dd>
911 </dd>
912
913 <dd> </dd>
914 <dl class="dl-horizontal">
915 <dt>wand</dt>
916 <dd>the pixel wand. </dd>
917
918 <dd> </dd>
919 <dt>packet</dt>
920 <dd> The pixel wand packet is returned here. </dd>
921
922 <dd> </dd>
923 </dl>
924 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelGetQuantumPixel">PixelGetQuantumPixel</a></h2>
925
926 <p>PixelGetQuantumPixel() gets the pixel of the pixel wand as a PixelInfo.</p>
927
928 <p>The format of the PixelGetQuantumPixel method is:</p>
929
930 <pre class="bg-light text-dark mx-4"><samp>void PixelGetQuantumPixel(const Image *image,const PixelWand *wand,
931 Quantum *pixel)
932 </samp></pre>
933
934 <p>A description of each parameter follows:</p>
935
936 <dd>
937 </dd>
938
939 <dd> </dd>
940 <dl class="dl-horizontal">
941 <dt>wand</dt>
942 <dd>the pixel wand. </dd>
943
944 <dd> </dd>
945 <dt>pixel</dt>
946 <dd> The pixel wand pixel is returned here. </dd>
947
948 <dd> </dd>
949 </dl>
950 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelGetRed">PixelGetRed</a></h2>
951
952 <p>PixelGetRed() returns the normalized red color of the pixel wand.</p>
953
954 <p>The format of the PixelGetRed method is:</p>
955
956 <pre class="bg-light text-dark mx-4"><samp>double PixelGetRed(const PixelWand *wand)
957 </samp></pre>
958
959 <p>A description of each parameter follows:</p>
960
961 <dd>
962 </dd>
963
964 <dd> </dd>
965 <dl class="dl-horizontal">
966 <dt>wand</dt>
967 <dd>the pixel wand. </dd>
968
969 <dd> </dd>
970 </dl>
971 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelGetRedQuantum">PixelGetRedQuantum</a></h2>
972
973 <p>PixelGetRedQuantum() returns the red color of the pixel wand.</p>
974
975 <p>The format of the PixelGetRedQuantum method is:</p>
976
977 <pre class="bg-light text-dark mx-4"><samp>Quantum PixelGetRedQuantum(const PixelWand *wand)
978 </samp></pre>
979
980 <p>A description of each parameter follows:</p>
981
982 <dd>
983 </dd>
984
985 <dd> </dd>
986 <dl class="dl-horizontal">
987 <dt>wand</dt>
988 <dd>the pixel wand. </dd>
989
990 <dd> </dd>
991 </dl>
992 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelGetYellow">PixelGetYellow</a></h2>
993
994 <p>PixelGetYellow() returns the normalized yellow color of the pixel wand.</p>
995
996 <p>The format of the PixelGetYellow method is:</p>
997
998 <pre class="bg-light text-dark mx-4"><samp>double PixelGetYellow(const PixelWand *wand)
999 </samp></pre>
1000
1001 <p>A description of each parameter follows:</p>
1002
1003 <dd>
1004 </dd>
1005
1006 <dd> </dd>
1007 <dl class="dl-horizontal">
1008 <dt>wand</dt>
1009 <dd>the pixel wand. </dd>
1010
1011 <dd> </dd>
1012 </dl>
1013 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelGetYellowQuantum">PixelGetYellowQuantum</a></h2>
1014
1015 <p>PixelGetYellowQuantum() returns the yellow color of the pixel wand.</p>
1016
1017 <p>The format of the PixelGetYellowQuantum method is:</p>
1018
1019 <pre class="bg-light text-dark mx-4"><samp>Quantum PixelGetYellowQuantum(const PixelWand *wand)
1020 </samp></pre>
1021
1022 <p>A description of each parameter follows:</p>
1023
1024 <dd>
1025 </dd>
1026
1027 <dd> </dd>
1028 <dl class="dl-horizontal">
1029 <dt>wand</dt>
1030 <dd>the pixel wand. </dd>
1031
1032 <dd> </dd>
1033 </dl>
1034 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelSetAlpha">PixelSetAlpha</a></h2>
1035
1036 <p>PixelSetAlpha() sets the normalized alpha value of the pixel wand.</p>
1037
1038 <p>The format of the PixelSetAlpha method is:</p>
1039
1040 <pre class="bg-light text-dark mx-4"><samp>void PixelSetAlpha(PixelWand *wand,const double alpha)
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 pixel wand. </dd>
1052
1053 <dd> </dd>
1054 <dt>alpha</dt>
1055 <dd>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent. </dd>
1056
1057 <dd> </dd>
1058 </dl>
1059 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelSetAlphaQuantum">PixelSetAlphaQuantum</a></h2>
1060
1061 <p>PixelSetAlphaQuantum() sets the alpha value of the pixel wand.</p>
1062
1063 <p>The format of the PixelSetAlphaQuantum method is:</p>
1064
1065 <pre class="bg-light text-dark mx-4"><samp>void PixelSetAlphaQuantum(PixelWand *wand,const Quantum alpha)
1066 </samp></pre>
1067
1068 <p>A description of each parameter follows:</p>
1069
1070 <dd>
1071 </dd>
1072
1073 <dd> </dd>
1074 <dl class="dl-horizontal">
1075 <dt>wand</dt>
1076 <dd>the pixel wand. </dd>
1077
1078 <dd> </dd>
1079 <dt>alpha</dt>
1080 <dd>the alpha value. </dd>
1081
1082 <dd> </dd>
1083 </dl>
1084 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelSetBlack">PixelSetBlack</a></h2>
1085
1086 <p>PixelSetBlack() sets the normalized black color of the pixel wand.</p>
1087
1088 <p>The format of the PixelSetBlack method is:</p>
1089
1090 <pre class="bg-light text-dark mx-4"><samp>void PixelSetBlack(PixelWand *wand,const double black)
1091 </samp></pre>
1092
1093 <p>A description of each parameter follows:</p>
1094
1095 <dd>
1096 </dd>
1097
1098 <dd> </dd>
1099 <dl class="dl-horizontal">
1100 <dt>wand</dt>
1101 <dd>the pixel wand. </dd>
1102
1103 <dd> </dd>
1104 <dt>black</dt>
1105 <dd>the black color. </dd>
1106
1107 <dd> </dd>
1108 </dl>
1109 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelSetBlackQuantum">PixelSetBlackQuantum</a></h2>
1110
1111 <p>PixelSetBlackQuantum() sets the black color of the pixel wand.</p>
1112
1113 <p>The format of the PixelSetBlackQuantum method is:</p>
1114
1115 <pre class="bg-light text-dark mx-4"><samp>void PixelSetBlackQuantum(PixelWand *wand,const Quantum black)
1116 </samp></pre>
1117
1118 <p>A description of each parameter follows:</p>
1119
1120 <dd>
1121 </dd>
1122
1123 <dd> </dd>
1124 <dl class="dl-horizontal">
1125 <dt>wand</dt>
1126 <dd>the pixel wand. </dd>
1127
1128 <dd> </dd>
1129 <dt>black</dt>
1130 <dd>the black color. </dd>
1131
1132 <dd> </dd>
1133 </dl>
1134 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelSetBlue">PixelSetBlue</a></h2>
1135
1136 <p>PixelSetBlue() sets the normalized blue color of the pixel wand.</p>
1137
1138 <p>The format of the PixelSetBlue method is:</p>
1139
1140 <pre class="bg-light text-dark mx-4"><samp>void PixelSetBlue(PixelWand *wand,const double blue)
1141 </samp></pre>
1142
1143 <p>A description of each parameter follows:</p>
1144
1145 <dd>
1146 </dd>
1147
1148 <dd> </dd>
1149 <dl class="dl-horizontal">
1150 <dt>wand</dt>
1151 <dd>the pixel wand. </dd>
1152
1153 <dd> </dd>
1154 <dt>blue</dt>
1155 <dd>the blue color. </dd>
1156
1157 <dd> </dd>
1158 </dl>
1159 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelSetBlueQuantum">PixelSetBlueQuantum</a></h2>
1160
1161 <p>PixelSetBlueQuantum() sets the blue color of the pixel wand.</p>
1162
1163 <p>The format of the PixelSetBlueQuantum method is:</p>
1164
1165 <pre class="bg-light text-dark mx-4"><samp>void PixelSetBlueQuantum(PixelWand *wand,const Quantum blue)
1166 </samp></pre>
1167
1168 <p>A description of each parameter follows:</p>
1169
1170 <dd>
1171 </dd>
1172
1173 <dd> </dd>
1174 <dl class="dl-horizontal">
1175 <dt>wand</dt>
1176 <dd>the pixel wand. </dd>
1177
1178 <dd> </dd>
1179 <dt>blue</dt>
1180 <dd>the blue color. </dd>
1181
1182 <dd> </dd>
1183 </dl>
1184 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelSetColor">PixelSetColor</a></h2>
1185
1186 <p>PixelSetColor() sets the color of the pixel wand with a string (e.g. "blue", "#0000ff", "rgb(0,0,255)", "cmyk(100,100,100,10)", etc.).</p>
1187
1188 <p>The format of the PixelSetColor method is:</p>
1189
1190 <pre class="bg-light text-dark mx-4"><samp>MagickBooleanType PixelSetColor(PixelWand *wand,const char *color)
1191 </samp></pre>
1192
1193 <p>A description of each parameter follows:</p>
1194
1195 <dd>
1196 </dd>
1197
1198 <dd> </dd>
1199 <dl class="dl-horizontal">
1200 <dt>wand</dt>
1201 <dd>the pixel wand. </dd>
1202
1203 <dd> </dd>
1204 <dt>color</dt>
1205 <dd>the pixel wand color. </dd>
1206
1207 <dd> </dd>
1208 </dl>
1209 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelSetColorCount">PixelSetColorCount</a></h2>
1210
1211 <p>PixelSetColorCount() sets the color count of the pixel wand.</p>
1212
1213 <p>The format of the PixelSetColorCount method is:</p>
1214
1215 <pre class="bg-light text-dark mx-4"><samp>void PixelSetColorCount(PixelWand *wand,const size_t count)
1216 </samp></pre>
1217
1218 <p>A description of each parameter follows:</p>
1219
1220 <dd>
1221 </dd>
1222
1223 <dd> </dd>
1224 <dl class="dl-horizontal">
1225 <dt>wand</dt>
1226 <dd>the pixel wand. </dd>
1227
1228 <dd> </dd>
1229 <dt>count</dt>
1230 <dd>the number of this particular color. </dd>
1231
1232 <dd> </dd>
1233 </dl>
1234 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelSetColorFromWand">PixelSetColorFromWand</a></h2>
1235
1236 <p>PixelSetColorFromWand() sets the color of the pixel wand.</p>
1237
1238 <p>The format of the PixelSetColorFromWand method is:</p>
1239
1240 <pre class="bg-light text-dark mx-4"><samp>void PixelSetColorFromWand(PixelWand *wand,const PixelWand *color)
1241 </samp></pre>
1242
1243 <p>A description of each parameter follows:</p>
1244
1245 <dd>
1246 </dd>
1247
1248 <dd> </dd>
1249 <dl class="dl-horizontal">
1250 <dt>wand</dt>
1251 <dd>the pixel wand. </dd>
1252
1253 <dd> </dd>
1254 <dt>color</dt>
1255 <dd>set the pixel wand color here. </dd>
1256
1257 <dd> </dd>
1258 </dl>
1259 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelSetCyan">PixelSetCyan</a></h2>
1260
1261 <p>PixelSetCyan() sets the normalized cyan color of the pixel wand.</p>
1262
1263 <p>The format of the PixelSetCyan method is:</p>
1264
1265 <pre class="bg-light text-dark mx-4"><samp>void PixelSetCyan(PixelWand *wand,const double cyan)
1266 </samp></pre>
1267
1268 <p>A description of each parameter follows:</p>
1269
1270 <dd>
1271 </dd>
1272
1273 <dd> </dd>
1274 <dl class="dl-horizontal">
1275 <dt>wand</dt>
1276 <dd>the pixel wand. </dd>
1277
1278 <dd> </dd>
1279 <dt>cyan</dt>
1280 <dd>the cyan color. </dd>
1281
1282 <dd> </dd>
1283 </dl>
1284 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelSetCyanQuantum">PixelSetCyanQuantum</a></h2>
1285
1286 <p>PixelSetCyanQuantum() sets the cyan color of the pixel wand.</p>
1287
1288 <p>The format of the PixelSetCyanQuantum method is:</p>
1289
1290 <pre class="bg-light text-dark mx-4"><samp>void PixelSetCyanQuantum(PixelWand *wand,const Quantum cyan)
1291 </samp></pre>
1292
1293 <p>A description of each parameter follows:</p>
1294
1295 <dd>
1296 </dd>
1297
1298 <dd> </dd>
1299 <dl class="dl-horizontal">
1300 <dt>wand</dt>
1301 <dd>the pixel wand. </dd>
1302
1303 <dd> </dd>
1304 <dt>cyan</dt>
1305 <dd>the cyan color. </dd>
1306
1307 <dd> </dd>
1308 </dl>
1309 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelSetFuzz">PixelSetFuzz</a></h2>
1310
1311 <p>PixelSetFuzz() sets the fuzz value of the pixel wand.</p>
1312
1313 <p>The format of the PixelSetFuzz method is:</p>
1314
1315 <pre class="bg-light text-dark mx-4"><samp>void PixelSetFuzz(PixelWand *wand,const double fuzz)
1316 </samp></pre>
1317
1318 <p>A description of each parameter follows:</p>
1319
1320 <dd>
1321 </dd>
1322
1323 <dd> </dd>
1324 <dl class="dl-horizontal">
1325 <dt>wand</dt>
1326 <dd>the pixel wand. </dd>
1327
1328 <dd> </dd>
1329 <dt>fuzz</dt>
1330 <dd>the fuzz value. </dd>
1331
1332 <dd> </dd>
1333 </dl>
1334 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelSetGreen">PixelSetGreen</a></h2>
1335
1336 <p>PixelSetGreen() sets the normalized green color of the pixel wand.</p>
1337
1338 <p>The format of the PixelSetGreen method is:</p>
1339
1340 <pre class="bg-light text-dark mx-4"><samp>void PixelSetGreen(PixelWand *wand,const double green)
1341 </samp></pre>
1342
1343 <p>A description of each parameter follows:</p>
1344
1345 <dd>
1346 </dd>
1347
1348 <dd> </dd>
1349 <dl class="dl-horizontal">
1350 <dt>wand</dt>
1351 <dd>the pixel wand. </dd>
1352
1353 <dd> </dd>
1354 <dt>green</dt>
1355 <dd>the green color. </dd>
1356
1357 <dd> </dd>
1358 </dl>
1359 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelSetGreenQuantum">PixelSetGreenQuantum</a></h2>
1360
1361 <p>PixelSetGreenQuantum() sets the green color of the pixel wand.</p>
1362
1363 <p>The format of the PixelSetGreenQuantum method is:</p>
1364
1365 <pre class="bg-light text-dark mx-4"><samp>void PixelSetGreenQuantum(PixelWand *wand,const Quantum green)
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 pixel wand. </dd>
1377
1378 <dd> </dd>
1379 <dt>green</dt>
1380 <dd>the green color. </dd>
1381
1382 <dd> </dd>
1383 </dl>
1384 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelSetHSL">PixelSetHSL</a></h2>
1385
1386 <p>PixelSetHSL() sets the normalized HSL color of the pixel wand.</p>
1387
1388 <p>The format of the PixelSetHSL method is:</p>
1389
1390 <pre class="bg-light text-dark mx-4"><samp>void PixelSetHSL(PixelWand *wand,const double hue,
1391 const double saturation,const double lightness)
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 pixel wand. </dd>
1403
1404 <dd> </dd>
1405 <dt>hue,saturation,lightness</dt>
1406 <dd>Return the pixel hue, saturation, and brightness. </dd>
1407
1408 <dd> </dd>
1409 </dl>
1410 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelSetIndex">PixelSetIndex</a></h2>
1411
1412 <p>PixelSetIndex() sets the colormap index of the pixel wand.</p>
1413
1414 <p>The format of the PixelSetIndex method is:</p>
1415
1416 <pre class="bg-light text-dark mx-4"><samp>void PixelSetIndex(PixelWand *wand,const Quantum index)
1417 </samp></pre>
1418
1419 <p>A description of each parameter follows:</p>
1420
1421 <dd>
1422 </dd>
1423
1424 <dd> </dd>
1425 <dl class="dl-horizontal">
1426 <dt>wand</dt>
1427 <dd>the pixel wand. </dd>
1428
1429 <dd> </dd>
1430 <dt>index</dt>
1431 <dd>the colormap index. </dd>
1432
1433 <dd> </dd>
1434 </dl>
1435 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelSetMagenta">PixelSetMagenta</a></h2>
1436
1437 <p>PixelSetMagenta() sets the normalized magenta color of the pixel wand.</p>
1438
1439 <p>The format of the PixelSetMagenta method is:</p>
1440
1441 <pre class="bg-light text-dark mx-4"><samp>void PixelSetMagenta(PixelWand *wand,const double magenta)
1442 </samp></pre>
1443
1444 <p>A description of each parameter follows:</p>
1445
1446 <dd>
1447 </dd>
1448
1449 <dd> </dd>
1450 <dl class="dl-horizontal">
1451 <dt>wand</dt>
1452 <dd>the pixel wand. </dd>
1453
1454 <dd> </dd>
1455 <dt>magenta</dt>
1456 <dd>the magenta color. </dd>
1457
1458 <dd> </dd>
1459 </dl>
1460 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelSetMagentaQuantum">PixelSetMagentaQuantum</a></h2>
1461
1462 <p>PixelSetMagentaQuantum() sets the magenta color of the pixel wand.</p>
1463
1464 <p>The format of the PixelSetMagentaQuantum method is:</p>
1465
1466 <pre class="bg-light text-dark mx-4"><samp>void PixelSetMagentaQuantum(PixelWand *wand,
1467 const Quantum magenta)
1468 </samp></pre>
1469
1470 <p>A description of each parameter follows:</p>
1471
1472 <dd>
1473 </dd>
1474
1475 <dd> </dd>
1476 <dl class="dl-horizontal">
1477 <dt>wand</dt>
1478 <dd>the pixel wand. </dd>
1479
1480 <dd> </dd>
1481 <dt>magenta</dt>
1482 <dd>the green magenta. </dd>
1483
1484 <dd> </dd>
1485 </dl>
1486 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelSetPixelColor">PixelSetPixelColor</a></h2>
1487
1488 <p>PixelSetPixelColor() sets the color of the pixel wand.</p>
1489
1490 <p>The format of the PixelSetPixelColor method is:</p>
1491
1492 <pre class="bg-light text-dark mx-4"><samp>void PixelSetPixelColor(PixelWand *wand,const PixelInfo *color)
1493 </samp></pre>
1494
1495 <p>A description of each parameter follows:</p>
1496
1497 <dd>
1498 </dd>
1499
1500 <dd> </dd>
1501 <dl class="dl-horizontal">
1502 <dt>wand</dt>
1503 <dd>the pixel wand. </dd>
1504
1505 <dd> </dd>
1506 <dt>color</dt>
1507 <dd>the pixel wand color. </dd>
1508
1509 <dd> </dd>
1510 </dl>
1511 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelSetQuantumPixel">PixelSetQuantumPixel</a></h2>
1512
1513 <p>PixelSetQuantumPixel() sets the pixel of the pixel wand.</p>
1514
1515 <p>The format of the PixelSetQuantumPixel method is:</p>
1516
1517 <pre class="bg-light text-dark mx-4"><samp>void PixelSetQuantumPixel(const Image *image,const Quantum *pixel,
1518 PixelWand *wand)
1519 </samp></pre>
1520
1521 <p>A description of each parameter follows:</p>
1522
1523 <dd>
1524 </dd>
1525
1526 <dd> </dd>
1527 <dl class="dl-horizontal">
1528 <dt>wand</dt>
1529 <dd>the pixel wand. </dd>
1530
1531 <dd> </dd>
1532 <dt>pixel</dt>
1533 <dd>the pixel wand pixel. </dd>
1534
1535 <dd> </dd>
1536 </dl>
1537 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelSetRed">PixelSetRed</a></h2>
1538
1539 <p>PixelSetRed() sets the normalized red color of the pixel wand.</p>
1540
1541 <p>The format of the PixelSetRed method is:</p>
1542
1543 <pre class="bg-light text-dark mx-4"><samp>void PixelSetRed(PixelWand *wand,const double red)
1544 </samp></pre>
1545
1546 <p>A description of each parameter follows:</p>
1547
1548 <dd>
1549 </dd>
1550
1551 <dd> </dd>
1552 <dl class="dl-horizontal">
1553 <dt>wand</dt>
1554 <dd>the pixel wand. </dd>
1555
1556 <dd> </dd>
1557 <dt>red</dt>
1558 <dd>the red color. </dd>
1559
1560 <dd> </dd>
1561 </dl>
1562 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelSetRedQuantum">PixelSetRedQuantum</a></h2>
1563
1564 <p>PixelSetRedQuantum() sets the red color of the pixel wand.</p>
1565
1566 <p>The format of the PixelSetRedQuantum method is:</p>
1567
1568 <pre class="bg-light text-dark mx-4"><samp>void PixelSetRedQuantum(PixelWand *wand,const Quantum red)
1569 </samp></pre>
1570
1571 <p>A description of each parameter follows:</p>
1572
1573 <dd>
1574 </dd>
1575
1576 <dd> </dd>
1577 <dl class="dl-horizontal">
1578 <dt>wand</dt>
1579 <dd>the pixel wand. </dd>
1580
1581 <dd> </dd>
1582 <dt>red</dt>
1583 <dd>the red color. </dd>
1584
1585 <dd> </dd>
1586 </dl>
1587 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelSetYellow">PixelSetYellow</a></h2>
1588
1589 <p>PixelSetYellow() sets the normalized yellow color of the pixel wand.</p>
1590
1591 <p>The format of the PixelSetYellow method is:</p>
1592
1593 <pre class="bg-light text-dark mx-4"><samp>void PixelSetYellow(PixelWand *wand,const double yellow)
1594 </samp></pre>
1595
1596 <p>A description of each parameter follows:</p>
1597
1598 <dd>
1599 </dd>
1600
1601 <dd> </dd>
1602 <dl class="dl-horizontal">
1603 <dt>wand</dt>
1604 <dd>the pixel wand. </dd>
1605
1606 <dd> </dd>
1607 <dt>yellow</dt>
1608 <dd>the yellow color. </dd>
1609
1610 <dd> </dd>
1611 </dl>
1612 <h2><a href="../../api/MagickWand/pixel-wand_8c.html" id="PixelSetYellowQuantum">PixelSetYellowQuantum</a></h2>
1613
1614 <p>PixelSetYellowQuantum() sets the yellow color of the pixel wand.</p>
1615
1616 <p>The format of the PixelSetYellowQuantum method is:</p>
1617
1618 <pre class="bg-light text-dark mx-4"><samp>void PixelSetYellowQuantum(PixelWand *wand,const Quantum yellow)
1619 </samp></pre>
1620
1621 <p>A description of each parameter follows:</p>
1622
1623 <dd>
1624 </dd>
1625
1626 <dd> </dd>
1627 <dl class="dl-horizontal">
1628 <dt>wand</dt>
1629 <dd>the pixel wand. </dd>
1630
1631 <dd> </dd>
1632 <dt>yellow</dt>
1633 <dd>the yellow color. </dd>
1634
1635 <dd> </dd>
1636 </dl>
1637 </div>
1638 </main><!-- /.container -->
1639 <footer class="py-5 text-center text-body-secondary bg-body-tertiary">
1640 <div class="container-fluid">
1641 <a href="../www/security-policy.html">Security</a> •
1642 <a href="../www/news.html">News</a>
1643
1644 <a href="#"><img class="d-inline" id="wand" alt="And Now a Touch of Magick" width="16" height="16" src="../../../../../../../images/wand.ico"/></a>
1645
1646 <a href="../www/links.html">Related</a> •
1647 <a href="../www/sitemap.html">Sitemap</a>
1648 <br/>
1649 <a href="../www/support.html">Sponsor</a> •
1650 <a href="../www/cite.html">Cite</a> •
1651 <a href="http://pgp.mit.edu/pks/lookup?op=get&amp;search=0x89AB63D48277377A">Public Key</a> •
1652 <a href="../www/contact.html">Contact Us</a>
1653 <br/>
1654 <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> •
1655 <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>
1656 <br/>
1657 <small>Copyright © 1999 ImageMagick Studio LLC</small>
1658 </div>
1659 </footer>
1660 </div>
1661
1662 <!-- Javascript assets -->
1663 <script src="../assets/bootstrap.bundle.min.js" ></script>
1664 </body>
1665 </html>