gifler

Render GIF frames to canvas

  • gifler

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
gifler
0.1.09 years ago9 years agoMinified + gzip package size for gifler in KB

Readme

Animate GIFs in canvas.
  • Loads GIF contents with XHR
  • Decodes GIF frames and pixels with omggif
  • Prepares canvas buffer for fast rendering
  • Frame-by-frame animator
Usage
<canvas class="example"></canvas>
<script src="gifler.js"></script>
<script>gifler('image.gif').animate('.example')</script>