gmickel / giffer-thumbnail

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

giffer-thumbnail

Plugin for giffer to automatically generate thumbnails for downloaded GIFs.

Usage

Install plugin like this: giffer.plugin(require('giffer-thumbnail'), opts)

opts can be:

  • outputDir: where to save the thumbnail (name is the same)
  • width: absolute width in pixels
  • height: absolute height in pixels
  • resizeOpts: as described here

Running the tests

npm test

About


Languages

Language:JavaScript 100.0%