kohler / gifsicle

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

A way to set borders? #121

Open edouardmercier opened 6 years ago

edouardmercier commented 6 years ago

Hello.

First of all, congratulations for your admirable work.

I've been digging the documentation but could not find a way to introduce transparent or single color borders when resizing an animated GIF image. The --resize, --resize-touch, --resize-fit options can actually change the output image, the --positionenables to change the frame position, but I could not find a way to keep the original image aspect ratio and add borders to the desired dimension output image.

Did I miss something, is it feasible, please? Or is there any recipe for doing this?

Thank you for your support.

isage commented 6 years ago

Same here. I really need this feature to switch over from ImageMagick.