Resize an animated gif

This is really easy using the tool that is also ideal for making them — gifsicle.

An old post here shows a file called dpy4b.gif, but it is pretty large — about 6MB. Say I want to reduce it to being 100 pixels wide, and with the same aspect ratio. This is all I need:

 gifsicle --resize-width 100 > dpy4b_smaller.gif < dpy4b.gif

and now I get a file about 700kB. And quite blurry, but that’s not the point.

dpy4b_smaller

 

Otherwise.

Advertisements

Tags: , , , ,

About Darren

I'm a scientist by training, based in Australia.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: