0.1.2 • Published 8 years ago

gif-to-apng v0.1.2

Weekly downloads
189
License
MIT
Repository
-
Last release
8 years ago

🖼 gif-to-apng

Convert a gif to apng

This module is a simple wrapper around gif2apng since i coudln't find any other modules for creating apng in node.

Install

yarn add gif-to-apng

Use

const toApng = require('gif-to-apng')

toApng('path/to/image.gif')
  .then(() => console.log('Done 🎉'))
  .catch(error => console.log('Something went wrong 💀', error))

API

toApng(source, output)

Convert a .gif to apng

source

Type: string

Path to the gif you want to convert

output

Type: string

Optional path to output file, defaults to source with .png extension

Credits

gif2apng made by Max Stepin

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago