1.1.1 • Published 9 years ago

gif-jam v1.1.1

Weekly downloads
1
License
ISC
Repository
github
Last release
9 years ago

GIF jam

A simple package for converting animated gif into static image represented by data URL.

Instalation

npm install gif-jam

Example

import getStaticImageDataUrl from 'gif-jam'

...

var myGifUrl = 'http://www.example.com/my.gif';

getStaticImageDataUrl(myGifUrl)

.then((staticImageUrl) => { document.getElementsByTagName('img')0.src = staticImageUrl; })

1.1.1

9 years ago

1.1.0

9 years ago

1.0.0

9 years ago