Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattvh/gifnuke
It's high time a certain antiquated image format was nuked from orbit. This command helps you convert animations to faster-loading WebM files.
https://github.com/mattvh/gifnuke
Last synced: 5 days ago
JSON representation
It's high time a certain antiquated image format was nuked from orbit. This command helps you convert animations to faster-loading WebM files.
- Host: GitHub
- URL: https://github.com/mattvh/gifnuke
- Owner: mattvh
- Created: 2014-04-27T04:11:51.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-04-28T05:16:48.000Z (over 7 years ago)
- Last Synced: 2024-10-05T11:45:54.493Z (about 1 month ago)
- Language: JavaScript
- Size: 1.85 MB
- Stars: 11
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
It's high time a certain antiquated image format was nuked from orbit. This command helps you convert animations to faster-loading WebM files. Modern video formats not only produce much smaller files, which are easily loopable with an HTML `` element, but they also load progressively without the "slow mo" effect.
Want to see it in action? http://mattvh.github.io/gifnuke/
1.7M dealwithit.gif
94K dealwithit.webm
141K dealwithit.mp4# Installation
Note: Before installing GIFnuke, you must have ffmpeg installed and compiled with the `--enable-libvpx` option, in order to enable WebM encoding.
npm install gifnuke -g
Or:
git clone https://github.com/redwallhp/gifnuke.git
cd gifnuke
npm install
npm link# Converting an image
Run GIFnuke on an input GIF, and specify a name for the converted file. After the gears in your computer whir for awhile, you should get a shiny new .webm file in the directory you ran it in.
gifnuke badformat/myimage.gif myimage
gifnuke http://example.org/myimage.gif myimageIf you're converting a fancy GIF using that transparent partial-frame voodoo to reduce file size, you may need to run GIFnuke with the `--coalesce` flag. This requires that you have Imagemagick installed, as it takes advantage of the `convert` command to preprocess the GIF.
# Convert an image with frame coalescing
gifnuke badformat/myimage.gif myimage --coalesce# License
The contents of this repository are licensed under the [GNU Public License.](http://www.gnu.org/licenses/gpl-3.0.html)