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