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