PageRenderTime 54ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

/ImageMagick/script/animate.html

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