From 245974121807971172e80b856f4d3e9f8a2d7f5e Mon Sep 17 00:00:00 2001 From: DarthSim Date: Fri, 30 Jun 2023 17:52:08 +0300 Subject: [PATCH] Unsharpening => unsharp masking in docs --- docs/configuration.md | 16 ++++++++-------- docs/generating_the_url.md | 8 ++++---- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index c5c8e3c6..1d8e11a7 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -279,16 +279,16 @@ imgproxy Pro can extract specific video frames to create thumbnails. This featur Read more about watermarks in the [Watermark](watermark.md) guide. -## Unsharpening +## Unsharp masking -imgproxy Pro can apply an unsharpening mask to your images. +imgproxy Pro can apply unsharp masking to your images. -* `IMGPROXY_UNSHARPENING_MODE`: ![pro](./assets/pro.svg) controls when an unsharpenning mask should be applied. The following modes are supported: - * `auto`: _(default)_ apply an unsharpening mask only when an image is downscaled and the `sharpen` option has not been set. - * `none`: the unsharpening mask is not applied. - * `always`: always applies the unsharpening mask. -* `IMGPROXY_UNSHARPENING_WEIGHT`: ![pro](./assets/pro.svg) a floating-point number that defines how neighboring pixels will affect the current pixel. The greater the value, the sharper the image. This value should be greater than zero. Default: `1` -* `IMGPROXY_UNSHARPENING_DIVIDOR`: ![pro](./assets/pro.svg) a floating-point number that defines the unsharpening strength. The lesser the value, the sharper the image. This value be greater than zero. Default: `24` +* `IMGPROXY_UNSHARP_MASKING_MODE`: ![pro](./assets/pro.svg) controls when unsharp masking should be applied. The following modes are supported: + * `auto`: _(default)_ apply unsharp masking only when an image is downscaled and the `sharpen` option has not been set. + * `none`: unsharp masking is not applied. + * `always`: always applies unsharp masking. +* `IMGPROXY_UNSHARP_MASKING_WEIGHT`: ![pro](./assets/pro.svg) a floating-point number that defines how neighboring pixels will affect the current pixel. The greater the value, the sharper the image. This value should be greater than zero. Default: `1` +* `IMGPROXY_UNSHARP_MASKING_DIVIDER`: ![pro](./assets/pro.svg) a floating-point number that defines unsharp masking strength. The lesser the value, the sharper the image. This value be greater than zero. Default: `24` ## Smart crop diff --git a/docs/generating_the_url.md b/docs/generating_the_url.md index e8903122..a4572601 100644 --- a/docs/generating_the_url.md +++ b/docs/generating_the_url.md @@ -397,14 +397,14 @@ When set, imgproxy will apply the pixelate filter to the resulting image. The va Default: disabled -### Unsharpening![pro](./assets/pro.svg) :id=unsharpening +### Unsharp masking![pro](./assets/pro.svg) :id=unsharp-masking ``` -unsharpening:%mode:%weight:%dividor -ush:%mode:%weight:%dividor +unsharp_masking:%mode:%weight:%divider +ush:%mode:%weight:%divider ``` -Allows redefining unsharpening options. All arguments have the same meaning as [Unsharpening](configuration.md#unsharpening) configs. All arguments are optional and can be omitted. +Allows redefining unsharp masking options. All arguments have the same meaning as [Unsharp masking](configuration.md#unsharp-masking) configs. All arguments are optional and can be omitted. ### Blur detections![pro](./assets/pro.svg) :id=blur-detections