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