webp2png

1.0.0 • Public • Published

webp2png

A very little command line to convert .webp to any supported format by GraphicsMagick.

Requirements

As the Command Line uses the dependency gm (GraphicsMagick), you have to follow the installation instructions

First download and install GraphicsMagick or ImageMagick. In Mac OS X, you can simply use Homebrew and do:

brew install imagemagick
brew install graphicsmagick

then either use npm:

npm install gm

or clone the repo:

git clone git://github.com/aheckmann/gm.git

webp2png Command Line

Simply open a terminal and type the following command :

webp2png '/path/to/webp/file.webp' '/path/to/output/file.png'

The GraphicsMagick will automatically convert in the expected file using extension. Currently, this command line has no option to customize gm

Example in terminal from the project root folder :

webp2png ../test/LOGO-UIPATH-850.webp ../test/LOGO-UIPATH-850.png

/webp2png/

    Package Sidebar

    Install

    npm i webp2png

    Weekly Downloads

    9

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    22.1 kB

    Total Files

    5

    Last publish

    Collaborators

    • neooblaster