项目作者: saantiaguilera

项目描述 :
Encoder for webp images. Transforms png/jpg/etc to webp in a directory
高级语言: Shell
项目地址: git://github.com/saantiaguilera/bash-api-img2webp.git
创建时间: 2017-05-09T20:02:31Z
项目社区:https://github.com/saantiaguilera/bash-api-img2webp

开源协议:

下载


WEBP Encoder

Description

This repo is an encoder for webp format. In a given directory it will look for all png/jpg/jpeg/etc images and create their mirrors in webp format. Useful for migrating a lot of images to webp in a simple way

This repository uses google webp encoder api.

Use

  1. Run ./install.sh
  2. Run ./img2webp.sh "DIRECTORY"

Notes:

  • Only works for UNIX based systems. Still, it should be easy to port it to cygwin systems.
  • If you want to customize the encoding, please open img2webp.sh and feel free to customize it as you please, its fairly simple.