1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2024-11-24 08:12:38 +02:00

Update docs and changelog

This commit is contained in:
DarthSim 2020-04-09 15:56:05 +06:00
parent 12b415c9bd
commit 1fc21d4cfe
2 changed files with 4 additions and 3 deletions

View File

@ -3,6 +3,7 @@
## [Unreleased]
### Added
- Fallback images.
- [padding](./docs/generating_the_url_advanced.md#padding) processing option.
## [2.12.0] - 2020-04-07
### Addded

View File

@ -184,9 +184,9 @@ Defines padding size in css manner. All arguments are optional but at least one
* `bottom` - bottom padding;
* `left` - left padding.
**📝Notes:**
* Padding is applied after all image transformations (except watermark) and enlarges generated image which means that if your resize dimensions were 100x200px and you applied `padding:10` option then you will get 120x220px image.
* Padding follows [dpr](#dpr) option so it will be scaled too if you set it.
**📝Note:** Padding is applied after all image transformations (except watermark) and enlarges generated image which means that if your resize dimensions were 100x200px and you applied `padding:10` option then you will get 120x220px image.
**📝Note:** Padding follows [dpr](#dpr) option so it will be scaled too if you set it.
#### Trim