0.1.0 • Published 9 years ago

gifler v0.1.0

Weekly downloads
536
License
Apache-2.0
Repository
-
Last release
9 years ago

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>