New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gif-to-png

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gif-to-png

A cool light weight package to convert gif images to png in just one line of code. Enjoy! Waiting for your suggestions.

  • 2.0.5
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Convert GIF frames to PNG

This package allows you to directly save frames of given GIF image to your given directory as PNG image.

Getting Started

Use following command to install this package.

npm i gif-to-png --save

Let's look at the quick snippet

let generateFrames = require('gif-to-png')
let gifURL = 'https://media3.giphy.com/media/11MKLWSDvMVSp2/giphy.gif'
let outputPath = './where/you/want/frames/to/be/saved'
generateFrames(gifURL, outputPath)
.then(urls => {
  // "urls" is an array containing the full path of each frame.
  console.log('Frames generated: ', urls)
})
.catch(error => {
  console.log("Uh oh, Something went wrong. \n", error)
})

What next in the package?

Custom image names, all format support (since currently it only supports png). -- Make me know what else you want at shubham.prajapat@himanshusofttech.com --

Authors

  • Shubham Prajapat - Initial work - Let's Chat

Keywords

FAQs

Package last updated on 11 Jul 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc