1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-01-23 11:14:48 +02:00

gravity_type => type in docs

This commit is contained in:
DarthSim 2021-01-20 15:54:47 +06:00
parent be26e10ce5
commit 8f990acab4

View File

@ -133,13 +133,13 @@ Default: `false:ce:0:0`
#### Gravity
```
gravity:%gravity_type:%x_offset:%y_offset
g:%gravity_type:%x_offset:%y_offset
gravity:%type:%x_offset:%y_offset
g:%type:%x_offset:%y_offset
```
When imgproxy needs to cut some parts of the image, it is guided by the gravity.
* `gravity_type` - specifies the gravity type. Available values:
* `type` - specifies the gravity type. Available values:
* `no`: north (top edge);
* `so`: south (bottom edge);
* `ea`: east (right edge);