1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281
|
<!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: convert.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>convert.c File Reference</h1>
<p>
<code>#include "<a class="el" href="studio_8h-source.html">wand/studio.h</a>"</code><br>
<code>#include "<a class="el" href="MagickWand_8h-source.html">wand/MagickWand.h</a>"</code><br>
<code>#include "<a class="el" href="mogrify-private_8h-source.html">wand/mogrify-private.h</a>"</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 </td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#34e8589b374c7429fd8b84a771e6d3b0">ThrowFileException</a>(exception, severity, tag, context)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#422d5d4e2c5327fab448dd8656cc197d">NotInitialized</a> (unsigned int) (~0)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#d54fa585e3101c3800eb3158be90db41">DestroyConvert</a>()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#2f4b8b588f4554c2b056dd1b183f1938">ThrowConvertException</a>(asperity, tag, option)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#06d20e5cf55a3d9ae9e3ecfef83cbad5">ThrowConvertInvalidArgumentException</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 MagickBooleanType </td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#0c88aea8c9cccc91a4fb09188eae74bc">ConcatenateImages</a> (int argc, char **argv, ExceptionInfo *exception)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#f26c8bca28de10b80b447ba3b3c791ec">ConvertUsage</a> (void)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">WandExport MagickBooleanType </td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#564aa466886ca5189685f6eabd371ad6">ConvertImageCommand</a> (ImageInfo *image_info, int argc, char **argv, char **metadata, ExceptionInfo *exception)</td></tr>
</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="d54fa585e3101c3800eb3158be90db41"></a><!-- doxytag: member="convert.c::DestroyConvert" ref="d54fa585e3101c3800eb3158be90db41" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define DestroyConvert </td>
<td>(</td>
</td>
<td class="paramname"> </td>
<td> ) </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 >= 0; k--) \
image_stack[k]=DestroyImageList(image_stack[k]); \
<span class="keywordflow">for</span> (i=0; i < (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="422d5d4e2c5327fab448dd8656cc197d"></a><!-- doxytag: member="convert.c::NotInitialized" ref="422d5d4e2c5327fab448dd8656cc197d" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define NotInitialized (unsigned int) (~0) </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="2f4b8b588f4554c2b056dd1b183f1938"></a><!-- doxytag: member="convert.c::ThrowConvertException" ref="2f4b8b588f4554c2b056dd1b183f1938" args="(asperity, tag, option)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define ThrowConvertException </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 </td>
<td class="paramname"> </td>
<td> ) </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(),asperity,tag,<span class="stringliteral">"`%s'"</span>, \
option); \
<a class="code" href="convert_8c.html#d54fa585e3101c3800eb3158be90db41">DestroyConvert</a>(); \
<span class="keywordflow">return</span>(MagickFalse); \
}
</pre></div>
</div>
</div><p>
<a class="anchor" name="06d20e5cf55a3d9ae9e3ecfef83cbad5"></a><!-- doxytag: member="convert.c::ThrowConvertInvalidArgumentException" ref="06d20e5cf55a3d9ae9e3ecfef83cbad5" args="(option, argument)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define ThrowConvertInvalidArgumentException </td>
<td>(</td>
<td class="paramtype">option, <tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">argument </td>
<td class="paramname"> </td>
<td> ) </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="convert_8c.html#d54fa585e3101c3800eb3158be90db41">DestroyConvert</a>(); \
<span class="keywordflow">return</span>(MagickFalse); \
}
</pre></div>
</div>
</div><p>
<a class="anchor" name="34e8589b374c7429fd8b84a771e6d3b0"></a><!-- doxytag: member="convert.c::ThrowFileException" ref="34e8589b374c7429fd8b84a771e6d3b0" args="(exception, severity, tag, context)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define ThrowFileException </td>
<td>(</td>
<td class="paramtype">exception, <tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">severity, <tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">tag, <tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">context </td>
<td class="paramname"> </td>
<td> ) </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(),severity, \
tag == (<span class="keyword">const</span> <span class="keywordtype">char</span> *) NULL ? <span class="stringliteral">"unknown"</span> : tag,<span class="stringliteral">"`%s': %s"</span>,context, \
strerror(errno)); \
}
</pre></div>
</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="0c88aea8c9cccc91a4fb09188eae74bc"></a><!-- doxytag: member="convert.c::ConcatenateImages" ref="0c88aea8c9cccc91a4fb09188eae74bc" args="(int argc, char **argv, ExceptionInfo *exception)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static MagickBooleanType ConcatenateImages </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>argc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char ** </td>
<td class="paramname"> <em>argv</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">ExceptionInfo * </td>
<td class="paramname"> <em>exception</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="564aa466886ca5189685f6eabd371ad6"></a><!-- doxytag: member="convert.c::ConvertImageCommand" ref="564aa466886ca5189685f6eabd371ad6" 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 ConvertImageCommand </td>
<td>(</td>
<td class="paramtype">ImageInfo * </td>
<td class="paramname"> <em>image_info</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>argc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char ** </td>
<td class="paramname"> <em>argv</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char ** </td>
<td class="paramname"> <em>metadata</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">ExceptionInfo * </td>
<td class="paramname"> <em>exception</em></td><td> </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="f26c8bca28de10b80b447ba3b3c791ec"></a><!-- doxytag: member="convert.c::ConvertUsage" ref="f26c8bca28de10b80b447ba3b3c791ec" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static void ConvertUsage </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"> </td>
<td> ) </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
<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>
|