1 2 3 4 5<!DOCTYPE html> 6<html lang="en"> 7<head> 8 <meta name="google-site-verification" content="_bMOCDpkx9ZAzBwb2kF3PRHbfUUdFj2uO8Jd1AXArz4" /> 9 <title>ImageMagick: MagickWand, C API for ImageMagick: Property Methods</title> 10 <meta http-equiv="content-type" content="text/html; charset=utf-8"/> 11 <meta name="application-name" content="ImageMagick"/> 12 <meta name="description" content="ImageMagick® is a software suite to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, JPEG-2000, GIF, WebP, Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves."/> 13 <meta name="application-url" content="http://www.imagemagick.org"/> 14 <meta name="generator" content="PHP"/> 15 <meta name="keywords" content="magickwc, api, for, imagemagick:, 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-2016 ImageMagick Studio LLC"/> 23 <meta name="distribution" content="Global"/> 24 <meta name="magick-serial" content="P131-S030410-R485315270133-P82224-A6668-G1245-1"/> 25 <link rel="icon" href="../image/wand.png"/> 26 <link rel="shortcut icon" href="../image/wand.ico"/> 27 <link rel="stylesheet" href="../css/magick.php"/> 28</head> 29<body> 30<div class="main"> 31<div class="magick-masthead"> 32 <div class="container"> 33 <script async="async" src="http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" 34 style="display:block" 35 data-ad-client="ca-pub-3129977114552745" 36 data-ad-slot="6345125851" 37 data-ad-format="auto"></ins> 38 <script> 39 (adsbygoogle = window.adsbygoogle || []).push({}); 40 </script> 41 <nav class="magick-nav"> 42 <a class="magick-nav-item " href="../index.php">Home</a> 43 <a class="magick-nav-item " href="../script/binary-releases.php">Download</a> 44 <a class="magick-nav-item " href="../script/command-line-tools.php">Tools</a> 45 <a class="magick-nav-item " href="../script/command-line-options.php">Options</a> 46 <a class="magick-nav-item " href="../script/resources.php">Resources</a> 47 <a class="magick-nav-item " href="../script/api.php">Develop</a> 48 <a class="magick-nav-item " href="../script/search.php">Search</a> 49 <a class="magick-nav-item pull-right" href="http://www.imagemagick.org/discourse-server/">Community</a> 50 </nav> 51 </div> 52</div> 53<div class="container"> 54<div class="magick-header"> 55<p class="text-center"><a href="magick-property.php#MagickDeleteImageArtifact">MagickDeleteImageArtifact</a> • <a href="magick-property.php#MagickDeleteImageProperty">MagickDeleteImageProperty</a> • <a href="magick-property.php#MagickDeleteOption">MagickDeleteOption</a> • <a href="magick-property.php#MagickGetAntialias">MagickGetAntialias</a> • <a href="magick-property.php#MagickGetBackgroundColor">MagickGetBackgroundColor</a> • <a href="magick-property.php#MagickGetColorspace">MagickGetColorspace</a> • <a href="magick-property.php#MagickGetCompression">MagickGetCompression</a> • <a href="magick-property.php#MagickGetCompressionQuality">MagickGetCompressionQuality</a> • <a href="magick-property.php#MagickGetCopyright">MagickGetCopyright</a> • <a href="magick-property.php#MagickGetFilename">MagickGetFilename</a> • <a href="magick-property.php#MagickGetFont">MagickGetFont</a> • <a href="magick-property.php#MagickGetFormat">MagickGetFormat</a> • <a href="magick-property.php#MagickGetGravity">MagickGetGravity</a> • <a href="magick-property.php#MagickGetHomeURL">MagickGetHomeURL</a> • <a href="magick-property.php#MagickGetImageArtifact">MagickGetImageArtifact</a> • <a href="magick-property.php#MagickGetImageArtifacts">MagickGetImageArtifacts</a> • <a href="magick-property.php#MagickGetImageProfile">MagickGetImageProfile</a> • <a href="magick-property.php#MagickGetImageProfiles">MagickGetImageProfiles</a> • <a href="magick-property.php#MagickGetImageProperty">MagickGetImageProperty</a> • <a href="magick-property.php#MagickGetImageProperties">MagickGetImageProperties</a> • <a href="magick-property.php#MagickGetInterlaceScheme">MagickGetInterlaceScheme</a> • <a href="magick-property.php#MagickGetInterpolateMethod">MagickGetInterpolateMethod</a> • <a href="magick-property.php#MagickGetOption">MagickGetOption</a> • <a href="magick-property.php#MagickGetOptions">MagickGetOptions</a> • <a href="magick-property.php#MagickGetOrientation">MagickGetOrientation</a> • <a href="magick-property.php#MagickGetPackageName">MagickGetPackageName</a> • <a href="magick-property.php#MagickGetPage">MagickGetPage</a> • <a href="magick-property.php#MagickGetPointsize">MagickGetPointsize</a> • <a href="magick-property.php#MagickGetQuantumDepth">MagickGetQuantumDepth</a> • <a href="magick-property.php#MagickGetQuantumRange">MagickGetQuantumRange</a> • <a href="magick-property.php#MagickGetReleaseDate">MagickGetReleaseDate</a> • <a href="magick-property.php#MagickGetResolution">MagickGetResolution</a> • <a href="magick-property.php#MagickGetResource">MagickGetResource</a> • <a href="magick-property.php#MagickGetResourceLimit">MagickGetResourceLimit</a> • <a href="magick-property.php#MagickGetSamplingFactors">MagickGetSamplingFactors</a> • <a href="magick-property.php#MagickGetSize">MagickGetSize</a> • <a href="magick-property.php#MagickGetSizeOffset">MagickGetSizeOffset</a> • <a href="magick-property.php#MagickGetType">MagickGetType</a> • <a href="magick-property.php#MagickGetVersion">MagickGetVersion</a> • <a href="magick-property.php#MagickProfileImage">MagickProfileImage</a> • <a href="magick-property.php#MagickRemoveImageProfile">MagickRemoveImageProfile</a> • <a href="magick-property.php#MagickSetAntialias">MagickSetAntialias</a> • <a href="magick-property.php#MagickSetBackgroundColor">MagickSetBackgroundColor</a> • <a href="magick-property.php#MagickSetColorspace">MagickSetColorspace</a> • <a href="magick-property.php#MagickSetCompression">MagickSetCompression</a> • <a href="magick-property.php#MagickSetCompressionQuality">MagickSetCompressionQuality</a> • <a href="magick-property.php#MagickSetDepth">MagickSetDepth</a> • <a href="magick-property.php#MagickSetExtract">MagickSetExtract</a> • <a href="magick-property.php#MagickSetFilename">MagickSetFilename</a> • <a href="magick-property.php#MagickSetFont">MagickSetFont</a> • <a href="magick-property.php#MagickSetFormat">MagickSetFormat</a> • <a href="magick-property.php#MagickSetGravity">MagickSetGravity</a> • <a href="magick-property.php#MagickSetImageArtifact">MagickSetImageArtifact</a> • <a href="magick-property.php#MagickSetImageProfile">MagickSetImageProfile</a> • <a href="magick-property.php#MagickSetImageProperty">MagickSetImageProperty</a> • <a href="magick-property.php#MagickSetInterlaceScheme">MagickSetInterlaceScheme</a> • <a href="magick-property.php#MagickSetInterpolateMethod">MagickSetInterpolateMethod</a> • <a href="magick-property.php#MagickSetOption">MagickSetOption</a> • <a href="magick-property.php#MagickSetOrientation">MagickSetOrientation</a> • <a href="magick-property.php#MagickSetPage">MagickSetPage</a> • <a href="magick-property.php#MagickSetPassphrase">MagickSetPassphrase</a> • <a href="magick-property.php#MagickSetPointsize">MagickSetPointsize</a> • <a href="magick-property.php#MagickSetProgressMonitor">MagickSetProgressMonitor</a> • <a href="magick-property.php#MagickSetResourceLimit">MagickSetResourceLimit</a> • <a href="magick-property.php#MagickSetResolution">MagickSetResolution</a> • <a href="magick-property.php#MagickSetSamplingFactors">MagickSetSamplingFactors</a> • <a href="magick-property.php#MagickSetSize">MagickSetSize</a> • <a href="magick-property.php#MagickSetSizeOffset">MagickSetSizeOffset</a> • <a href="magick-property.php#MagickSetType">MagickSetType</a></p> 56 57<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickDeleteImageArtifact">MagickDeleteImageArtifact</a></h2> 58 59<p>MagickDeleteImageArtifact() deletes a wand artifact.</p> 60 61<p>The format of the MagickDeleteImageArtifact method is:</p> 62 63<pre class="text"> 64MagickBooleanType MagickDeleteImageArtifact(MagickWand *wand, 65 const char *artifact) 66</pre> 67 68<p>A description of each parameter follows:</p> 69 70<dd> 71</dd> 72 73<dd> </dd> 74<dl class="dl-horizontal"> 75<dt>image</dt> 76<dd>the image. </dd> 77 78<dd> </dd> 79<dt>artifact</dt> 80<dd>the image artifact. </dd> 81 82<dd> </dd> 83</dl> 84<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickDeleteImageProperty">MagickDeleteImageProperty</a></h2> 85 86<p>MagickDeleteImageProperty() deletes a wand property.</p> 87 88<p>The format of the MagickDeleteImageProperty method is:</p> 89 90<pre class="text"> 91MagickBooleanType MagickDeleteImageProperty(MagickWand *wand, 92 const char *property) 93</pre> 94 95<p>A description of each parameter follows:</p> 96 97<dd> 98</dd> 99 100<dd> </dd> 101<dl class="dl-horizontal"> 102<dt>image</dt> 103<dd>the image. </dd> 104 105<dd> </dd> 106<dt>property</dt> 107<dd>the image property. </dd> 108 109<dd> </dd> 110</dl> 111<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickDeleteOption">MagickDeleteOption</a></h2> 112 113<p>MagickDeleteOption() deletes a wand option.</p> 114 115<p>The format of the MagickDeleteOption method is:</p> 116 117<pre class="text"> 118MagickBooleanType MagickDeleteOption(MagickWand *wand, 119 const char *option) 120</pre> 121 122<p>A description of each parameter follows:</p> 123 124<dd> 125</dd> 126 127<dd> </dd> 128<dl class="dl-horizontal"> 129<dt>image</dt> 130<dd>the image. </dd> 131 132<dd> </dd> 133<dt>option</dt> 134<dd>the image option. </dd> 135 136<dd> </dd> 137</dl> 138<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetAntialias">MagickGetAntialias</a></h2> 139 140<p>MagickGetAntialias() returns the antialias property associated with the wand.</p> 141 142<p>The format of the MagickGetAntialias method is:</p> 143 144<pre class="text"> 145MagickBooleanType MagickGetAntialias(const MagickWand *wand) 146</pre> 147 148<p>A description of each parameter follows:</p> 149 150<dd> 151</dd> 152 153<dd> </dd> 154<dl class="dl-horizontal"> 155<dt>wand</dt> 156<dd>the magick wand. </dd> 157 158<dd> </dd> 159</dl> 160<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetBackgroundColor">MagickGetBackgroundColor</a></h2> 161 162<p>MagickGetBackgroundColor() returns the wand background color.</p> 163 164<p>The format of the MagickGetBackgroundColor method is:</p> 165 166<pre class="text"> 167PixelWand *MagickGetBackgroundColor(MagickWand *wand) 168</pre> 169 170<p>A description of each parameter follows:</p> 171 172<dd> 173</dd> 174 175<dd> </dd> 176<dl class="dl-horizontal"> 177<dt>wand</dt> 178<dd>the magick wand. </dd> 179 180<dd> </dd> 181</dl> 182<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetColorspace">MagickGetColorspace</a></h2> 183 184<p>MagickGetColorspace() gets the wand colorspace type.</p> 185 186<p>The format of the MagickGetColorspace method is:</p> 187 188<pre class="text"> 189ColorspaceType MagickGetColorspace(MagickWand *wand) 190</pre> 191 192<p>A description of each parameter follows:</p> 193 194<dd> 195</dd> 196 197<dd> </dd> 198<dl class="dl-horizontal"> 199<dt>wand</dt> 200<dd>the magick wand. </dd> 201 202<dd> </dd> 203</dl> 204<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetCompression">MagickGetCompression</a></h2> 205 206<p>MagickGetCompression() gets the wand compression type.</p> 207 208<p>The format of the MagickGetCompression method is:</p> 209 210<pre class="text"> 211CompressionType MagickGetCompression(MagickWand *wand) 212</pre> 213 214<p>A description of each parameter follows:</p> 215 216<dd> 217</dd> 218 219<dd> </dd> 220<dl class="dl-horizontal"> 221<dt>wand</dt> 222<dd>the magick wand. </dd> 223 224<dd> </dd> 225</dl> 226<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetCompressionQuality">MagickGetCompressionQuality</a></h2> 227 228<p>MagickGetCompressionQuality() gets the wand compression quality.</p> 229 230<p>The format of the MagickGetCompressionQuality method is:</p> 231 232<pre class="text"> 233size_t MagickGetCompressionQuality(MagickWand *wand) 234</pre> 235 236<p>A description of each parameter follows:</p> 237 238<dd> 239</dd> 240 241<dd> </dd> 242<dl class="dl-horizontal"> 243<dt>wand</dt> 244<dd>the magick wand. </dd> 245 246<dd> </dd> 247</dl> 248<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetCopyright">MagickGetCopyright</a></h2> 249 250<p>MagickGetCopyright() returns the ImageMagick API copyright as a string constant.</p> 251 252<p>The format of the MagickGetCopyright method is:</p> 253 254<pre class="text"> 255const char *MagickGetCopyright(void) 256</pre> 257 258<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetFilename">MagickGetFilename</a></h2> 259 260<p>MagickGetFilename() returns the filename associated with an image sequence.</p> 261 262<p>The format of the MagickGetFilename method is:</p> 263 264<pre class="text"> 265const char *MagickGetFilename(const MagickWand *wand) 266</pre> 267 268<p>A description of each parameter follows:</p> 269 270<dd> 271</dd> 272 273<dd> </dd> 274<dl class="dl-horizontal"> 275<dt>wand</dt> 276<dd>the magick wand. </dd> 277 278<dd> </dd> 279</dl> 280<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetFont">MagickGetFont</a></h2> 281 282<p>MagickGetFont() returns the font associated with the MagickWand.</p> 283 284<p>The format of the MagickGetFont method is:</p> 285 286<pre class="text"> 287char *MagickGetFont(MagickWand *wand) 288</pre> 289 290<p>A description of each parameter follows:</p> 291 292<dd> 293</dd> 294 295<dd> </dd> 296<dl class="dl-horizontal"> 297<dt>wand</dt> 298<dd>the magick wand. </dd> 299 300<dd> </dd> 301</dl> 302<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetFormat">MagickGetFormat</a></h2> 303 304<p>MagickGetFormat() returns the format of the magick wand.</p> 305 306<p>The format of the MagickGetFormat method is:</p> 307 308<pre class="text"> 309const char MagickGetFormat(MagickWand *wand) 310</pre> 311 312<p>A description of each parameter follows:</p> 313 314<dd> 315</dd> 316 317<dd> </dd> 318<dl class="dl-horizontal"> 319<dt>wand</dt> 320<dd>the magick wand. </dd> 321 322<dd> </dd> 323</dl> 324<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetGravity">MagickGetGravity</a></h2> 325 326<p>MagickGetGravity() gets the wand gravity.</p> 327 328<p>The format of the MagickGetGravity method is:</p> 329 330<pre class="text"> 331GravityType MagickGetGravity(MagickWand *wand) 332</pre> 333 334<p>A description of each parameter follows:</p> 335 336<dd> 337</dd> 338 339<dd> </dd> 340<dl class="dl-horizontal"> 341<dt>wand</dt> 342<dd>the magick wand. </dd> 343 344<dd> </dd> 345</dl> 346<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetHomeURL">MagickGetHomeURL</a></h2> 347 348<p>MagickGetHomeURL() returns the ImageMagick home URL.</p> 349 350<p>The format of the MagickGetHomeURL method is:</p> 351 352<pre class="text"> 353char *MagickGetHomeURL(void) 354</pre> 355 356<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetImageArtifact">MagickGetImageArtifact</a></h2> 357 358<p>MagickGetImageArtifact() returns a value associated with the specified artifact. Use MagickRelinquishMemory() to free the value when you are finished with it.</p> 359 360<p>The format of the MagickGetImageArtifact method is:</p> 361 362<pre class="text"> 363char *MagickGetImageArtifact(MagickWand *wand,const char *artifact) 364</pre> 365 366<p>A description of each parameter follows:</p> 367 368<dd> 369</dd> 370 371<dd> </dd> 372<dl class="dl-horizontal"> 373<dt>wand</dt> 374<dd>the magick wand. </dd> 375 376<dd> </dd> 377<dt>artifact</dt> 378<dd>the artifact. </dd> 379 380<dd> </dd> 381</dl> 382<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetImageArtifacts">MagickGetImageArtifacts</a></h2> 383 384<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> 385 386<p>The format of the MagickGetImageArtifacts method is:</p> 387 388<pre class="text"> 389char *MagickGetImageArtifacts(MagickWand *wand, 390 const char *pattern,size_t *number_artifacts) 391</pre> 392 393<p>A description of each parameter follows:</p> 394 395<dd> 396</dd> 397 398<dd> </dd> 399<dl class="dl-horizontal"> 400<dt>wand</dt> 401<dd>the magick wand. </dd> 402 403<dd> </dd> 404<dt>pattern</dt> 405<dd>Specifies a pointer to a text string containing a pattern. </dd> 406 407<dd> </dd> 408<dt>number_artifacts</dt> 409<dd>the number artifacts associated with this wand. </dd> 410 411<dd> </dd> 412</dl> 413<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetImageProfile">MagickGetImageProfile</a></h2> 414 415<p>MagickGetImageProfile() returns the named image profile.</p> 416 417<p>The format of the MagickGetImageProfile method is:</p> 418 419<pre class="text"> 420unsigned char *MagickGetImageProfile(MagickWand *wand,const char *name, 421 size_t *length) 422</pre> 423 424<p>A description of each parameter follows:</p> 425 426<dd> 427</dd> 428 429<dd> </dd> 430<dl class="dl-horizontal"> 431<dt>wand</dt> 432<dd>the magick wand. </dd> 433 434<dd> </dd> 435<dt>name</dt> 436<dd>Name of profile to return: ICC, IPTC, or generic profile. </dd> 437 438<dd> </dd> 439<dt>length</dt> 440<dd>the length of the profile. </dd> 441 442<dd> </dd> 443</dl> 444<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetImageProfiles">MagickGetImageProfiles</a></h2> 445 446<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> 447 448<p>The format of the MagickGetImageProfiles method is:</p> 449 450<pre class="text"> 451char *MagickGetImageProfiles(MagickWand *wand,const char *pattern, 452 size_t *number_profiles) 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 magick wand. </dd> 464 465<dd> </dd> 466<dt>pattern</dt> 467<dd>Specifies a pointer to a text string containing a pattern. </dd> 468 469<dd> </dd> 470<dt>number_profiles</dt> 471<dd>the number profiles associated with this wand. </dd> 472 473<dd> </dd> 474</dl> 475<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetImageProperty">MagickGetImageProperty</a></h2> 476 477<p>MagickGetImageProperty() returns a value associated with the specified property. Use MagickRelinquishMemory() to free the value when you are finished with it.</p> 478 479<p>The format of the MagickGetImageProperty method is:</p> 480 481<pre class="text"> 482char *MagickGetImageProperty(MagickWand *wand,const char *property) 483</pre> 484 485<p>A description of each parameter follows:</p> 486 487<dd> 488</dd> 489 490<dd> </dd> 491<dl class="dl-horizontal"> 492<dt>wand</dt> 493<dd>the magick wand. </dd> 494 495<dd> </dd> 496<dt>property</dt> 497<dd>the property. </dd> 498 499<dd> </dd> 500</dl> 501<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetImageProperties">MagickGetImageProperties</a></h2> 502 503<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> 504 505<p>The format of the MagickGetImageProperties method is:</p> 506 507<pre class="text"> 508char *MagickGetImageProperties(MagickWand *wand, 509 const char *pattern,size_t *number_properties) 510</pre> 511 512<p>A description of each parameter follows:</p> 513 514<dd> 515</dd> 516 517<dd> </dd> 518<dl class="dl-horizontal"> 519<dt>wand</dt> 520<dd>the magick wand. </dd> 521 522<dd> </dd> 523<dt>pattern</dt> 524<dd>Specifies a pointer to a text string containing a pattern. </dd> 525 526<dd> </dd> 527<dt>number_properties</dt> 528<dd>the number properties associated with this wand. </dd> 529 530<dd> </dd> 531</dl> 532<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetInterlaceScheme">MagickGetInterlaceScheme</a></h2> 533 534<p>MagickGetInterlaceScheme() gets the wand interlace scheme.</p> 535 536<p>The format of the MagickGetInterlaceScheme method is:</p> 537 538<pre class="text"> 539InterlaceType MagickGetInterlaceScheme(MagickWand *wand) 540</pre> 541 542<p>A description of each parameter follows:</p> 543 544<dd> 545</dd> 546 547<dd> </dd> 548<dl class="dl-horizontal"> 549<dt>wand</dt> 550<dd>the magick wand. </dd> 551 552<dd> </dd> 553</dl> 554<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetInterpolateMethod">MagickGetInterpolateMethod</a></h2> 555 556<p>MagickGetInterpolateMethod() gets the wand compression.</p> 557 558<p>The format of the MagickGetInterpolateMethod method is:</p> 559 560<pre class="text"> 561PixelInterpolateMethod MagickGetInterpolateMethod(MagickWand *wand) 562</pre> 563 564<p>A description of each parameter follows:</p> 565 566<dd> 567</dd> 568 569<dd> </dd> 570<dl class="dl-horizontal"> 571<dt>wand</dt> 572<dd>the magick wand. </dd> 573 574<dd> </dd> 575</dl> 576<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetOption">MagickGetOption</a></h2> 577 578<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> 579 580<p>The format of the MagickGetOption method is:</p> 581 582<pre class="text"> 583char *MagickGetOption(MagickWand *wand,const char *key) 584</pre> 585 586<p>A description of each parameter follows:</p> 587 588<dd> 589</dd> 590 591<dd> </dd> 592<dl class="dl-horizontal"> 593<dt>wand</dt> 594<dd>the magick wand. </dd> 595 596<dd> </dd> 597<dt>key</dt> 598<dd>the key. </dd> 599 600<dd> </dd> 601</dl> 602<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetOptions">MagickGetOptions</a></h2> 603 604<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> 605 606<p>The format of the MagickGetOptions method is:</p> 607 608<pre class="text"> 609char *MagickGetOptions(MagickWand *wand,const char *pattern, 610 size_t *number_options) 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 magick wand. </dd> 622 623<dd> </dd> 624<dt>pattern</dt> 625<dd>Specifies a pointer to a text string containing a pattern. </dd> 626 627<dd> </dd> 628<dt>number_options</dt> 629<dd>the number options associated with this wand. </dd> 630 631<dd> </dd> 632</dl> 633<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetOrientation">MagickGetOrientation</a></h2> 634 635<p>MagickGetOrientation() gets the wand orientation type.</p> 636 637<p>The format of the MagickGetOrientation method is:</p> 638 639<pre class="text"> 640OrientationType MagickGetOrientation(MagickWand *wand) 641</pre> 642 643<p>A description of each parameter follows:</p> 644 645<dd> 646</dd> 647 648<dd> </dd> 649<dl class="dl-horizontal"> 650<dt>wand</dt> 651<dd>the magick wand. </dd> 652 653<dd> </dd> 654</dl> 655<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetPackageName">MagickGetPackageName</a></h2> 656 657<p>MagickGetPackageName() returns the ImageMagick package name as a string constant.</p> 658 659<p>The format of the MagickGetPackageName method is:</p> 660 661<pre class="text"> 662const char *MagickGetPackageName(void) 663</pre> 664 665 666<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetPage">MagickGetPage</a></h2> 667 668<p>MagickGetPage() returns the page geometry associated with the magick wand.</p> 669 670<p>The format of the MagickGetPage method is:</p> 671 672<pre class="text"> 673MagickBooleanType MagickGetPage(const MagickWand *wand, 674 size_t *width,size_t *height,ssize_t *x,ssize_t *y) 675</pre> 676 677<p>A description of each parameter follows:</p> 678 679<dd> 680</dd> 681 682<dd> </dd> 683<dl class="dl-horizontal"> 684<dt>wand</dt> 685<dd>the magick wand. </dd> 686 687<dd> </dd> 688<dt>width</dt> 689<dd>the page width. </dd> 690 691<dd> </dd> 692<dt>height</dt> 693<dd>page height. </dd> 694 695<dd> </dd> 696<dt>x</dt> 697<dd>the page x-offset. </dd> 698 699<dd> </dd> 700<dt>y</dt> 701<dd>the page y-offset. </dd> 702 703<dd> </dd> 704</dl> 705<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetPointsize">MagickGetPointsize</a></h2> 706 707<p>MagickGetPointsize() returns the font pointsize associated with the MagickWand.</p> 708 709<p>The format of the MagickGetPointsize method is:</p> 710 711<pre class="text"> 712double MagickGetPointsize(MagickWand *wand) 713</pre> 714 715<p>A description of each parameter follows:</p> 716 717<dd> 718</dd> 719 720<dd> </dd> 721<dl class="dl-horizontal"> 722<dt>wand</dt> 723<dd>the magick wand. </dd> 724 725<dd> </dd> 726</dl> 727<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetQuantumDepth">MagickGetQuantumDepth</a></h2> 728 729<p>MagickGetQuantumDepth() returns the ImageMagick quantum depth as a string constant.</p> 730 731<p>The format of the MagickGetQuantumDepth method is:</p> 732 733<pre class="text"> 734const char *MagickGetQuantumDepth(size_t *depth) 735</pre> 736 737<p>A description of each parameter follows:</p> 738 739<dd> 740</dd> 741 742<dd> </dd> 743<dl class="dl-horizontal"> 744<dt>depth</dt> 745<dd>the quantum depth is returned as a number. </dd> 746 747<dd> </dd> 748</dl> 749<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetQuantumRange">MagickGetQuantumRange</a></h2> 750 751<p>MagickGetQuantumRange() returns the ImageMagick quantum range as a string constant.</p> 752 753<p>The format of the MagickGetQuantumRange method is:</p> 754 755<pre class="text"> 756const char *MagickGetQuantumRange(size_t *range) 757</pre> 758 759<p>A description of each parameter follows:</p> 760 761<dd> 762</dd> 763 764<dd> </dd> 765<dl class="dl-horizontal"> 766<dt>range</dt> 767<dd>the quantum range is returned as a number. </dd> 768 769<dd> </dd> 770</dl> 771<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetReleaseDate">MagickGetReleaseDate</a></h2> 772 773<p>MagickGetReleaseDate() returns the ImageMagick release date as a string constant.</p> 774 775<p>The format of the MagickGetReleaseDate method is:</p> 776 777<pre class="text"> 778const char *MagickGetReleaseDate(void) 779</pre> 780 781<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetResolution">MagickGetResolution</a></h2> 782 783<p>MagickGetResolution() gets the image X and Y resolution.</p> 784 785<p>The format of the MagickGetResolution method is:</p> 786 787<pre class="text"> 788MagickBooleanType MagickGetResolution(const MagickWand *wand,double *x, 789 double *y) 790</pre> 791 792<p>A description of each parameter follows:</p> 793 794<dd> 795</dd> 796 797<dd> </dd> 798<dl class="dl-horizontal"> 799<dt>wand</dt> 800<dd>the magick wand. </dd> 801 802<dd> </dd> 803<dt>x</dt> 804<dd>the x-resolution. </dd> 805 806<dd> </dd> 807<dt>y</dt> 808<dd>the y-resolution. </dd> 809 810<dd> </dd> 811</dl> 812<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetResource">MagickGetResource</a></h2> 813 814<p>MagickGetResource() returns the specified resource in megabytes.</p> 815 816<p>The format of the MagickGetResource method is:</p> 817 818<pre class="text"> 819MagickSizeType MagickGetResource(const ResourceType type) 820</pre> 821 822<p>A description of each parameter follows:</p> 823 824<dd> 825</dd> 826 827<dd> </dd> 828<dl class="dl-horizontal"> 829<dt>wand</dt> 830<dd>the magick wand. </dd> 831 832<dd> </dd> 833</dl> 834<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetResourceLimit">MagickGetResourceLimit</a></h2> 835 836<p>MagickGetResourceLimit() returns the specified resource limit in megabytes.</p> 837 838<p>The format of the MagickGetResourceLimit method is:</p> 839 840<pre class="text"> 841MagickSizeType MagickGetResourceLimit(const ResourceType type) 842</pre> 843 844<p>A description of each parameter follows:</p> 845 846<dd> 847</dd> 848 849<dd> </dd> 850<dl class="dl-horizontal"> 851<dt>wand</dt> 852<dd>the magick wand. </dd> 853 854<dd> </dd> 855</dl> 856<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetSamplingFactors">MagickGetSamplingFactors</a></h2> 857 858<p>MagickGetSamplingFactors() gets the horizontal and vertical sampling factor.</p> 859 860<p>The format of the MagickGetSamplingFactors method is:</p> 861 862<pre class="text"> 863double *MagickGetSamplingFactor(MagickWand *wand, 864 size_t *number_factors) 865</pre> 866 867<p>A description of each parameter follows:</p> 868 869<dd> 870</dd> 871 872<dd> </dd> 873<dl class="dl-horizontal"> 874<dt>wand</dt> 875<dd>the magick wand. </dd> 876 877<dd> </dd> 878<dt>number_factors</dt> 879<dd>the number of factors in the returned array. </dd> 880 881<dd> </dd> 882</dl> 883<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetSize">MagickGetSize</a></h2> 884 885<p>MagickGetSize() returns the size associated with the magick wand.</p> 886 887<p>The format of the MagickGetSize method is:</p> 888 889<pre class="text"> 890MagickBooleanType MagickGetSize(const MagickWand *wand, 891 size_t *columns,size_t *rows) 892</pre> 893 894<p>A description of each parameter follows:</p> 895 896<dd> 897</dd> 898 899<dd> </dd> 900<dl class="dl-horizontal"> 901<dt>wand</dt> 902<dd>the magick wand. </dd> 903 904<dd> </dd> 905<dt>columns</dt> 906<dd>the width in pixels. </dd> 907 908<dd> </dd> 909<dt>height</dt> 910<dd>the height in pixels. </dd> 911 912<dd> </dd> 913</dl> 914<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetSizeOffset">MagickGetSizeOffset</a></h2> 915 916<p>MagickGetSizeOffset() returns the size offset associated with the magick wand.</p> 917 918<p>The format of the MagickGetSizeOffset method is:</p> 919 920<pre class="text"> 921MagickBooleanType MagickGetSizeOffset(const MagickWand *wand, 922 ssize_t *offset) 923</pre> 924 925<p>A description of each parameter follows:</p> 926 927<dd> 928</dd> 929 930<dd> </dd> 931<dl class="dl-horizontal"> 932<dt>wand</dt> 933<dd>the magick wand. </dd> 934 935<dd> </dd> 936<dt>offset</dt> 937<dd>the image offset. </dd> 938 939<dd> </dd> 940</dl> 941<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetType">MagickGetType</a></h2> 942 943<p>MagickGetType() returns the wand type.</p> 944 945<p>The format of the MagickGetType method is:</p> 946 947<pre class="text"> 948ImageType MagickGetType(MagickWand *wand) 949</pre> 950 951<p>A description of each parameter follows:</p> 952 953<dd> 954</dd> 955 956<dd> </dd> 957<dl class="dl-horizontal"> 958<dt>wand</dt> 959<dd>the magick wand. </dd> 960 961<dd> </dd> 962</dl> 963<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickGetVersion">MagickGetVersion</a></h2> 964 965<p>MagickGetVersion() returns the ImageMagick API version as a string constant and as a number.</p> 966 967<p>The format of the MagickGetVersion method is:</p> 968 969<pre class="text"> 970const char *MagickGetVersion(size_t *version) 971</pre> 972 973<p>A description of each parameter follows:</p> 974 975<dd> 976</dd> 977 978<dd> </dd> 979<dl class="dl-horizontal"> 980<dt>version</dt> 981<dd>the ImageMagick version is returned as a number. </dd> 982 983<dd> </dd> 984</dl> 985<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickProfileImage">MagickProfileImage</a></h2> 986 987<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> 988 989<p>The format of the MagickProfileImage method is:</p> 990 991<pre class="text"> 992MagickBooleanType MagickProfileImage(MagickWand *wand,const char *name, 993 const void *profile,const size_t length) 994</pre> 995 996<p>A description of each parameter follows:</p> 997 998<dd> 999</dd> 1000 1001<dd> </dd> 1002<dl class="dl-horizontal"> 1003<dt>wand</dt> 1004<dd>the magick wand. </dd> 1005 1006<dd> </dd> 1007<dt>name</dt> 1008<dd>Name of profile to add or remove: ICC, IPTC, or generic profile. </dd> 1009 1010<dd> </dd> 1011<dt>profile</dt> 1012<dd>the profile. </dd> 1013 1014<dd> </dd> 1015<dt>length</dt> 1016<dd>the length of the profile. </dd> 1017 1018<dd> </dd> 1019</dl> 1020<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickRemoveImageProfile">MagickRemoveImageProfile</a></h2> 1021 1022<p>MagickRemoveImageProfile() removes the named image profile and returns it.</p> 1023 1024<p>The format of the MagickRemoveImageProfile method is:</p> 1025 1026<pre class="text"> 1027unsigned char *MagickRemoveImageProfile(MagickWand *wand, 1028 const char *name,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 return: ICC, IPTC, or generic profile. </dd> 1044 1045<dd> </dd> 1046<dt>length</dt> 1047<dd>the length of the profile. </dd> 1048 1049<dd> </dd> 1050</dl> 1051<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickSetAntialias">MagickSetAntialias</a></h2> 1052 1053<p>MagickSetAntialias() sets the antialias propery of the wand.</p> 1054 1055<p>The format of the MagickSetAntialias method is:</p> 1056 1057<pre class="text"> 1058MagickBooleanType MagickSetAntialias(MagickWand *wand, 1059 const MagickBooleanType antialias) 1060</pre> 1061 1062<p>A description of each parameter follows:</p> 1063 1064<dd> 1065</dd> 1066 1067<dd> </dd> 1068<dl class="dl-horizontal"> 1069<dt>wand</dt> 1070<dd>the magick wand. </dd> 1071 1072<dd> </dd> 1073<dt>antialias</dt> 1074<dd>the antialias property. </dd> 1075 1076<dd> </dd> 1077</dl> 1078<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickSetBackgroundColor">MagickSetBackgroundColor</a></h2> 1079 1080<p>MagickSetBackgroundColor() sets the wand background color.</p> 1081 1082<p>The format of the MagickSetBackgroundColor method is:</p> 1083 1084<pre class="text"> 1085MagickBooleanType MagickSetBackgroundColor(MagickWand *wand, 1086 const PixelWand *background) 1087</pre> 1088 1089<p>A description of each parameter follows:</p> 1090 1091<dd> 1092</dd> 1093 1094<dd> </dd> 1095<dl class="dl-horizontal"> 1096<dt>wand</dt> 1097<dd>the magick wand. </dd> 1098 1099<dd> </dd> 1100<dt>background</dt> 1101<dd>the background pixel wand. </dd> 1102 1103<dd> </dd> 1104</dl> 1105<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickSetColorspace">MagickSetColorspace</a></h2> 1106 1107<p>MagickSetColorspace() sets the wand colorspace type.</p> 1108 1109<p>The format of the MagickSetColorspace method is:</p> 1110 1111<pre class="text"> 1112MagickBooleanType MagickSetColorspace(MagickWand *wand, 1113 const ColorspaceType colorspace) 1114</pre> 1115 1116<p>A description of each parameter follows:</p> 1117 1118<dd> 1119</dd> 1120 1121<dd> </dd> 1122<dl class="dl-horizontal"> 1123<dt>wand</dt> 1124<dd>the magick wand. </dd> 1125 1126<dd> </dd> 1127<dt>colorspace</dt> 1128<dd>the wand colorspace. </dd> 1129 1130<dd> </dd> 1131</dl> 1132<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickSetCompression">MagickSetCompression</a></h2> 1133 1134<p>MagickSetCompression() sets the wand compression type.</p> 1135 1136<p>The format of the MagickSetCompression method is:</p> 1137 1138<pre class="text"> 1139MagickBooleanType MagickSetCompression(MagickWand *wand, 1140 const CompressionType compression) 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 magick wand. </dd> 1152 1153<dd> </dd> 1154<dt>compression</dt> 1155<dd>the wand compression. </dd> 1156 1157<dd> </dd> 1158</dl> 1159<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickSetCompressionQuality">MagickSetCompressionQuality</a></h2> 1160 1161<p>MagickSetCompressionQuality() sets the wand compression quality.</p> 1162 1163<p>The format of the MagickSetCompressionQuality method is:</p> 1164 1165<pre class="text"> 1166MagickBooleanType MagickSetCompressionQuality(MagickWand *wand, 1167 const size_t quality) 1168</pre> 1169 1170<p>A description of each parameter follows:</p> 1171 1172<dd> 1173</dd> 1174 1175<dd> </dd> 1176<dl class="dl-horizontal"> 1177<dt>wand</dt> 1178<dd>the magick wand. </dd> 1179 1180<dd> </dd> 1181<dt>quality</dt> 1182<dd>the wand compression quality. </dd> 1183 1184<dd> </dd> 1185</dl> 1186<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickSetDepth">MagickSetDepth</a></h2> 1187 1188<p>MagickSetDepth() sets the wand pixel depth.</p> 1189 1190<p>The format of the MagickSetDepth method is:</p> 1191 1192<pre class="text"> 1193MagickBooleanType MagickSetDepth(MagickWand *wand, 1194 const size_t depth) 1195</pre> 1196 1197<p>A description of each parameter follows:</p> 1198 1199<dd> 1200</dd> 1201 1202<dd> </dd> 1203<dl class="dl-horizontal"> 1204<dt>wand</dt> 1205<dd>the magick wand. </dd> 1206 1207<dd> </dd> 1208<dt>depth</dt> 1209<dd>the wand pixel depth. </dd> 1210 1211<dd> </dd> 1212</dl> 1213<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickSetExtract">MagickSetExtract</a></h2> 1214 1215<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> 1216 1217<p>The format of the MagickSetExtract method is:</p> 1218 1219<pre class="text"> 1220MagickBooleanType MagickSetExtract(MagickWand *wand, 1221 const char *geometry) 1222</pre> 1223 1224<p>A description of each parameter follows:</p> 1225 1226<dd> 1227</dd> 1228 1229<dd> </dd> 1230<dl class="dl-horizontal"> 1231<dt>wand</dt> 1232<dd>the magick wand. </dd> 1233 1234<dd> </dd> 1235<dt>geometry</dt> 1236<dd>the extract geometry. </dd> 1237 1238<dd> </dd> 1239</dl> 1240<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickSetFilename">MagickSetFilename</a></h2> 1241 1242<p>MagickSetFilename() sets the filename before you read or write an image file.</p> 1243 1244<p>The format of the MagickSetFilename method is:</p> 1245 1246<pre class="text"> 1247MagickBooleanType MagickSetFilename(MagickWand *wand, 1248 const char *filename) 1249</pre> 1250 1251<p>A description of each parameter follows:</p> 1252 1253<dd> 1254</dd> 1255 1256<dd> </dd> 1257<dl class="dl-horizontal"> 1258<dt>wand</dt> 1259<dd>the magick wand. </dd> 1260 1261<dd> </dd> 1262<dt>filename</dt> 1263<dd>the image filename. </dd> 1264 1265<dd> </dd> 1266</dl> 1267<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickSetFont">MagickSetFont</a></h2> 1268 1269<p>MagickSetFont() sets the font associated with the MagickWand.</p> 1270 1271<p>The format of the MagickSetFont method is:</p> 1272 1273<pre class="text"> 1274MagickBooleanType MagickSetFont(MagickWand *wand, const char *font) 1275</pre> 1276 1277<p>A description of each parameter follows:</p> 1278 1279<dd> 1280</dd> 1281 1282<dd> </dd> 1283<dl class="dl-horizontal"> 1284<dt>wand</dt> 1285<dd>the magick wand. </dd> 1286 1287<dd> </dd> 1288<dt>font</dt> 1289<dd>the font </dd> 1290 1291<dd> </dd> 1292</dl> 1293<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickSetFormat">MagickSetFormat</a></h2> 1294 1295<p>MagickSetFormat() sets the format of the magick wand.</p> 1296 1297<p>The format of the MagickSetFormat method is:</p> 1298 1299<pre class="text"> 1300MagickBooleanType MagickSetFormat(MagickWand *wand,const char *format) 1301</pre> 1302 1303<p>A description of each parameter follows:</p> 1304 1305<dd> 1306</dd> 1307 1308<dd> </dd> 1309<dl class="dl-horizontal"> 1310<dt>wand</dt> 1311<dd>the magick wand. </dd> 1312 1313<dd> </dd> 1314<dt>format</dt> 1315<dd>the image format. </dd> 1316 1317<dd> </dd> 1318</dl> 1319<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickSetGravity">MagickSetGravity</a></h2> 1320 1321<p>MagickSetGravity() sets the gravity type.</p> 1322 1323<p>The format of the MagickSetGravity type is:</p> 1324 1325<pre class="text"> 1326MagickBooleanType MagickSetGravity(MagickWand *wand, 1327 const GravityType type) 1328</pre> 1329 1330<p>A description of each parameter follows:</p> 1331 1332<dd> 1333</dd> 1334 1335<dd> </dd> 1336<dl class="dl-horizontal"> 1337<dt>wand</dt> 1338<dd>the magick wand. </dd> 1339 1340<dd> </dd> 1341<dt>type</dt> 1342<dd>the gravity type. </dd> 1343 1344<dd> </dd> 1345</dl> 1346<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickSetImageArtifact">MagickSetImageArtifact</a></h2> 1347 1348<p>MagickSetImageArtifact() associates a artifact with an image.</p> 1349 1350<p>The format of the MagickSetImageArtifact method is:</p> 1351 1352<pre class="text"> 1353MagickBooleanType MagickSetImageArtifact(MagickWand *wand, 1354 const char *artifact,const char *value) 1355</pre> 1356 1357<p>A description of each parameter follows:</p> 1358 1359<dd> 1360</dd> 1361 1362<dd> </dd> 1363<dl class="dl-horizontal"> 1364<dt>wand</dt> 1365<dd>the magick wand. </dd> 1366 1367<dd> </dd> 1368<dt>artifact</dt> 1369<dd>the artifact. </dd> 1370 1371<dd> </dd> 1372<dt>value</dt> 1373<dd>the value. </dd> 1374 1375<dd> </dd> 1376</dl> 1377<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickSetImageProfile">MagickSetImageProfile</a></h2> 1378 1379<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> 1380 1381<p>The format of the MagickSetImageProfile method is:</p> 1382 1383<pre class="text"> 1384MagickBooleanType MagickSetImageProfile(MagickWand *wand, 1385 const char *name,const void *profile,const size_t length) 1386</pre> 1387 1388<p>A description of each parameter follows:</p> 1389 1390<dd> 1391</dd> 1392 1393<dd> </dd> 1394<dl class="dl-horizontal"> 1395<dt>wand</dt> 1396<dd>the magick wand. </dd> 1397 1398<dd> </dd> 1399<dt>name</dt> 1400<dd>Name of profile to add or remove: ICC, IPTC, or generic profile. </dd> 1401 1402<dd> </dd> 1403<dt>profile</dt> 1404<dd>the profile. </dd> 1405 1406<dd> </dd> 1407<dt>length</dt> 1408<dd>the length of the profile. </dd> 1409 1410<dd> </dd> 1411</dl> 1412<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickSetImageProperty">MagickSetImageProperty</a></h2> 1413 1414<p>MagickSetImageProperty() associates a property with an image.</p> 1415 1416<p>The format of the MagickSetImageProperty method is:</p> 1417 1418<pre class="text"> 1419MagickBooleanType MagickSetImageProperty(MagickWand *wand, 1420 const char *property,const char *value) 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>property</dt> 1435<dd>the property. </dd> 1436 1437<dd> </dd> 1438<dt>value</dt> 1439<dd>the value. </dd> 1440 1441<dd> </dd> 1442</dl> 1443<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickSetInterlaceScheme">MagickSetInterlaceScheme</a></h2> 1444 1445<p>MagickSetInterlaceScheme() sets the image compression.</p> 1446 1447<p>The format of the MagickSetInterlaceScheme method is:</p> 1448 1449<pre class="text"> 1450MagickBooleanType MagickSetInterlaceScheme(MagickWand *wand, 1451 const InterlaceType interlace_scheme) 1452</pre> 1453 1454<p>A description of each parameter follows:</p> 1455 1456<dd> 1457</dd> 1458 1459<dd> </dd> 1460<dl class="dl-horizontal"> 1461<dt>wand</dt> 1462<dd>the magick wand. </dd> 1463 1464<dd> </dd> 1465<dt>interlace_scheme</dt> 1466<dd>the image interlace scheme: NoInterlace, LineInterlace, PlaneInterlace, PartitionInterlace. </dd> 1467 1468<dd> </dd> 1469</dl> 1470<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickSetInterpolateMethod">MagickSetInterpolateMethod</a></h2> 1471 1472<p>MagickSetInterpolateMethod() sets the interpolate pixel method.</p> 1473 1474<p>The format of the MagickSetInterpolateMethod method is:</p> 1475 1476<pre class="text"> 1477MagickBooleanType MagickSetInterpolateMethod(MagickWand *wand, 1478 const InterpolateMethodPixel method) 1479</pre> 1480 1481<p>A description of each parameter follows:</p> 1482 1483<dd> 1484</dd> 1485 1486<dd> </dd> 1487<dl class="dl-horizontal"> 1488<dt>wand</dt> 1489<dd>the magick wand. </dd> 1490 1491<dd> </dd> 1492<dt>method</dt> 1493<dd>the interpolate pixel method. </dd> 1494 1495<dd> </dd> 1496</dl> 1497<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickSetOption">MagickSetOption</a></h2> 1498 1499<p>MagickSetOption() associates one or options with the wand (.e.g MagickSetOption(wand,"jpeg:perserve","yes")).</p> 1500 1501<p>The format of the MagickSetOption method is:</p> 1502 1503<pre class="text"> 1504MagickBooleanType MagickSetOption(MagickWand *wand,const char *key, 1505 const char *value) 1506</pre> 1507 1508<p>A description of each parameter follows:</p> 1509 1510<dd> 1511</dd> 1512 1513<dd> </dd> 1514<dl class="dl-horizontal"> 1515<dt>wand</dt> 1516<dd>the magick wand. </dd> 1517 1518<dd> </dd> 1519<dt>key</dt> 1520<dd> The key. </dd> 1521 1522<dd> </dd> 1523<dt>value</dt> 1524<dd> The value. </dd> 1525 1526<dd> </dd> 1527</dl> 1528<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickSetOrientation">MagickSetOrientation</a></h2> 1529 1530<p>MagickSetOrientation() sets the wand orientation type.</p> 1531 1532<p>The format of the MagickSetOrientation method is:</p> 1533 1534<pre class="text"> 1535MagickBooleanType MagickSetOrientation(MagickWand *wand, 1536 const OrientationType orientation) 1537</pre> 1538 1539<p>A description of each parameter follows:</p> 1540 1541<dd> 1542</dd> 1543 1544<dd> </dd> 1545<dl class="dl-horizontal"> 1546<dt>wand</dt> 1547<dd>the magick wand. </dd> 1548 1549<dd> </dd> 1550<dt>orientation</dt> 1551<dd>the wand orientation. </dd> 1552 1553<dd> </dd> 1554</dl> 1555<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickSetPage">MagickSetPage</a></h2> 1556 1557<p>MagickSetPage() sets the page geometry of the magick wand.</p> 1558 1559<p>The format of the MagickSetPage method is:</p> 1560 1561<pre class="text"> 1562MagickBooleanType MagickSetPage(MagickWand *wand, 1563 const size_t width,const size_t height,const ssize_t x, 1564 const ssize_t y) 1565</pre> 1566 1567<p>A description of each parameter follows:</p> 1568 1569<dd> 1570</dd> 1571 1572<dd> </dd> 1573<dl class="dl-horizontal"> 1574<dt>wand</dt> 1575<dd>the magick wand. </dd> 1576 1577<dd> </dd> 1578<dt>width</dt> 1579<dd>the page width. </dd> 1580 1581<dd> </dd> 1582<dt>height</dt> 1583<dd>the page height. </dd> 1584 1585<dd> </dd> 1586<dt>x</dt> 1587<dd>the page x-offset. </dd> 1588 1589<dd> </dd> 1590<dt>y</dt> 1591<dd>the page y-offset. </dd> 1592 1593<dd> </dd> 1594</dl> 1595<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickSetPassphrase">MagickSetPassphrase</a></h2> 1596 1597<p>MagickSetPassphrase() sets the passphrase.</p> 1598 1599<p>The format of the MagickSetPassphrase method is:</p> 1600 1601<pre class="text"> 1602MagickBooleanType MagickSetPassphrase(MagickWand *wand, 1603 const char *passphrase) 1604</pre> 1605 1606<p>A description of each parameter follows:</p> 1607 1608<dd> 1609</dd> 1610 1611<dd> </dd> 1612<dl class="dl-horizontal"> 1613<dt>wand</dt> 1614<dd>the magick wand. </dd> 1615 1616<dd> </dd> 1617<dt>passphrase</dt> 1618<dd>the passphrase. </dd> 1619 1620<dd> </dd> 1621</dl> 1622<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickSetPointsize">MagickSetPointsize</a></h2> 1623 1624<p>MagickSetPointsize() sets the font pointsize associated with the MagickWand.</p> 1625 1626<p>The format of the MagickSetPointsize method is:</p> 1627 1628<pre class="text"> 1629MagickBooleanType MagickSetPointsize(MagickWand *wand, 1630 const double pointsize) 1631</pre> 1632 1633<p>A description of each parameter follows:</p> 1634 1635<dd> 1636</dd> 1637 1638<dd> </dd> 1639<dl class="dl-horizontal"> 1640<dt>wand</dt> 1641<dd>the magick wand. </dd> 1642 1643<dd> </dd> 1644<dt>pointsize</dt> 1645<dd>the size of the font </dd> 1646 1647<dd> </dd> 1648</dl> 1649<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickSetProgressMonitor">MagickSetProgressMonitor</a></h2> 1650 1651<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> 1652 1653<pre class="text"> 1654 MagickBooleanType MagickProgressMonitor(const char *text, 1655const MagickOffsetType offset,const MagickSizeType span, 1656void *client_data) 1657</pre> 1658 1659<p>If the progress monitor returns MagickFalse, the current operation is interrupted.</p> 1660 1661<p>The format of the MagickSetProgressMonitor method is:</p> 1662 1663<pre class="text"> 1664MagickProgressMonitor MagickSetProgressMonitor(MagickWand *wand 1665 const MagickProgressMonitor progress_monitor,void *client_data) 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>progress_monitor</dt> 1680<dd>Specifies a pointer to a method to monitor progress of an image operation. </dd> 1681 1682<dd> </dd> 1683<dt>client_data</dt> 1684<dd>Specifies a pointer to any client data. </dd> 1685 1686<dd> </dd> 1687</dl> 1688<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickSetResourceLimit">MagickSetResourceLimit</a></h2> 1689 1690<p>MagickSetResourceLimit() sets the limit for a particular resource in megabytes.</p> 1691 1692<p>The format of the MagickSetResourceLimit method is:</p> 1693 1694<pre class="text"> 1695MagickBooleanType MagickSetResourceLimit(const ResourceType type, 1696 const MagickSizeType limit) 1697</pre> 1698 1699<p>A description of each parameter follows:</p> 1700 1701<dd> 1702</dd> 1703 1704<dd> </dd> 1705<dl class="dl-horizontal"> 1706<dt>type</dt> 1707<dd>the type of resource: AreaResource, MemoryResource, MapResource, DiskResource, FileResource. </dd> 1708 1709<dd> o The maximum limit for the resource. </dd> 1710 1711<dd> </dd> 1712</dl> 1713<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickSetResolution">MagickSetResolution</a></h2> 1714 1715<p>MagickSetResolution() sets the image resolution.</p> 1716 1717<p>The format of the MagickSetResolution method is:</p> 1718 1719<pre class="text"> 1720MagickBooleanType MagickSetResolution(MagickWand *wand, 1721 const double x_resolution,const double y_resolution) 1722</pre> 1723 1724<p>A description of each parameter follows:</p> 1725 1726<dd> 1727</dd> 1728 1729<dd> </dd> 1730<dl class="dl-horizontal"> 1731<dt>wand</dt> 1732<dd>the magick wand. </dd> 1733 1734<dd> </dd> 1735<dt>x_resolution</dt> 1736<dd>the image x resolution. </dd> 1737 1738<dd> </dd> 1739<dt>y_resolution</dt> 1740<dd>the image y resolution. </dd> 1741 1742<dd> </dd> 1743</dl> 1744<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickSetSamplingFactors">MagickSetSamplingFactors</a></h2> 1745 1746<p>MagickSetSamplingFactors() sets the image sampling factors.</p> 1747 1748<p>The format of the MagickSetSamplingFactors method is:</p> 1749 1750<pre class="text"> 1751MagickBooleanType MagickSetSamplingFactors(MagickWand *wand, 1752 const size_t number_factors,const double *sampling_factors) 1753</pre> 1754 1755<p>A description of each parameter follows:</p> 1756 1757<dd> 1758</dd> 1759 1760<dd> </dd> 1761<dl class="dl-horizontal"> 1762<dt>wand</dt> 1763<dd>the magick wand. </dd> 1764 1765<dd> </dd> 1766<dt>number_factoes</dt> 1767<dd>the number of factors. </dd> 1768 1769<dd> </dd> 1770<dt>sampling_factors</dt> 1771<dd>An array of doubles representing the sampling factor for each color component (in RGB order). </dd> 1772 1773<dd> </dd> 1774</dl> 1775<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickSetSize">MagickSetSize</a></h2> 1776 1777<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> 1778 1779<p>The format of the MagickSetSize method is:</p> 1780 1781<pre class="text"> 1782MagickBooleanType MagickSetSize(MagickWand *wand, 1783 const size_t columns,const size_t rows) 1784</pre> 1785 1786<p>A description of each parameter follows:</p> 1787 1788<dd> 1789</dd> 1790 1791<dd> </dd> 1792<dl class="dl-horizontal"> 1793<dt>wand</dt> 1794<dd>the magick wand. </dd> 1795 1796<dd> </dd> 1797<dt>columns</dt> 1798<dd>the width in pixels. </dd> 1799 1800<dd> </dd> 1801<dt>rows</dt> 1802<dd>the rows in pixels. </dd> 1803 1804<dd> </dd> 1805</dl> 1806<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickSetSizeOffset">MagickSetSizeOffset</a></h2> 1807 1808<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> 1809 1810<p>The format of the MagickSetSizeOffset method is:</p> 1811 1812<pre class="text"> 1813MagickBooleanType MagickSetSizeOffset(MagickWand *wand, 1814 const size_t columns,const size_t rows, 1815 const ssize_t offset) 1816</pre> 1817 1818<p>A description of each parameter follows:</p> 1819 1820<dd> 1821</dd> 1822 1823<dd> </dd> 1824<dl class="dl-horizontal"> 1825<dt>wand</dt> 1826<dd>the magick wand. </dd> 1827 1828<dd> </dd> 1829<dt>columns</dt> 1830<dd>the image width in pixels. </dd> 1831 1832<dd> </dd> 1833<dt>rows</dt> 1834<dd>the image rows in pixels. </dd> 1835 1836<dd> </dd> 1837<dt>offset</dt> 1838<dd>the image offset. </dd> 1839 1840<dd> </dd> 1841</dl> 1842<h2><a href="http://nextgen.imagemagick.org/api/MagickWand/magick-property_8c.html" id="MagickSetType">MagickSetType</a></h2> 1843 1844<p>MagickSetType() sets the image type attribute.</p> 1845 1846<p>The format of the MagickSetType method is:</p> 1847 1848<pre class="text"> 1849MagickBooleanType MagickSetType(MagickWand *wand, 1850 const ImageType image_type) 1851</pre> 1852 1853<p>A description of each parameter follows:</p> 1854 1855<dd> 1856</dd> 1857 1858<dd> </dd> 1859<dl class="dl-horizontal"> 1860<dt>wand</dt> 1861<dd>the magick wand. </dd> 1862 1863<dd> </dd> 1864<dt>image_type</dt> 1865<dd>the image type: UndefinedType, BilevelType, GrayscaleType, GrayscaleAlphaType, PaletteType, PaletteAlphaType, TrueColorType, TrueColorAlphaType, ColorSeparationType, ColorSeparationAlphaType, or OptimizeType. </dd> 1866 1867<dd> </dd> 1868</dl> 1869</div> 1870 <footer class="magick-footer"> 1871 <p><a href="../script/support.php">Donate</a> • 1872 <a href="../script/sitemap.php">Sitemap</a> • 1873 <a href="../script/links.php">Related</a> • 1874 <a href="../script/architecture.php">Architecture</a> 1875</p> 1876 <p><a href="magick-property.php#">Back to top</a> • 1877 <a href="http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x89AB63D48277377A">Public Key</a> • 1878 <a href="../script/contact.php">Contact Us</a></p> 1879 <p><small>© 1999-2016 ImageMagick Studio LLC</small></p> 1880 </footer> 1881</div><!-- /.container --> 1882 1883 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> 1884 <script src="http://nextgen.imagemagick.org/js/magick.php"></script> 1885</div> 1886</body> 1887</html> 1888