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