blob: 62d47b62d1fb5fad50a2e91b8b34d75396b78432 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3"/>
<title>MagickWand: conjure.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
$(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">MagickWand
&#160;<span id="projectnumber">6.8.3</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3 -->
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('conjure_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="conjure_8c.html#define-members">Macros</a> &#124;
<a href="conjure_8c.html#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">conjure.c File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="studio_8h_source.html">MagickWand/studio.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="MagickWand_8h_source.html">MagickWand/MagickWand.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="mogrify-private_8h_source.html">MagickWand/mogrify-private.h</a>&quot;</code><br/>
</div><div class="textblock"><div class="dynheader">
Include dependency graph for conjure.c:</div>
<div class="dyncontent">
<div class="center"><img src="conjure_8c__incl.png" border="0" usemap="#conjure_8c" alt=""/></div>
<map name="conjure_8c" id="conjure_8c">
<area shape="rect" id="node3" href="studio_8h.html" title="MagickWand/studio.h" alt="" coords="4168,88,4323,115"/><area shape="rect" id="node41" href="MagickWand_8h.html" title="MagickWand/MagickWand.h" alt="" coords="3003,171,3197,197"/><area shape="rect" id="node101" href="mogrify-private_8h.html" title="MagickWand/mogrify\l&#45;private.h" alt="" coords="4347,81,4499,122"/><area shape="rect" id="node29" href="method-attribute_8h.html" title="MagickWand/method&#45;attribute.h" alt="" coords="4424,253,4651,280"/><area shape="rect" id="node53" href="animate_8h.html" title="MagickWand/animate.h" alt="" coords="2518,253,2687,280"/><area shape="rect" id="node55" href="compare_8h.html" title="MagickWand/compare.h" alt="" coords="2712,253,2885,280"/><area shape="rect" id="node57" href="composite_8h.html" title="MagickWand/composite.h" alt="" coords="2910,253,3092,280"/><area shape="rect" id="node59" href="conjure_8h.html" title="MagickWand/conjure.h" alt="" coords="3117,253,3280,280"/><area shape="rect" id="node61" href="convert_8h.html" title="MagickWand/convert.h" alt="" coords="3305,253,3468,280"/><area shape="rect" id="node63" href="deprecate_8h.html" title="MagickWand/deprecate.h" alt="" coords="3493,253,3675,280"/><area shape="rect" id="node65" href="display_8h.html" title="MagickWand/display.h" alt="" coords="3699,253,3857,280"/><area shape="rect" id="node67" href="drawing-wand_8h.html" title="MagickWand/drawing\l&#45;wand.h" alt="" coords="3934,246,4087,287"/><area shape="rect" id="node69" href="pixel-wand_8h.html" title="MagickWand/pixel&#45;wand.h" alt="" coords="3919,336,4101,363"/><area shape="rect" id="node71" href="identify_8h.html" title="MagickWand/identify.h" alt="" coords="5,253,165,280"/><area shape="rect" id="node73" href="import_8h.html" title="MagickWand/import.h" alt="" coords="190,253,348,280"/><area shape="rect" id="node75" href="wandcli_8h.html" title="MagickWand/wandcli.h" alt="" coords="373,253,536,280"/><area shape="rect" id="node77" href="operation_8h.html" title="MagickWand/operation.h" alt="" coords="561,253,737,280"/><area shape="rect" id="node79" href="magick-cli_8h.html" title="MagickWand/magick&#45;cli.h" alt="" coords="762,253,941,280"/><area shape="rect" id="node81" href="magick-property_8h.html" title="MagickWand/magick&#45;property.h" alt="" coords="967,253,1185,280"/><area shape="rect" id="node83" href="magick-image_8h.html" title="MagickWand/magick&#45;image.h" alt="" coords="1210,253,1416,280"/><area shape="rect" id="node85" href="mogrify_8h.html" title="MagickWand/mogrify.h" alt="" coords="1441,253,1604,280"/><area shape="rect" id="node87" href="montage_8h.html" title="MagickWand/montage.h" alt="" coords="1629,253,1803,280"/><area shape="rect" id="node89" href="pixel-iterator_8h.html" title="MagickWand/pixel&#45;iterator.h" alt="" coords="4111,253,4307,280"/><area shape="rect" id="node94" href="stream_8h.html" title="MagickWand/stream.h" alt="" coords="1827,253,1988,280"/><area shape="rect" id="node96" href="wand-view_8h.html" title="MagickWand/wand&#45;view.h" alt="" coords="2013,253,2192,280"/></map>
</div>
</div>
<p><a href="conjure_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ab277a96e3eab2d44b6af7da0989463c7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="conjure_8c.html#ab277a96e3eab2d44b6af7da0989463c7">DestroyConjure</a>()</td></tr>
<tr class="separator:ab277a96e3eab2d44b6af7da0989463c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24df7499c962ab3654cbbe8ef9a91a7d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="conjure_8c.html#a24df7499c962ab3654cbbe8ef9a91a7d">ThrowConjureException</a>(asperity, tag, option)</td></tr>
<tr class="separator:a24df7499c962ab3654cbbe8ef9a91a7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5a4b68d24640561a6cdbd6781db1e21"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="conjure_8c.html#aa5a4b68d24640561a6cdbd6781db1e21">ThrowConjureInvalidArgumentException</a>(option, argument)</td></tr>
<tr class="separator:aa5a4b68d24640561a6cdbd6781db1e21"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a8bc73c1a65f157ee47fea0e2735da47a"><td class="memItemLeft" align="right" valign="top">static MagickBooleanType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="conjure_8c.html#a8bc73c1a65f157ee47fea0e2735da47a">ConjureUsage</a> (void)</td></tr>
<tr class="separator:a8bc73c1a65f157ee47fea0e2735da47a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0dfe042f73bc5602b9d16deb1c8d2857"><td class="memItemLeft" align="right" valign="top"><a class="el" href="MagickWand_8h.html#a5df04fd878d67c5bf03155443d549b23">WandExport</a> MagickBooleanType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="conjure_8c.html#a0dfe042f73bc5602b9d16deb1c8d2857">ConjureImageCommand</a> (ImageInfo *image_info, int argc, char **argv, char **<a class="el" href="MagickWand_8h.html#a65b4a9d3c980719b43f83c9b5f824550">wand_unused</a>(metadata), ExceptionInfo *exception)</td></tr>
<tr class="separator:a0dfe042f73bc5602b9d16deb1c8d2857"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="ab277a96e3eab2d44b6af7da0989463c7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define DestroyConjure</td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">{ \</div>
<div class="line"> image=DestroyImageList(image); \</div>
<div class="line"> for (i=0; i &lt; (ssize_t) argc; i++) \</div>
<div class="line"> argv[i]=DestroyString(argv[i]); \</div>
<div class="line"> argv=(<span class="keywordtype">char</span> **) RelinquishMagickMemory(argv); \</div>
<div class="line">}</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a24df7499c962ab3654cbbe8ef9a91a7d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define ThrowConjureException</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">asperity, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">tag, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">option&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">{ \</div>
<div class="line"> (void) ThrowMagickException(exception,GetMagickModule(),asperity,tag,<span class="stringliteral">&quot;`%s&#39;&quot;</span>, \</div>
<div class="line"> option); \</div>
<div class="line"> DestroyConjure(); \</div>
<div class="line"> return(MagickFalse); \</div>
<div class="line">}</div>
</div><!-- fragment -->
<p>Referenced by <a class="el" href="conjure_8c_source.html#l00130">ConjureImageCommand()</a>.</p>
</div>
</div>
<a class="anchor" id="aa5a4b68d24640561a6cdbd6781db1e21"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define ThrowConjureInvalidArgumentException</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">option, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">argument&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">{ \</div>
<div class="line"> (void) ThrowMagickException(exception,GetMagickModule(),OptionError, \</div>
<div class="line"> <span class="stringliteral">&quot;InvalidArgument&quot;</span>,<span class="stringliteral">&quot;&#39;%s&#39;: %s&quot;</span>,option,argument); \</div>
<div class="line"> DestroyConjure(); \</div>
<div class="line"> return(MagickFalse); \</div>
<div class="line">}</div>
</div><!-- fragment -->
<p>Referenced by <a class="el" href="conjure_8c_source.html#l00130">ConjureImageCommand()</a>.</p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a0dfe042f73bc5602b9d16deb1c8d2857"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="MagickWand_8h.html#a5df04fd878d67c5bf03155443d549b23">WandExport</a> MagickBooleanType ConjureImageCommand </td>
<td>(</td>
<td class="paramtype">ImageInfo *&#160;</td>
<td class="paramname"><em>image_info</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>argc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char **&#160;</td>
<td class="paramname"><em>argv</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char **&#160;</td>
<td class="paramname"><em>wand_unused</em>metadata, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">ExceptionInfo *&#160;</td>
<td class="paramname"><em>exception</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="conjure_8c_source.html#l00130">130</a> of file <a class="el" href="conjure_8c_source.html">conjure.c</a>.</p>
<p>References <a class="el" href="conjure_8c_source.html#l00090">ConjureUsage()</a>, <a class="el" href="method-attribute_8h_source.html#l00101">MaxTextExtent</a>, <a class="el" href="studio_8h_source.html#l00264">ReadCommandlLine</a>, <a class="el" href="conjure_8c.html#a24df7499c962ab3654cbbe8ef9a91a7d">ThrowConjureException</a>, and <a class="el" href="conjure_8c.html#aa5a4b68d24640561a6cdbd6781db1e21">ThrowConjureInvalidArgumentException</a>.</p>
</div>
</div>
<a class="anchor" id="a8bc73c1a65f157ee47fea0e2735da47a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static MagickBooleanType ConjureUsage </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="conjure_8c_source.html#l00090">90</a> of file <a class="el" href="conjure_8c_source.html">conjure.c</a>.</p>
<p>Referenced by <a class="el" href="conjure_8c_source.html#l00130">ConjureImageCommand()</a>.</p>
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_43e0a1f539e00dcfa1a6bc4d4fee4fc2.html">home</a></li><li class="navelem"><a class="el" href="dir_68918867e77b0a45f29c43673f2273f8.html">cristy</a></li><li class="navelem"><a class="el" href="dir_ed73005e52fb9d11ccda84631fe63a06.html">ImageMagick</a></li><li class="navelem"><a class="el" href="dir_95a66e94b416f0a122e65928fcf2737e.html">ImageMagick</a></li><li class="navelem"><a class="el" href="dir_1d0249a69ac440f037d84603f69735a0.html">MagickWand</a></li><li class="navelem"><a class="el" href="conjure_8c.html">conjure.c</a></li>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.3 </li>
</ul>
</div>
</body>
</html>