2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
\r
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
\r
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
\r
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
\r
7 <meta name="verify-v1" content="g222frIIxcQTrvDR3NBRUSKP3AnMNoqxOkIniCEkV7U="/>
\r
8 <title>ImageMagick: Command-line Tools: Animate</title>
9 <meta http-equiv="Content-Language" content="en-US"/>
10 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
11 <meta http-equiv="Reply-to" content="magick-users@imagemagick.org"/>
12 <meta name="Application-name" content="ImageMagick"/>
13 <meta name="Description" content="ImageMagick is a software suite to create, edit, or compose bitmap images in a variety of formats. Use ImageMagick to scale, rotate, shear, distort and transform images."/>
14 <meta name="Application-url" content="http://www.imagemagick.org"/>
15 <meta name="Generator" content="PHP"/>
16 <meta name="Keywords" content="command-line, tools:, animate, ImageMagick, ImageMagic, MagickCore, MagickWand, PerlMagick, Magick++, RMagick, PythonMagick, JMagick, TclMagick, Image, Magick, Magic, Wand, ImageMagickObject, Swiss, Army, Knife, Image, Processing"/>
17 <meta name="Rating" content="GENERAL"/>
18 <meta name="Robots" content="INDEX, FOLLOW"/>
19 <meta name="Generator" content="ImageMagick Studio LLC"/>
20 <meta name="Author" content="ImageMagick Studio LLC"/>
21 <meta name="Revisit-after" content="2 DAYS"/>
22 <meta name="Resource-type" content="document"/>
23 <meta name="Copyright" content="Copyright (c) 1999-2011 ImageMagick Studio LLC"/>
24 <meta name="Distribution" content="Global"/>
25 <link rel="icon" href="../images/wand.png" sizes="32x32"/>
26 <link rel="shortcut icon" href="../images/wand.ico" type="images/x-icon"/>
27 <link rel="meta" type="application/rdf+xml" title="ICI" href="http://imagemagick.org/ici.rdf"/>
\r
28 <style type="text/css" media="all">
\r
29 @import url("../www/magick.css");
\r
33 <body id="www-imagemagick-org">
\r
34 <div class="titlebar">
\r
35 <a href="../index.html">
\r
36 <img src="../images/script.png" alt="[ImageMagick]"
\r
37 style="width: 350px; height: 60px; margin: 28px auto; float: left;" /></a>
\r
38 <a href="http://www.networkredux.com">
\r
39 <img src="../images/networkredux.png" alt="[sponsor]"
\r
40 style="margin: 45px auto; border: 0px; float: left;" /></a>
\r
41 <a href="http://www.imagemagick.org/discourse-server/">
\r
42 <img src="../images/logo.jpg" alt=""
\r
43 style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
\r
44 <a href="../index.html">
\r
45 <img src="../images/sprite.jpg" alt=""
\r
46 style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
\r
49 <div class="westbar">
\r
52 <a title="About ImageMagick" href="../index.html">About ImageMagick</a>
54 <div class="sep"></div>
\r
56 <a title="Binary Releases" href="../www/binary-releases.html">Binary Releases</a>
59 <a title="Binary Release: Unix" href="../www/binary-releases.html#unix">Unix</a>
62 <a title="Binary Release: MacOS X" href="../www/binary-releases.html#macosx">Mac OS X</a>
65 <a title="Binary Release: Windows" href="../www/binary-releases.html#windows">Windows</a>
67 <div class="sep"></div>
\r
69 <a title="Command-line Tools" href="../www/command-line-tools.html">Command-line Tools</a>
72 <a title="Command-line Tools: Processing" href="../www/command-line-processing.html">Processing</a>
75 <a title="Command-line Tools: Options" href="../www/command-line-options.html">Options</a>
78 <a title="Command-line Tools: Usage" href="http://www.imagemagick.org/Usage/">Usage</a>
81 <a title="Program Interfaces" href="../www/api.html">Program Interfaces</a>
84 <a title="Program Interface: MagickWand" href="../www/magick-wand.html">MagickWand</a>
87 <a title="Program Interface: MagickCore" href="../www/magick-core.html">MagickCore</a>
90 <a title="Program Interface: PerlMagick" href="../www/perl-magick.html">PerlMagick</a>
93 <a title="Program Interface: Magick++" href="../Magick++/">Magick++</a>
95 <div class="sep"></div>
\r
97 <a title="Install from Source" href="../www/install-source.html">Install from Source</a>
100 <a title="Install from Source: Unix" href="../www/install-source.html#unix">Unix</a>
103 <a title="Install from Source: Windows" href="../www/install-source.html#windows">Windows</a>
106 <a title="Resources" href="../www/resources.html">Resources</a>
109 <a title="Architecture" href="../www/architecture.html">Architecture</a>
112 <a title="Download" href="../www/download.html">Download</a>
114 <div class="sep"></div>
\r
116 <a title="Search" href="http://www.imagemagick.org/script/search.php">Search</a>
118 <div class="sep"></div>
\r
120 <a title="Site Map" href="../www/sitemap.html">Site Map</a>
123 <a title="Site Map: Links" href="../www/links.html">Links</a>
125 <div class="sep"></div>
\r
127 <a title="Sponsors" href="../www/sponsors.html">Sponsors:</a>
129 <div class="sponsbox">
130 <div class="sponsor">
131 <a title="Sponsor: alaTest.com" href="http://alatest.com">alaTest.com</a><!-- 20110801000300 -->
133 <div class="sponsor">
134 <a title="Sponsor: Druckerei" href="http://print24.com/de/">Druckerei</a><!-- 201110010720 -->
136 <div class="sponsor">
137 <a title="Sponsor: Image Converter" href="http://www.batchphoto.com">Image Converter</a><!-- 201103010900 Bits Coffee-->
139 <div class="sponsor">
140 <a title="Sponsor: Flyer drucken" href="http://www.online-druck.biz">Flyer drucken</a><!-- 201109010900 Floeter-->
142 <div class="sponsor">
143 <a title="Sponsor: Webdesign Agentur" href="http://www.ventzke-partner.de">Webdesign Agentur</a><!-- 201101010480 invendio.de-->
145 <div class="sponsor">
146 <a title="Sponsor: LVM Versicherung" href="http://www.neu-reich.de">LVM Versicherung</a><!-- 201101010480 -->
148 <div class="sponsor">
149 <a title="Sponsor: Diamonds are a Girls Best Friend" href="http://www.schmuck.org">Diamonds are a Girls Best Friend</a><!-- 201101010600 Peterssen-->
155 <div class="eastbar">
\r
156 <script type="text/javascript">
\r
158 google_ad_client = "pub-3129977114552745";
\r
159 google_ad_slot = "0574824969";
\r
160 google_ad_width = 160;
\r
161 google_ad_height = 600;
\r
164 <script type="text/javascript"
\r
165 src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
\r
171 <h1>ImageMagick Animate Command-line Utility</h1>
172 <p class="navigation-index">[<a href="#usage">Example Usage</a> • <a href="#options">Option Summary</a>]</p>
174 <p>Use the <kbd>animate</kbd> program to animate an image sequence on any X server. See <a href="../www/command-line-processing.html">Command Line Processing</a> for advice on how to structure your <kbd>animate</kbd> command or see below for example usages of the command.</p>
176 <div style="margin: auto;">
177 <h2><a name="usage"></a>Example Usage</h2>
180 <p>We list a few examples of the <kbd>animate</kbd> command here to illustrate its usefulness and ease of use. To get started, lets animate an image sequence in the GIF format:</p>
182 <p class='crt'><span class="crtprompt"> $magick> </span><span class='crtin'>animate movie.gif</span></p>
183 <p>To animate a directory of JPEG images, use:</p>
185 <p class='crt'><span class="crtprompt"> $magick> </span><span class='crtin'>animate *.jpg</span></p>
186 <p>You can find additional examples of using <kbd>animate</kbd> in <a href="http://www-106.ibm.com/developerworks/library/l-graf/?ca=dnt-428">Graphics from the Command Line</a>. Further discussion is available in <a href="http://www-106.ibm.com/developerworks/library/l-graf2/?ca=dgr-lnxw15GraphicsLine">More Graphics from the Command Line</a> and <a href="http://www.imagemagick.org/Usage/">Examples of ImageMagick Usage</a>.</p>
188 <div style="margin: auto;">
189 <h2><a name="options"></a>Option Summary</h2>
192 <p>The <kbd>animate</kbd> command recognizes these options. Click on an option to get more details about how that option works.</p>
197 <th align="left">Option</th>
198 <th align="left">Description</th>
202 <td valign="top"><a href="../www/command-line-options.html#alpha">-alpha</a></td>
203 <td valign="top">on, activate, off, deactivate, set, opaque, copy",
204 transparent, extract, background, or shape the alpha channel</td>
208 <td valign="top"><a href="../www/command-line-options.html#antialias">-antialias</a></td>
209 <td valign="top">remove pixel-aliasing</td>
213 <td valign="top"><a href="../www/command-line-options.html#authenticate">-authenticate <em class="option">value</em></a></td>
214 <td valign="top">decrypt image with this password</td>
218 <td valign="top"><a href="../www/command-line-options.html#backdrop">-backdrop</a></td>
219 <td valign="top">background color</td>
223 <td valign="top"><a href="../www/command-line-options.html#background">-background <em class="option">color</em></a></td>
224 <td valign="top">background color</td>
228 <td valign="top"><a href="../www/command-line-options.html#border">-border <em class="option">geometry</em></a></td>
229 <td valign="top">surround image with a border of color</td>
233 <td valign="top"><a href="../www/command-line-options.html#bordercolor">-bordercolor <em class="option">color</em></a></td>
234 <td valign="top">border color</td>
238 <td valign="top"><a href="../www/command-line-options.html#channel">-channel <em class="option">type</em></a></td>
239 <td valign="top">apply option to select image channels</td>
243 <td valign="top"><a href="../www/command-line-options.html#clip">-clip</a></td>
244 <td valign="top">clip along the first path from the 8BIM profile</td>
248 <td valign="top"><a href="../www/command-line-options.html#clip-path">-clip-path <em class="option">id</em></a></td>
249 <td valign="top">clip along a named path from the 8BIM profile</td>
253 <td valign="top"><a href="../www/command-line-options.html#coalesce">-coalesce</a></td>
254 <td valign="top">merge a sequence of images</td>
258 <td valign="top"><a href="../www/command-line-options.html#colormap">-colormap <em class="option">type</em></a></td>
259 <td valign="top">Shared or Private</td>
263 <td valign="top"><a href="../www/command-line-options.html#colors">-colors <em class="option">value</em></a></td>
264 <td valign="top">preferred number of colors in the image</td>
268 <td valign="top"><a href="../www/command-line-options.html#colorspace">-colorspace <em class="option">type</em></a></td>
269 <td valign="top">set image colorspace</td>
273 <td valign="top"><a href="../www/command-line-options.html#comment">-comment <em class="option">string</em></a></td>
274 <td valign="top">annotate image with comment</td>
278 <td valign="top"><a href="../www/command-line-options.html#compress">-compress <em class="option">type</em></a></td>
279 <td valign="top">image compression type</td>
283 <td valign="top"><a href="../www/command-line-options.html#contrast">-contrast</a></td>
284 <td valign="top">enhance or reduce the image contrast</td>
288 <td valign="top"><a href="../www/command-line-options.html#crop">-crop <em class="option">geometry</em></a></td>
289 <td valign="top">preferred size and location of the cropped image</td>
293 <td valign="top"><a href="../www/command-line-options.html#debug">-debug <em class="option">events</em></a></td>
294 <td valign="top">animate copious debugging information</td>
298 <td valign="top"><a href="../www/command-line-options.html#decipher">-decipher <em class="option">filename</em></a></td>
299 <td valign="top">convert cipher pixels to plain</td>
303 <td valign="top"><a href="../www/command-line-options.html#define">-define <em class="option">format:option</em></a></td>
304 <td valign="top">define one or more image format options</td>
308 <td valign="top"><a href="../www/command-line-options.html#delay">-delay <em class="option">value</em></a></td>
309 <td valign="top">animate the next image after pausing</td>
313 <td valign="top"><a href="../www/command-line-options.html#density">-density <em class="option">geometry</em></a></td>
314 <td valign="top">horizontal and vertical density of the image</td>
318 <td valign="top"><a href="../www/command-line-options.html#depth">-depth <em class="option">value</em></a></td>
319 <td valign="top">image depth</td>
323 <td valign="top"><a href="../www/command-line-options.html#despeckle">-despeckle</a></td>
324 <td valign="top">reduce the speckles within an image</td>
328 <td valign="top"><a href="../www/command-line-options.html#animate">-display <em class="option">server</em></a></td>
329 <td valign="top">get image or font from this X server</td>
333 <td valign="top"><a href="../www/command-line-options.html#dispose">-dispose <em class="option">method</em></a></td>
334 <td valign="top">layer disposal method</td>
338 <td valign="top"><a href="../www/command-line-options.html#dither">-dither <em class="option">method</em></a></td>
339 <td valign="top">apply error diffusion to image</td>
343 <td valign="top"><a href="../www/command-line-options.html#edge">-edge <em class="option">radius</em></a></td>
344 <td valign="top">apply a filter to detect edges in the image</td>
348 <td valign="top"><a href="../www/command-line-options.html#endian">-endian <em class="option">type</em></a></td>
349 <td valign="top">endianness (MSB or LSB) of the image</td>
353 <td valign="top"><a href="../www/command-line-options.html#enhance">-enhance</a></td>
354 <td valign="top">apply a digital filter to enhance a noisy image</td>
358 <td valign="top"><a href="../www/command-line-options.html#extract">-extract <em class="option">geometry</em></a></td>
359 <td valign="top">extract area from image</td>
363 <td valign="top"><a href="../www/command-line-options.html#filter">-filter <em class="option">type</em></a></td>
364 <td valign="top">use this filter when resizing an image</td>
368 <td valign="top"><a href="../www/command-line-options.html#flatten">-flatten</a></td>
369 <td valign="top">flatten a sequence of images</td>
373 <td valign="top"><a href="../www/command-line-options.html#flip">-flip</a></td>
374 <td valign="top">flip image in the vertical direction</td>
378 <td valign="top"><a href="../www/command-line-options.html#flop">-flop</a></td>
379 <td valign="top">flop image in the horizontal direction</td>
383 <td valign="top"><a href="../www/command-line-options.html#frame">-frame <em class="option">geometry</em></a></td>
384 <td valign="top">surround image with an ornamental border</td>
388 <td valign="top"><a href="../www/command-line-options.html#gamma">-gamma <em class="option">value</em></a></td>
389 <td valign="top">level of gamma correction</td>
393 <td valign="top"><a href="../www/command-line-options.html#geometry">-geometry <em class="option">geometry</em></a></td>
394 <td valign="top">preferred size or location of the image</td>
398 <td valign="top"><a href="../www/command-line-options.html#gravity">-gravity <em class="option">geometry</em></a></td>
399 <td valign="top">horizontal and vertical backdrop placement</td>
403 <td valign="top"><a href="../www/command-line-options.html#help">-help</a></td>
404 <td valign="top">print program options</td>
408 <td valign="top"><a href="../www/command-line-options.html#identify">-identify</a></td>
409 <td valign="top">identify the format and characteristics of the image</td>
413 <td valign="top"><a href="../www/command-line-options.html#immutable">-immutable <em class="option">type</em></a></td>
414 <td valign="top">prohibit image edits</td>
418 <td valign="top"><a href="../www/command-line-options.html#interlace">-interlace <em class="option">type</em></a></td>
419 <td valign="top">type of image interlacing scheme</td>
423 <td valign="top"><a href="../www/command-line-options.html#interpolate">-interpolate <em class="option">method</em></a></td>
424 <td valign="top">pixel color interpolation method</td>
428 <td valign="top"><a href="../www/command-line-options.html#label">-label <em class="option">name</em></a></td>
429 <td valign="top">assign a label to an image</td>
433 <td valign="top"><a href="../www/command-line-options.html#limit">-limit <em class="option">type value</em></a></td>
434 <td valign="top">pixel cache resource limit</td>
438 <td valign="top"><a href="../www/command-line-options.html#log">-log <em class="option">format</em></a></td>
439 <td valign="top">format of debugging information</td>
443 <td valign="top"><a href="../www/command-line-options.html#map">-map <em class="option">filename</em></a></td>
444 <td valign="top">transform image colors to match this set of colors</td>
448 <td valign="top"><a href="../www/command-line-options.html#mattecolor">-mattecolor <em class="option">color</em></a></td>
449 <td valign="top">frame color</td>
453 <td valign="top"><a href="../www/command-line-options.html#monitor">-monitor</a></td>
454 <td valign="top">monitor progress</td>
458 <td valign="top"><a href="../www/command-line-options.html#monochrome">-monochrome</a></td>
459 <td valign="top">transform image to black and white</td>
463 <td valign="top"><a href="../www/command-line-options.html#negate">-negate</a></td>
464 <td valign="top">replace each pixel with its complementary color </td>
468 <td valign="top"><a href="../www/command-line-options.html#page">-page <em class="option">geometry</em></a></td>
469 <td valign="top">size and location of an image canvas (setting)</td>
473 <td valign="top"><a href="../www/command-line-options.html#profile">-profile <em class="option">filename</em></a></td>
474 <td valign="top">add, delete, or apply an image profile</td>
478 <td valign="top"><a href="../www/command-line-options.html#quantize">-quantize <em class="option">colorspace</em></a></td>
479 <td valign="top">reduce image colors in this colorspace</td>
483 <td valign="top"><a href="../www/command-line-options.html#quiet">-quiet</a></td>
484 <td valign="top">suppress all warning messages</td>
488 <td valign="top"><a href="../www/command-line-options.html#raise">-raise <em class="option">value</em></a></td>
489 <td valign="top">lighten/darken image edges to create a 3-D effect</td>
493 <td valign="top"><a href="../www/command-line-options.html#regard-warnings">-regard-warnings</a></td>
494 <td valign="top">pay attention to warning messages.</td>
498 <td valign="top"><a href="../www/command-line-options.html#remote">-remote <em class="option">command</em></a></td>
499 <td valign="top">execute a command in an remote animate process</td>
503 <td valign="top"><a href="../www/command-line-options.html#resample">-resample <em class="option">geometry</em></a></td>
504 <td valign="top">change the resolution of an image</td>
508 <td valign="top"><a href="../www/command-line-options.html#resize">-resize <em class="option">geometry</em></a></td>
509 <td valign="top">resize the image</td>
513 <td valign="top"><a href="../www/command-line-options.html#respect-parentheses">-respect-parentheses</a></td>
514 <td valign="top">settings remain in effect until parenthesis boundary.</td>
518 <td valign="top"><a href="../www/command-line-options.html#roll">-roll <em class="option">geometry</em></a></td>
519 <td valign="top">roll an image vertically or horizontally</td>
523 <td valign="top"><a href="../www/command-line-options.html#rotate">-rotate <em class="option">degrees</em></a></td>
524 <td valign="top">apply Paeth rotation to the image</td>
528 <td valign="top"><a href="../www/command-line-options.html#sample">-sample <em class="option">geometry</em></a></td>
529 <td valign="top">scale image with pixel sampling</td>
533 <td valign="top"><a href="../www/command-line-options.html#sampling-factor">-sampling-factor <em class="option">geometry</em></a></td>
534 <td valign="top">horizontal and vertical sampling factor</td>
538 <td valign="top"><a href="../www/command-line-options.html#scene">-scene <em class="option">value</em></a></td>
539 <td valign="top">image scene number</td>
543 <td valign="top"><a href="../www/command-line-options.html#segment">-segment <em class="option">values</em></a></td>
544 <td valign="top">segment an image</td>
548 <td valign="top"><a href="../www/command-line-options.html#seed">-seed <em class="option">value</em></a></td>
549 <td valign="top">seed a new sequence of pseudo-random numbers</td>
553 <td valign="top"><a href="../www/command-line-options.html#set">-set <em class="option">attribute value</em></a></td>
554 <td valign="top">set an image attribute</td>
558 <td valign="top"><a href="../www/command-line-options.html#sharpen">-sharpen <em class="option">geometry</em></a></td>
559 <td valign="top">sharpen the image</td>
563 <td valign="top"><a href="../www/command-line-options.html#size">-size <em class="option">geometry</em></a></td>
564 <td valign="top">width and height of image</td>
568 <td valign="top"><a href="../www/command-line-options.html#strip">-strip</a></td>
569 <td valign="top">strip image of all profiles and comments</td>
573 <td valign="top"><a href="../www/command-line-options.html#thumbnail">-thumbnail <em class="option">geometry</em></a></td>
574 <td valign="top">create a thumbnail of the image</td>
578 <td valign="top"><a href="../www/command-line-options.html#transparent-color">-transparent-color <em class="option">color</em></a></td>
579 <td valign="top">transparent color</td>
583 <td valign="top"><a href="../www/command-line-options.html#trim">-trim</a></td>
584 <td valign="top">trim image edges</td>
588 <td valign="top"><a href="../www/command-line-options.html#update">-update <em class="option">seconds</em></a></td>
589 <td valign="top">detect when image file is modified and reanimate</td>
593 <td valign="top"><a href="../www/command-line-options.html#verbose">-verbose</a></td>
594 <td valign="top">print detailed information about the image</td>
598 <td valign="top"><a href="../www/command-line-options.html#version">-version</a></td>
599 <td valign="top">print version information</td>
603 <td valign="top"><a href="../www/command-line-options.html#virtual-pixel">-virtual-pixel <em class="option">method</em></a></td>
604 <td valign="top">access method for pixels outside the boundaries of the image</td>
608 <td valign="top"><a href="../www/command-line-options.html#visual">-visual</a></td>
609 <td valign="top">animate image using this visual type</td>
613 <td valign="top"><a href="../www/command-line-options.html#write">-window <em class="option">id</em></a></td>
614 <td valign="top">animate images to background of this window</td>
618 <td valign="top"><a href="../www/command-line-options.html#write">-window-group <em class="option">id</em></a></td>
619 <td valign="top">exit program when this window id is destroyed</td>
628 <span id="linkbar-west"> </span>
\r
629 <span id="linkbar-center">
\r
630 <a href="http://www.imagemagick.org/discourse-server/">Discourse Server</a> •
\r
631 <a href="http://www.imagemagick.org/MagickStudio/scripts/MagickStudio.cgi">Studio</a>
\r
633 <span id="linkbar-east"> </span>
\r
635 <div class="footer">
\r
636 <span id="footer-west">© 1999-2011 ImageMagick Studio LLC</span>
\r
637 <span id="footer-east"> <a href="http://www.imagemagick.org/script/contact.php">Contact the Wizards</a></span>
\r
639 <div style="clear: both; margin: 0; width: 100%; "></div>
\r
640 <script type="text/javascript">
\r
641 var _gaq = _gaq || [];
\r
642 _gaq.push(['_setAccount', 'UA-17690367-1']);
\r
643 _gaq.push(['_trackPageview']);
\r
646 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
\r
647 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
\r
648 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
\r