1.0.0 • Published 2 years ago
webp2png v1.0.0
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 graphicsmagickthen either use npm:
npm install gmor 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