blob: 55eaf8e2a1af2efad6e47ac977cbd22aea000f09 [file] [log] [blame]
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>ImageMagick - MagickWand, C API: Property Methods</title>
<meta name="application-name" content="ImageMagick" />
<meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickwc, api:, property, methods, image processing software" />
<meta name="rating" content="GENERAL" />
<meta name="robots" content="INDEX, FOLLOW" />
<meta name="generator" content="ImageMagick Studio LLC" />
<meta name="author" content="ImageMagick Studio LLC" />
<meta name="revisit-after" content="2 DAYS" />
<meta name="resource-type" content="document" />
<meta name="copyright" content="Copyright (c) 1999-2020 ImageMagick Studio LLC" />
<meta name="distribution" content="Global" />
<meta name="magick-serial" content="P131-S030410-R485315270133-P82224-A6668-G1245-1" />
<meta property='og:url' content='../../' />
<meta property='og:title' content='ImageMagick' />
<meta property='og:image' content='../../../images/logo.png' />
<meta property='og:type' content='website' />
<meta property='og:site_name' content='ImageMagick' />
<meta property='og:description' content="Create, Edit, Compose, or Convert Digital Images" />
<meta name="google-site-verification" content="_bMOCDpkx9ZAzBwb2kF3PRHbfUUdFj2uO8Jd1AXArz4" />
<link href="magick-property.html" rel="canonical" />
<link href="../../../images/wand.png" rel="icon" />
<link href="../../../images/wand.ico" rel="shortcut icon" />
<link href="../../assets/magick.css" rel="stylesheet" />
</head>
<body>
<nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
<div class="container-fluid">
<a class="navbar-brand" href="../../"><img class="d-block" id="icon" alt="ImageMagick" width="32" height="32" src="../../../images/wand.ico"/></a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#magick-navbars" aria-controls="magick-navbars" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="magick-navbars">
<ul class="navbar-nav me-auto mb-2 mb-md-0">
<li class="nav-item">
<a class="nav-link " href="../../www/index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link " href="../../www/download.html">Download</a>
</li>
<li class="nav-item">
<a class="nav-link " href="../../www/command-line-tools.html">Tools</a>
</li>
<li class="nav-item">
<a class="nav-link " href="../../www/command-line-processing.html">CLI</a>
</li>
<li class="nav-item">
<a class="nav-link " href="../../www/develop.html">Develop</a>
</li>
<li class="nav-item">
<a class="nav-link" target="_blank" href="https://github.com/ImageMagick/ImageMagick/discussions">Community</a>
</li>
<li class="nav-item">
<iframe src="https://github.com/sponsors/ImageMagick/button" title="Sponsor ImageMagick" height="35" width="107" style="border: 0;"></iframe>
</li>
</ul>
<form class="d-flex form-inline" action="https://imagemagick.org/script/search.php">
<input class="form-control me-2" type="text" name="q" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-success" type="submit" name="sa">Search</button>
</form>
</div>
</div>
</nav>
<div class="container">
<script async="async" src="https://localhost/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-3129977114552745"
data-ad-slot="6345125851"
data-full-width-responsive="true"
data-ad-format="horizontal"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<main class="container">
<div class="magick-template">
<div class="magick-header">
<p class="text-center"><a href="magick-property.html#MagickDeleteImageArtifact">MagickDeleteImageArtifact</a> &#8226; <a href="magick-property.html#MagickDeleteImageProperty">MagickDeleteImageProperty</a> &#8226; <a href="magick-property.html#MagickDeleteOption">MagickDeleteOption</a> &#8226; <a href="magick-property.html#MagickGetAntialias">MagickGetAntialias</a> &#8226; <a href="magick-property.html#MagickGetBackgroundColor">MagickGetBackgroundColor</a> &#8226; <a href="magick-property.html#MagickGetColorspace">MagickGetColorspace</a> &#8226; <a href="magick-property.html#MagickGetCompression">MagickGetCompression</a> &#8226; <a href="magick-property.html#MagickGetCompressionQuality">MagickGetCompressionQuality</a> &#8226; <a href="magick-property.html#MagickGetCopyright">MagickGetCopyright</a> &#8226; <a href="magick-property.html#MagickGetFilename">MagickGetFilename</a> &#8226; <a href="magick-property.html#MagickGetFont">MagickGetFont</a> &#8226; <a href="magick-property.html#MagickGetFormat">MagickGetFormat</a> &#8226; <a href="magick-property.html#MagickGetGravity">MagickGetGravity</a> &#8226; <a href="magick-property.html#MagickGetHomeURL">MagickGetHomeURL</a> &#8226; <a href="magick-property.html#MagickGetImageArtifact">MagickGetImageArtifact</a> &#8226; <a href="magick-property.html#MagickGetImageArtifacts">MagickGetImageArtifacts</a> &#8226; <a href="magick-property.html#MagickGetImageProfile">MagickGetImageProfile</a> &#8226; <a href="magick-property.html#MagickGetImageProfiles">MagickGetImageProfiles</a> &#8226; <a href="magick-property.html#MagickGetImageProperty">MagickGetImageProperty</a> &#8226; <a href="magick-property.html#MagickGetImageProperties">MagickGetImageProperties</a> &#8226; <a href="magick-property.html#MagickGetInterlaceScheme">MagickGetInterlaceScheme</a> &#8226; <a href="magick-property.html#MagickGetInterpolateMethod">MagickGetInterpolateMethod</a> &#8226; <a href="magick-property.html#MagickGetOption">MagickGetOption</a> &#8226; <a href="magick-property.html#MagickGetOptions">MagickGetOptions</a> &#8226; <a href="magick-property.html#MagickGetOrientation">MagickGetOrientation</a> &#8226; <a href="magick-property.html#MagickGetPackageName">MagickGetPackageName</a> &#8226; <a href="magick-property.html#MagickGetPage">MagickGetPage</a> &#8226; <a href="magick-property.html#MagickGetPointsize">MagickGetPointsize</a> &#8226; <a href="magick-property.html#MagickGetQuantumDepth">MagickGetQuantumDepth</a> &#8226; <a href="magick-property.html#MagickGetQuantumRange">MagickGetQuantumRange</a> &#8226; <a href="magick-property.html#MagickGetReleaseDate">MagickGetReleaseDate</a> &#8226; <a href="magick-property.html#MagickGetResolution">MagickGetResolution</a> &#8226; <a href="magick-property.html#MagickGetResource">MagickGetResource</a> &#8226; <a href="magick-property.html#MagickGetResourceLimit">MagickGetResourceLimit</a> &#8226; <a href="magick-property.html#MagickGetSamplingFactors">MagickGetSamplingFactors</a> &#8226; <a href="magick-property.html#MagickGetSize">MagickGetSize</a> &#8226; <a href="magick-property.html#MagickGetSizeOffset">MagickGetSizeOffset</a> &#8226; <a href="magick-property.html#MagickGetType">MagickGetType</a> &#8226; <a href="magick-property.html#MagickGetVersion">MagickGetVersion</a> &#8226; <a href="magick-property.html#MagickProfileImage">MagickProfileImage</a> &#8226; <a href="magick-property.html#MagickRemoveImageProfile">MagickRemoveImageProfile</a> &#8226; <a href="magick-property.html#MagickSetAntialias">MagickSetAntialias</a> &#8226; <a href="magick-property.html#MagickSetBackgroundColor">MagickSetBackgroundColor</a> &#8226; <a href="magick-property.html#MagickSetColorspace">MagickSetColorspace</a> &#8226; <a href="magick-property.html#MagickSetCompression">MagickSetCompression</a> &#8226; <a href="magick-property.html#MagickSetCompressionQuality">MagickSetCompressionQuality</a> &#8226; <a href="magick-property.html#MagickSetDepth">MagickSetDepth</a> &#8226; <a href="magick-property.html#MagickSetExtract">MagickSetExtract</a> &#8226; <a href="magick-property.html#MagickSetFilename">MagickSetFilename</a> &#8226; <a href="magick-property.html#MagickSetFont">MagickSetFont</a> &#8226; <a href="magick-property.html#MagickSetFormat">MagickSetFormat</a> &#8226; <a href="magick-property.html#MagickSetGravity">MagickSetGravity</a> &#8226; <a href="magick-property.html#MagickSetImageArtifact">MagickSetImageArtifact</a> &#8226; <a href="magick-property.html#MagickSetImageProfile">MagickSetImageProfile</a> &#8226; <a href="magick-property.html#MagickSetImageProperty">MagickSetImageProperty</a> &#8226; <a href="magick-property.html#MagickSetInterlaceScheme">MagickSetInterlaceScheme</a> &#8226; <a href="magick-property.html#MagickSetInterpolateMethod">MagickSetInterpolateMethod</a> &#8226; <a href="magick-property.html#MagickSetOption">MagickSetOption</a> &#8226; <a href="magick-property.html#MagickSetOrientation">MagickSetOrientation</a> &#8226; <a href="magick-property.html#MagickSetPage">MagickSetPage</a> &#8226; <a href="magick-property.html#MagickSetPassphrase">MagickSetPassphrase</a> &#8226; <a href="magick-property.html#MagickSetPointsize">MagickSetPointsize</a> &#8226; <a href="magick-property.html#MagickSetProgressMonitor">MagickSetProgressMonitor</a> &#8226; <a href="magick-property.html#MagickSetResourceLimit">MagickSetResourceLimit</a> &#8226; <a href="magick-property.html#MagickSetResolution">MagickSetResolution</a> &#8226; <a href="magick-property.html#MagickSetSamplingFactors">MagickSetSamplingFactors</a> &#8226; <a href="magick-property.html#MagickSetSeed">MagickSetSeed</a> &#8226; <a href="magick-property.html#MagickSetSecurityPolicy">MagickSetSecurityPolicy</a> &#8226; <a href="magick-property.html#MagickSetSize">MagickSetSize</a> &#8226; <a href="magick-property.html#MagickSetSizeOffset">MagickSetSizeOffset</a> &#8226; <a href="magick-property.html#MagickSetType">MagickSetType</a></p>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickDeleteImageArtifact">MagickDeleteImageArtifact</a></h2>
<p>MagickDeleteImageArtifact() deletes a wand artifact.</p>
<p>The format of the MagickDeleteImageArtifact method is:</p>
<pre class="text">
MagickBooleanType MagickDeleteImageArtifact(MagickWand *wand,
const char *artifact)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>image</dt>
<dd>the image. </dd>
<dd> </dd>
<dt>artifact</dt>
<dd>the image artifact. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickDeleteImageProperty">MagickDeleteImageProperty</a></h2>
<p>MagickDeleteImageProperty() deletes a wand property.</p>
<p>The format of the MagickDeleteImageProperty method is:</p>
<pre class="text">
MagickBooleanType MagickDeleteImageProperty(MagickWand *wand,
const char *property)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>image</dt>
<dd>the image. </dd>
<dd> </dd>
<dt>property</dt>
<dd>the image property. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickDeleteOption">MagickDeleteOption</a></h2>
<p>MagickDeleteOption() deletes a wand option.</p>
<p>The format of the MagickDeleteOption method is:</p>
<pre class="text">
MagickBooleanType MagickDeleteOption(MagickWand *wand,
const char *option)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>image</dt>
<dd>the image. </dd>
<dd> </dd>
<dt>option</dt>
<dd>the image option. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetAntialias">MagickGetAntialias</a></h2>
<p>MagickGetAntialias() returns the antialias property associated with the wand.</p>
<p>The format of the MagickGetAntialias method is:</p>
<pre class="text">
MagickBooleanType MagickGetAntialias(const MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetBackgroundColor">MagickGetBackgroundColor</a></h2>
<p>MagickGetBackgroundColor() returns the wand background color.</p>
<p>The format of the MagickGetBackgroundColor method is:</p>
<pre class="text">
PixelWand *MagickGetBackgroundColor(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetColorspace">MagickGetColorspace</a></h2>
<p>MagickGetColorspace() gets the wand colorspace type.</p>
<p>The format of the MagickGetColorspace method is:</p>
<pre class="text">
ColorspaceType MagickGetColorspace(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetCompression">MagickGetCompression</a></h2>
<p>MagickGetCompression() gets the wand compression type.</p>
<p>The format of the MagickGetCompression method is:</p>
<pre class="text">
CompressionType MagickGetCompression(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetCompressionQuality">MagickGetCompressionQuality</a></h2>
<p>MagickGetCompressionQuality() gets the wand compression quality.</p>
<p>The format of the MagickGetCompressionQuality method is:</p>
<pre class="text">
size_t MagickGetCompressionQuality(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetCopyright">MagickGetCopyright</a></h2>
<p>MagickGetCopyright() returns the ImageMagick API copyright as a string constant.</p>
<p>The format of the MagickGetCopyright method is:</p>
<pre class="text">
const char *MagickGetCopyright(void)
</pre>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetFilename">MagickGetFilename</a></h2>
<p>MagickGetFilename() returns the filename associated with an image sequence.</p>
<p>The format of the MagickGetFilename method is:</p>
<pre class="text">
const char *MagickGetFilename(const MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetFont">MagickGetFont</a></h2>
<p>MagickGetFont() returns the font associated with the MagickWand.</p>
<p>The format of the MagickGetFont method is:</p>
<pre class="text">
char *MagickGetFont(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetFormat">MagickGetFormat</a></h2>
<p>MagickGetFormat() returns the format of the magick wand.</p>
<p>The format of the MagickGetFormat method is:</p>
<pre class="text">
const char MagickGetFormat(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetGravity">MagickGetGravity</a></h2>
<p>MagickGetGravity() gets the wand gravity.</p>
<p>The format of the MagickGetGravity method is:</p>
<pre class="text">
GravityType MagickGetGravity(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetHomeURL">MagickGetHomeURL</a></h2>
<p>MagickGetHomeURL() returns the ImageMagick home URL.</p>
<p>The format of the MagickGetHomeURL method is:</p>
<pre class="text">
char *MagickGetHomeURL(void)
</pre>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetImageArtifact">MagickGetImageArtifact</a></h2>
<p>MagickGetImageArtifact() returns a value associated with the specified artifact. Use MagickRelinquishMemory() to free the value when you are finished with it.</p>
<p>The format of the MagickGetImageArtifact method is:</p>
<pre class="text">
char *MagickGetImageArtifact(MagickWand *wand,const char *artifact)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>artifact</dt>
<dd>the artifact. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetImageArtifacts">MagickGetImageArtifacts</a></h2>
<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>
<p>The format of the MagickGetImageArtifacts method is:</p>
<pre class="text">
char *MagickGetImageArtifacts(MagickWand *wand,
const char *pattern,size_t *number_artifacts)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>pattern</dt>
<dd>Specifies a pointer to a text string containing a pattern. </dd>
<dd> </dd>
<dt>number_artifacts</dt>
<dd>the number artifacts associated with this wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetImageProfile">MagickGetImageProfile</a></h2>
<p>MagickGetImageProfile() returns the named image profile.</p>
<p>The format of the MagickGetImageProfile method is:</p>
<pre class="text">
unsigned char *MagickGetImageProfile(MagickWand *wand,const char *name,
size_t *length)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>name</dt>
<dd>Name of profile to return: ICC, IPTC, or generic profile. </dd>
<dd> </dd>
<dt>length</dt>
<dd>the length of the profile. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetImageProfiles">MagickGetImageProfiles</a></h2>
<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>
<p>The format of the MagickGetImageProfiles method is:</p>
<pre class="text">
char *MagickGetImageProfiles(MagickWand *wand,const char *pattern,
size_t *number_profiles)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>pattern</dt>
<dd>Specifies a pointer to a text string containing a pattern. </dd>
<dd> </dd>
<dt>number_profiles</dt>
<dd>the number profiles associated with this wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetImageProperty">MagickGetImageProperty</a></h2>
<p>MagickGetImageProperty() returns a value associated with the specified property. Use MagickRelinquishMemory() to free the value when you are finished with it.</p>
<p>The format of the MagickGetImageProperty method is:</p>
<pre class="text">
char *MagickGetImageProperty(MagickWand *wand,const char *property)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>property</dt>
<dd>the property. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetImageProperties">MagickGetImageProperties</a></h2>
<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>
<p>The format of the MagickGetImageProperties method is:</p>
<pre class="text">
char *MagickGetImageProperties(MagickWand *wand,
const char *pattern,size_t *number_properties)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>pattern</dt>
<dd>Specifies a pointer to a text string containing a pattern. </dd>
<dd> </dd>
<dt>number_properties</dt>
<dd>the number properties associated with this wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetInterlaceScheme">MagickGetInterlaceScheme</a></h2>
<p>MagickGetInterlaceScheme() gets the wand interlace scheme.</p>
<p>The format of the MagickGetInterlaceScheme method is:</p>
<pre class="text">
InterlaceType MagickGetInterlaceScheme(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetInterpolateMethod">MagickGetInterpolateMethod</a></h2>
<p>MagickGetInterpolateMethod() gets the wand compression.</p>
<p>The format of the MagickGetInterpolateMethod method is:</p>
<pre class="text">
PixelInterpolateMethod MagickGetInterpolateMethod(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetOption">MagickGetOption</a></h2>
<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>
<p>The format of the MagickGetOption method is:</p>
<pre class="text">
char *MagickGetOption(MagickWand *wand,const char *key)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>key</dt>
<dd>the key. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetOptions">MagickGetOptions</a></h2>
<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>
<p>The format of the MagickGetOptions method is:</p>
<pre class="text">
char *MagickGetOptions(MagickWand *wand,const char *pattern,
size_t *number_options)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>pattern</dt>
<dd>Specifies a pointer to a text string containing a pattern. </dd>
<dd> </dd>
<dt>number_options</dt>
<dd>the number options associated with this wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetOrientation">MagickGetOrientation</a></h2>
<p>MagickGetOrientation() gets the wand orientation type.</p>
<p>The format of the MagickGetOrientation method is:</p>
<pre class="text">
OrientationType MagickGetOrientation(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetPackageName">MagickGetPackageName</a></h2>
<p>MagickGetPackageName() returns the ImageMagick package name as a string constant.</p>
<p>The format of the MagickGetPackageName method is:</p>
<pre class="text">
const char *MagickGetPackageName(void)
</pre>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetPage">MagickGetPage</a></h2>
<p>MagickGetPage() returns the page geometry associated with the magick wand.</p>
<p>The format of the MagickGetPage method is:</p>
<pre class="text">
MagickBooleanType MagickGetPage(const MagickWand *wand,
size_t *width,size_t *height,ssize_t *x,ssize_t *y)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>width</dt>
<dd>the page width. </dd>
<dd> </dd>
<dt>height</dt>
<dd>page height. </dd>
<dd> </dd>
<dt>x</dt>
<dd>the page x-offset. </dd>
<dd> </dd>
<dt>y</dt>
<dd>the page y-offset. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetPointsize">MagickGetPointsize</a></h2>
<p>MagickGetPointsize() returns the font pointsize associated with the MagickWand.</p>
<p>The format of the MagickGetPointsize method is:</p>
<pre class="text">
double MagickGetPointsize(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetQuantumDepth">MagickGetQuantumDepth</a></h2>
<p>MagickGetQuantumDepth() returns the ImageMagick quantum depth as a string constant.</p>
<p>The format of the MagickGetQuantumDepth method is:</p>
<pre class="text">
const char *MagickGetQuantumDepth(size_t *depth)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>depth</dt>
<dd>the quantum depth is returned as a number. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetQuantumRange">MagickGetQuantumRange</a></h2>
<p>MagickGetQuantumRange() returns the ImageMagick quantum range as a string constant.</p>
<p>The format of the MagickGetQuantumRange method is:</p>
<pre class="text">
const char *MagickGetQuantumRange(size_t *range)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>range</dt>
<dd>the quantum range is returned as a number. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetReleaseDate">MagickGetReleaseDate</a></h2>
<p>MagickGetReleaseDate() returns the ImageMagick release date as a string constant.</p>
<p>The format of the MagickGetReleaseDate method is:</p>
<pre class="text">
const char *MagickGetReleaseDate(void)
</pre>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetResolution">MagickGetResolution</a></h2>
<p>MagickGetResolution() gets the image X and Y resolution.</p>
<p>The format of the MagickGetResolution method is:</p>
<pre class="text">
MagickBooleanType MagickGetResolution(const MagickWand *wand,double *x,
double *y)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>x</dt>
<dd>the x-resolution. </dd>
<dd> </dd>
<dt>y</dt>
<dd>the y-resolution. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetResource">MagickGetResource</a></h2>
<p>MagickGetResource() returns the specified resource in megabytes.</p>
<p>The format of the MagickGetResource method is:</p>
<pre class="text">
MagickSizeType MagickGetResource(const ResourceType type)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetResourceLimit">MagickGetResourceLimit</a></h2>
<p>MagickGetResourceLimit() returns the specified resource limit in megabytes.</p>
<p>The format of the MagickGetResourceLimit method is:</p>
<pre class="text">
MagickSizeType MagickGetResourceLimit(const ResourceType type)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetSamplingFactors">MagickGetSamplingFactors</a></h2>
<p>MagickGetSamplingFactors() gets the horizontal and vertical sampling factor.</p>
<p>The format of the MagickGetSamplingFactors method is:</p>
<pre class="text">
double *MagickGetSamplingFactor(MagickWand *wand,
size_t *number_factors)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>number_factors</dt>
<dd>the number of factors in the returned array. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetSize">MagickGetSize</a></h2>
<p>MagickGetSize() returns the size associated with the magick wand.</p>
<p>The format of the MagickGetSize method is:</p>
<pre class="text">
MagickBooleanType MagickGetSize(const MagickWand *wand,
size_t *columns,size_t *rows)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>columns</dt>
<dd>the width in pixels. </dd>
<dd> </dd>
<dt>height</dt>
<dd>the height in pixels. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetSizeOffset">MagickGetSizeOffset</a></h2>
<p>MagickGetSizeOffset() returns the size offset associated with the magick wand.</p>
<p>The format of the MagickGetSizeOffset method is:</p>
<pre class="text">
MagickBooleanType MagickGetSizeOffset(const MagickWand *wand,
ssize_t *offset)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>offset</dt>
<dd>the image offset. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetType">MagickGetType</a></h2>
<p>MagickGetType() returns the wand type.</p>
<p>The format of the MagickGetType method is:</p>
<pre class="text">
ImageType MagickGetType(MagickWand *wand)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickGetVersion">MagickGetVersion</a></h2>
<p>MagickGetVersion() returns the ImageMagick API version as a string constant and as a number.</p>
<p>The format of the MagickGetVersion method is:</p>
<pre class="text">
const char *MagickGetVersion(size_t *version)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>version</dt>
<dd>the ImageMagick version is returned as a number. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickProfileImage">MagickProfileImage</a></h2>
<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>
<p>The format of the MagickProfileImage method is:</p>
<pre class="text">
MagickBooleanType MagickProfileImage(MagickWand *wand,const char *name,
const void *profile,const size_t length)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>name</dt>
<dd>Name of profile to add or remove: ICC, IPTC, or generic profile. </dd>
<dd> </dd>
<dt>profile</dt>
<dd>the profile. </dd>
<dd> </dd>
<dt>length</dt>
<dd>the length of the profile. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickRemoveImageProfile">MagickRemoveImageProfile</a></h2>
<p>MagickRemoveImageProfile() removes the named image profile and returns it.</p>
<p>The format of the MagickRemoveImageProfile method is:</p>
<pre class="text">
unsigned char *MagickRemoveImageProfile(MagickWand *wand,
const char *name,size_t *length)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>name</dt>
<dd>Name of profile to return: ICC, IPTC, or generic profile. </dd>
<dd> </dd>
<dt>length</dt>
<dd>the length of the profile. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetAntialias">MagickSetAntialias</a></h2>
<p>MagickSetAntialias() sets the antialias propery of the wand.</p>
<p>The format of the MagickSetAntialias method is:</p>
<pre class="text">
MagickBooleanType MagickSetAntialias(MagickWand *wand,
const MagickBooleanType antialias)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>antialias</dt>
<dd>the antialias property. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetBackgroundColor">MagickSetBackgroundColor</a></h2>
<p>MagickSetBackgroundColor() sets the wand background color.</p>
<p>The format of the MagickSetBackgroundColor method is:</p>
<pre class="text">
MagickBooleanType MagickSetBackgroundColor(MagickWand *wand,
const PixelWand *background)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>background</dt>
<dd>the background pixel wand. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetColorspace">MagickSetColorspace</a></h2>
<p>MagickSetColorspace() sets the wand colorspace type.</p>
<p>The format of the MagickSetColorspace method is:</p>
<pre class="text">
MagickBooleanType MagickSetColorspace(MagickWand *wand,
const ColorspaceType colorspace)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>colorspace</dt>
<dd>the wand colorspace. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetCompression">MagickSetCompression</a></h2>
<p>MagickSetCompression() sets the wand compression type.</p>
<p>The format of the MagickSetCompression method is:</p>
<pre class="text">
MagickBooleanType MagickSetCompression(MagickWand *wand,
const CompressionType compression)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>compression</dt>
<dd>the wand compression. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetCompressionQuality">MagickSetCompressionQuality</a></h2>
<p>MagickSetCompressionQuality() sets the wand compression quality.</p>
<p>The format of the MagickSetCompressionQuality method is:</p>
<pre class="text">
MagickBooleanType MagickSetCompressionQuality(MagickWand *wand,
const size_t quality)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>quality</dt>
<dd>the wand compression quality. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetDepth">MagickSetDepth</a></h2>
<p>MagickSetDepth() sets the wand pixel depth.</p>
<p>The format of the MagickSetDepth method is:</p>
<pre class="text">
MagickBooleanType MagickSetDepth(MagickWand *wand,
const size_t depth)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>depth</dt>
<dd>the wand pixel depth. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetExtract">MagickSetExtract</a></h2>
<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>
<p>The format of the MagickSetExtract method is:</p>
<pre class="text">
MagickBooleanType MagickSetExtract(MagickWand *wand,
const char *geometry)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>geometry</dt>
<dd>the extract geometry. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetFilename">MagickSetFilename</a></h2>
<p>MagickSetFilename() sets the filename before you read or write an image file.</p>
<p>The format of the MagickSetFilename method is:</p>
<pre class="text">
MagickBooleanType MagickSetFilename(MagickWand *wand,
const char *filename)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>filename</dt>
<dd>the image filename. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetFont">MagickSetFont</a></h2>
<p>MagickSetFont() sets the font associated with the MagickWand.</p>
<p>The format of the MagickSetFont method is:</p>
<pre class="text">
MagickBooleanType MagickSetFont(MagickWand *wand, const char *font)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>font</dt>
<dd>the font </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetFormat">MagickSetFormat</a></h2>
<p>MagickSetFormat() sets the format of the magick wand.</p>
<p>The format of the MagickSetFormat method is:</p>
<pre class="text">
MagickBooleanType MagickSetFormat(MagickWand *wand,const char *format)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>format</dt>
<dd>the image format. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetGravity">MagickSetGravity</a></h2>
<p>MagickSetGravity() sets the gravity type.</p>
<p>The format of the MagickSetGravity type is:</p>
<pre class="text">
MagickBooleanType MagickSetGravity(MagickWand *wand,
const GravityType type)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>type</dt>
<dd>the gravity type. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetImageArtifact">MagickSetImageArtifact</a></h2>
<p>MagickSetImageArtifact() sets a key-value pair in the image artifact namespace. Artifacts differ from properties. Properties are public and are generally exported to an external image format if the format supports it. Artifacts are private and are utilized by the internal ImageMagick API to modify the behavior of certain algorithms.</p>
<p>The format of the MagickSetImageArtifact method is:</p>
<pre class="text">
MagickBooleanType MagickSetImageArtifact(MagickWand *wand,
const char *artifact,const char *value)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>artifact</dt>
<dd>the artifact. </dd>
<dd> </dd>
<dt>value</dt>
<dd>the value. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetImageProfile">MagickSetImageProfile</a></h2>
<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>
<p>The format of the MagickSetImageProfile method is:</p>
<pre class="text">
MagickBooleanType MagickSetImageProfile(MagickWand *wand,
const char *name,const void *profile,const size_t length)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>name</dt>
<dd>Name of profile to add or remove: ICC, IPTC, or generic profile. </dd>
<dd> </dd>
<dt>profile</dt>
<dd>the profile. </dd>
<dd> </dd>
<dt>length</dt>
<dd>the length of the profile. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetImageProperty">MagickSetImageProperty</a></h2>
<p>MagickSetImageProperty() associates a property with an image.</p>
<p>The format of the MagickSetImageProperty method is:</p>
<pre class="text">
MagickBooleanType MagickSetImageProperty(MagickWand *wand,
const char *property,const char *value)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>property</dt>
<dd>the property. </dd>
<dd> </dd>
<dt>value</dt>
<dd>the value. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetInterlaceScheme">MagickSetInterlaceScheme</a></h2>
<p>MagickSetInterlaceScheme() sets the image compression.</p>
<p>The format of the MagickSetInterlaceScheme method is:</p>
<pre class="text">
MagickBooleanType MagickSetInterlaceScheme(MagickWand *wand,
const InterlaceType interlace_scheme)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>interlace_scheme</dt>
<dd>the image interlace scheme: NoInterlace, LineInterlace, PlaneInterlace, PartitionInterlace. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetInterpolateMethod">MagickSetInterpolateMethod</a></h2>
<p>MagickSetInterpolateMethod() sets the interpolate pixel method.</p>
<p>The format of the MagickSetInterpolateMethod method is:</p>
<pre class="text">
MagickBooleanType MagickSetInterpolateMethod(MagickWand *wand,
const InterpolateMethodPixel method)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>method</dt>
<dd>the interpolate pixel method. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetOption">MagickSetOption</a></h2>
<p>MagickSetOption() associates one or options with the wand (.e.g MagickSetOption(wand,"jpeg:perserve","yes")).</p>
<p>The format of the MagickSetOption method is:</p>
<pre class="text">
MagickBooleanType MagickSetOption(MagickWand *wand,const char *key,
const char *value)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>key</dt>
<dd> The key. </dd>
<dd> </dd>
<dt>value</dt>
<dd> The value. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetOrientation">MagickSetOrientation</a></h2>
<p>MagickSetOrientation() sets the wand orientation type.</p>
<p>The format of the MagickSetOrientation method is:</p>
<pre class="text">
MagickBooleanType MagickSetOrientation(MagickWand *wand,
const OrientationType orientation)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>orientation</dt>
<dd>the wand orientation. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetPage">MagickSetPage</a></h2>
<p>MagickSetPage() sets the page geometry of the magick wand.</p>
<p>The format of the MagickSetPage method is:</p>
<pre class="text">
MagickBooleanType MagickSetPage(MagickWand *wand,
const size_t width,const size_t height,const ssize_t x,
const ssize_t y)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>width</dt>
<dd>the page width. </dd>
<dd> </dd>
<dt>height</dt>
<dd>the page height. </dd>
<dd> </dd>
<dt>x</dt>
<dd>the page x-offset. </dd>
<dd> </dd>
<dt>y</dt>
<dd>the page y-offset. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetPassphrase">MagickSetPassphrase</a></h2>
<p>MagickSetPassphrase() sets the passphrase.</p>
<p>The format of the MagickSetPassphrase method is:</p>
<pre class="text">
MagickBooleanType MagickSetPassphrase(MagickWand *wand,
const char *passphrase)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>passphrase</dt>
<dd>the passphrase. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetPointsize">MagickSetPointsize</a></h2>
<p>MagickSetPointsize() sets the font pointsize associated with the MagickWand.</p>
<p>The format of the MagickSetPointsize method is:</p>
<pre class="text">
MagickBooleanType MagickSetPointsize(MagickWand *wand,
const double pointsize)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>pointsize</dt>
<dd>the size of the font </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetProgressMonitor">MagickSetProgressMonitor</a></h2>
<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>
<pre class="text">
MagickBooleanType MagickProgressMonitor(const char *text,
const MagickOffsetType offset,const MagickSizeType span,
void *client_data)
</pre>
<p>If the progress monitor returns MagickFalse, the current operation is interrupted.</p>
<p>The format of the MagickSetProgressMonitor method is:</p>
<pre class="text">
MagickProgressMonitor MagickSetProgressMonitor(MagickWand *wand
const MagickProgressMonitor progress_monitor,void *client_data)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>progress_monitor</dt>
<dd>Specifies a pointer to a method to monitor progress of an image operation. </dd>
<dd> </dd>
<dt>client_data</dt>
<dd>Specifies a pointer to any client data. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetResourceLimit">MagickSetResourceLimit</a></h2>
<p>MagickSetResourceLimit() sets the limit for a particular resource in megabytes.</p>
<p>The format of the MagickSetResourceLimit method is:</p>
<pre class="text">
MagickBooleanType MagickSetResourceLimit(const ResourceType type,
const MagickSizeType limit)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>type</dt>
<dd>the type of resource: AreaResource, MemoryResource, MapResource, DiskResource, FileResource. </dd>
<dd> o The maximum limit for the resource. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetResolution">MagickSetResolution</a></h2>
<p>MagickSetResolution() sets the image resolution.</p>
<p>The format of the MagickSetResolution method is:</p>
<pre class="text">
MagickBooleanType MagickSetResolution(MagickWand *wand,
const double x_resolution,const double y_resolution)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>x_resolution</dt>
<dd>the image x resolution. </dd>
<dd> </dd>
<dt>y_resolution</dt>
<dd>the image y resolution. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetSamplingFactors">MagickSetSamplingFactors</a></h2>
<p>MagickSetSamplingFactors() sets the image sampling factors.</p>
<p>The format of the MagickSetSamplingFactors method is:</p>
<pre class="text">
MagickBooleanType MagickSetSamplingFactors(MagickWand *wand,
const size_t number_factors,const double *sampling_factors)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>number_factoes</dt>
<dd>the number of factors. </dd>
<dd> </dd>
<dt>sampling_factors</dt>
<dd>An array of doubles representing the sampling factor for each color component (in RGB order). </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetSeed">MagickSetSeed</a></h2>
<p>MagickSetSeed() sets the pseudo-random number generator seed. Use it to generate a pedictable sequence of random numbers.</p>
<p>The format of the MagickSetSeed method is:</p>
<pre class="text">
void MagickSetSeed(const unsigned long seed)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>seed</dt>
<dd>the seed. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetSecurityPolicy">MagickSetSecurityPolicy</a></h2>
<p>MagickSetSecurityPolicy() sets the ImageMagick security policy. It returns MagickFalse if the policy is already set or if the policy does not parse.</p>
<p>The format of the MagickSetAntialias method is:</p>
<pre class="text">
MagickBooleanType MagickSetAntialias(MagickWand *wand,
const char *policy)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>policy</dt>
<dd>the security policy in the XML format. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetSize">MagickSetSize</a></h2>
<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>
<p>The format of the MagickSetSize method is:</p>
<pre class="text">
MagickBooleanType MagickSetSize(MagickWand *wand,
const size_t columns,const size_t rows)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>columns</dt>
<dd>the width in pixels. </dd>
<dd> </dd>
<dt>rows</dt>
<dd>the rows in pixels. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetSizeOffset">MagickSetSizeOffset</a></h2>
<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>
<p>The format of the MagickSetSizeOffset method is:</p>
<pre class="text">
MagickBooleanType MagickSetSizeOffset(MagickWand *wand,
const size_t columns,const size_t rows,
const ssize_t offset)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>columns</dt>
<dd>the image width in pixels. </dd>
<dd> </dd>
<dt>rows</dt>
<dd>the image rows in pixels. </dd>
<dd> </dd>
<dt>offset</dt>
<dd>the image offset. </dd>
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-property_8c.html" id="MagickSetType">MagickSetType</a></h2>
<p>MagickSetType() sets the image type attribute.</p>
<p>The format of the MagickSetType method is:</p>
<pre class="text">
MagickBooleanType MagickSetType(MagickWand *wand,
const ImageType image_type)
</pre>
<p>A description of each parameter follows:</p>
<dd>
</dd>
<dd> </dd>
<dl class="dl-horizontal">
<dt>wand</dt>
<dd>the magick wand. </dd>
<dd> </dd>
<dt>image_type</dt>
<dd>the image type: UndefinedType, BilevelType, GrayscaleType, GrayscaleAlphaType, PaletteType, PaletteAlphaType, TrueColorType, TrueColorAlphaType, ColorSeparationType, ColorSeparationAlphaType, or OptimizeType. </dd>
<dd> </dd>
</dl>
</div>
</div>
</main><!-- /.container -->
<footer class="magick-footer">
<div class="container-fluid">
<a href="../../www/security-policy.html">Security</a>
<a href="../../www/news.html">News</a>
<a href="magick-property.html#"><img class="d-inline" id="wand" alt="And Now a Touch of Magick" width="16" height="16" src="../../../images/wand.ico"/></a>
<a href="../../www/links.html">Related</a>
<a href="../../www/sitemap.html">Sitemap</a>
<br/>
<a href="../../www/support.html">Sponsor</a>
<a href="../../www/cite.html">Cite</a>
<a href="http://pgp.mit.edu/pks/lookup?op=get&amp;search=0x89AB63D48277377A">Public Key</a>
<a href="../../www/contact.html">Contact Us</a>
<br/>
<a href="https://github.com/imagemagick/imagemagick" target="_blank" rel="noopener" aria-label="GitHub"><svg xmlns="http://www.w3.org/2000/svg" class="navbar-nav-svg" viewBox="0 0 512 499.36" width="2%" height="2%" role="img" focusable="false"><title>GitHub</title><path fill="currentColor" fill-rule="evenodd" d="M256 0C114.64 0 0 114.61 0 256c0 113.09 73.34 209 175.08 242.9 12.8 2.35 17.47-5.56 17.47-12.34 0-6.08-.22-22.18-.35-43.54-71.2 15.49-86.2-34.34-86.2-34.34-11.64-29.57-28.42-37.45-28.42-37.45-23.27-15.84 1.73-15.55 1.73-15.55 25.69 1.81 39.21 26.38 39.21 26.38 22.84 39.12 59.92 27.82 74.5 21.27 2.33-16.54 8.94-27.82 16.25-34.22-56.84-6.43-116.6-28.43-116.6-126.49 0-27.95 10-50.8 26.35-68.69-2.63-6.48-11.42-32.5 2.51-67.75 0 0 21.49-6.88 70.4 26.24a242.65 242.65 0 0 1 128.18 0c48.87-33.13 70.33-26.24 70.33-26.24 14 35.25 5.18 61.27 2.55 67.75 16.41 17.9 26.31 40.75 26.31 68.69 0 98.35-59.85 120-116.88 126.32 9.19 7.9 17.38 23.53 17.38 47.41 0 34.22-.31 61.83-.31 70.23 0 6.85 4.61 14.81 17.6 12.31C438.72 464.97 512 369.08 512 256.02 512 114.62 397.37 0 256 0z"/></svg></a>
<a href="https://twitter.com/imagemagick" target="_blank" rel="noopener" aria-label="Twitter"><svg xmlns="http://www.w3.org/2000/svg" class="navbar-nav-svg" viewBox="0 0 512 416.32" width="2%" height="2%" role="img" focusable="false"><title>Twitter</title><path fill="currentColor" d="M160.83 416.32c193.2 0 298.92-160.22 298.92-298.92 0-4.51 0-9-.2-13.52A214 214 0 0 0 512 49.38a212.93 212.93 0 0 1-60.44 16.6 105.7 105.7 0 0 0 46.3-58.19 209 209 0 0 1-66.79 25.37 105.09 105.09 0 0 0-181.73 71.91 116.12 116.12 0 0 0 2.66 24c-87.28-4.3-164.73-46.3-216.56-109.82A105.48 105.48 0 0 0 68 159.6a106.27 106.27 0 0 1-47.53-13.11v1.43a105.28 105.28 0 0 0 84.21 103.06 105.67 105.67 0 0 1-47.33 1.84 105.06 105.06 0 0 0 98.14 72.94A210.72 210.72 0 0 1 25 370.84a202.17 202.17 0 0 1-25-1.43 298.85 298.85 0 0 0 160.83 46.92"/></svg></a>
<br/>
<small>© 1999-2021 ImageMagick Studio LLC</small>
</div>
</footer>
<!-- Javascript assets -->
<script src="../../assets/magick.js" ></script>
</body>
</html>