Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > main-release > by-pkgid > c3d5f6d8e7a564b8f518a16810652c82 > files > 679

imagemagick-doc-6.6.1.5-2mdv2010.1.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>MagickWand: compare.c File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.4 -->
<div class="nav">
<a class="el" href="dir_101f7ac0a894e32543a314e85b2e1524.html">wand</a></div>
<h1>compare.c File Reference</h1>
<p>
<code>#include &quot;<a class="el" href="studio_8h-source.html">wand/studio.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="MagickWand_8h-source.html">wand/MagickWand.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="mogrify-private_8h-source.html">wand/mogrify-private.h</a>&quot;</code><br>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="compare_8c.html#f93582c3cd0ace4f6135c243e50da769">DestroyCompare</a>()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="compare_8c.html#a035bf94095c7f59a7b41fdb719ca98f">ThrowCompareException</a>(asperity, tag, option)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="compare_8c.html#5d3a25332e3aeedc7017e7e148a3535c">ThrowCompareInvalidArgumentException</a>(option, argument)</td></tr>

<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="compare_8c.html#ff77a968c9aaaaeb92fac34de540895b">CompareUsage</a> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">WandExport MagickBooleanType&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="compare_8c.html#d044b755d41488dd8ec4c4d9bf2196a6">CompareImageCommand</a> (ImageInfo *image_info, int argc, char **argv, char **metadata, ExceptionInfo *exception)</td></tr>

</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="f93582c3cd0ace4f6135c243e50da769"></a><!-- doxytag: member="compare.c::DestroyCompare" ref="f93582c3cd0ace4f6135c243e50da769" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DestroyCompare          </td>
          <td>(</td>
&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<b>Value:</b><div class="fragment"><pre class="fragment">{ \
  <span class="keywordflow">for</span> ( ; k &gt;= 0; k--) \
    image_stack[k]=DestroyImageList(image_stack[k]); \
  <span class="keywordflow">for</span> (i=0; i &lt; (long) argc; i++) \
    argv[i]=DestroyString(argv[i]); \
  argv=(<span class="keywordtype">char</span> **) RelinquishMagickMemory(argv); \
}
</pre></div>
</div>
</div><p>
<a class="anchor" name="a035bf94095c7f59a7b41fdb719ca98f"></a><!-- doxytag: member="compare.c::ThrowCompareException" ref="a035bf94095c7f59a7b41fdb719ca98f" args="(asperity, tag, option)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ThrowCompareException          </td>
          <td>(</td>
          <td class="paramtype">asperity,         <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">tag,         <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">option&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<b>Value:</b><div class="fragment"><pre class="fragment">{ \
  <span class="keywordflow">if</span> (<a class="code" href="struct__PixelWand.html#0bfbd228c0be5894e7f21f4085fe3855">exception</a>-&gt;severity &lt; (asperity)) \
    (void) ThrowMagickException(<a class="code" href="struct__PixelWand.html#0bfbd228c0be5894e7f21f4085fe3855">exception</a>,GetMagickModule(),asperity,tag, \
      <span class="stringliteral">"`%s'"</span>,option); \
  <a class="code" href="compare_8c.html#f93582c3cd0ace4f6135c243e50da769">DestroyCompare</a>(); \
  <span class="keywordflow">return</span>(MagickFalse); \
}
</pre></div>
</div>
</div><p>
<a class="anchor" name="5d3a25332e3aeedc7017e7e148a3535c"></a><!-- doxytag: member="compare.c::ThrowCompareInvalidArgumentException" ref="5d3a25332e3aeedc7017e7e148a3535c" args="(option, argument)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ThrowCompareInvalidArgumentException          </td>
          <td>(</td>
          <td class="paramtype">option,         <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">argument&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<b>Value:</b><div class="fragment"><pre class="fragment">{ \
  (void) ThrowMagickException(<a class="code" href="struct__PixelWand.html#0bfbd228c0be5894e7f21f4085fe3855">exception</a>,GetMagickModule(),OptionError, \
    <span class="stringliteral">"InvalidArgument"</span>,<span class="stringliteral">"`%s': %s"</span>,argument,option); \
  <a class="code" href="compare_8c.html#f93582c3cd0ace4f6135c243e50da769">DestroyCompare</a>(); \
  <span class="keywordflow">return</span>(MagickFalse); \
}
</pre></div>
</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="d044b755d41488dd8ec4c4d9bf2196a6"></a><!-- doxytag: member="compare.c::CompareImageCommand" ref="d044b755d41488dd8ec4c4d9bf2196a6" args="(ImageInfo *image_info, int argc, char **argv, char **metadata, ExceptionInfo *exception)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">WandExport MagickBooleanType CompareImageCommand           </td>
          <td>(</td>
          <td class="paramtype">ImageInfo *&nbsp;</td>
          <td class="paramname"> <em>image_info</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&nbsp;</td>
          <td class="paramname"> <em>argv</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&nbsp;</td>
          <td class="paramname"> <em>metadata</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ExceptionInfo *&nbsp;</td>
          <td class="paramname"> <em>exception</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="ff77a968c9aaaaeb92fac34de540895b"></a><!-- doxytag: member="compare.c::CompareUsage" ref="ff77a968c9aaaaeb92fac34de540895b" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void CompareUsage           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Jan 26 14:50:34 2008 for MagickWand by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.4 </small></address>
</body>
</html>