webp2png
v1.0.0
Published
CLI to easily convert .webp image file to .png
Downloads
1
Maintainers
Readme
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