Giter VIP home page Giter VIP logo

gifme's Introduction

gifme

pug

Fucking animations. You need them.

gifme is a simple command line tool to generate animated GIFs.

Installation

Install gifme:

gem install gifme

You'll also need to install ImageMagick. On OS X, this is easy using Homebrew:

brew install imagemagick

Usage

gifme ~/Desktop/1.png ~/Desktop/2.png
You now have a handsome animation at ~/Desktop/animated.gif

You can also glob, of course:

gifme ~/Desktop/*.jpg
You now have a handsome animation at ~/Desktop/animated.gif

CloudApp

Once your animation is finished up, we'll try to upload it to CloudApp. If you have my cloudapp script installed, we'll use that, otherwise we'll just skip this whole step.

Super Advanced Usage

On some gifs, it's nice to have a smooth loop, so when it ends there's not a jarring leap from the last frame to the first frame again. Use the --reverse switch to create the animation like normal, and then reverse the frames and add them to the animation so it looks like one smooth motion and back again.

gifme FILES --reverse

If you pass in a URL of a gif instead of FILES, we'll download that gif, split it into its constituent frames, and let you recreate it. For example, you could take a gif you find online and give it that --reverse look:

gifme http://tumblr.com/some-crazy.gif --reverse

You can also resize shit. We default to 500 pixels, but do whatever the fuck you want.

gifme http://tumblr.com/some-crazy.gif --width=1000

For other options, check out the help:

gifme -h

History

If you're curious, gifme was initially a few-line shell script in my dotfiles. Eventually it became clear that animation is a fundamental part of our society, and I split it out into its own tiny project.

If you're curious, I featured the older gifme version in a screencast I made that describes how animated gifs are an integral part of working at GitHub.

Much Love

From @holman. I love you.

gifme's People

Contributors

holman avatar shakaran avatar aw avatar eric avatar

Watchers

Boris Goriachev avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.