반응형
    
    
    
  Gif.js — JavaScript GIF encoding
Gif.js is a full-featured GIF encoder built in JavaScript that runs in your browser. Images are generated in the background using web workers.
Full-featured JavaScript GIF encoder that runs in your browser.
Usage
var gif = new GIF({
  workers: 2,
  quality: 10
});
// add a image element
gif.addFrame(imageElement);
// or a canvas element
gif.addFrame(canvasElement, {delay: 200});
// or copy the pixels from a canvas context
gif.addFrame(ctx, {copy: true});
gif.on('finished', function(blob) {
  window.open(URL.createObjectURL(blob));
});
gif.render();반응형
    
    
    
  '프로그래밍 > Script' 카테고리의 다른 글
| [JQuery] Best jQuery Chart Libraries for Building Interactive Charts (0) | 2013.06.24 | 
|---|---|
| [Design] Ultimate Guide to Flat Website Design (0) | 2013.06.24 | 
| [APP] Android example app with PhoneGap and JQM in Holo style (0) | 2013.06.20 | 
| energize.js - A tiny JavaScript snippet to make links snappy on touch devices (0) | 2013.06.20 | 
| React — A JavaScript UI library (0) | 2013.06.20 | 

