gif2webp-docker - a docker container with REST API, will convert a GIF image to WebP.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 71fa8cb Oct 14, 2018
Permalink
Failed to load latest commit information.
test_images gif2webp as API Oct 14, 2018
Dockerfile gif2webp as API Oct 14, 2018
README.md add tips Oct 14, 2018
go.mod gif2webp as API Oct 14, 2018
go.sum gif2webp as API Oct 14, 2018
main.go gif2webp as API Oct 14, 2018
submit_gif.jpg gif2webp as API Oct 14, 2018

README.md

Webp

Description

gif2webp converts a GIF image to a WebP image.

Run

  1. Clone the repository.

  2. Build and run container:

$> sudo docker build -t gif2webp .
$> sudo docker run -it --rm -p 8080:8080 gif2webp
# You will see:
... Start gif2web server on 8080
  1. Submit a POST request to http://localhost:8080/convert?quality=30 with gif image. The quality parameter can be from 0 to 100.

The gif will be converted to webp and sended in response.

Tips

BTC - 19SYMA2hqRZHRSL4di35Uf7jV87KBKc9bf

ETH - 0xD7cc10f0d70Fd8f9fB83D4eF9250Fc9201981e3a