Options (8)
-ObooleanOptimize a GIF as a new file
Example:
gifsicle {{path/to/input.gif}} {{[-O|--optimize=]}}3 {{[-o|--output]}} {{path/to/output.gif}}-o, --outputbooleanOptimize a GIF as a new file
Example:
gifsicle {{path/to/input.gif}} {{[-O|--optimize=]}}3 {{[-o|--output]}} {{path/to/output.gif}}-b, --batchbooleanUse batch mode (modify each given file in place) and unoptimize a GIF
Example:
gifsicle {{[-b|--batch]}} {{path/to/input.gif}} {{[-U|--unoptimize]}}-U, --unoptimizebooleanUse batch mode (modify each given file in place) and unoptimize a GIF
Example:
gifsicle {{[-b|--batch]}} {{path/to/input.gif}} {{[-U|--unoptimize]}}-d, --delaybooleanMake a GIF animation from selected GIFs
Example:
gifsicle {{*.gif}} {{[-d|--delay]}} {{10}} {{[-l|--loop]}} > {{path/to/output.gif}}-l, --loopbooleanMake a GIF animation from selected GIFs
Example:
gifsicle {{*.gif}} {{[-d|--delay]}} {{10}} {{[-l|--loop]}} > {{path/to/output.gif}}-k, --colorsbooleanReduce file size using lossy compression
Example:
gifsicle {{[-b|--batch]}} {{path/to/input.gif}} {{[-O|--optimize=]}}3 --lossy={{100}} {{[-k|--colors]}} {{16}} {{[-f|--dither]}}-f, --ditherbooleanReduce file size using lossy compression
Example:
gifsicle {{[-b|--batch]}} {{path/to/input.gif}} {{[-O|--optimize=]}}3 --lossy={{100}} {{[-k|--colors]}} {{16}} {{[-f|--dither]}}Examples (7)
Optimize a GIF as a new file
gifsicle path/to/input.gif [-O|--optimize=]3 [-o|--output] path/to/output.gifUse batch mode (modify each given file in place) and unoptimize a GIF
gifsicle [-b|--batch] path/to/input.gif [-U|--unoptimize]Extract a frame from a GIF
gifsicle path/to/input.gif '#0' > path/to/first_frame.gifMake a GIF animation from selected GIFs
gifsicle *.gif [-d|--delay] 10 [-l|--loop] > path/to/output.gifReduce file size using lossy compression
gifsicle [-b|--batch] path/to/input.gif [-O|--optimize=]3 --lossy=100 [-k|--colors] 16 [-f|--dither]Delete the first 10 frames and all frames after frame 20 from a GIF
gifsicle [-b|--batch] path/to/input.gif --delete '#0-9' '#20-'Modify all frames by cropping them to a rectangle, changing their scale, flipping them, and rotating them
gifsicle [-b|--batch] --crop starting_x,starting_y+rect_widthxrect_height --scale 0.25 --flip-horizontal --rotate-90|180|270 path/to/input.gifmade by @shridhargupta | data from tldr-pages