summaryrefslogtreecommitdiff
path: root/vendor/league/glide/docs/0.3/api/adjustments.md
blob: a4cdf13937f62501b3e5d5eb89597195345d88c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
layout: default
title: Adjustments
---

# Adjustments

## Brightness `bri`

Adjusts the image brightness. Use values between `-100` and `+100`, where `0` represents no change.

~~~ html
<img src="kayaks.jpg?w=500&bri=-25">
~~~

[![© Photo Joel Reynolds](https://glide.herokuapp.com/0.3/kayaks.jpg?w=500&bri=-25)](https://glide.herokuapp.com/0.3/kayaks.jpg?w=500&bri=-25)

## Contrast `con`

Adjusts the image contrast. Use values between `-100` and `+100`, where `0` represents no change.

~~~ html
<img src="kayaks.jpg?w=500&con=25">
~~~

[![© Photo Joel Reynolds](https://glide.herokuapp.com/0.3/kayaks.jpg?w=500&con=25)](https://glide.herokuapp.com/0.3/kayaks.jpg?w=500&con=25)

## Gamma `gam`

Adjusts the image gamma. Use values between `0.1` and `9.99`.

~~~ html
<img src="kayaks.jpg?w=500&gam=1.5">
~~~

[![© Photo Joel Reynolds](https://glide.herokuapp.com/0.3/kayaks.jpg?w=500&gam=1.5)](https://glide.herokuapp.com/0.3/kayaks.jpg?w=500&gam=1.5)

## Sharpen `sharp`

Sharpen the image. Use values between `0` and `100`.

~~~ html
<img src="kayaks.jpg?w=500&sharp=15">
~~~

[![© Photo Joel Reynolds](https://glide.herokuapp.com/0.3/kayaks.jpg?w=500&sharp=15)](https://glide.herokuapp.com/0.3/kayaks.jpg?w=500&sharp=15)