diff --git a/pages/common/gifsicle.md b/pages/common/gifsicle.md index d5b5a0e61c..35fd541476 100644 --- a/pages/common/gifsicle.md +++ b/pages/common/gifsicle.md @@ -1,19 +1,19 @@ # gifsicle -> GIF manipulator. +> Create, edit, manipulate, and get information about GIF files. > More information: . - Optimize a GIF as a new file: `gifsicle {{path/to/input.gif}} --optimize=3 -o {{path/to/output.gif}}` -- Unoptimize a GIF in place: +- Use [b]atch mode (modify each given file in place) and unoptimize a GIF: `gifsicle -b {{path/to/input.gif}} --unoptimize` - Extract a frame from a GIF: -`gifsicle {{path/to/input.gif}} '#{{0}}' > {{path/to/firstframe.gif}}` +`gifsicle {{path/to/input.gif}} '#{{0}}' > {{path/to/first_frame.gif}}` - Make a GIF animation from selected GIFs: @@ -27,6 +27,6 @@ `gifsicle -b {{path/to/input.gif}} --delete '#{{0-9}}' '#{{20-}}'` -- Modify all frames of a GIF using specific transformation options: +- Modify all frames by cropping them to a rectangle, changing their scale, flipping them, and rotating them: -`gifsicle -b --crop {{50}},{{50}}+{{-50}}x{{-50}} --scale {{0.25}} --flip-horizontal --rotate-90 {{path/to/input.gif}}` +`gifsicle -b --crop {{starting_x}},{{starting_y}}+{{rect_width}}x{{rect_height}} --scale {{0.25}} --flip-horizontal --rotate-{{90|180|270}} {{path/to/input.gif}}`