Skip to content
Permalink
Browse files

Add webp to docs

  • Loading branch information...
reinink committed Dec 22, 2018
1 parent 66d1972 commit 72430fbdb446c754910f0bab97e1ef14baab1e80
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/1.0/api/encode.md
@@ -18,10 +18,10 @@ Defines the quality of the image. Use values between `0` and `100`. Defaults to

## Format `fm`

Encodes the image to a specific format. Accepts `jpg`, `pjpg` (progressive jpeg), `png` or `gif`. Defaults to `jpg`.
Encodes the image to a specific format. Accepts `jpg`, `pjpg` (progressive jpeg), `png`, `gif` or `webp`. Defaults to `jpg`.

~~~ html
<img src="kayaks.jpg?w=500&fm=gif">
~~~

[![© Photo Joel Reynolds](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&fm=gif)](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&fm=gif)
[![© Photo Joel Reynolds](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&fm=gif)](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&fm=gif)

0 comments on commit 72430fb

Please sign in to comment.
You can’t perform that action at this time.