Debian Codegraph @

www/api/pixel-wand.html

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