kohler / gifsicle

Create, manipulate, and optimize GIF images and animations
http://www.lcdf.org/gifsicle/
GNU General Public License v2.0
3.73k stars 236 forks source link

Save multiple frames with one command #167

Closed AnatolyArt closed 3 years ago

AnatolyArt commented 3 years ago

Is it possible to save 3 different frames to different files with one command, since the file is large, it takes a long time to call command 3 times. Perhaps one command will be faster. something like: gifsicle -U 1.gif '#3' > result.gif & '#13' > result2.gif & '#31' > result3.gif

AnatolyArt commented 3 years ago

Help anyone ?

kohler commented 3 years ago

You can do something like this with the --explode option, which will save ALL frames to programmatically-determined names (like 1.gif.000, 1.gif.001, etc.)