Current Path : /usr/local/share/doc/ImageMagick/www/api/MagickWand/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/share/doc/ImageMagick/www/api/MagickWand/mogrify_8c.html |
<!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: mogrify.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>mogrify.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="mogrify_8c.html#9f77683334df924a316246ae901685e5">UndefinedCompressionQuality</a> 0UL</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="mogrify_8c.html#5e995ef7690698b62bf016b14fbc45ca">X_OK</a> 1</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="mogrify_8c.html#52ef12b0a8cf8140137a4f97b7c4ec1f">DestroyMogrify</a>()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="mogrify_8c.html#a2e2f497feafb7147bd83af21ffcf088">ThrowMogrifyException</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="mogrify_8c.html#2dca23e54e2c90568cbda72b5bea825d">ThrowMogrifyInvalidArgumentException</a>(option, argument)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="mogrify_8c.html#e1840b0907a846374662c59b37a1cd7f">MogrifyImageTag</a> "Mogrify/Image"</td></tr> <tr><td colspan="2"><br><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="mogrify_8c.html#dcf2e6f24fc94c9dc2df7a9090f87e8e">IsDirectory</a> (const char *path)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static long </td><td class="memItemRight" valign="bottom"><a class="el" href="mogrify_8c.html#628721643cdd950ff1f5ac3ed87240a1">MagickMax</a> (const long x, const long y)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static MagickBooleanType </td><td class="memItemRight" valign="bottom"><a class="el" href="mogrify_8c.html#4b3790e39e96aaa530fd90bc6fa96ce1">MonitorProgress</a> (const char *tag, const MagickOffsetType quantum, const MagickSizeType span, void *wand_unused(client_data))</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">WandExport MagickBooleanType </td><td class="memItemRight" valign="bottom"><a class="el" href="mogrify_8c.html#1726d52881babb1575d497c8fbab6d8f">MogrifyImage</a> (ImageInfo *image_info, const int argc, const char **argv, Image **image, 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="mogrify_8c.html#6c0e347a10bc006c16fc72704974a420">MogrifyUsage</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="mogrify_8c.html#c548f59a5094e503097d68e3c6a6dbb4">MogrifyImageCommand</a> (ImageInfo *image_info, int argc, char **argv, char **wand_unused(metadata), ExceptionInfo *exception)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">WandExport MagickBooleanType </td><td class="memItemRight" valign="bottom"><a class="el" href="mogrify_8c.html#13e0ecdc3509d138fa33e8953e6817f6">MogrifyImageInfo</a> (ImageInfo *image_info, const int argc, const char **argv, ExceptionInfo *exception)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">WandExport MagickBooleanType </td><td class="memItemRight" valign="bottom"><a class="el" href="mogrify_8c.html#9ad192722b37d2f5f0d49bd96ef0eb34">MogrifyImageList</a> (ImageInfo *image_info, const int argc, const char **argv, Image **images, ExceptionInfo *exception)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">WandExport MagickBooleanType </td><td class="memItemRight" valign="bottom"><a class="el" href="mogrify_8c.html#abd29816d5b054102368c8266596f52b">MogrifyImages</a> (ImageInfo *image_info, const int argc, const char **argv, Image **images, ExceptionInfo *exception)</td></tr> <tr><td colspan="2"><br><h2>Variables</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="mogrify_8c.html#ff2816cf1944c29c1ccc0001cf43f8bc">BackgroundColor</a> = "#fff"</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="mogrify_8c.html#2697499faefdce69bbc5187a382549ea">BorderColor</a> = "#dfdfdf"</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="mogrify_8c.html#65d06d5b4e6f26fbfea16bdb0bbd01ad">MatteColor</a> = "#bdbdbd"</td></tr> </table> <hr><h2>Define Documentation</h2> <a class="anchor" name="52ef12b0a8cf8140137a4f97b7c4ec1f"></a><!-- doxytag: member="mogrify.c::DestroyMogrify" ref="52ef12b0a8cf8140137a4f97b7c4ec1f" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define DestroyMogrify </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">if</span> (format != (<span class="keywordtype">char</span> *) NULL) \ format=DestroyString(format); \ <span class="keywordflow">if</span> (path != (<span class="keywordtype">char</span> *) NULL) \ path=DestroyString(path); \ <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="e1840b0907a846374662c59b37a1cd7f"></a><!-- doxytag: member="mogrify.c::MogrifyImageTag" ref="e1840b0907a846374662c59b37a1cd7f" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define MogrifyImageTag "Mogrify/Image" </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="a2e2f497feafb7147bd83af21ffcf088"></a><!-- doxytag: member="mogrify.c::ThrowMogrifyException" ref="a2e2f497feafb7147bd83af21ffcf088" args="(asperity, tag, option)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define ThrowMogrifyException </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="mogrify_8c.html#52ef12b0a8cf8140137a4f97b7c4ec1f">DestroyMogrify</a>(); \ <span class="keywordflow">return</span>(MagickFalse); \ } </pre></div> </div> </div><p> <a class="anchor" name="2dca23e54e2c90568cbda72b5bea825d"></a><!-- doxytag: member="mogrify.c::ThrowMogrifyInvalidArgumentException" ref="2dca23e54e2c90568cbda72b5bea825d" args="(option, argument)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define ThrowMogrifyInvalidArgumentException </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="mogrify_8c.html#52ef12b0a8cf8140137a4f97b7c4ec1f">DestroyMogrify</a>(); \ <span class="keywordflow">return</span>(MagickFalse); \ } </pre></div> </div> </div><p> <a class="anchor" name="9f77683334df924a316246ae901685e5"></a><!-- doxytag: member="mogrify.c::UndefinedCompressionQuality" ref="9f77683334df924a316246ae901685e5" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define UndefinedCompressionQuality 0UL </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="5e995ef7690698b62bf016b14fbc45ca"></a><!-- doxytag: member="mogrify.c::X_OK" ref="5e995ef7690698b62bf016b14fbc45ca" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define X_OK 1 </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Function Documentation</h2> <a class="anchor" name="dcf2e6f24fc94c9dc2df7a9090f87e8e"></a><!-- doxytag: member="mogrify.c::IsDirectory" ref="dcf2e6f24fc94c9dc2df7a9090f87e8e" args="(const char *path)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static int IsDirectory </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>path</em> </td> <td> ) </td> <td width="100%"><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="628721643cdd950ff1f5ac3ed87240a1"></a><!-- doxytag: member="mogrify.c::MagickMax" ref="628721643cdd950ff1f5ac3ed87240a1" args="(const long x, const long y)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static long MagickMax </td> <td>(</td> <td class="paramtype">const long </td> <td class="paramname"> <em>x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const long </td> <td class="paramname"> <em>y</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [inline, static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="1726d52881babb1575d497c8fbab6d8f"></a><!-- doxytag: member="mogrify.c::MogrifyImage" ref="1726d52881babb1575d497c8fbab6d8f" args="(ImageInfo *image_info, const int argc, const char **argv, Image **image, ExceptionInfo *exception)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">WandExport MagickBooleanType MogrifyImage </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">const int </td> <td class="paramname"> <em>argc</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char ** </td> <td class="paramname"> <em>argv</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">Image ** </td> <td class="paramname"> <em>image</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="c548f59a5094e503097d68e3c6a6dbb4"></a><!-- doxytag: member="mogrify.c::MogrifyImageCommand" ref="c548f59a5094e503097d68e3c6a6dbb4" args="(ImageInfo *image_info, int argc, char **argv, char **wand_unused(metadata), ExceptionInfo *exception)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">WandExport MagickBooleanType MogrifyImageCommand </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>wand_unused</em>(metadata), </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="13e0ecdc3509d138fa33e8953e6817f6"></a><!-- doxytag: member="mogrify.c::MogrifyImageInfo" ref="13e0ecdc3509d138fa33e8953e6817f6" args="(ImageInfo *image_info, const int argc, const char **argv, ExceptionInfo *exception)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">WandExport MagickBooleanType MogrifyImageInfo </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">const int </td> <td class="paramname"> <em>argc</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const 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%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="9ad192722b37d2f5f0d49bd96ef0eb34"></a><!-- doxytag: member="mogrify.c::MogrifyImageList" ref="9ad192722b37d2f5f0d49bd96ef0eb34" args="(ImageInfo *image_info, const int argc, const char **argv, Image **images, ExceptionInfo *exception)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">WandExport MagickBooleanType MogrifyImageList </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">const int </td> <td class="paramname"> <em>argc</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char ** </td> <td class="paramname"> <em>argv</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">Image ** </td> <td class="paramname"> <em>images</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="abd29816d5b054102368c8266596f52b"></a><!-- doxytag: member="mogrify.c::MogrifyImages" ref="abd29816d5b054102368c8266596f52b" args="(ImageInfo *image_info, const int argc, const char **argv, Image **images, ExceptionInfo *exception)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">WandExport MagickBooleanType MogrifyImages </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">const int </td> <td class="paramname"> <em>argc</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char ** </td> <td class="paramname"> <em>argv</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">Image ** </td> <td class="paramname"> <em>images</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="6c0e347a10bc006c16fc72704974a420"></a><!-- doxytag: member="mogrify.c::MogrifyUsage" ref="6c0e347a10bc006c16fc72704974a420" args="(void)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static void MogrifyUsage </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> <a class="anchor" name="4b3790e39e96aaa530fd90bc6fa96ce1"></a><!-- doxytag: member="mogrify.c::MonitorProgress" ref="4b3790e39e96aaa530fd90bc6fa96ce1" args="(const char *tag, const MagickOffsetType quantum, const MagickSizeType span, void *wand_unused(client_data))" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static MagickBooleanType MonitorProgress </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>tag</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const MagickOffsetType </td> <td class="paramname"> <em>quantum</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const MagickSizeType </td> <td class="paramname"> <em>span</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">void * </td> <td class="paramname"> <em>wand_unused</em>(client_data)</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> <hr><h2>Variable Documentation</h2> <a class="anchor" name="ff2816cf1944c29c1ccc0001cf43f8bc"></a><!-- doxytag: member="mogrify.c::BackgroundColor" ref="ff2816cf1944c29c1ccc0001cf43f8bc" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char* <a class="el" href="mogrify_8c.html#ff2816cf1944c29c1ccc0001cf43f8bc">BackgroundColor</a> = "#fff"<code> [static]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="2697499faefdce69bbc5187a382549ea"></a><!-- doxytag: member="mogrify.c::BorderColor" ref="2697499faefdce69bbc5187a382549ea" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char * <a class="el" href="mogrify_8c.html#2697499faefdce69bbc5187a382549ea">BorderColor</a> = "#dfdfdf"<code> [static]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="65d06d5b4e6f26fbfea16bdb0bbd01ad"></a><!-- doxytag: member="mogrify.c::MatteColor" ref="65d06d5b4e6f26fbfea16bdb0bbd01ad" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char * <a class="el" href="mogrify_8c.html#65d06d5b4e6f26fbfea16bdb0bbd01ad">MatteColor</a> = "#bdbdbd"<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>