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, and compose bitmap images. It can read, convert and write images in a variety of formats (about 100) including GIF, JPEG, JPEG-2000, PNG, PDF, PhotoCD, TIFF, and DPX. Use ImageMagick to translate, flip, mirror, rotate, scale, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves. ImageMagick is free software delivered as a ready-to-run binary distribution or as source code that you can freely use, copy, modify, and distribute. Its license is compatible with the GPL. It runs on all major operating systems. The functionality of ImageMagick is typically utilized from the command line or you can use the features from programs written in your favorite programming language. Choose from these interfaces: MagickCore (C), MagickWand (C), ChMagick (Ch), Magick++ (C++), JMagick (Java), L-Magick (Lisp), PascalMagick (Pascal), PerlMagick (Perl), MagickWand for PHP (PHP), PythonMagick (Python), RMagick (Ruby), or TclMagick (Tcl/TK). With a language interface, use ImageMagick to modify or create images automagically and dynamically."/>
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: Webdesign" href="http://www.renehornig.com/">Webdesign</a><!-- 20111001000240 -->
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 <p class="navigation-index">[<a href="#usage">Example Usage</a> • <a href="#options">Option Summary</a>]</p>
173 <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>
175 <div style="margin: auto;">
176 <h2><a name="usage"></a>Example Usage</h2>
179 <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>
181 <p class='crt'><span class="crtprompt"> $magick> </span><span class='crtin'>animate movie.gif</span></p>
182 <p>To animate a directory of JPEG images, use:</p>
184 <p class='crt'><span class="crtprompt"> $magick> </span><span class='crtin'>animate *.jpg</span></p>
185 <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>
187 <div style="margin: auto;">
188 <h2><a name="options"></a>Option Summary</h2>
191 <p>The <kbd>animate</kbd> command recognizes these options. Click on an option to get more details about how that option works.</p>
196 <th align="left">Option</th>
197 <th align="left">Description</th>
201 <td valign="top"><a href="../www/command-line-options.html#alpha">-alpha</a></td>
202 <td valign="top">on, activate, off, deactivate, set, opaque, copy",
203 transparent, extract, background, or shape the alpha channel</td>
207 <td valign="top"><a href="../www/command-line-options.html#antialias">-antialias</a></td>
208 <td valign="top">remove pixel-aliasing</td>
212 <td valign="top"><a href="../www/command-line-options.html#authenticate">-authenticate <em class="option">value</em></a></td>
213 <td valign="top">decrypt image with this password</td>
217 <td valign="top"><a href="../www/command-line-options.html#backdrop">-backdrop</a></td>
218 <td valign="top">background color</td>
222 <td valign="top"><a href="../www/command-line-options.html#background">-background <em class="option">color</em></a></td>
223 <td valign="top">background color</td>
227 <td valign="top"><a href="../www/command-line-options.html#border">-border <em class="option">geometry</em></a></td>
228 <td valign="top">surround image with a border of color</td>
232 <td valign="top"><a href="../www/command-line-options.html#bordercolor">-bordercolor <em class="option">color</em></a></td>
233 <td valign="top">border color</td>
237 <td valign="top"><a href="../www/command-line-options.html#channel">-channel <em class="option">type</em></a></td>
238 <td valign="top">apply option to select image channels</td>
242 <td valign="top"><a href="../www/command-line-options.html#clip">-clip</a></td>
243 <td valign="top">clip along the first path from the 8BIM profile</td>
247 <td valign="top"><a href="../www/command-line-options.html#clip-path">-clip-path <em class="option">id</em></a></td>
248 <td valign="top">clip along a named path from the 8BIM profile</td>
252 <td valign="top"><a href="../www/command-line-options.html#coalesce">-coalesce</a></td>
253 <td valign="top">merge a sequence of images</td>
257 <td valign="top"><a href="../www/command-line-options.html#colormap">-colormap <em class="option">type</em></a></td>
258 <td valign="top">Shared or Private</td>
262 <td valign="top"><a href="../www/command-line-options.html#colors">-colors <em class="option">value</em></a></td>
263 <td valign="top">preferred number of colors in the image</td>
267 <td valign="top"><a href="../www/command-line-options.html#colorspace">-colorspace <em class="option">type</em></a></td>
268 <td valign="top">set image colorspace</td>
272 <td valign="top"><a href="../www/command-line-options.html#comment">-comment <em class="option">string</em></a></td>
273 <td valign="top">annotate image with comment</td>
277 <td valign="top"><a href="../www/command-line-options.html#compress">-compress <em class="option">type</em></a></td>
278 <td valign="top">image compression type</td>
282 <td valign="top"><a href="../www/command-line-options.html#contrast">-contrast</a></td>
283 <td valign="top">enhance or reduce the image contrast</td>
287 <td valign="top"><a href="../www/command-line-options.html#crop">-crop <em class="option">geometry</em></a></td>
288 <td valign="top">preferred size and location of the cropped image</td>
292 <td valign="top"><a href="../www/command-line-options.html#debug">-debug <em class="option">events</em></a></td>
293 <td valign="top">animate copious debugging information</td>
297 <td valign="top"><a href="../www/command-line-options.html#decipher">-decipher <em class="option">filename</em></a></td>
298 <td valign="top">convert cipher pixels to plain</td>
302 <td valign="top"><a href="../www/command-line-options.html#define">-define <em class="option">format:option</em></a></td>
303 <td valign="top">define one or more image format options</td>
307 <td valign="top"><a href="../www/command-line-options.html#delay">-delay <em class="option">value</em></a></td>
308 <td valign="top">animate the next image after pausing</td>
312 <td valign="top"><a href="../www/command-line-options.html#density">-density <em class="option">geometry</em></a></td>
313 <td valign="top">horizontal and vertical density of the image</td>
317 <td valign="top"><a href="../www/command-line-options.html#depth">-depth <em class="option">value</em></a></td>
318 <td valign="top">image depth</td>
322 <td valign="top"><a href="../www/command-line-options.html#despeckle">-despeckle</a></td>
323 <td valign="top">reduce the speckles within an image</td>
327 <td valign="top"><a href="../www/command-line-options.html#animate">-display <em class="option">server</em></a></td>
328 <td valign="top">get image or font from this X server</td>
332 <td valign="top"><a href="../www/command-line-options.html#dispose">-dispose <em class="option">method</em></a></td>
333 <td valign="top">layer disposal method</td>
337 <td valign="top"><a href="../www/command-line-options.html#dither">-dither <em class="option">method</em></a></td>
338 <td valign="top">apply error diffusion to image</td>
342 <td valign="top"><a href="../www/command-line-options.html#edge">-edge <em class="option">radius</em></a></td>
343 <td valign="top">apply a filter to detect edges in the image</td>
347 <td valign="top"><a href="../www/command-line-options.html#endian">-endian <em class="option">type</em></a></td>
348 <td valign="top">endianness (MSB or LSB) of the image</td>
352 <td valign="top"><a href="../www/command-line-options.html#enhance">-enhance</a></td>
353 <td valign="top">apply a digital filter to enhance a noisy image</td>
357 <td valign="top"><a href="../www/command-line-options.html#extract">-extract <em class="option">geometry</em></a></td>
358 <td valign="top">extract area from image</td>
362 <td valign="top"><a href="../www/command-line-options.html#filter">-filter <em class="option">type</em></a></td>
363 <td valign="top">use this filter when resizing an image</td>
367 <td valign="top"><a href="../www/command-line-options.html#flatten">-flatten</a></td>
368 <td valign="top">flatten a sequence of images</td>
372 <td valign="top"><a href="../www/command-line-options.html#flip">-flip</a></td>
373 <td valign="top">flip image in the vertical direction</td>
377 <td valign="top"><a href="../www/command-line-options.html#flop">-flop</a></td>
378 <td valign="top">flop image in the horizontal direction</td>
382 <td valign="top"><a href="../www/command-line-options.html#frame">-frame <em class="option">geometry</em></a></td>
383 <td valign="top">surround image with an ornamental border</td>
387 <td valign="top"><a href="../www/command-line-options.html#gamma">-gamma <em class="option">value</em></a></td>
388 <td valign="top">level of gamma correction</td>
392 <td valign="top"><a href="../www/command-line-options.html#geometry">-geometry <em class="option">geometry</em></a></td>
393 <td valign="top">preferred size or location of the image</td>
397 <td valign="top"><a href="../www/command-line-options.html#gravity">-gravity <em class="option">geometry</em></a></td>
398 <td valign="top">horizontal and vertical backdrop placement</td>
402 <td valign="top"><a href="../www/command-line-options.html#help">-help</a></td>
403 <td valign="top">print program options</td>
407 <td valign="top"><a href="../www/command-line-options.html#identify">-identify</a></td>
408 <td valign="top">identify the format and characteristics of the image</td>
412 <td valign="top"><a href="../www/command-line-options.html#immutable">-immutable <em class="option">type</em></a></td>
413 <td valign="top">prohibit image edits</td>
417 <td valign="top"><a href="../www/command-line-options.html#interlace">-interlace <em class="option">type</em></a></td>
418 <td valign="top">type of image interlacing scheme</td>
422 <td valign="top"><a href="../www/command-line-options.html#interpolate">-interpolate <em class="option">method</em></a></td>
423 <td valign="top">pixel color interpolation method</td>
427 <td valign="top"><a href="../www/command-line-options.html#label">-label <em class="option">name</em></a></td>
428 <td valign="top">assign a label to an image</td>
432 <td valign="top"><a href="../www/command-line-options.html#limit">-limit <em class="option">type value</em></a></td>
433 <td valign="top">pixel cache resource limit</td>
437 <td valign="top"><a href="../www/command-line-options.html#log">-log <em class="option">format</em></a></td>
438 <td valign="top">format of debugging information</td>
442 <td valign="top"><a href="../www/command-line-options.html#map">-map <em class="option">filename</em></a></td>
443 <td valign="top">transform image colors to match this set of colors</td>
447 <td valign="top"><a href="../www/command-line-options.html#mattecolor">-mattecolor <em class="option">color</em></a></td>
448 <td valign="top">frame color</td>
452 <td valign="top"><a href="../www/command-line-options.html#monitor">-monitor</a></td>
453 <td valign="top">monitor progress</td>
457 <td valign="top"><a href="../www/command-line-options.html#monochrome">-monochrome</a></td>
458 <td valign="top">transform image to black and white</td>
462 <td valign="top"><a href="../www/command-line-options.html#negate">-negate</a></td>
463 <td valign="top">replace each pixel with its complementary color </td>
467 <td valign="top"><a href="../www/command-line-options.html#page">-page <em class="option">geometry</em></a></td>
468 <td valign="top">size and location of an image canvas (setting)</td>
472 <td valign="top"><a href="../www/command-line-options.html#profile">-profile <em class="option">filename</em></a></td>
473 <td valign="top">add, delete, or apply an image profile</td>
477 <td valign="top"><a href="../www/command-line-options.html#quantize">-quantize <em class="option">colorspace</em></a></td>
478 <td valign="top">reduce image colors in this colorspace</td>
482 <td valign="top"><a href="../www/command-line-options.html#quiet">-quiet</a></td>
483 <td valign="top">suppress all warning messages</td>
487 <td valign="top"><a href="../www/command-line-options.html#raise">-raise <em class="option">value</em></a></td>
488 <td valign="top">lighten/darken image edges to create a 3-D effect</td>
492 <td valign="top"><a href="../www/command-line-options.html#regard-warnings">-regard-warnings</a></td>
493 <td valign="top">pay attention to warning messages.</td>
497 <td valign="top"><a href="../www/command-line-options.html#remote">-remote <em class="option">command</em></a></td>
498 <td valign="top">execute a command in an remote animate process</td>
502 <td valign="top"><a href="../www/command-line-options.html#resample">-resample <em class="option">geometry</em></a></td>
503 <td valign="top">change the resolution of an image</td>
507 <td valign="top"><a href="../www/command-line-options.html#resize">-resize <em class="option">geometry</em></a></td>
508 <td valign="top">resize the image</td>
512 <td valign="top"><a href="../www/command-line-options.html#respect-parentheses">-respect-parentheses</a></td>
513 <td valign="top">settings remain in effect until parenthesis boundary.</td>
517 <td valign="top"><a href="../www/command-line-options.html#roll">-roll <em class="option">geometry</em></a></td>
518 <td valign="top">roll an image vertically or horizontally</td>
522 <td valign="top"><a href="../www/command-line-options.html#rotate">-rotate <em class="option">degrees</em></a></td>
523 <td valign="top">apply Paeth rotation to the image</td>
527 <td valign="top"><a href="../www/command-line-options.html#sample">-sample <em class="option">geometry</em></a></td>
528 <td valign="top">scale image with pixel sampling</td>
532 <td valign="top"><a href="../www/command-line-options.html#sampling-factor">-sampling-factor <em class="option">geometry</em></a></td>
533 <td valign="top">horizontal and vertical sampling factor</td>
537 <td valign="top"><a href="../www/command-line-options.html#scene">-scene <em class="option">value</em></a></td>
538 <td valign="top">image scene number</td>
542 <td valign="top"><a href="../www/command-line-options.html#segment">-segment <em class="option">values</em></a></td>
543 <td valign="top">segment an image</td>
547 <td valign="top"><a href="../www/command-line-options.html#seed">-seed <em class="option">value</em></a></td>
548 <td valign="top">seed a new sequence of pseudo-random numbers</td>
552 <td valign="top"><a href="../www/command-line-options.html#set">-set <em class="option">attribute value</em></a></td>
553 <td valign="top">set an image attribute</td>
557 <td valign="top"><a href="../www/command-line-options.html#sharpen">-sharpen <em class="option">geometry</em></a></td>
558 <td valign="top">sharpen the image</td>
562 <td valign="top"><a href="../www/command-line-options.html#size">-size <em class="option">geometry</em></a></td>
563 <td valign="top">width and height of image</td>
567 <td valign="top"><a href="../www/command-line-options.html#strip">-strip</a></td>
568 <td valign="top">strip image of all profiles and comments</td>
572 <td valign="top"><a href="../www/command-line-options.html#thumbnail">-thumbnail <em class="option">geometry</em></a></td>
573 <td valign="top">create a thumbnail of the image</td>
577 <td valign="top"><a href="../www/command-line-options.html#transparent-color">-transparent-color <em class="option">color</em></a></td>
578 <td valign="top">transparent color</td>
582 <td valign="top"><a href="../www/command-line-options.html#trim">-trim</a></td>
583 <td valign="top">trim image edges</td>
587 <td valign="top"><a href="../www/command-line-options.html#update">-update <em class="option">seconds</em></a></td>
588 <td valign="top">detect when image file is modified and reanimate</td>
592 <td valign="top"><a href="../www/command-line-options.html#verbose">-verbose</a></td>
593 <td valign="top">print detailed information about the image</td>
597 <td valign="top"><a href="../www/command-line-options.html#version">-version</a></td>
598 <td valign="top">print version information</td>
602 <td valign="top"><a href="../www/command-line-options.html#virtual-pixel">-virtual-pixel <em class="option">method</em></a></td>
603 <td valign="top">access method for pixels outside the boundaries of the image</td>
607 <td valign="top"><a href="../www/command-line-options.html#visual">-visual</a></td>
608 <td valign="top">animate image using this visual type</td>
612 <td valign="top"><a href="../www/command-line-options.html#write">-window <em class="option">id</em></a></td>
613 <td valign="top">animate images to background of this window</td>
617 <td valign="top"><a href="../www/command-line-options.html#write">-window-group <em class="option">id</em></a></td>
618 <td valign="top">exit program when this window id is destroyed</td>
627 <span id="linkbar-west"> </span>
\r
628 <span id="linkbar-center">
\r
629 <a href="http://www.imagemagick.org/discourse-server/">Discourse Server</a> •
\r
630 <a href="http://www.imagemagick.org/MagickStudio/scripts/MagickStudio.cgi">Studio</a>
\r
632 <span id="linkbar-east"> </span>
\r
634 <div class="footer">
\r
635 <span id="footer-west">© 1999-2011 ImageMagick Studio LLC</span>
\r
636 <span id="footer-east"> <a href="http://www.imagemagick.org/script/contact.php">Contact the Wizards</a></span>
\r
638 <div style="clear: both; margin: 0; width: 100%; "></div>
\r
639 <script type="text/javascript">
\r
640 var _gaq = _gaq || [];
\r
641 _gaq.push(['_setAccount', 'UA-17690367-1']);
\r
642 _gaq.push(['_trackPageview']);
\r
645 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
\r
646 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
\r
647 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
\r