1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-02-07 11:36:25 +02:00

Update changelog and docs

This commit is contained in:
DarthSim 2021-12-07 18:52:00 +06:00
parent 16c0d91d47
commit 4c5ae587ed
2 changed files with 16 additions and 0 deletions

View File

@ -3,6 +3,7 @@
## [Unreleased]
### Added
- Add `IMGPROXY_ETAG_BUSTER` config.
- (pro) [watermark_text](https://docs.imgproxy.net/generating_the_url?id=watermark-text) processing option.
### Change
- Improved ICC profiles handling.

View File

@ -430,6 +430,21 @@ When set, imgproxy will use the image from the specified URL as a watermark. `ur
Default: blank
### Watermark text<i class='badge badge-pro'></i> :id=watermark-text
```
watermark_text:%text
wmt:%text
```
When set, imgproxy will generate image from the provided text and use it as a watermark. `text` is Base64-encoded text of the custom watermark.
By default, text color is black and font is `sans 16`. You can use [Pango markup](https://docs.gtk.org/Pango/pango_markup.html) in the `text` value to change the style.
If you want to use your custom font, you need to put it to `/usr/share/fonts` inside a contsainer.
Default: blank
### Style<i class='badge badge-pro'></i> :id=style
```