Skip to content

Commit

Permalink
Add webp to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
reinink committed Dec 22, 2018
1 parent 66d1972 commit 72430fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/1.0/api/encode.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.