1 2 3 4 5 <!DOCTYPE html> 6 <html lang="en"> 7 <head> 8 <title>ImageMagick: Command-line Tools: Animate</title> 9 <meta charset="utf-8" /> 10 <meta http-equiv="X-UA-Compatible" content="IE=edge" /> 11 <meta name="viewport" content="width=device-width, initial-scale=1" /> 12 <meta http-equiv="content-type" content="text/html; charset=utf-8"/> 13 <meta name="application-name" content="ImageMagick"/> 14 <meta name="description" content="ImageMagick is a software suite to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, JPEG-2000, GIF, WebP, Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bzier curves."/> 15 <meta name="application-url" content="http://www.imagemagick.org"/> 16 <meta name="generator" content="PHP"/> 17 <meta name="keywords" content="command-line, tools:, animate, ImageMagick, PerlMagick, image processing, image, photo, software, Magick++, OpenMP, convert"/> 18 <meta name="rating" content="GENERAL"/> 19 <meta name="robots" content="INDEX, FOLLOW"/> 20 <meta name="generator" content="ImageMagick Studio LLC"/> 21 <meta name="author" content="ImageMagick Studio LLC"/> 22 <meta name="revisit-after" content="2 DAYS"/> 23 <meta name="resource-type" content="document"/> 24 <meta name="copyright" content="Copyright (c) 1999-2016 ImageMagick Studio LLC"/> 25 <meta name="distribution" content="Global"/> 26 <meta name="magick-serial" content="P131-S030410-R485315270133-P82224-A6668-G1245-1"/> 27 <meta name="google-site-verification" content="_bMOCDpkx9ZAzBwb2kF3PRHbfUUdFj2uO8Jd1AXArz4" /> 28 <link rel="icon" href="../images/wand.png"/> 29 <link rel="shortcut icon" href="../images/wand.ico"/> 30 <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Roboto:900,400,400italic,700,700italic,300,300italic|Open+Sans:300italic,400italic,700italic,300,400,600,700"> 31 <link rel="stylesheet" href="css/magick.css"/> 32 </head> 33 <body> 34 <div class="main"> 35 <div class="magick-masthead"> 36 <div class="container"> 37 <script async="async" src="http://localhost/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" 38 style="display:block" 39 data-ad-client="ca-pub-3129977114552745" 40 data-ad-slot="6345125851" 41 data-ad-format="auto"></ins> 42 <script> 43 (adsbygoogle = window.adsbygoogle || []).push({}); 44 </script> 45 <nav class="magick-nav"> 46 <a class="magick-nav-item " href="../index.html">Home</a> 47 <a class="magick-nav-item " href="binary-releases.html">Download</a> 48 <a class="magick-nav-item " href="command-line-tools.html">Tools</a> 49 <a class="magick-nav-item " href="command-line-processing.html">Command-line</a> 50 <a class="magick-nav-item " href="resources.html">Resources</a> 51 <a class="magick-nav-item " href="api.html">Develop</a> 52 <a class="magick-nav-item " href="http://www.imagemagick.org/script/search.php">Search</a> 53 <a class="magick-nav-item pull-right" href="https://www.imagemagick.org/discourse-server/">Community</a> 54 </nav> 55 </div> 56 </div> 57 <div class="container"> 58 <div class="magick-header"> 59 <p class="text-center"><a href="animate.html#usage">Example Usage</a> <a href="animate.html#options">Option Summary</a></p> 60 61 <p class="lead magick-description">Use the <code>animate</code> program to animate an image sequence on any X server. See <a href="command-line-processing.html">Command Line Processing</a> for advice on how to structure your <code>animate</code> command or see below for example usages of the command.</p> 62 63 <h2 class="magick-header"><a id="usage"></a>Example Usage</h2> 64 65 <p>We list a few examples of the <code>animate</code> command here to illustrate its usefulness and ease of use. To get started, lets animate an image sequence in the GIF format:</p> 66 67 <pre> 68 animate movie.gif 69 </pre> 70 71 <p>To animate a directory of JPEG images, use:</p> 72 73 <pre> 74 animate *.jpg 75 </pre> 76 77 <p>You can find additional examples of using <code>animate</code> in <a href="http://www.imagemagick.org/Usage/basics/#animate">Examples of ImageMagick Usage</a>.</p> 78 79 80 <h2 class="magick-header"><a id="options"></a>Option Summary</h2> 81 82 <p>The <code>animate</code> command recognizes these options. Click on an option to get more details about how that option works.</p> 83 84 <table class="table table-condensed table-striped"> 85 <tbody> 86 <tr> 87 <th align="left">Option</th> 88 <th align="left">Description</th> 89 </tr> 90 91 <tr> 92 <td><a href="command-line-options.html#alpha">-alpha</a></td> 93 <td>on, activate, off, deactivate, set, opaque, copy", 94 transparent, extract, background, or shape the alpha channel</td> 95 </tr> 96 97 <tr> 98 <td><a href="command-line-options.html#antialias">-antialias</a></td> 99 <td>remove pixel-aliasing</td> 100 </tr> 101 102 <tr> 103 <td><a href="command-line-options.html#authenticate">-authenticate <var>value</var></a></td> 104 <td>decrypt image with this password</td> 105 </tr> 106 107 <tr> 108 <td><a href="command-line-options.html#backdrop">-backdrop</a></td> 109 <td>background color</td> 110 </tr> 111 112 <tr> 113 <td><a href="command-line-options.html#background">-background <var>color</var></a></td> 114 <td>background color</td> 115 </tr> 116 117 <tr> 118 <td><a href="command-line-options.html#border">-border <var>geometry</var></a></td> 119 <td>surround image with a border of color</td> 120 </tr> 121 122 <tr> 123 <td><a href="command-line-options.html#bordercolor">-bordercolor <var>color</var></a></td> 124 <td>border color</td> 125 </tr> 126 127 <tr> 128 <td><a href="command-line-options.html#channel">-channel <var>type</var></a></td> 129 <td>apply option to select image channels</td> 130 </tr> 131 132 <tr> 133 <td><a href="command-line-options.html#clip">-clip</a></td> 134 <td>clip along the first path from the 8BIM profile</td> 135 </tr> 136 137 <tr> 138 <td><a href="command-line-options.html#clip-path">-clip-path <var>id</var></a></td> 139 <td>clip along a named path from the 8BIM profile</td> 140 </tr> 141 142 <tr> 143 <td><a href="command-line-options.html#coalesce">-coalesce</a></td> 144 <td>merge a sequence of images</td> 145 </tr> 146 147 <tr> 148 <td><a href="command-line-options.html#colormap">-colormap <var>type</var></a></td> 149 <td>Shared or Private</td> 150 </tr> 151 152 <tr> 153 <td><a href="command-line-options.html#colors">-colors <var>value</var></a></td> 154 <td>preferred number of colors in the image</td> 155 </tr> 156 157 <tr> 158 <td><a href="command-line-options.html#colorspace">-colorspace <var>type</var></a></td> 159 <td>set image colorspace</td> 160 </tr> 161 162 <tr> 163 <td><a href="command-line-options.html#comment">-comment <var>string</var></a></td> 164 <td>annotate image with comment</td> 165 </tr> 166 167 <tr> 168 <td><a href="command-line-options.html#compress">-compress <var>type</var></a></td> 169 <td>image compression type</td> 170 </tr> 171 172 <tr> 173 <td><a href="command-line-options.html#contrast">-contrast</a></td> 174 <td>enhance or reduce the image contrast</td> 175 </tr> 176 177 <tr> 178 <td><a href="command-line-options.html#crop">-crop <var>geometry</var></a></td> 179 <td>preferred size and location of the cropped image</td> 180 </tr> 181 182 <tr> 183 <td><a href="command-line-options.html#debug">-debug <var>events</var></a></td> 184 <td>animate copious debugging information</td> 185 </tr> 186 187 <tr> 188 <td><a href="command-line-options.html#decipher">-decipher <var>filename</var></a></td> 189 <td>convert cipher pixels to plain</td> 190 </tr> 191 192 <tr> 193 <td><a href="command-line-options.html#define">-define <var>format:option</var></a></td> 194 <td>define one or more image format options</td> 195 </tr> 196 197 <tr> 198 <td><a href="command-line-options.html#delay">-delay <var>value</var></a></td> 199 <td>animate the next image after pausing</td> 200 </tr> 201 202 <tr> 203 <td><a href="command-line-options.html#density">-density <var>geometry</var></a></td> 204 <td>horizontal and vertical density of the image</td> 205 </tr> 206 207 <tr> 208 <td><a href="command-line-options.html#depth">-depth <var>value</var></a></td> 209 <td>image depth</td> 210 </tr> 211 212 <tr> 213 <td><a href="command-line-options.html#despeckle">-despeckle</a></td> 214 <td>reduce the speckles within an image</td> 215 </tr> 216 217 <tr> 218 <td><a href="command-line-options.html#animate">-display <var>server</var></a></td> 219 <td>get image or font from this X server</td> 220 </tr> 221 222 <tr> 223 <td><a href="command-line-options.html#dispose">-dispose <var>method</var></a></td> 224 <td>layer disposal method</td> 225 </tr> 226 227 <tr> 228 <td><a href="command-line-options.html#dither">-dither <var>method</var></a></td> 229 <td>apply error diffusion to image</td> 230 </tr> 231 232 <tr> 233 <td><a href="command-line-options.html#edge">-edge <var>radius</var></a></td> 234 <td>apply a filter to detect edges in the image</td> 235 </tr> 236 237 <tr> 238 <td><a href="command-line-options.html#endian">-endian <var>type</var></a></td> 239 <td>endianness (MSB or LSB) of the image</td> 240 </tr> 241 242 <tr> 243 <td><a href="command-line-options.html#enhance">-enhance</a></td> 244 <td>apply a digital filter to enhance a noisy image</td> 245 </tr> 246 247 <tr> 248 <td><a href="command-line-options.html#extract">-extract <var>geometry</var></a></td> 249 <td>extract area from image</td> 250 </tr> 251 252 <tr> 253 <td><a href="command-line-options.html#filter">-filter <var>type</var></a></td> 254 <td>use this filter when resizing an image</td> 255 </tr> 256 257 <tr> 258 <td><a href="command-line-options.html#flatten">-flatten</a></td> 259 <td>flatten a sequence of images</td> 260 </tr> 261 262 <tr> 263 <td><a href="command-line-options.html#flip">-flip</a></td> 264 <td>flip image in the vertical direction</td> 265 </tr> 266 267 <tr> 268 <td><a href="command-line-options.html#flop">-flop</a></td> 269 <td>flop image in the horizontal direction</td> 270 </tr> 271 272 <tr> 273 <td><a href="command-line-options.html#frame">-frame <var>geometry</var></a></td> 274 <td>surround image with an ornamental border</td> 275 </tr> 276 277 <tr> 278 <td><a href="command-line-options.html#gamma">-gamma <var>value</var></a></td> 279 <td>level of gamma correction</td> 280 </tr> 281 282 <tr> 283 <td><a href="command-line-options.html#geometry">-geometry <var>geometry</var></a></td> 284 <td>preferred size or location of the image</td> 285 </tr> 286 287 <tr> 288 <td><a href="command-line-options.html#gravity">-gravity <var>geometry</var></a></td> 289 <td>horizontal and vertical backdrop placement</td> 290 </tr> 291 292 <tr> 293 <td><a href="command-line-options.html#help">-help</a></td> 294 <td>print program options</td> 295 </tr> 296 297 <tr> 298 <td><a href="command-line-options.html#identify">-identify</a></td> 299 <td>identify the format and characteristics of the image</td> 300 </tr> 301 302 <tr> 303 <td><a href="command-line-options.html#immutable">-immutable <var>type</var></a></td> 304 <td>prohibit image edits</td> 305 </tr> 306 307 <tr> 308 <td><a href="command-line-options.html#interlace">-interlace <var>type</var></a></td> 309 <td>type of image interlacing scheme</td> 310 </tr> 311 312 <tr> 313 <td><a href="command-line-options.html#interpolate">-interpolate <var>method</var></a></td> 314 <td>pixel color interpolation method</td> 315 </tr> 316 317 <tr> 318 <td><a href="command-line-options.html#label">-label <var>name</var></a></td> 319 <td>assign a label to an image</td> 320 </tr> 321 322 <tr> 323 <td><a href="command-line-options.html#limit">-limit <var>type value</var></a></td> 324 <td>pixel cache resource limit</td> 325 </tr> 326 327 <tr> 328 <td><a href="command-line-options.html#log">-log <var>format</var></a></td> 329 <td>format of debugging information</td> 330 </tr> 331 332 <tr> 333 <td><a href="command-line-options.html#map">-map <var>filename</var></a></td> 334 <td>transform image colors to match this set of colors</td> 335 </tr> 336 337 <tr> 338 <td><a href="command-line-options.html#mattecolor">-mattecolor <var>color</var></a></td> 339 <td>frame color</td> 340 </tr> 341 342 <tr> 343 <td><a href="command-line-options.html#monitor">-monitor</a></td> 344 <td>monitor progress</td> 345 </tr> 346 347 <tr> 348 <td><a href="command-line-options.html#monochrome">-monochrome</a></td> 349 <td>transform image to black and white</td> 350 </tr> 351 352 <tr> 353 <td><a href="command-line-options.html#negate">-negate</a></td> 354 <td>replace each pixel with its complementary color </td> 355 </tr> 356 357 <tr> 358 <td><a href="command-line-options.html#page">-page <var>geometry</var></a></td> 359 <td>size and location of an image canvas (setting)</td> 360 </tr> 361 362 <tr> 363 <td><a href="command-line-options.html#profile">-profile <var>filename</var></a></td> 364 <td>add, delete, or apply an image profile</td> 365 </tr> 366 367 <tr> 368 <td><a href="command-line-options.html#quantize">-quantize <var>colorspace</var></a></td> 369 <td>reduce image colors in this colorspace</td> 370 </tr> 371 372 <tr> 373 <td><a href="command-line-options.html#quiet">-quiet</a></td> 374 <td>suppress all warning messages</td> 375 </tr> 376 377 <tr> 378 <td><a href="command-line-options.html#raise">-raise <var>value</var></a></td> 379 <td>lighten/darken image edges to create a 3-D effect</td> 380 </tr> 381 382 <tr> 383 <td><a href="command-line-options.html#regard-warnings">-regard-warnings</a></td> 384 <td>pay attention to warning messages.</td> 385 </tr> 386 387 <tr> 388 <td><a href="command-line-options.html#remote">-remote <var>command</var></a></td> 389 <td>execute a command in an remote animate process</td> 390 </tr> 391 392 <tr> 393 <td><a href="command-line-options.html#resample">-resample <var>geometry</var></a></td> 394 <td>change the resolution of an image</td> 395 </tr> 396 397 <tr> 398 <td><a href="command-line-options.html#resize">-resize <var>geometry</var></a></td> 399 <td>resize the image</td> 400 </tr> 401 402 <tr> 403 <td><a href="command-line-options.html#respect-parentheses">-respect-parentheses</a></td> 404 <td>settings remain in effect until parenthesis boundary.</td> 405 </tr> 406 407 <tr> 408 <td><a href="command-line-options.html#roll">-roll <var>geometry</var></a></td> 409 <td>roll an image vertically or horizontally</td> 410 </tr> 411 412 <tr> 413 <td><a href="command-line-options.html#rotate">-rotate <var>degrees</var></a></td> 414 <td>apply Paeth rotation to the image</td> 415 </tr> 416 417 <tr> 418 <td><a href="command-line-options.html#sample">-sample <var>geometry</var></a></td> 419 <td>scale image with pixel sampling</td> 420 </tr> 421 422 <tr> 423 <td><a href="command-line-options.html#sampling-factor">-sampling-factor <var>geometry</var></a></td> 424 <td>horizontal and vertical sampling factor</td> 425 </tr> 426 427 <tr> 428 <td><a href="command-line-options.html#scene">-scene <var>value</var></a></td> 429 <td>image scene number</td> 430 </tr> 431 432 <tr> 433 <td><a href="command-line-options.html#segment">-segment <var>values</var></a></td> 434 <td>segment an image</td> 435 </tr> 436 437 <tr> 438 <td><a href="command-line-options.html#seed">-seed <var>value</var></a></td> 439 <td>seed a new sequence of pseudo-random numbers</td> 440 </tr> 441 442 <tr> 443 <td><a href="command-line-options.html#set">-set <var>attribute value</var></a></td> 444 <td>set an image attribute</td> 445 </tr> 446 447 <tr> 448 <td><a href="command-line-options.html#sharpen">-sharpen <var>geometry</var></a></td> 449 <td>sharpen the image</td> 450 </tr> 451 452 <tr> 453 <td><a href="command-line-options.html#size">-size <var>geometry</var></a></td> 454 <td>width and height of image</td> 455 </tr> 456 457 <tr> 458 <td><a href="command-line-options.html#strip">-strip</a></td> 459 <td>strip image of all profiles and comments</td> 460 </tr> 461 462 <tr> 463 <td><a href="command-line-options.html#thumbnail">-thumbnail <var>geometry</var></a></td> 464 <td>create a thumbnail of the image</td> 465 </tr> 466 467 <tr> 468 <td><a href="command-line-options.html#transparent-color">-transparent-color <var>color</var></a></td> 469 <td>transparent color</td> 470 </tr> 471 472 <tr> 473 <td><a href="command-line-options.html#trim">-trim</a></td> 474 <td>trim image edges</td> 475 </tr> 476 477 <tr> 478 <td><a href="command-line-options.html#update">-update <var>seconds</var></a></td> 479 <td>detect when image file is modified and reanimate</td> 480 </tr> 481 482 <tr> 483 <td><a href="command-line-options.html#verbose">-verbose</a></td> 484 <td>print detailed information about the image</td> 485 </tr> 486 487 <tr> 488 <td><a href="command-line-options.html#version">-version</a></td> 489 <td>print version information</td> 490 </tr> 491 492 <tr> 493 <td><a href="command-line-options.html#virtual-pixel">-virtual-pixel <var>method</var></a></td> 494 <td>access method for pixels outside the boundaries of the image</td> 495 </tr> 496 497 <tr> 498 <td><a href="command-line-options.html#visual">-visual</a></td> 499 <td>animate image using this visual type</td> 500 </tr> 501 502 <tr> 503 <td><a href="command-line-options.html#write">-window <var>id</var></a></td> 504 <td>animate images to background of this window</td> 505 </tr> 506 507 <tr> 508 <td><a href="command-line-options.html#write">-window-group <var>id</var></a></td> 509 <td>exit program when this window id is destroyed</td> 510 </tr> 511 512 </tbody> 513 </table> 514 </div> 515 <footer class="magick-footer"> 516 <p><a href="support.html">Donate</a> 517 <a href="sitemap.html">Sitemap</a> 518 <a href="links.html">Related</a> 519 <a href="architecture.html">Architecture</a> 520 </p> 521 <p><a href="animate.html#">Back to top</a> 522 <a href="http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x89AB63D48277377A">Public Key</a> 523 <a href="http://www.imagemagick.org/script/contact.php">Contact Us</a></p> 524 <p><small> 1999-2016 ImageMagick Studio LLC</small></p> 525 </footer> 526 </div><!-- /.container --> 527 528 <script src="https://localhost/ajax/libs/jquery/1.11.3/jquery.min.js"></script> 529 <script src="../js/magick.html"></script> 530 </div> 531 </body> 532 </html> 533