2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
\r
3 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
\r
4 <html version="-//W3C//DTD XHTML 1.1//EN"
\r
5 xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
\r
6 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
\r
7 xsi:schemaLocation="http://www.w3.org/1999/xhtml
\r
8 http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd">
\r
10 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
\r
11 <meta name="verify-v1" content="g222frIIxcQTrvDR3NBRUSKP3AnMNoqxOkIniCEkV7U="/>
\r
12 <title>ImageMagick: Command-line Tools: Animate</title>
13 <meta http-equiv="Content-Language" content="en-US"/>
14 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
15 <meta http-equiv="Reply-to" content="magick-users@imagemagick.org"/>
16 <meta name="Application-name" content="ImageMagick"/>
17 <meta name="Description" content="Use ImageMagick to convert, edit, or compose bitmap images in a variety of formats. In addition resize, rotate, shear, distort and transform images."/>
18 <meta name="Application-url" content="http://www.imagemagick.org"/>
19 <meta name="Generator" content="PHP"/>
20 <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"/>
21 <meta name="Rating" content="GENERAL"/>
22 <meta name="Robots" content="INDEX, FOLLOW"/>
23 <meta name="Generator" content="ImageMagick Studio LLC"/>
24 <meta name="Author" content="ImageMagick Studio LLC"/>
25 <meta name="Revisit-after" content="2 DAYS"/>
26 <meta name="Resource-type" content="document"/>
27 <meta name="Copyright" content="Copyright (c) 1999-2011 ImageMagick Studio LLC"/>
28 <meta name="Distribution" content="Global"/>
29 <link rel="icon" href="../images/wand.png"/>
30 <link rel="shortcut icon" href="../images/wand.ico" type="images/x-icon"/>
31 <link rel="meta" type="application/rdf+xml" title="ICI" href="http://imagemagick.org/ici.rdf"/>
\r
32 <link rel="stylesheet" href="http://www.google.com/cse/style/look/default.css" type="text/css" />
\r
33 <style type="text/css" media="all">
\r
34 @import url("../www/magick.css");
\r
36 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
\r
37 <script type="text/javascript" src="../fancybox/jquery.fancybox-1.3.4.pack.js"></script>
\r
38 <link rel="stylesheet" type="text/css" href="../fancybox/jquery.fancybox-1.3.4.css" media="screen" />
\r
39 <script type="text/javascript">
\r
40 $(document).ready(function() {
\r
41 $("a[href$=.jpg],a[href$=.png],a[href$=.gif]").fancybox({
\r
42 'transitionIn' : 'elastic',
\r
43 'transitionOut' : 'elastic',
\r
44 'overlayShow' : false,
\r
51 <body id="www-imagemagick-org">
\r
52 <div class="titlebar">
\r
53 <a href="../index.html">
\r
54 <img src="../images/script.png" alt="[ImageMagick]"
\r
55 style="width: 350px; height: 60px; margin: 28px auto; float: left;" /></a>
\r
56 <a href="http://www.networkredux.com">
\r
57 <img src="../images/networkredux.png" alt="[sponsor]"
\r
58 style="margin-top: 42px; border: 0px; float: left;" /></a>
\r
59 <a href="http://www.imagemagick.org/discourse-server/">
\r
60 <img src="../images/logo.jpg"
\r
61 alt="ImageMagick Logo"
\r
62 style="width: 123px; height: 118px; border: 0px; float: right;" /></a>
\r
63 <a href="../index.html">
\r
64 <img src="../images/sprite.jpg"
\r
65 alt="ImageMagick Sprite"
\r
66 style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
\r
69 <div class="westbar">
\r
72 <a title="About ImageMagick" href="../index.html">About ImageMagick</a>
74 <div class="sep"></div>
\r
76 <a title="Binary Releases" href="../www/binary-releases.html">Binary Releases</a>
79 <a title="Binary Release: Unix" href="../www/binary-releases.html#unix">Unix</a>
82 <a title="Binary Release: MacOS X" href="../www/binary-releases.html#macosx">Mac OS X</a>
85 <a title="Binary Release: Windows" href="../www/binary-releases.html#windows">Windows</a>
87 <div class="sep"></div>
\r
89 <a title="Command-line Tools" href="../www/command-line-tools.html">Command-line Tools</a>
92 <a title="Command-line Tools: Processing" href="../www/command-line-processing.html">Processing</a>
95 <a title="Command-line Tools: Options" href="../www/command-line-options.html">Options</a>
98 <a title="Command-line Tools: Usage" href="http://www.imagemagick.org/Usage/">Usage</a>
101 <a title="Program Interfaces" href="../www/api.html">Program Interfaces</a>
104 <a title="Program Interface: MagickWand" href="../www/magick-wand.html">MagickWand</a>
107 <a title="Program Interface: MagickCore" href="../www/magick-core.html">MagickCore</a>
110 <a title="Program Interface: PerlMagick" href="../www/perl-magick.html">PerlMagick</a>
113 <a title="Program Interface: Magick++" href="../www/magick++.html">Magick++</a>
115 <div class="sep"></div>
\r
117 <a title="Install from Source" href="../www/install-source.html">Install from Source</a>
120 <a title="Install from Source: Unix" href="../www/install-source.html#unix">Unix</a>
123 <a title="Install from Source: Windows" href="../www/install-source.html#windows">Windows</a>
126 <a title="Resources" href="../www/resources.html">Resources</a>
129 <a title="Architecture" href="../www/architecture.html">Architecture</a>
132 <a title="Download" href="../www/download.html">Download</a>
134 <div class="sep"></div>
\r
136 <a title="Search" href="../www/search.html">Search</a>
138 <div class="sep"></div>
\r
140 <a title="Site Map" href="../www/sitemap.html">Site Map</a>
143 <a title="Site Map: Links" href="../www/links.html">Links</a>
145 <div class="sep"></div>
\r
147 <a title="Sponsors" href="../www/sponsors.html">Sponsors:</a>
149 <div class="sponsbox">
150 <div class="sponsor">
151 <a title="Sponsor: Best Web Hosting" href="http://webhostinggeeks.com">Best Web Hosting</a><!-- 201110010720 -->
153 <div class="sponsor">
154 <a title="Sponsor: Web Hosting Ratings" href="http://webhostingrating.com">Web Hosting Ratings</a><!-- 201110010720 -->
156 <div class="sponsor">
157 <a title="Sponsor: Druckerei" href="http://www.allesdruck.de">Druckerei</a><!-- 201107010240 r.leo -->
159 <div class="sponsor">
160 <a title="Sponsor: Web Hosting" href="http://www.bodhost.com/hosting.shtml">Web Hosting</a><!-- 201104010090 -->
162 <div class="sponsor">
163 <a title="Sponsor: Image Converter" href="http://www.batchphoto.com">Image Converter</a><!-- 201103010900 Bits Coffee-->
165 <div class="sponsor">
166 <a title="Sponsor: Flyer drucken" href="http://www.online-druck.biz">Flyer drucken</a><!-- 201109010900 Floeter-->
168 <div class="sponsor">
169 <a title="Sponsor: Druckerei" href="http://print24.com/de/">Druckerei</a><!-- 201110010720 -->
171 <div class="sponsor">
172 <a title="Sponsor: Fernsehdienst Berlin" href="http://www.atlas-multimedia.de">Fernsehdienst Berlin</a><!-- 2011050100025 atlas.multimedia-->
178 <div class="eastbar">
\r
179 <script type="text/javascript">
\r
181 google_ad_client = "pub-3129977114552745";
\r
182 google_ad_slot = "0574824969";
\r
183 google_ad_width = 160;
\r
184 google_ad_height = 600;
\r
187 <script type="text/javascript"
\r
188 src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
\r
194 <h1>ImageMagick Animate Command-line Tool</h1>
195 <p class="navigation-index">[<a href="#usage">Example Usage</a> • <a href="#options">Option Summary</a>]</p>
197 <div class="doc-section">
198 <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>
201 <h2><a id="usage"></a>Example Usage</h2>
203 <div class="doc-section">
204 <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>
206 <p class='crt'><span class="crtprompt"> $magick> </span><span class='crtin'>animate movie.gif</span></p>
207 <p>To animate a directory of JPEG images, use:</p>
209 <p class='crt'><span class="crtprompt"> $magick> </span><span class='crtin'>animate *.jpg</span></p>
210 <p>You can find additional examples of using <kbd>animate</kbd> in <a href="http://www.imagemagick.org/Usage/basics/#animate">Examples of ImageMagick Usage</a>.</p>
214 <h2><a id="options"></a>Option Summary</h2>
215 <div class="doc-section">
217 <p>The <kbd>animate</kbd> command recognizes these options. Click on an option to get more details about how that option works.</p>
222 <th align="left">Option</th>
223 <th align="left">Description</th>
227 <td valign="top"><a href="../www/command-line-options.html#alpha">-alpha</a></td>
228 <td valign="top">on, activate, off, deactivate, set, opaque, copy",
229 transparent, extract, background, or shape the alpha channel</td>
233 <td valign="top"><a href="../www/command-line-options.html#antialias">-antialias</a></td>
234 <td valign="top">remove pixel-aliasing</td>
238 <td valign="top"><a href="../www/command-line-options.html#authenticate">-authenticate <em class="option">value</em></a></td>
239 <td valign="top">decrypt image with this password</td>
243 <td valign="top"><a href="../www/command-line-options.html#backdrop">-backdrop</a></td>
244 <td valign="top">background color</td>
248 <td valign="top"><a href="../www/command-line-options.html#background">-background <em class="option">color</em></a></td>
249 <td valign="top">background color</td>
253 <td valign="top"><a href="../www/command-line-options.html#border">-border <em class="option">geometry</em></a></td>
254 <td valign="top">surround image with a border of color</td>
258 <td valign="top"><a href="../www/command-line-options.html#bordercolor">-bordercolor <em class="option">color</em></a></td>
259 <td valign="top">border color</td>
263 <td valign="top"><a href="../www/command-line-options.html#channel">-channel <em class="option">type</em></a></td>
264 <td valign="top">apply option to select image channels</td>
268 <td valign="top"><a href="../www/command-line-options.html#clip">-clip</a></td>
269 <td valign="top">clip along the first path from the 8BIM profile</td>
273 <td valign="top"><a href="../www/command-line-options.html#clip-path">-clip-path <em class="option">id</em></a></td>
274 <td valign="top">clip along a named path from the 8BIM profile</td>
278 <td valign="top"><a href="../www/command-line-options.html#coalesce">-coalesce</a></td>
279 <td valign="top">merge a sequence of images</td>
283 <td valign="top"><a href="../www/command-line-options.html#colormap">-colormap <em class="option">type</em></a></td>
284 <td valign="top">Shared or Private</td>
288 <td valign="top"><a href="../www/command-line-options.html#colors">-colors <em class="option">value</em></a></td>
289 <td valign="top">preferred number of colors in the image</td>
293 <td valign="top"><a href="../www/command-line-options.html#colorspace">-colorspace <em class="option">type</em></a></td>
294 <td valign="top">set image colorspace</td>
298 <td valign="top"><a href="../www/command-line-options.html#comment">-comment <em class="option">string</em></a></td>
299 <td valign="top">annotate image with comment</td>
303 <td valign="top"><a href="../www/command-line-options.html#compress">-compress <em class="option">type</em></a></td>
304 <td valign="top">image compression type</td>
308 <td valign="top"><a href="../www/command-line-options.html#contrast">-contrast</a></td>
309 <td valign="top">enhance or reduce the image contrast</td>
313 <td valign="top"><a href="../www/command-line-options.html#crop">-crop <em class="option">geometry</em></a></td>
314 <td valign="top">preferred size and location of the cropped image</td>
318 <td valign="top"><a href="../www/command-line-options.html#debug">-debug <em class="option">events</em></a></td>
319 <td valign="top">animate copious debugging information</td>
323 <td valign="top"><a href="../www/command-line-options.html#decipher">-decipher <em class="option">filename</em></a></td>
324 <td valign="top">convert cipher pixels to plain</td>
328 <td valign="top"><a href="../www/command-line-options.html#define">-define <em class="option">format:option</em></a></td>
329 <td valign="top">define one or more image format options</td>
333 <td valign="top"><a href="../www/command-line-options.html#delay">-delay <em class="option">value</em></a></td>
334 <td valign="top">animate the next image after pausing</td>
338 <td valign="top"><a href="../www/command-line-options.html#density">-density <em class="option">geometry</em></a></td>
339 <td valign="top">horizontal and vertical density of the image</td>
343 <td valign="top"><a href="../www/command-line-options.html#depth">-depth <em class="option">value</em></a></td>
344 <td valign="top">image depth</td>
348 <td valign="top"><a href="../www/command-line-options.html#despeckle">-despeckle</a></td>
349 <td valign="top">reduce the speckles within an image</td>
353 <td valign="top"><a href="../www/command-line-options.html#animate">-display <em class="option">server</em></a></td>
354 <td valign="top">get image or font from this X server</td>
358 <td valign="top"><a href="../www/command-line-options.html#dispose">-dispose <em class="option">method</em></a></td>
359 <td valign="top">layer disposal method</td>
363 <td valign="top"><a href="../www/command-line-options.html#dither">-dither <em class="option">method</em></a></td>
364 <td valign="top">apply error diffusion to image</td>
368 <td valign="top"><a href="../www/command-line-options.html#edge">-edge <em class="option">radius</em></a></td>
369 <td valign="top">apply a filter to detect edges in the image</td>
373 <td valign="top"><a href="../www/command-line-options.html#endian">-endian <em class="option">type</em></a></td>
374 <td valign="top">endianness (MSB or LSB) of the image</td>
378 <td valign="top"><a href="../www/command-line-options.html#enhance">-enhance</a></td>
379 <td valign="top">apply a digital filter to enhance a noisy image</td>
383 <td valign="top"><a href="../www/command-line-options.html#extract">-extract <em class="option">geometry</em></a></td>
384 <td valign="top">extract area from image</td>
388 <td valign="top"><a href="../www/command-line-options.html#filter">-filter <em class="option">type</em></a></td>
389 <td valign="top">use this filter when resizing an image</td>
393 <td valign="top"><a href="../www/command-line-options.html#flatten">-flatten</a></td>
394 <td valign="top">flatten a sequence of images</td>
398 <td valign="top"><a href="../www/command-line-options.html#flip">-flip</a></td>
399 <td valign="top">flip image in the vertical direction</td>
403 <td valign="top"><a href="../www/command-line-options.html#flop">-flop</a></td>
404 <td valign="top">flop image in the horizontal direction</td>
408 <td valign="top"><a href="../www/command-line-options.html#frame">-frame <em class="option">geometry</em></a></td>
409 <td valign="top">surround image with an ornamental border</td>
413 <td valign="top"><a href="../www/command-line-options.html#gamma">-gamma <em class="option">value</em></a></td>
414 <td valign="top">level of gamma correction</td>
418 <td valign="top"><a href="../www/command-line-options.html#geometry">-geometry <em class="option">geometry</em></a></td>
419 <td valign="top">preferred size or location of the image</td>
423 <td valign="top"><a href="../www/command-line-options.html#gravity">-gravity <em class="option">geometry</em></a></td>
424 <td valign="top">horizontal and vertical backdrop placement</td>
428 <td valign="top"><a href="../www/command-line-options.html#help">-help</a></td>
429 <td valign="top">print program options</td>
433 <td valign="top"><a href="../www/command-line-options.html#identify">-identify</a></td>
434 <td valign="top">identify the format and characteristics of the image</td>
438 <td valign="top"><a href="../www/command-line-options.html#immutable">-immutable <em class="option">type</em></a></td>
439 <td valign="top">prohibit image edits</td>
443 <td valign="top"><a href="../www/command-line-options.html#interlace">-interlace <em class="option">type</em></a></td>
444 <td valign="top">type of image interlacing scheme</td>
448 <td valign="top"><a href="../www/command-line-options.html#interpolate">-interpolate <em class="option">method</em></a></td>
449 <td valign="top">pixel color interpolation method</td>
453 <td valign="top"><a href="../www/command-line-options.html#label">-label <em class="option">name</em></a></td>
454 <td valign="top">assign a label to an image</td>
458 <td valign="top"><a href="../www/command-line-options.html#limit">-limit <em class="option">type value</em></a></td>
459 <td valign="top">pixel cache resource limit</td>
463 <td valign="top"><a href="../www/command-line-options.html#log">-log <em class="option">format</em></a></td>
464 <td valign="top">format of debugging information</td>
468 <td valign="top"><a href="../www/command-line-options.html#map">-map <em class="option">filename</em></a></td>
469 <td valign="top">transform image colors to match this set of colors</td>
473 <td valign="top"><a href="../www/command-line-options.html#mattecolor">-mattecolor <em class="option">color</em></a></td>
474 <td valign="top">frame color</td>
478 <td valign="top"><a href="../www/command-line-options.html#monitor">-monitor</a></td>
479 <td valign="top">monitor progress</td>
483 <td valign="top"><a href="../www/command-line-options.html#monochrome">-monochrome</a></td>
484 <td valign="top">transform image to black and white</td>
488 <td valign="top"><a href="../www/command-line-options.html#negate">-negate</a></td>
489 <td valign="top">replace each pixel with its complementary color </td>
493 <td valign="top"><a href="../www/command-line-options.html#page">-page <em class="option">geometry</em></a></td>
494 <td valign="top">size and location of an image canvas (setting)</td>
498 <td valign="top"><a href="../www/command-line-options.html#profile">-profile <em class="option">filename</em></a></td>
499 <td valign="top">add, delete, or apply an image profile</td>
503 <td valign="top"><a href="../www/command-line-options.html#quantize">-quantize <em class="option">colorspace</em></a></td>
504 <td valign="top">reduce image colors in this colorspace</td>
508 <td valign="top"><a href="../www/command-line-options.html#quiet">-quiet</a></td>
509 <td valign="top">suppress all warning messages</td>
513 <td valign="top"><a href="../www/command-line-options.html#raise">-raise <em class="option">value</em></a></td>
514 <td valign="top">lighten/darken image edges to create a 3-D effect</td>
518 <td valign="top"><a href="../www/command-line-options.html#regard-warnings">-regard-warnings</a></td>
519 <td valign="top">pay attention to warning messages.</td>
523 <td valign="top"><a href="../www/command-line-options.html#remote">-remote <em class="option">command</em></a></td>
524 <td valign="top">execute a command in an remote animate process</td>
528 <td valign="top"><a href="../www/command-line-options.html#resample">-resample <em class="option">geometry</em></a></td>
529 <td valign="top">change the resolution of an image</td>
533 <td valign="top"><a href="../www/command-line-options.html#resize">-resize <em class="option">geometry</em></a></td>
534 <td valign="top">resize the image</td>
538 <td valign="top"><a href="../www/command-line-options.html#respect-parentheses">-respect-parentheses</a></td>
539 <td valign="top">settings remain in effect until parenthesis boundary.</td>
543 <td valign="top"><a href="../www/command-line-options.html#roll">-roll <em class="option">geometry</em></a></td>
544 <td valign="top">roll an image vertically or horizontally</td>
548 <td valign="top"><a href="../www/command-line-options.html#rotate">-rotate <em class="option">degrees</em></a></td>
549 <td valign="top">apply Paeth rotation to the image</td>
553 <td valign="top"><a href="../www/command-line-options.html#sample">-sample <em class="option">geometry</em></a></td>
554 <td valign="top">scale image with pixel sampling</td>
558 <td valign="top"><a href="../www/command-line-options.html#sampling-factor">-sampling-factor <em class="option">geometry</em></a></td>
559 <td valign="top">horizontal and vertical sampling factor</td>
563 <td valign="top"><a href="../www/command-line-options.html#scene">-scene <em class="option">value</em></a></td>
564 <td valign="top">image scene number</td>
568 <td valign="top"><a href="../www/command-line-options.html#segment">-segment <em class="option">values</em></a></td>
569 <td valign="top">segment an image</td>
573 <td valign="top"><a href="../www/command-line-options.html#seed">-seed <em class="option">value</em></a></td>
574 <td valign="top">seed a new sequence of pseudo-random numbers</td>
578 <td valign="top"><a href="../www/command-line-options.html#set">-set <em class="option">attribute value</em></a></td>
579 <td valign="top">set an image attribute</td>
583 <td valign="top"><a href="../www/command-line-options.html#sharpen">-sharpen <em class="option">geometry</em></a></td>
584 <td valign="top">sharpen the image</td>
588 <td valign="top"><a href="../www/command-line-options.html#size">-size <em class="option">geometry</em></a></td>
589 <td valign="top">width and height of image</td>
593 <td valign="top"><a href="../www/command-line-options.html#strip">-strip</a></td>
594 <td valign="top">strip image of all profiles and comments</td>
598 <td valign="top"><a href="../www/command-line-options.html#thumbnail">-thumbnail <em class="option">geometry</em></a></td>
599 <td valign="top">create a thumbnail of the image</td>
603 <td valign="top"><a href="../www/command-line-options.html#transparent-color">-transparent-color <em class="option">color</em></a></td>
604 <td valign="top">transparent color</td>
608 <td valign="top"><a href="../www/command-line-options.html#trim">-trim</a></td>
609 <td valign="top">trim image edges</td>
613 <td valign="top"><a href="../www/command-line-options.html#update">-update <em class="option">seconds</em></a></td>
614 <td valign="top">detect when image file is modified and reanimate</td>
618 <td valign="top"><a href="../www/command-line-options.html#verbose">-verbose</a></td>
619 <td valign="top">print detailed information about the image</td>
623 <td valign="top"><a href="../www/command-line-options.html#version">-version</a></td>
624 <td valign="top">print version information</td>
628 <td valign="top"><a href="../www/command-line-options.html#virtual-pixel">-virtual-pixel <em class="option">method</em></a></td>
629 <td valign="top">access method for pixels outside the boundaries of the image</td>
633 <td valign="top"><a href="../www/command-line-options.html#visual">-visual</a></td>
634 <td valign="top">animate image using this visual type</td>
638 <td valign="top"><a href="../www/command-line-options.html#write">-window <em class="option">id</em></a></td>
639 <td valign="top">animate images to background of this window</td>
643 <td valign="top"><a href="../www/command-line-options.html#write">-window-group <em class="option">id</em></a></td>
644 <td valign="top">exit program when this window id is destroyed</td>
654 <span id="linkbar-west"> </span>
\r
655 <span id="linkbar-center">
\r
656 <a href="http://www.imagemagick.org/discourse-server/">Discourse Server</a> •
\r
657 <a href="http://www.imagemagick.org/MagickStudio/scripts/MagickStudio.cgi">Studio</a>
\r
659 <span id="linkbar-east"> </span>
\r
661 <div class="footer">
\r
662 <span id="footer-west">© 1999-2011 ImageMagick Studio LLC</span>
\r
663 <span id="footer-east"> <a href="http://www.imagemagick.org/script/contact.php">Contact the Wizards</a></span>
\r
665 <div style="clear: both; margin: 0; width: 100%; "></div>
\r
666 <script type="text/javascript">
\r
667 var _gaq = _gaq || [];
\r
668 _gaq.push(['_setAccount', 'UA-17690367-1']);
\r
669 _gaq.push(['_trackPageview']);
\r
672 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
\r
673 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
\r
674 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
\r