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: Property 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:, property, methods, 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="magick-property.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="magick-property.html#MagickDeleteImageArtifact">MagickDeleteImageArtifact</a> • <a href="magick-property.html#MagickDeleteImageProperty">MagickDeleteImageProperty</a> • <a href="magick-property.html#MagickDeleteOption">MagickDeleteOption</a> • <a href="magick-property.html#MagickGetAntialias">MagickGetAntialias</a> • <a href="magick-property.html#MagickGetBackgroundColor">MagickGetBackgroundColor</a> • <a href="magick-property.html#MagickGetColorspace">MagickGetColorspace</a> • <a href="magick-property.html#MagickGetCompression">MagickGetCompression</a> • <a href="magick-property.html#MagickGetCompressionQuality">MagickGetCompressionQuality</a> • <a href="magick-property.html#MagickGetCopyright">MagickGetCopyright</a> • <a href="magick-property.html#MagickGetFilename">MagickGetFilename</a> • <a href="magick-property.html#MagickGetFont">MagickGetFont</a> • <a href="magick-property.html#MagickGetFormat">MagickGetFormat</a> • <a href="magick-property.html#MagickGetGravity">MagickGetGravity</a> • <a href="magick-property.html#MagickGetHomeURL">MagickGetHomeURL</a> • <a href="magick-property.html#MagickGetImageArtifact">MagickGetImageArtifact</a> • <a href="magick-property.html#MagickGetImageArtifacts">MagickGetImageArtifacts</a> • <a href="magick-property.html#MagickGetImageProfile">MagickGetImageProfile</a> • <a href="magick-property.html#MagickGetImageProfiles">MagickGetImageProfiles</a> • <a href="magick-property.html#MagickGetImageProperty">MagickGetImageProperty</a> • <a href="magick-property.html#MagickGetImageProperties">MagickGetImageProperties</a> • <a href="magick-property.html#MagickGetInterlaceScheme">MagickGetInterlaceScheme</a> • <a href="magick-property.html#MagickGetInterpolateMethod">MagickGetInterpolateMethod</a> • <a href="magick-property.html#MagickGetOption">MagickGetOption</a> • <a href="magick-property.html#MagickGetOptions">MagickGetOptions</a> • <a href="magick-property.html#MagickGetOrientation">MagickGetOrientation</a> • <a href="magick-property.html#MagickGetPackageName">MagickGetPackageName</a> • <a href="magick-property.html#MagickGetPage">MagickGetPage</a> • <a href="magick-property.html#MagickGetPointsize">MagickGetPointsize</a> • <a href="magick-property.html#MagickGetQuantumDepth">MagickGetQuantumDepth</a> • <a href="magick-property.html#MagickGetQuantumRange">MagickGetQuantumRange</a> • <a href="magick-property.html#MagickGetReleaseDate">MagickGetReleaseDate</a> • <a href="magick-property.html#MagickGetResolution">MagickGetResolution</a> • <a href="magick-property.html#MagickGetResource">MagickGetResource</a> • <a href="magick-property.html#MagickGetResourceLimit">MagickGetResourceLimit</a> • <a href="magick-property.html#MagickGetSamplingFactors">MagickGetSamplingFactors</a> • <a href="magick-property.html#MagickGetSize">MagickGetSize</a> • <a href="magick-property.html#MagickGetSizeOffset">MagickGetSizeOffset</a> • <a href="magick-property.html#MagickGetType">MagickGetType</a> • <a href="magick-property.html#MagickGetVersion">MagickGetVersion</a> • <a href="magick-property.html#MagickProfileImage">MagickProfileImage</a> • <a href="magick-property.html#MagickRemoveImageProfile">MagickRemoveImageProfile</a> • <a href="magick-property.html#MagickSetAntialias">MagickSetAntialias</a> • <a href="magick-property.html#MagickSetBackgroundColor">MagickSetBackgroundColor</a> • <a href="magick-property.html#MagickSetColorspace">MagickSetColorspace</a> • <a href="magick-property.html#MagickSetCompression">MagickSetCompression</a> • <a href="magick-property.html#MagickSetCompressionQuality">MagickSetCompressionQuality</a> • <a href="magick-property.html#MagickSetDepth">MagickSetDepth</a> • <a href="magick-property.html#MagickSetExtract">MagickSetExtract</a> • <a href="magick-property.html#MagickSetFilename">MagickSetFilename</a> • <a href="magick-property.html#MagickSetFont">MagickSetFont</a> • <a href="magick-property.html#MagickSetFormat">MagickSetFormat</a> • <a href="magick-property.html#MagickSetGravity">MagickSetGravity</a> • <a href="magick-property.html#MagickSetImageArtifact">MagickSetImageArtifact</a> • <a href="magick-property.html#MagickSetImageProfile">MagickSetImageProfile</a> • <a href="magick-property.html#MagickSetImageProperty">MagickSetImageProperty</a> • <a href="magick-property.html#MagickSetInterlaceScheme">MagickSetInterlaceScheme</a> • <a href="magick-property.html#MagickSetInterpolateMethod">MagickSetInterpolateMethod</a> • <a href="magick-property.html#MagickSetOption">MagickSetOption</a> • <a href="magick-property.html#MagickSetOrientation">MagickSetOrientation</a> • <a href="magick-property.html#MagickSetPage">MagickSetPage</a> • <a href="magick-property.html#MagickSetPassphrase">MagickSetPassphrase</a> • <a href="magick-property.html#MagickSetPointsize">MagickSetPointsize</a> • <a href="magick-property.html#MagickSetProgressMonitor">MagickSetProgressMonitor</a> • <a href="magick-property.html#MagickSetResourceLimit">MagickSetResourceLimit</a> • <a href="magick-property.html#MagickSetResolution">MagickSetResolution</a> • <a href="magick-property.html#MagickSetSamplingFactors">MagickSetSamplingFactors</a> • <a href="magick-property.html#MagickSetSeed">MagickSetSeed</a> • <a href="magick-property.html#MagickSetSecurityPolicy">MagickSetSecurityPolicy</a> • <a href="magick-property.html#MagickSetSize">MagickSetSize</a> • <a href="magick-property.html#MagickSetSizeOffset">MagickSetSizeOffset</a> • <a href="magick-property.html#MagickSetType">MagickSetType</a></p> 91 92<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickDeleteImageArtifact">MagickDeleteImageArtifact</a></h2> 93 94<p>MagickDeleteImageArtifact() deletes a wand artifact.</p> 95 96<p>The format of the MagickDeleteImageArtifact method is:</p> 97 98<pre class="text"> 99MagickBooleanType MagickDeleteImageArtifact(MagickWand *wand, 100 const char *artifact) 101</pre> 102 103<p>A description of each parameter follows:</p> 104 105<dd> 106</dd> 107 108<dd> </dd> 109<dl class="dl-horizontal"> 110<dt>image</dt> 111<dd>the image. </dd> 112 113<dd> </dd> 114<dt>artifact</dt> 115<dd>the image artifact. </dd> 116 117<dd> </dd> 118</dl> 119<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickDeleteImageProperty">MagickDeleteImageProperty</a></h2> 120 121<p>MagickDeleteImageProperty() deletes a wand property.</p> 122 123<p>The format of the MagickDeleteImageProperty method is:</p> 124 125<pre class="text"> 126MagickBooleanType MagickDeleteImageProperty(MagickWand *wand, 127 const char *property) 128</pre> 129 130<p>A description of each parameter follows:</p> 131 132<dd> 133</dd> 134 135<dd> </dd> 136<dl class="dl-horizontal"> 137<dt>image</dt> 138<dd>the image. </dd> 139 140<dd> </dd> 141<dt>property</dt> 142<dd>the image property. </dd> 143 144<dd> </dd> 145</dl> 146<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickDeleteOption">MagickDeleteOption</a></h2> 147 148<p>MagickDeleteOption() deletes a wand option.</p> 149 150<p>The format of the MagickDeleteOption method is:</p> 151 152<pre class="text"> 153MagickBooleanType MagickDeleteOption(MagickWand *wand, 154 const char *option) 155</pre> 156 157<p>A description of each parameter follows:</p> 158 159<dd> 160</dd> 161 162<dd> </dd> 163<dl class="dl-horizontal"> 164<dt>image</dt> 165<dd>the image. </dd> 166 167<dd> </dd> 168<dt>option</dt> 169<dd>the image option. </dd> 170 171<dd> </dd> 172</dl> 173<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetAntialias">MagickGetAntialias</a></h2> 174 175<p>MagickGetAntialias() returns the antialias property associated with the wand.</p> 176 177<p>The format of the MagickGetAntialias method is:</p> 178 179<pre class="text"> 180MagickBooleanType MagickGetAntialias(const MagickWand *wand) 181</pre> 182 183<p>A description of each parameter follows:</p> 184 185<dd> 186</dd> 187 188<dd> </dd> 189<dl class="dl-horizontal"> 190<dt>wand</dt> 191<dd>the magick wand. </dd> 192 193<dd> </dd> 194</dl> 195<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetBackgroundColor">MagickGetBackgroundColor</a></h2> 196 197<p>MagickGetBackgroundColor() returns the wand background color.</p> 198 199<p>The format of the MagickGetBackgroundColor method is:</p> 200 201<pre class="text"> 202PixelWand *MagickGetBackgroundColor(MagickWand *wand) 203</pre> 204 205<p>A description of each parameter follows:</p> 206 207<dd> 208</dd> 209 210<dd> </dd> 211<dl class="dl-horizontal"> 212<dt>wand</dt> 213<dd>the magick wand. </dd> 214 215<dd> </dd> 216</dl> 217<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetColorspace">MagickGetColorspace</a></h2> 218 219<p>MagickGetColorspace() gets the wand colorspace type.</p> 220 221<p>The format of the MagickGetColorspace method is:</p> 222 223<pre class="text"> 224ColorspaceType MagickGetColorspace(MagickWand *wand) 225</pre> 226 227<p>A description of each parameter follows:</p> 228 229<dd> 230</dd> 231 232<dd> </dd> 233<dl class="dl-horizontal"> 234<dt>wand</dt> 235<dd>the magick wand. </dd> 236 237<dd> </dd> 238</dl> 239<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetCompression">MagickGetCompression</a></h2> 240 241<p>MagickGetCompression() gets the wand compression type.</p> 242 243<p>The format of the MagickGetCompression method is:</p> 244 245<pre class="text"> 246CompressionType MagickGetCompression(MagickWand *wand) 247</pre> 248 249<p>A description of each parameter follows:</p> 250 251<dd> 252</dd> 253 254<dd> </dd> 255<dl class="dl-horizontal"> 256<dt>wand</dt> 257<dd>the magick wand. </dd> 258 259<dd> </dd> 260</dl> 261<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetCompressionQuality">MagickGetCompressionQuality</a></h2> 262 263<p>MagickGetCompressionQuality() gets the wand compression quality.</p> 264 265<p>The format of the MagickGetCompressionQuality method is:</p> 266 267<pre class="text"> 268size_t MagickGetCompressionQuality(MagickWand *wand) 269</pre> 270 271<p>A description of each parameter follows:</p> 272 273<dd> 274</dd> 275 276<dd> </dd> 277<dl class="dl-horizontal"> 278<dt>wand</dt> 279<dd>the magick wand. </dd> 280 281<dd> </dd> 282</dl> 283<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetCopyright">MagickGetCopyright</a></h2> 284 285<p>MagickGetCopyright() returns the ImageMagick API copyright as a string constant.</p> 286 287<p>The format of the MagickGetCopyright method is:</p> 288 289<pre class="text"> 290const char *MagickGetCopyright(void) 291</pre> 292 293<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetFilename">MagickGetFilename</a></h2> 294 295<p>MagickGetFilename() returns the filename associated with an image sequence.</p> 296 297<p>The format of the MagickGetFilename method is:</p> 298 299<pre class="text"> 300const char *MagickGetFilename(const MagickWand *wand) 301</pre> 302 303<p>A description of each parameter follows:</p> 304 305<dd> 306</dd> 307 308<dd> </dd> 309<dl class="dl-horizontal"> 310<dt>wand</dt> 311<dd>the magick wand. </dd> 312 313<dd> </dd> 314</dl> 315<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetFont">MagickGetFont</a></h2> 316 317<p>MagickGetFont() returns the font associated with the MagickWand.</p> 318 319<p>The format of the MagickGetFont method is:</p> 320 321<pre class="text"> 322char *MagickGetFont(MagickWand *wand) 323</pre> 324 325<p>A description of each parameter follows:</p> 326 327<dd> 328</dd> 329 330<dd> </dd> 331<dl class="dl-horizontal"> 332<dt>wand</dt> 333<dd>the magick wand. </dd> 334 335<dd> </dd> 336</dl> 337<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetFormat">MagickGetFormat</a></h2> 338 339<p>MagickGetFormat() returns the format of the magick wand.</p> 340 341<p>The format of the MagickGetFormat method is:</p> 342 343<pre class="text"> 344const char MagickGetFormat(MagickWand *wand) 345</pre> 346 347<p>A description of each parameter follows:</p> 348 349<dd> 350</dd> 351 352<dd> </dd> 353<dl class="dl-horizontal"> 354<dt>wand</dt> 355<dd>the magick wand. </dd> 356 357<dd> </dd> 358</dl> 359<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetGravity">MagickGetGravity</a></h2> 360 361<p>MagickGetGravity() gets the wand gravity.</p> 362 363<p>The format of the MagickGetGravity method is:</p> 364 365<pre class="text"> 366GravityType MagickGetGravity(MagickWand *wand) 367</pre> 368 369<p>A description of each parameter follows:</p> 370 371<dd> 372</dd> 373 374<dd> </dd> 375<dl class="dl-horizontal"> 376<dt>wand</dt> 377<dd>the magick wand. </dd> 378 379<dd> </dd> 380</dl> 381<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetHomeURL">MagickGetHomeURL</a></h2> 382 383<p>MagickGetHomeURL() returns the ImageMagick home URL.</p> 384 385<p>The format of the MagickGetHomeURL method is:</p> 386 387<pre class="text"> 388char *MagickGetHomeURL(void) 389</pre> 390 391<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetImageArtifact">MagickGetImageArtifact</a></h2> 392 393<p>MagickGetImageArtifact() returns a value associated with the specified artifact. Use MagickRelinquishMemory() to free the value when you are finished with it.</p> 394 395<p>The format of the MagickGetImageArtifact method is:</p> 396 397<pre class="text"> 398char *MagickGetImageArtifact(MagickWand *wand,const char *artifact) 399</pre> 400 401<p>A description of each parameter follows:</p> 402 403<dd> 404</dd> 405 406<dd> </dd> 407<dl class="dl-horizontal"> 408<dt>wand</dt> 409<dd>the magick wand. </dd> 410 411<dd> </dd> 412<dt>artifact</dt> 413<dd>the artifact. </dd> 414 415<dd> </dd> 416</dl> 417<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetImageArtifacts">MagickGetImageArtifacts</a></h2> 418 419<p>MagickGetImageArtifacts() returns all the artifact names that match the specified pattern associated with a wand. Use MagickGetImageProperty() to return the value of a particular artifact. Use MagickRelinquishMemory() to free the value when you are finished with it.</p> 420 421<p>The format of the MagickGetImageArtifacts method is:</p> 422 423<pre class="text"> 424char *MagickGetImageArtifacts(MagickWand *wand, 425 const char *pattern,size_t *number_artifacts) 426</pre> 427 428<p>A description of each parameter follows:</p> 429 430<dd> 431</dd> 432 433<dd> </dd> 434<dl class="dl-horizontal"> 435<dt>wand</dt> 436<dd>the magick wand. </dd> 437 438<dd> </dd> 439<dt>pattern</dt> 440<dd>Specifies a pointer to a text string containing a pattern. </dd> 441 442<dd> </dd> 443<dt>number_artifacts</dt> 444<dd>the number artifacts associated with this wand. </dd> 445 446<dd> </dd> 447</dl> 448<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetImageProfile">MagickGetImageProfile</a></h2> 449 450<p>MagickGetImageProfile() returns the named image profile.</p> 451 452<p>The format of the MagickGetImageProfile method is:</p> 453 454<pre class="text"> 455unsigned char *MagickGetImageProfile(MagickWand *wand,const char *name, 456 size_t *length) 457</pre> 458 459<p>A description of each parameter follows:</p> 460 461<dd> 462</dd> 463 464<dd> </dd> 465<dl class="dl-horizontal"> 466<dt>wand</dt> 467<dd>the magick wand. </dd> 468 469<dd> </dd> 470<dt>name</dt> 471<dd>Name of profile to return: ICC, IPTC, or generic profile. </dd> 472 473<dd> </dd> 474<dt>length</dt> 475<dd>the length of the profile. </dd> 476 477<dd> </dd> 478</dl> 479<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetImageProfiles">MagickGetImageProfiles</a></h2> 480 481<p>MagickGetImageProfiles() returns all the profile names that match the specified pattern associated with a wand. Use MagickGetImageProfile() to return the value of a particular property. Use MagickRelinquishMemory() to free the value when you are finished with it.</p> 482 483<p>The format of the MagickGetImageProfiles method is:</p> 484 485<pre class="text"> 486char *MagickGetImageProfiles(MagickWand *wand,const char *pattern, 487 size_t *number_profiles) 488</pre> 489 490<p>A description of each parameter follows:</p> 491 492<dd> 493</dd> 494 495<dd> </dd> 496<dl class="dl-horizontal"> 497<dt>wand</dt> 498<dd>the magick wand. </dd> 499 500<dd> </dd> 501<dt>pattern</dt> 502<dd>Specifies a pointer to a text string containing a pattern. </dd> 503 504<dd> </dd> 505<dt>number_profiles</dt> 506<dd>the number profiles associated with this wand. </dd> 507 508<dd> </dd> 509</dl> 510<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetImageProperty">MagickGetImageProperty</a></h2> 511 512<p>MagickGetImageProperty() returns a value associated with the specified property. Use MagickRelinquishMemory() to free the value when you are finished with it.</p> 513 514<p>The format of the MagickGetImageProperty method is:</p> 515 516<pre class="text"> 517char *MagickGetImageProperty(MagickWand *wand,const char *property) 518</pre> 519 520<p>A description of each parameter follows:</p> 521 522<dd> 523</dd> 524 525<dd> </dd> 526<dl class="dl-horizontal"> 527<dt>wand</dt> 528<dd>the magick wand. </dd> 529 530<dd> </dd> 531<dt>property</dt> 532<dd>the property. </dd> 533 534<dd> </dd> 535</dl> 536<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetImageProperties">MagickGetImageProperties</a></h2> 537 538<p>MagickGetImageProperties() returns all the property names that match the specified pattern associated with a wand. Use MagickGetImageProperty() to return the value of a particular property. Use MagickRelinquishMemory() to free the value when you are finished with it.</p> 539 540<p>The format of the MagickGetImageProperties method is:</p> 541 542<pre class="text"> 543char *MagickGetImageProperties(MagickWand *wand, 544 const char *pattern,size_t *number_properties) 545</pre> 546 547<p>A description of each parameter follows:</p> 548 549<dd> 550</dd> 551 552<dd> </dd> 553<dl class="dl-horizontal"> 554<dt>wand</dt> 555<dd>the magick wand. </dd> 556 557<dd> </dd> 558<dt>pattern</dt> 559<dd>Specifies a pointer to a text string containing a pattern. </dd> 560 561<dd> </dd> 562<dt>number_properties</dt> 563<dd>the number properties associated with this wand. </dd> 564 565<dd> </dd> 566</dl> 567<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetInterlaceScheme">MagickGetInterlaceScheme</a></h2> 568 569<p>MagickGetInterlaceScheme() gets the wand interlace scheme.</p> 570 571<p>The format of the MagickGetInterlaceScheme method is:</p> 572 573<pre class="text"> 574InterlaceType MagickGetInterlaceScheme(MagickWand *wand) 575</pre> 576 577<p>A description of each parameter follows:</p> 578 579<dd> 580</dd> 581 582<dd> </dd> 583<dl class="dl-horizontal"> 584<dt>wand</dt> 585<dd>the magick wand. </dd> 586 587<dd> </dd> 588</dl> 589<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetInterpolateMethod">MagickGetInterpolateMethod</a></h2> 590 591<p>MagickGetInterpolateMethod() gets the wand compression.</p> 592 593<p>The format of the MagickGetInterpolateMethod method is:</p> 594 595<pre class="text"> 596PixelInterpolateMethod MagickGetInterpolateMethod(MagickWand *wand) 597</pre> 598 599<p>A description of each parameter follows:</p> 600 601<dd> 602</dd> 603 604<dd> </dd> 605<dl class="dl-horizontal"> 606<dt>wand</dt> 607<dd>the magick wand. </dd> 608 609<dd> </dd> 610</dl> 611<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetOption">MagickGetOption</a></h2> 612 613<p>MagickGetOption() returns a value associated with a wand and the specified key. Use MagickRelinquishMemory() to free the value when you are finished with it.</p> 614 615<p>The format of the MagickGetOption method is:</p> 616 617<pre class="text"> 618char *MagickGetOption(MagickWand *wand,const char *key) 619</pre> 620 621<p>A description of each parameter follows:</p> 622 623<dd> 624</dd> 625 626<dd> </dd> 627<dl class="dl-horizontal"> 628<dt>wand</dt> 629<dd>the magick wand. </dd> 630 631<dd> </dd> 632<dt>key</dt> 633<dd>the key. </dd> 634 635<dd> </dd> 636</dl> 637<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetOptions">MagickGetOptions</a></h2> 638 639<p>MagickGetOptions() returns all the option names that match the specified pattern associated with a wand. Use MagickGetOption() to return the value of a particular option. Use MagickRelinquishMemory() to free the value when you are finished with it.</p> 640 641<p>The format of the MagickGetOptions method is:</p> 642 643<pre class="text"> 644char *MagickGetOptions(MagickWand *wand,const char *pattern, 645 size_t *number_options) 646</pre> 647 648<p>A description of each parameter follows:</p> 649 650<dd> 651</dd> 652 653<dd> </dd> 654<dl class="dl-horizontal"> 655<dt>wand</dt> 656<dd>the magick wand. </dd> 657 658<dd> </dd> 659<dt>pattern</dt> 660<dd>Specifies a pointer to a text string containing a pattern. </dd> 661 662<dd> </dd> 663<dt>number_options</dt> 664<dd>the number options associated with this wand. </dd> 665 666<dd> </dd> 667</dl> 668<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetOrientation">MagickGetOrientation</a></h2> 669 670<p>MagickGetOrientation() gets the wand orientation type.</p> 671 672<p>The format of the MagickGetOrientation method is:</p> 673 674<pre class="text"> 675OrientationType MagickGetOrientation(MagickWand *wand) 676</pre> 677 678<p>A description of each parameter follows:</p> 679 680<dd> 681</dd> 682 683<dd> </dd> 684<dl class="dl-horizontal"> 685<dt>wand</dt> 686<dd>the magick wand. </dd> 687 688<dd> </dd> 689</dl> 690<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetPackageName">MagickGetPackageName</a></h2> 691 692<p>MagickGetPackageName() returns the ImageMagick package name as a string constant.</p> 693 694<p>The format of the MagickGetPackageName method is:</p> 695 696<pre class="text"> 697const char *MagickGetPackageName(void) 698</pre> 699 700 701<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetPage">MagickGetPage</a></h2> 702 703<p>MagickGetPage() returns the page geometry associated with the magick wand.</p> 704 705<p>The format of the MagickGetPage method is:</p> 706 707<pre class="text"> 708MagickBooleanType MagickGetPage(const MagickWand *wand, 709 size_t *width,size_t *height,ssize_t *x,ssize_t *y) 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 magick wand. </dd> 721 722<dd> </dd> 723<dt>width</dt> 724<dd>the page width. </dd> 725 726<dd> </dd> 727<dt>height</dt> 728<dd>page height. </dd> 729 730<dd> </dd> 731<dt>x</dt> 732<dd>the page x-offset. </dd> 733 734<dd> </dd> 735<dt>y</dt> 736<dd>the page y-offset. </dd> 737 738<dd> </dd> 739</dl> 740<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetPointsize">MagickGetPointsize</a></h2> 741 742<p>MagickGetPointsize() returns the font pointsize associated with the MagickWand.</p> 743 744<p>The format of the MagickGetPointsize method is:</p> 745 746<pre class="text"> 747double MagickGetPointsize(MagickWand *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 magick wand. </dd> 759 760<dd> </dd> 761</dl> 762<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetQuantumDepth">MagickGetQuantumDepth</a></h2> 763 764<p>MagickGetQuantumDepth() returns the ImageMagick quantum depth as a string constant.</p> 765 766<p>The format of the MagickGetQuantumDepth method is:</p> 767 768<pre class="text"> 769const char *MagickGetQuantumDepth(size_t *depth) 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>depth</dt> 780<dd>the quantum depth is returned as a number. </dd> 781 782<dd> </dd> 783</dl> 784<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetQuantumRange">MagickGetQuantumRange</a></h2> 785 786<p>MagickGetQuantumRange() returns the ImageMagick quantum range as a string constant.</p> 787 788<p>The format of the MagickGetQuantumRange method is:</p> 789 790<pre class="text"> 791const char *MagickGetQuantumRange(size_t *range) 792</pre> 793 794<p>A description of each parameter follows:</p> 795 796<dd> 797</dd> 798 799<dd> </dd> 800<dl class="dl-horizontal"> 801<dt>range</dt> 802<dd>the quantum range is returned as a number. </dd> 803 804<dd> </dd> 805</dl> 806<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetReleaseDate">MagickGetReleaseDate</a></h2> 807 808<p>MagickGetReleaseDate() returns the ImageMagick release date as a string constant.</p> 809 810<p>The format of the MagickGetReleaseDate method is:</p> 811 812<pre class="text"> 813const char *MagickGetReleaseDate(void) 814</pre> 815 816<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetResolution">MagickGetResolution</a></h2> 817 818<p>MagickGetResolution() gets the image X and Y resolution.</p> 819 820<p>The format of the MagickGetResolution method is:</p> 821 822<pre class="text"> 823MagickBooleanType MagickGetResolution(const MagickWand *wand,double *x, 824 double *y) 825</pre> 826 827<p>A description of each parameter follows:</p> 828 829<dd> 830</dd> 831 832<dd> </dd> 833<dl class="dl-horizontal"> 834<dt>wand</dt> 835<dd>the magick wand. </dd> 836 837<dd> </dd> 838<dt>x</dt> 839<dd>the x-resolution. </dd> 840 841<dd> </dd> 842<dt>y</dt> 843<dd>the y-resolution. </dd> 844 845<dd> </dd> 846</dl> 847<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetResource">MagickGetResource</a></h2> 848 849<p>MagickGetResource() returns the specified resource in megabytes.</p> 850 851<p>The format of the MagickGetResource method is:</p> 852 853<pre class="text"> 854MagickSizeType MagickGetResource(const ResourceType type) 855</pre> 856 857<p>A description of each parameter follows:</p> 858 859<dd> 860</dd> 861 862<dd> </dd> 863<dl class="dl-horizontal"> 864<dt>wand</dt> 865<dd>the magick wand. </dd> 866 867<dd> </dd> 868</dl> 869<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetResourceLimit">MagickGetResourceLimit</a></h2> 870 871<p>MagickGetResourceLimit() returns the specified resource limit in megabytes.</p> 872 873<p>The format of the MagickGetResourceLimit method is:</p> 874 875<pre class="text"> 876MagickSizeType MagickGetResourceLimit(const ResourceType type) 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 magick wand. </dd> 888 889<dd> </dd> 890</dl> 891<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetSamplingFactors">MagickGetSamplingFactors</a></h2> 892 893<p>MagickGetSamplingFactors() gets the horizontal and vertical sampling factor.</p> 894 895<p>The format of the MagickGetSamplingFactors method is:</p> 896 897<pre class="text"> 898double *MagickGetSamplingFactor(MagickWand *wand, 899 size_t *number_factors) 900</pre> 901 902<p>A description of each parameter follows:</p> 903 904<dd> 905</dd> 906 907<dd> </dd> 908<dl class="dl-horizontal"> 909<dt>wand</dt> 910<dd>the magick wand. </dd> 911 912<dd> </dd> 913<dt>number_factors</dt> 914<dd>the number of factors in the returned array. </dd> 915 916<dd> </dd> 917</dl> 918<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetSize">MagickGetSize</a></h2> 919 920<p>MagickGetSize() returns the size associated with the magick wand.</p> 921 922<p>The format of the MagickGetSize method is:</p> 923 924<pre class="text"> 925MagickBooleanType MagickGetSize(const MagickWand *wand, 926 size_t *columns,size_t *rows) 927</pre> 928 929<p>A description of each parameter follows:</p> 930 931<dd> 932</dd> 933 934<dd> </dd> 935<dl class="dl-horizontal"> 936<dt>wand</dt> 937<dd>the magick wand. </dd> 938 939<dd> </dd> 940<dt>columns</dt> 941<dd>the width in pixels. </dd> 942 943<dd> </dd> 944<dt>height</dt> 945<dd>the height in pixels. </dd> 946 947<dd> </dd> 948</dl> 949<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetSizeOffset">MagickGetSizeOffset</a></h2> 950 951<p>MagickGetSizeOffset() returns the size offset associated with the magick wand.</p> 952 953<p>The format of the MagickGetSizeOffset method is:</p> 954 955<pre class="text"> 956MagickBooleanType MagickGetSizeOffset(const MagickWand *wand, 957 ssize_t *offset) 958</pre> 959 960<p>A description of each parameter follows:</p> 961 962<dd> 963</dd> 964 965<dd> </dd> 966<dl class="dl-horizontal"> 967<dt>wand</dt> 968<dd>the magick wand. </dd> 969 970<dd> </dd> 971<dt>offset</dt> 972<dd>the image offset. </dd> 973 974<dd> </dd> 975</dl> 976<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetType">MagickGetType</a></h2> 977 978<p>MagickGetType() returns the wand type.</p> 979 980<p>The format of the MagickGetType method is:</p> 981 982<pre class="text"> 983ImageType MagickGetType(MagickWand *wand) 984</pre> 985 986<p>A description of each parameter follows:</p> 987 988<dd> 989</dd> 990 991<dd> </dd> 992<dl class="dl-horizontal"> 993<dt>wand</dt> 994<dd>the magick wand. </dd> 995 996<dd> </dd> 997</dl> 998<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetVersion">MagickGetVersion</a></h2> 999 1000<p>MagickGetVersion() returns the ImageMagick API version as a string constant and as a number.</p> 1001 1002<p>The format of the MagickGetVersion method is:</p> 1003 1004<pre class="text"> 1005const char *MagickGetVersion(size_t *version) 1006</pre> 1007 1008<p>A description of each parameter follows:</p> 1009 1010<dd> 1011</dd> 1012 1013<dd> </dd> 1014<dl class="dl-horizontal"> 1015<dt>version</dt> 1016<dd>the ImageMagick version is returned as a number. </dd> 1017 1018<dd> </dd> 1019</dl> 1020<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickProfileImage">MagickProfileImage</a></h2> 1021 1022<p>MagickProfileImage() adds or removes a ICC, IPTC, or generic profile from an image. If the profile is NULL, it is removed from the image otherwise added. Use a name of '*' and a profile of NULL to remove all profiles from the image.</p> 1023 1024<p>The format of the MagickProfileImage method is:</p> 1025 1026<pre class="text"> 1027MagickBooleanType MagickProfileImage(MagickWand *wand,const char *name, 1028 const void *profile,const size_t length) 1029</pre> 1030 1031<p>A description of each parameter follows:</p> 1032 1033<dd> 1034</dd> 1035 1036<dd> </dd> 1037<dl class="dl-horizontal"> 1038<dt>wand</dt> 1039<dd>the magick wand. </dd> 1040 1041<dd> </dd> 1042<dt>name</dt> 1043<dd>Name of profile to add or remove: ICC, IPTC, or generic profile. </dd> 1044 1045<dd> </dd> 1046<dt>profile</dt> 1047<dd>the profile. </dd> 1048 1049<dd> </dd> 1050<dt>length</dt> 1051<dd>the length of the profile. </dd> 1052 1053<dd> </dd> 1054</dl> 1055<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickRemoveImageProfile">MagickRemoveImageProfile</a></h2> 1056 1057<p>MagickRemoveImageProfile() removes the named image profile and returns it.</p> 1058 1059<p>The format of the MagickRemoveImageProfile method is:</p> 1060 1061<pre class="text"> 1062unsigned char *MagickRemoveImageProfile(MagickWand *wand, 1063 const char *name,size_t *length) 1064</pre> 1065 1066<p>A description of each parameter follows:</p> 1067 1068<dd> 1069</dd> 1070 1071<dd> </dd> 1072<dl class="dl-horizontal"> 1073<dt>wand</dt> 1074<dd>the magick wand. </dd> 1075 1076<dd> </dd> 1077<dt>name</dt> 1078<dd>Name of profile to return: ICC, IPTC, or generic profile. </dd> 1079 1080<dd> </dd> 1081<dt>length</dt> 1082<dd>the length of the profile. </dd> 1083 1084<dd> </dd> 1085</dl> 1086<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetAntialias">MagickSetAntialias</a></h2> 1087 1088<p>MagickSetAntialias() sets the antialias propery of the wand.</p> 1089 1090<p>The format of the MagickSetAntialias method is:</p> 1091 1092<pre class="text"> 1093MagickBooleanType MagickSetAntialias(MagickWand *wand, 1094 const MagickBooleanType antialias) 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 magick wand. </dd> 1106 1107<dd> </dd> 1108<dt>antialias</dt> 1109<dd>the antialias property. </dd> 1110 1111<dd> </dd> 1112</dl> 1113<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetBackgroundColor">MagickSetBackgroundColor</a></h2> 1114 1115<p>MagickSetBackgroundColor() sets the wand background color.</p> 1116 1117<p>The format of the MagickSetBackgroundColor method is:</p> 1118 1119<pre class="text"> 1120MagickBooleanType MagickSetBackgroundColor(MagickWand *wand, 1121 const PixelWand *background) 1122</pre> 1123 1124<p>A description of each parameter follows:</p> 1125 1126<dd> 1127</dd> 1128 1129<dd> </dd> 1130<dl class="dl-horizontal"> 1131<dt>wand</dt> 1132<dd>the magick wand. </dd> 1133 1134<dd> </dd> 1135<dt>background</dt> 1136<dd>the background pixel wand. </dd> 1137 1138<dd> </dd> 1139</dl> 1140<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetColorspace">MagickSetColorspace</a></h2> 1141 1142<p>MagickSetColorspace() sets the wand colorspace type.</p> 1143 1144<p>The format of the MagickSetColorspace method is:</p> 1145 1146<pre class="text"> 1147MagickBooleanType MagickSetColorspace(MagickWand *wand, 1148 const ColorspaceType colorspace) 1149</pre> 1150 1151<p>A description of each parameter follows:</p> 1152 1153<dd> 1154</dd> 1155 1156<dd> </dd> 1157<dl class="dl-horizontal"> 1158<dt>wand</dt> 1159<dd>the magick wand. </dd> 1160 1161<dd> </dd> 1162<dt>colorspace</dt> 1163<dd>the wand colorspace. </dd> 1164 1165<dd> </dd> 1166</dl> 1167<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetCompression">MagickSetCompression</a></h2> 1168 1169<p>MagickSetCompression() sets the wand compression type.</p> 1170 1171<p>The format of the MagickSetCompression method is:</p> 1172 1173<pre class="text"> 1174MagickBooleanType MagickSetCompression(MagickWand *wand, 1175 const CompressionType compression) 1176</pre> 1177 1178<p>A description of each parameter follows:</p> 1179 1180<dd> 1181</dd> 1182 1183<dd> </dd> 1184<dl class="dl-horizontal"> 1185<dt>wand</dt> 1186<dd>the magick wand. </dd> 1187 1188<dd> </dd> 1189<dt>compression</dt> 1190<dd>the wand compression. </dd> 1191 1192<dd> </dd> 1193</dl> 1194<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetCompressionQuality">MagickSetCompressionQuality</a></h2> 1195 1196<p>MagickSetCompressionQuality() sets the wand compression quality.</p> 1197 1198<p>The format of the MagickSetCompressionQuality method is:</p> 1199 1200<pre class="text"> 1201MagickBooleanType MagickSetCompressionQuality(MagickWand *wand, 1202 const size_t quality) 1203</pre> 1204 1205<p>A description of each parameter follows:</p> 1206 1207<dd> 1208</dd> 1209 1210<dd> </dd> 1211<dl class="dl-horizontal"> 1212<dt>wand</dt> 1213<dd>the magick wand. </dd> 1214 1215<dd> </dd> 1216<dt>quality</dt> 1217<dd>the wand compression quality. </dd> 1218 1219<dd> </dd> 1220</dl> 1221<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetDepth">MagickSetDepth</a></h2> 1222 1223<p>MagickSetDepth() sets the wand pixel depth.</p> 1224 1225<p>The format of the MagickSetDepth method is:</p> 1226 1227<pre class="text"> 1228MagickBooleanType MagickSetDepth(MagickWand *wand, 1229 const size_t depth) 1230</pre> 1231 1232<p>A description of each parameter follows:</p> 1233 1234<dd> 1235</dd> 1236 1237<dd> </dd> 1238<dl class="dl-horizontal"> 1239<dt>wand</dt> 1240<dd>the magick wand. </dd> 1241 1242<dd> </dd> 1243<dt>depth</dt> 1244<dd>the wand pixel depth. </dd> 1245 1246<dd> </dd> 1247</dl> 1248<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetExtract">MagickSetExtract</a></h2> 1249 1250<p>MagickSetExtract() sets the extract geometry before you read or write an image file. Use it for inline cropping (e.g. 200x200+0+0) or resizing (e.g.200x200).</p> 1251 1252<p>The format of the MagickSetExtract method is:</p> 1253 1254<pre class="text"> 1255MagickBooleanType MagickSetExtract(MagickWand *wand, 1256 const char *geometry) 1257</pre> 1258 1259<p>A description of each parameter follows:</p> 1260 1261<dd> 1262</dd> 1263 1264<dd> </dd> 1265<dl class="dl-horizontal"> 1266<dt>wand</dt> 1267<dd>the magick wand. </dd> 1268 1269<dd> </dd> 1270<dt>geometry</dt> 1271<dd>the extract geometry. </dd> 1272 1273<dd> </dd> 1274</dl> 1275<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetFilename">MagickSetFilename</a></h2> 1276 1277<p>MagickSetFilename() sets the filename before you read or write an image file.</p> 1278 1279<p>The format of the MagickSetFilename method is:</p> 1280 1281<pre class="text"> 1282MagickBooleanType MagickSetFilename(MagickWand *wand, 1283 const char *filename) 1284</pre> 1285 1286<p>A description of each parameter follows:</p> 1287 1288<dd> 1289</dd> 1290 1291<dd> </dd> 1292<dl class="dl-horizontal"> 1293<dt>wand</dt> 1294<dd>the magick wand. </dd> 1295 1296<dd> </dd> 1297<dt>filename</dt> 1298<dd>the image filename. </dd> 1299 1300<dd> </dd> 1301</dl> 1302<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetFont">MagickSetFont</a></h2> 1303 1304<p>MagickSetFont() sets the font associated with the MagickWand.</p> 1305 1306<p>The format of the MagickSetFont method is:</p> 1307 1308<pre class="text"> 1309MagickBooleanType MagickSetFont(MagickWand *wand, const char *font) 1310</pre> 1311 1312<p>A description of each parameter follows:</p> 1313 1314<dd> 1315</dd> 1316 1317<dd> </dd> 1318<dl class="dl-horizontal"> 1319<dt>wand</dt> 1320<dd>the magick wand. </dd> 1321 1322<dd> </dd> 1323<dt>font</dt> 1324<dd>the font </dd> 1325 1326<dd> </dd> 1327</dl> 1328<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetFormat">MagickSetFormat</a></h2> 1329 1330<p>MagickSetFormat() sets the format of the magick wand.</p> 1331 1332<p>The format of the MagickSetFormat method is:</p> 1333 1334<pre class="text"> 1335MagickBooleanType MagickSetFormat(MagickWand *wand,const char *format) 1336</pre> 1337 1338<p>A description of each parameter follows:</p> 1339 1340<dd> 1341</dd> 1342 1343<dd> </dd> 1344<dl class="dl-horizontal"> 1345<dt>wand</dt> 1346<dd>the magick wand. </dd> 1347 1348<dd> </dd> 1349<dt>format</dt> 1350<dd>the image format. </dd> 1351 1352<dd> </dd> 1353</dl> 1354<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetGravity">MagickSetGravity</a></h2> 1355 1356<p>MagickSetGravity() sets the gravity type.</p> 1357 1358<p>The format of the MagickSetGravity type is:</p> 1359 1360<pre class="text"> 1361MagickBooleanType MagickSetGravity(MagickWand *wand, 1362 const GravityType type) 1363</pre> 1364 1365<p>A description of each parameter follows:</p> 1366 1367<dd> 1368</dd> 1369 1370<dd> </dd> 1371<dl class="dl-horizontal"> 1372<dt>wand</dt> 1373<dd>the magick wand. </dd> 1374 1375<dd> </dd> 1376<dt>type</dt> 1377<dd>the gravity type. </dd> 1378 1379<dd> </dd> 1380</dl> 1381<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetImageArtifact">MagickSetImageArtifact</a></h2> 1382 1383<p>MagickSetImageArtifact() associates a artifact with an image.</p> 1384 1385<p>The format of the MagickSetImageArtifact method is:</p> 1386 1387<pre class="text"> 1388MagickBooleanType MagickSetImageArtifact(MagickWand *wand, 1389 const char *artifact,const char *value) 1390</pre> 1391 1392<p>A description of each parameter follows:</p> 1393 1394<dd> 1395</dd> 1396 1397<dd> </dd> 1398<dl class="dl-horizontal"> 1399<dt>wand</dt> 1400<dd>the magick wand. </dd> 1401 1402<dd> </dd> 1403<dt>artifact</dt> 1404<dd>the artifact. </dd> 1405 1406<dd> </dd> 1407<dt>value</dt> 1408<dd>the value. </dd> 1409 1410<dd> </dd> 1411</dl> 1412<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetImageProfile">MagickSetImageProfile</a></h2> 1413 1414<p>MagickSetImageProfile() adds a named profile to the magick wand. If a profile with the same name already exists, it is replaced. This method differs from the MagickProfileImage() method in that it does not apply any CMS color profiles.</p> 1415 1416<p>The format of the MagickSetImageProfile method is:</p> 1417 1418<pre class="text"> 1419MagickBooleanType MagickSetImageProfile(MagickWand *wand, 1420 const char *name,const void *profile,const size_t length) 1421</pre> 1422 1423<p>A description of each parameter follows:</p> 1424 1425<dd> 1426</dd> 1427 1428<dd> </dd> 1429<dl class="dl-horizontal"> 1430<dt>wand</dt> 1431<dd>the magick wand. </dd> 1432 1433<dd> </dd> 1434<dt>name</dt> 1435<dd>Name of profile to add or remove: ICC, IPTC, or generic profile. </dd> 1436 1437<dd> </dd> 1438<dt>profile</dt> 1439<dd>the profile. </dd> 1440 1441<dd> </dd> 1442<dt>length</dt> 1443<dd>the length of the profile. </dd> 1444 1445<dd> </dd> 1446</dl> 1447<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetImageProperty">MagickSetImageProperty</a></h2> 1448 1449<p>MagickSetImageProperty() associates a property with an image.</p> 1450 1451<p>The format of the MagickSetImageProperty method is:</p> 1452 1453<pre class="text"> 1454MagickBooleanType MagickSetImageProperty(MagickWand *wand, 1455 const char *property,const char *value) 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 magick wand. </dd> 1467 1468<dd> </dd> 1469<dt>property</dt> 1470<dd>the property. </dd> 1471 1472<dd> </dd> 1473<dt>value</dt> 1474<dd>the value. </dd> 1475 1476<dd> </dd> 1477</dl> 1478<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetInterlaceScheme">MagickSetInterlaceScheme</a></h2> 1479 1480<p>MagickSetInterlaceScheme() sets the image compression.</p> 1481 1482<p>The format of the MagickSetInterlaceScheme method is:</p> 1483 1484<pre class="text"> 1485MagickBooleanType MagickSetInterlaceScheme(MagickWand *wand, 1486 const InterlaceType interlace_scheme) 1487</pre> 1488 1489<p>A description of each parameter follows:</p> 1490 1491<dd> 1492</dd> 1493 1494<dd> </dd> 1495<dl class="dl-horizontal"> 1496<dt>wand</dt> 1497<dd>the magick wand. </dd> 1498 1499<dd> </dd> 1500<dt>interlace_scheme</dt> 1501<dd>the image interlace scheme: NoInterlace, LineInterlace, PlaneInterlace, PartitionInterlace. </dd> 1502 1503<dd> </dd> 1504</dl> 1505<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetInterpolateMethod">MagickSetInterpolateMethod</a></h2> 1506 1507<p>MagickSetInterpolateMethod() sets the interpolate pixel method.</p> 1508 1509<p>The format of the MagickSetInterpolateMethod method is:</p> 1510 1511<pre class="text"> 1512MagickBooleanType MagickSetInterpolateMethod(MagickWand *wand, 1513 const InterpolateMethodPixel method) 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 magick wand. </dd> 1525 1526<dd> </dd> 1527<dt>method</dt> 1528<dd>the interpolate pixel method. </dd> 1529 1530<dd> </dd> 1531</dl> 1532<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetOption">MagickSetOption</a></h2> 1533 1534<p>MagickSetOption() associates one or options with the wand (.e.g MagickSetOption(wand,"jpeg:perserve","yes")).</p> 1535 1536<p>The format of the MagickSetOption method is:</p> 1537 1538<pre class="text"> 1539MagickBooleanType MagickSetOption(MagickWand *wand,const char *key, 1540 const char *value) 1541</pre> 1542 1543<p>A description of each parameter follows:</p> 1544 1545<dd> 1546</dd> 1547 1548<dd> </dd> 1549<dl class="dl-horizontal"> 1550<dt>wand</dt> 1551<dd>the magick wand. </dd> 1552 1553<dd> </dd> 1554<dt>key</dt> 1555<dd> The key. </dd> 1556 1557<dd> </dd> 1558<dt>value</dt> 1559<dd> The value. </dd> 1560 1561<dd> </dd> 1562</dl> 1563<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetOrientation">MagickSetOrientation</a></h2> 1564 1565<p>MagickSetOrientation() sets the wand orientation type.</p> 1566 1567<p>The format of the MagickSetOrientation method is:</p> 1568 1569<pre class="text"> 1570MagickBooleanType MagickSetOrientation(MagickWand *wand, 1571 const OrientationType orientation) 1572</pre> 1573 1574<p>A description of each parameter follows:</p> 1575 1576<dd> 1577</dd> 1578 1579<dd> </dd> 1580<dl class="dl-horizontal"> 1581<dt>wand</dt> 1582<dd>the magick wand. </dd> 1583 1584<dd> </dd> 1585<dt>orientation</dt> 1586<dd>the wand orientation. </dd> 1587 1588<dd> </dd> 1589</dl> 1590<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetPage">MagickSetPage</a></h2> 1591 1592<p>MagickSetPage() sets the page geometry of the magick wand.</p> 1593 1594<p>The format of the MagickSetPage method is:</p> 1595 1596<pre class="text"> 1597MagickBooleanType MagickSetPage(MagickWand *wand, 1598 const size_t width,const size_t height,const ssize_t x, 1599 const ssize_t y) 1600</pre> 1601 1602<p>A description of each parameter follows:</p> 1603 1604<dd> 1605</dd> 1606 1607<dd> </dd> 1608<dl class="dl-horizontal"> 1609<dt>wand</dt> 1610<dd>the magick wand. </dd> 1611 1612<dd> </dd> 1613<dt>width</dt> 1614<dd>the page width. </dd> 1615 1616<dd> </dd> 1617<dt>height</dt> 1618<dd>the page height. </dd> 1619 1620<dd> </dd> 1621<dt>x</dt> 1622<dd>the page x-offset. </dd> 1623 1624<dd> </dd> 1625<dt>y</dt> 1626<dd>the page y-offset. </dd> 1627 1628<dd> </dd> 1629</dl> 1630<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetPassphrase">MagickSetPassphrase</a></h2> 1631 1632<p>MagickSetPassphrase() sets the passphrase.</p> 1633 1634<p>The format of the MagickSetPassphrase method is:</p> 1635 1636<pre class="text"> 1637MagickBooleanType MagickSetPassphrase(MagickWand *wand, 1638 const char *passphrase) 1639</pre> 1640 1641<p>A description of each parameter follows:</p> 1642 1643<dd> 1644</dd> 1645 1646<dd> </dd> 1647<dl class="dl-horizontal"> 1648<dt>wand</dt> 1649<dd>the magick wand. </dd> 1650 1651<dd> </dd> 1652<dt>passphrase</dt> 1653<dd>the passphrase. </dd> 1654 1655<dd> </dd> 1656</dl> 1657<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetPointsize">MagickSetPointsize</a></h2> 1658 1659<p>MagickSetPointsize() sets the font pointsize associated with the MagickWand.</p> 1660 1661<p>The format of the MagickSetPointsize method is:</p> 1662 1663<pre class="text"> 1664MagickBooleanType MagickSetPointsize(MagickWand *wand, 1665 const double pointsize) 1666</pre> 1667 1668<p>A description of each parameter follows:</p> 1669 1670<dd> 1671</dd> 1672 1673<dd> </dd> 1674<dl class="dl-horizontal"> 1675<dt>wand</dt> 1676<dd>the magick wand. </dd> 1677 1678<dd> </dd> 1679<dt>pointsize</dt> 1680<dd>the size of the font </dd> 1681 1682<dd> </dd> 1683</dl> 1684<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetProgressMonitor">MagickSetProgressMonitor</a></h2> 1685 1686<p>MagickSetProgressMonitor() sets the wand progress monitor to the specified method and returns the previous progress monitor if any. The progress monitor method looks like this:</p> 1687 1688<pre class="text"> 1689 MagickBooleanType MagickProgressMonitor(const char *text, 1690const MagickOffsetType offset,const MagickSizeType span, 1691void *client_data) 1692</pre> 1693 1694<p>If the progress monitor returns MagickFalse, the current operation is interrupted.</p> 1695 1696<p>The format of the MagickSetProgressMonitor method is:</p> 1697 1698<pre class="text"> 1699MagickProgressMonitor MagickSetProgressMonitor(MagickWand *wand 1700 const MagickProgressMonitor progress_monitor,void *client_data) 1701</pre> 1702 1703<p>A description of each parameter follows:</p> 1704 1705<dd> 1706</dd> 1707 1708<dd> </dd> 1709<dl class="dl-horizontal"> 1710<dt>wand</dt> 1711<dd>the magick wand. </dd> 1712 1713<dd> </dd> 1714<dt>progress_monitor</dt> 1715<dd>Specifies a pointer to a method to monitor progress of an image operation. </dd> 1716 1717<dd> </dd> 1718<dt>client_data</dt> 1719<dd>Specifies a pointer to any client data. </dd> 1720 1721<dd> </dd> 1722</dl> 1723<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetResourceLimit">MagickSetResourceLimit</a></h2> 1724 1725<p>MagickSetResourceLimit() sets the limit for a particular resource in megabytes.</p> 1726 1727<p>The format of the MagickSetResourceLimit method is:</p> 1728 1729<pre class="text"> 1730MagickBooleanType MagickSetResourceLimit(const ResourceType type, 1731 const MagickSizeType limit) 1732</pre> 1733 1734<p>A description of each parameter follows:</p> 1735 1736<dd> 1737</dd> 1738 1739<dd> </dd> 1740<dl class="dl-horizontal"> 1741<dt>type</dt> 1742<dd>the type of resource: AreaResource, MemoryResource, MapResource, DiskResource, FileResource. </dd> 1743 1744<dd> o The maximum limit for the resource. </dd> 1745 1746<dd> </dd> 1747</dl> 1748<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetResolution">MagickSetResolution</a></h2> 1749 1750<p>MagickSetResolution() sets the image resolution.</p> 1751 1752<p>The format of the MagickSetResolution method is:</p> 1753 1754<pre class="text"> 1755MagickBooleanType MagickSetResolution(MagickWand *wand, 1756 const double x_resolution,const double y_resolution) 1757</pre> 1758 1759<p>A description of each parameter follows:</p> 1760 1761<dd> 1762</dd> 1763 1764<dd> </dd> 1765<dl class="dl-horizontal"> 1766<dt>wand</dt> 1767<dd>the magick wand. </dd> 1768 1769<dd> </dd> 1770<dt>x_resolution</dt> 1771<dd>the image x resolution. </dd> 1772 1773<dd> </dd> 1774<dt>y_resolution</dt> 1775<dd>the image y resolution. </dd> 1776 1777<dd> </dd> 1778</dl> 1779<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetSamplingFactors">MagickSetSamplingFactors</a></h2> 1780 1781<p>MagickSetSamplingFactors() sets the image sampling factors.</p> 1782 1783<p>The format of the MagickSetSamplingFactors method is:</p> 1784 1785<pre class="text"> 1786MagickBooleanType MagickSetSamplingFactors(MagickWand *wand, 1787 const size_t number_factors,const double *sampling_factors) 1788</pre> 1789 1790<p>A description of each parameter follows:</p> 1791 1792<dd> 1793</dd> 1794 1795<dd> </dd> 1796<dl class="dl-horizontal"> 1797<dt>wand</dt> 1798<dd>the magick wand. </dd> 1799 1800<dd> </dd> 1801<dt>number_factoes</dt> 1802<dd>the number of factors. </dd> 1803 1804<dd> </dd> 1805<dt>sampling_factors</dt> 1806<dd>An array of doubles representing the sampling factor for each color component (in RGB order). </dd> 1807 1808<dd> </dd> 1809</dl> 1810<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetSeed">MagickSetSeed</a></h2> 1811 1812<p>MagickSetSeed() sets the pseudo-random number generator seed. Use it to generate a pedictable sequence of random numbers.</p> 1813 1814<p>The format of the MagickSetSeed method is:</p> 1815 1816<pre class="text"> 1817void MagickSetSeed(const unsigned long seed) 1818</pre> 1819 1820<p>A description of each parameter follows:</p> 1821 1822<dd> 1823</dd> 1824 1825<dd> </dd> 1826<dl class="dl-horizontal"> 1827<dt>seed</dt> 1828<dd>the seed. </dd> 1829 1830<dd> </dd> 1831</dl> 1832<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetSecurityPolicy">MagickSetSecurityPolicy</a></h2> 1833 1834<p>MagickSetSecurityPolicy() sets the ImageMagick security policy. It returns MagickFalse if the policy is already set or if the policy does not parse.</p> 1835 1836<p>The format of the MagickSetAntialias method is:</p> 1837 1838<pre class="text"> 1839MagickBooleanType MagickSetAntialias(MagickWand *wand, 1840 const char *policy) 1841</pre> 1842 1843<p>A description of each parameter follows:</p> 1844 1845<dd> 1846</dd> 1847 1848<dd> </dd> 1849<dl class="dl-horizontal"> 1850<dt>wand</dt> 1851<dd>the magick wand. </dd> 1852 1853<dd> </dd> 1854<dt>policy</dt> 1855<dd>the security policy in the XML format. </dd> 1856 1857<dd> </dd> 1858</dl> 1859<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetSize">MagickSetSize</a></h2> 1860 1861<p>MagickSetSize() sets the size of the magick wand. Set it before you read a raw image format such as RGB, GRAY, or CMYK.</p> 1862 1863<p>The format of the MagickSetSize method is:</p> 1864 1865<pre class="text"> 1866MagickBooleanType MagickSetSize(MagickWand *wand, 1867 const size_t columns,const size_t rows) 1868</pre> 1869 1870<p>A description of each parameter follows:</p> 1871 1872<dd> 1873</dd> 1874 1875<dd> </dd> 1876<dl class="dl-horizontal"> 1877<dt>wand</dt> 1878<dd>the magick wand. </dd> 1879 1880<dd> </dd> 1881<dt>columns</dt> 1882<dd>the width in pixels. </dd> 1883 1884<dd> </dd> 1885<dt>rows</dt> 1886<dd>the rows in pixels. </dd> 1887 1888<dd> </dd> 1889</dl> 1890<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetSizeOffset">MagickSetSizeOffset</a></h2> 1891 1892<p>MagickSetSizeOffset() sets the size and offset of the magick wand. Set it before you read a raw image format such as RGB, GRAY, or CMYK.</p> 1893 1894<p>The format of the MagickSetSizeOffset method is:</p> 1895 1896<pre class="text"> 1897MagickBooleanType MagickSetSizeOffset(MagickWand *wand, 1898 const size_t columns,const size_t rows, 1899 const ssize_t offset) 1900</pre> 1901 1902<p>A description of each parameter follows:</p> 1903 1904<dd> 1905</dd> 1906 1907<dd> </dd> 1908<dl class="dl-horizontal"> 1909<dt>wand</dt> 1910<dd>the magick wand. </dd> 1911 1912<dd> </dd> 1913<dt>columns</dt> 1914<dd>the image width in pixels. </dd> 1915 1916<dd> </dd> 1917<dt>rows</dt> 1918<dd>the image rows in pixels. </dd> 1919 1920<dd> </dd> 1921<dt>offset</dt> 1922<dd>the image offset. </dd> 1923 1924<dd> </dd> 1925</dl> 1926<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetType">MagickSetType</a></h2> 1927 1928<p>MagickSetType() sets the image type attribute.</p> 1929 1930<p>The format of the MagickSetType method is:</p> 1931 1932<pre class="text"> 1933MagickBooleanType MagickSetType(MagickWand *wand, 1934 const ImageType image_type) 1935</pre> 1936 1937<p>A description of each parameter follows:</p> 1938 1939<dd> 1940</dd> 1941 1942<dd> </dd> 1943<dl class="dl-horizontal"> 1944<dt>wand</dt> 1945<dd>the magick wand. </dd> 1946 1947<dd> </dd> 1948<dt>image_type</dt> 1949<dd>the image type: UndefinedType, BilevelType, GrayscaleType, GrayscaleAlphaType, PaletteType, PaletteAlphaType, TrueColorType, TrueColorAlphaType, ColorSeparationType, ColorSeparationAlphaType, or OptimizeType. </dd> 1950 1951<dd> </dd> 1952</dl> 1953</div> 1954 </div> 1955 </main><!-- /.container --> 1956 <footer class="magick-footer"> 1957 <p><a href="../../www/security-policy.html">Security</a> • 1958 <a href="../../www/architecture.html">Architecture</a> 1959 1960 <a href="magick-property.html#"><img class="d-inline" id="wand" alt="And Now a Touch of Magick" width="16" height="16" src="../../images/wand.ico"/></a> 1961 1962 <a href="../../www/links.html">Related</a> • 1963 <a href="../../www/sitemap.html">Sitemap</a> 1964 <br/> 1965 <a href="../../www/support.html">Donate</a> • 1966 <a href="http://pgp.mit.edu/pks/lookup?op=get&search=0x89AB63D48277377A">Public Key</a> • 1967 <a href="../../www/contact.html">Contact Us</a> 1968 <br/> 1969 <small>© 1999-2020 ImageMagick Studio LLC</small></p> 1970 </footer> 1971 1972 <!-- Javascript assets --> 1973 <script src="../assets/magick.js" crossorigin="anonymous"></script> 1974 <script>window.jQuery || document.write('<script src="https://localhost/ajax/libs/jquery/3.4.1/jquery.min.js"><\/script>')</script> 1975</body> 1976</html> 1977<!-- Magick Cache 31st December 2019 17:59 -->