mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-02-02 11:34:20 +02:00
parent
42ab2e5330
commit
d5baaf8b19
@ -77,7 +77,7 @@ There are two ways to define presets:
|
|||||||
|
|
||||||
##### Using an environment variable
|
##### Using an environment variable
|
||||||
|
|
||||||
* `IMGPROXY_PRESETS`: set of preset definitions, comma-divided. Example: `default=resize_type:fill/enlarge:1,sharp=sharpen:0.7,blurry=blur:2`. Default: blank.
|
* `IMGPROXY_PRESETS`: set of preset definitions, comma-divided. Example: `default=resizing_type:fill/enlarge:1,sharp=sharpen:0.7,blurry=blur:2`. Default: blank.
|
||||||
|
|
||||||
##### Using a command line argument
|
##### Using a command line argument
|
||||||
|
|
||||||
@ -88,7 +88,7 @@ $ imgproxy -presets /path/to/file/with/presets
|
|||||||
The file should contain preset definitions, one per line. Lines starting with `#` are treated as comments. Example:
|
The file should contain preset definitions, one per line. Lines starting with `#` are treated as comments. Example:
|
||||||
|
|
||||||
```
|
```
|
||||||
default=resize_type:fill/enlarge:1
|
default=resizing_type:fill/enlarge:1
|
||||||
|
|
||||||
# Sharpen the image to make it look better
|
# Sharpen the image to make it look better
|
||||||
sharp=sharpen:0.7
|
sharp=sharpen:0.7
|
||||||
|
Loading…
x
Reference in New Issue
Block a user