blob: d9adb365f817df7d205b08c8296a6b5560b8d8ea [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: identify.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('identify_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="identify_8c.html#define-members">Macros</a> &#124;
<a href="identify_8c.html#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">identify.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/>
<code>#include &quot;MagickCore/string-private.h&quot;</code><br/>
</div><div class="textblock"><div class="dynheader">
Include dependency graph for identify.c:</div>
<div class="dyncontent">
<div class="center"><img src="identify_8c__incl.png" border="0" usemap="#identify_8c" alt=""/></div>
<map name="identify_8c" id="identify_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="identify_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:a39d703f7bc3440c0b4623fa38302bd9f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="identify_8c.html#a39d703f7bc3440c0b4623fa38302bd9f">DestroyIdentify</a>()</td></tr>
<tr class="separator:a39d703f7bc3440c0b4623fa38302bd9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a193e3aca528b264cec15c9b354d4892c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="identify_8c.html#a193e3aca528b264cec15c9b354d4892c">ThrowIdentifyException</a>(asperity, tag, option)</td></tr>
<tr class="separator:a193e3aca528b264cec15c9b354d4892c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e06a1978824a5221cfb259150992c25"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="identify_8c.html#a5e06a1978824a5221cfb259150992c25">ThrowIdentifyInvalidArgumentException</a>(option, argument)</td></tr>
<tr class="separator:a5e06a1978824a5221cfb259150992c25"><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:adb27722db0861e7ae84ef4d27846468c"><td class="memItemLeft" align="right" valign="top">static MagickBooleanType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="identify_8c.html#adb27722db0861e7ae84ef4d27846468c">IdentifyUsage</a> (void)</td></tr>
<tr class="separator:adb27722db0861e7ae84ef4d27846468c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3fabfb800e209c26d9cd34755448e5a"><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="identify_8c.html#ab3fabfb800e209c26d9cd34755448e5a">IdentifyImageCommand</a> (ImageInfo *image_info, int argc, char **argv, char **metadata, ExceptionInfo *exception)</td></tr>
<tr class="separator:ab3fabfb800e209c26d9cd34755448e5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="a39d703f7bc3440c0b4623fa38302bd9f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define DestroyIdentify</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"> DestroyImageStack(); \</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 -->
<p>Referenced by <a class="el" href="identify_8c_source.html#l00180">IdentifyImageCommand()</a>.</p>
</div>
</div>
<a class="anchor" id="a193e3aca528b264cec15c9b354d4892c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define ThrowIdentifyException</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"> DestroyIdentify(); \</div>
<div class="line"> return(MagickFalse); \</div>
<div class="line">}</div>
</div><!-- fragment -->
<p>Referenced by <a class="el" href="identify_8c_source.html#l00180">IdentifyImageCommand()</a>.</p>
</div>
</div>
<a class="anchor" id="a5e06a1978824a5221cfb259150992c25"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define ThrowIdentifyInvalidArgumentException</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"> DestroyIdentify(); \</div>
<div class="line"> return(MagickFalse); \</div>
<div class="line">}</div>
</div><!-- fragment -->
<p>Referenced by <a class="el" href="identify_8c_source.html#l00180">IdentifyImageCommand()</a>.</p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ab3fabfb800e209c26d9cd34755448e5a"></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 IdentifyImageCommand </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>metadata</em>, </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="identify_8c_source.html#l00180">180</a> of file <a class="el" href="identify_8c_source.html">identify.c</a>.</p>
<p>References <a class="el" href="mogrify-private_8h_source.html#l00025">AppendImageStack</a>, <a class="el" href="identify_8c.html#a39d703f7bc3440c0b4623fa38302bd9f">DestroyIdentify</a>, <a class="el" href="mogrify-private_8h_source.html#l00039">FinalizeImageSettings</a>, <a class="el" href="mogrify-private_8h_source.html#l00045">FireImageStack</a>, <a class="el" href="identify_8c_source.html#l00093">IdentifyUsage()</a>, <a class="el" href="drawing-wand_8c_source.html#l00100">_DrawingWand::image</a>, <a class="el" href="mogrify-private_8h_source.html#l00063">MaxImageStackDepth</a>, <a class="el" href="mogrify_8c_source.html#l06128">MogrifyImageInfo()</a>, <a class="el" href="mogrify-private_8h_source.html#l00064">NewImageStack</a>, <a class="el" href="mogrify-private_8h_source.html#l00079">PopImageStack</a>, <a class="el" href="mogrify-private_8h_source.html#l00071">PushImageStack</a>, <a class="el" href="studio_8h_source.html#l00264">ReadCommandlLine</a>, <a class="el" href="mogrify-private_8h_source.html#l00101">RemoveAllImageStack</a>, <a class="el" href="identify_8c.html#a193e3aca528b264cec15c9b354d4892c">ThrowIdentifyException</a>, and <a class="el" href="identify_8c.html#a5e06a1978824a5221cfb259150992c25">ThrowIdentifyInvalidArgumentException</a>.</p>
</div>
</div>
<a class="anchor" id="adb27722db0861e7ae84ef4d27846468c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static MagickBooleanType IdentifyUsage </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="identify_8c_source.html#l00093">93</a> of file <a class="el" href="identify_8c_source.html">identify.c</a>.</p>
<p>Referenced by <a class="el" href="identify_8c_source.html#l00180">IdentifyImageCommand()</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="identify_8c.html">identify.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>