diff --git a/docs/_sidebar.md b/docs/_sidebar.md
index a3e4933a..0a59816a 100644
--- a/docs/_sidebar.md
+++ b/docs/_sidebar.md
@@ -1,14 +1,15 @@
* [Getting started](GETTING_STARTED)
+* [Pro version
](https://imgproxy.net/#pro)
* [Installation](installation)
* [Configuration](configuration)
* [Generating the URL](generating_the_url)
-* [Getting the image info](getting_the_image_info)
+* [Getting the image info
](getting_the_image_info)
* [Signing the URL](signing_the_url)
* [Watermark](watermark)
* [Presets](presets)
-* [Object detection](object_detection)
-* [Autoquality](autoquality)
-* [Chained pipelines](chained_pipelines)
+* [Object detection
](object_detection)
+* [Autoquality
](autoquality)
+* [Chained pipelines
](chained_pipelines)
* [Serving local files](serving_local_files)
* [Serving files from Amazon S3](serving_files_from_s3)
* [Serving files from Google Cloud Storage](serving_files_from_google_cloud_storage)
diff --git a/docs/assets/docsify-pro-badge.js b/docs/assets/docsify-pro-badge.js
new file mode 100644
index 00000000..fd67deb2
--- /dev/null
+++ b/docs/assets/docsify-pro-badge.js
@@ -0,0 +1,19 @@
+; (function (win) {
+ win.ProBadgePlugin = {}
+
+ function create() {
+ var regex = /\!\[pro\]\((\S+)\)/g;
+ var proLink = '' +
+ '
' +
+ '';
+
+ return function (hook) {
+ hook.beforeEach(function (content, next) {
+ content = content.replaceAll(regex, proLink)
+ next(content)
+ })
+ }
+ }
+
+ win.ProBadgePlugin.create = create
+})(window)
diff --git a/docs/assets/style.css b/docs/assets/style.css
index b15ce2dd..dce464ca 100644
--- a/docs/assets/style.css
+++ b/docs/assets/style.css
@@ -88,29 +88,28 @@ body::before {
transform: rotate(360deg);
}
}
+.sidebar-nav li>a:only-child {
+ padding: var(--sidebar-nav-pagelink-padding, var(--sidebar-nav-link-padding));
+}
-i.badge::before {
- display: inline-block;
- height: 1.5em;
- line-height: 1.5em;
+.sidebar-nav li > a > img {
+ height: 1em;
+}
+
+.badge img {
+ height: 1em;
vertical-align: middle;
- border: 1px solid;
- font-size: .6em;
- font-weight: 700;
- font-style: normal;
- border-radius: 0.75em;
- padding: 0 .5em;
+ margin-top: -0.25em;
}
-i.badge-pro::before {
- content: "pro";
- color: #177bd3;
- border-color: #177bd3;
- text-transform: uppercase;
+.badge img:hover {
+ filter: brightness(1.5);
}
-h1 i.badge, h2 i.badge, h3 i.badge, h4 i.badge, .sidebar-nav i.badge {
- margin-left: .5ch;
+h1 .badge img, h3 .badge img, h3 .badge img, h4 .badge img, h5 .badge img {
+ height: 0.8em;
+ margin-top: -0.20em;
+ margin-left: .1em;
}
.github-edit-btn {
diff --git a/docs/autoquality.md b/docs/autoquality.md
index 59cb23a9..04a744e7 100644
--- a/docs/autoquality.md
+++ b/docs/autoquality.md
@@ -1,4 +1,4 @@
-# Autoquality
+# Autoquality
imgproxy can calculate quality for your resultant images so they best fit the selected metric. The supported methods are [none](#none), [size](#autoquality-by-file-size), [dssim](#autoquality-by-dssim), and [ml](#autoquality-with-ml).
diff --git a/docs/chained_pipelines.md b/docs/chained_pipelines.md
index 357908bc..17edc2eb 100644
--- a/docs/chained_pipelines.md
+++ b/docs/chained_pipelines.md
@@ -1,4 +1,4 @@
-# Chained pipelines
+# Chained pipelines
Though imgproxy's [processing pipeline](about_processing_pipeline.md) is suitable for most cases, sometimes it's handy to run multiple chained pipelines with different options.
diff --git a/docs/chaining_the_processing.md b/docs/chaining_the_processing.md
index 96b21ec1..d5ffd303 100644
--- a/docs/chaining_the_processing.md
+++ b/docs/chaining_the_processing.md
@@ -1,4 +1,4 @@
-# Chaining the processing
+# Chaining the processing
Though imgproxy's [processing pipeline](about_processing_pipeline.md) is suitable for most cases, sometimes it's handy to run multiple chained pipelines with different options.
diff --git a/docs/configuration.md b/docs/configuration.md
index ee2dda67..a0550a58 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -42,16 +42,16 @@ echo $(xxd -g 2 -l 64 -p /dev/random | tr -d '\n')
* `IMGPROXY_USER_AGENT`: the User-Agent header that will be sent with the source image request. Default: `imgproxy/%current_version`
* `IMGPROXY_USE_ETAG`: when set to `true`, enables using the [ETag](https://en.wikipedia.org/wiki/HTTP_ETag) HTTP header for HTTP cache control. Default: `false`
* `IMGPROXY_ETAG_BUSTER`: change this to change ETags for all the images. Default: blank
-* `IMGPROXY_CUSTOM_REQUEST_HEADERS`: list of custom headers that imgproxy will send while requesting the source image, divided by `\;` (can be redefined by `IMGPROXY_CUSTOM_HEADERS_SEPARATOR`). Example: `X-MyHeader1=Lorem\;X-MyHeader2=Ipsum`
-* `IMGPROXY_CUSTOM_RESPONSE_HEADERS`: a list of custom response headers, separated by `\;` (can be redefined by `IMGPROXY_CUSTOM_HEADERS_SEPARATOR`). Example: `X-MyHeader1=Lorem\;X-MyHeader2=Ipsum`
-* `IMGPROXY_CUSTOM_HEADERS_SEPARATOR`: a string that will be used as a custom header separator. Default: `\;`
+* `IMGPROXY_CUSTOM_REQUEST_HEADERS`:  list of custom headers that imgproxy will send while requesting the source image, divided by `\;` (can be redefined by `IMGPROXY_CUSTOM_HEADERS_SEPARATOR`). Example: `X-MyHeader1=Lorem\;X-MyHeader2=Ipsum`
+* `IMGPROXY_CUSTOM_RESPONSE_HEADERS`:  a list of custom response headers, separated by `\;` (can be redefined by `IMGPROXY_CUSTOM_HEADERS_SEPARATOR`). Example: `X-MyHeader1=Lorem\;X-MyHeader2=Ipsum`
+* `IMGPROXY_CUSTOM_HEADERS_SEPARATOR`:  a string that will be used as a custom header separator. Default: `\;`
* `IMGPROXY_ENABLE_DEBUG_HEADERS`: when set to `true`, imgproxy will add debug headers to the response. Default: `false`. The following headers will be added:
* `X-Origin-Content-Length`: the size of the source image
* `X-Origin-Width`: the width of the source image
* `X-Origin-Height`: the height of the source image
* `X-Result-Width`: the width of the resultant image
* `X-Result-Height`: the height of the resultant image
-* `IMGPROXY_SERVER_NAME`: the `Server` header value. Default: `imgproxy`
+* `IMGPROXY_SERVER_NAME`:  the `Server` header value. Default: `imgproxy`
## Security
@@ -120,11 +120,11 @@ When cookie forwarding is activated, by default, imgproxy assumes the scope of t
### Advanced JPEG compression
* `IMGPROXY_JPEG_PROGRESSIVE`: when true, enables progressive JPEG compression. Default: `false`
-* `IMGPROXY_JPEG_NO_SUBSAMPLE`: when true, chrominance subsampling is disabled. This will improve quality at the cost of larger file size. Default: `false`
-* `IMGPROXY_JPEG_TRELLIS_QUANT`: when true, enables trellis quantisation for each 8x8 block. Reduces file size but increases compression time. Default: `false`
-* `IMGPROXY_JPEG_OVERSHOOT_DERINGING`: when true, enables overshooting of samples with extreme values. Overshooting may reduce ringing artifacts from compression, in particular in areas where black text appears on a white background. Default: `false`
-* `IMGPROXY_JPEG_OPTIMIZE_SCANS`: when true, splits the spectrum of DCT coefficients into separate scans. Reduces file size but increases compression time. Requires `IMGPROXY_JPEG_PROGRESSIVE` to be true. Default: `false`
-* `IMGPROXY_JPEG_QUANT_TABLE`: quantization table to use. Supported values are:
+* `IMGPROXY_JPEG_NO_SUBSAMPLE`:  when true, chrominance subsampling is disabled. This will improve quality at the cost of larger file size. Default: `false`
+* `IMGPROXY_JPEG_TRELLIS_QUANT`:  when true, enables trellis quantisation for each 8x8 block. Reduces file size but increases compression time. Default: `false`
+* `IMGPROXY_JPEG_OVERSHOOT_DERINGING`:  when true, enables overshooting of samples with extreme values. Overshooting may reduce ringing artifacts from compression, in particular in areas where black text appears on a white background. Default: `false`
+* `IMGPROXY_JPEG_OPTIMIZE_SCANS`:  when true, splits the spectrum of DCT coefficients into separate scans. Reduces file size but increases compression time. Requires `IMGPROXY_JPEG_PROGRESSIVE` to be true. Default: `false`
+* `IMGPROXY_JPEG_QUANT_TABLE`:  quantization table to use. Supported values are:
* `0`: Table from JPEG Annex K (default)
* `1`: Flat table
* `2`: Table tuned for MSSIM on Kodak image set
@@ -145,8 +145,8 @@ When cookie forwarding is activated, by default, imgproxy assumes the scope of t
+* `IMGPROXY_GIF_OPTIMIZE_FRAMES`:  when true, enables GIF frame optimization. This may produce a smaller result, but may increase compression time.
+* `IMGPROXY_GIF_OPTIMIZE_TRANSPARENCY`:  when true, enables GIF transparency optimization. This may produce a smaller result, but may also increase compression time. -->
### Advanced AVIF compression
@@ -158,17 +158,17 @@ imgproxy can calculate the quality of the resulting image based on selected metr
**⚠️Warning:** Autoquality requires the image to be saved several times. Use it only when you prefer the resulting size and quality over the speed.
-* `IMGPROXY_AUTOQUALITY_METHOD`: the method of quality calculation. Default: `none`
-* `IMGPROXY_AUTOQUALITY_TARGET`: desired value of the autoquality method metric. Default: 0.02
-* `IMGPROXY_AUTOQUALITY_MIN`: minimal quality imgproxy can use. Default: 70
-* `IMGPROXY_AUTOQUALITY_FORMAT_MIN`: the minimal quality imgproxy can use per format, comma divided. Example: `jpeg=70,avif=40,webp=60`. When value for the resulting format is not set, `IMGPROXY_AUTOQUALITY_MIN` value is used. Default: `avif=40`
-* `IMGPROXY_AUTOQUALITY_MAX`: the maximum quality imgproxy can use. Default: 80
-* `IMGPROXY_AUTOQUALITY_FORMAT_MAX`: the maximum quality imgproxy can use per format, comma divided. Example: `jpeg=70,avif=40,webp=60`. When a value for the resulting format is not set, the `IMGPROXY_AUTOQUALITY_MAX` value is used. Default: `avif=50`
-* `IMGPROXY_AUTOQUALITY_ALLOWED_ERROR`: the allowed `IMGPROXY_AUTOQUALITY_TARGET` error. Applicable only to `dssim` and `ml` methods. Default: 0.001
-* `IMGPROXY_AUTOQUALITY_MAX_RESOLUTION`: when this value is greater then zero and the resultant resolution exceeds the value, autoquality won't be used. Default: 0
-* `IMGPROXY_AUTOQUALITY_JPEG_NET`: the path to the neural network for JPEG.
-* `IMGPROXY_AUTOQUALITY_WEBP_NET`: the path to the neural network for WebP.
-* `IMGPROXY_AUTOQUALITY_AVIF_NET`: the path to the neural network for AVIF.
+* `IMGPROXY_AUTOQUALITY_METHOD`:  the method of quality calculation. Default: `none`
+* `IMGPROXY_AUTOQUALITY_TARGET`:  desired value of the autoquality method metric. Default: 0.02
+* `IMGPROXY_AUTOQUALITY_MIN`:  minimal quality imgproxy can use. Default: 70
+* `IMGPROXY_AUTOQUALITY_FORMAT_MIN`:  the minimal quality imgproxy can use per format, comma divided. Example: `jpeg=70,avif=40,webp=60`. When value for the resulting format is not set, `IMGPROXY_AUTOQUALITY_MIN` value is used. Default: `avif=40`
+* `IMGPROXY_AUTOQUALITY_MAX`:  the maximum quality imgproxy can use. Default: 80
+* `IMGPROXY_AUTOQUALITY_FORMAT_MAX`:  the maximum quality imgproxy can use per format, comma divided. Example: `jpeg=70,avif=40,webp=60`. When a value for the resulting format is not set, the `IMGPROXY_AUTOQUALITY_MAX` value is used. Default: `avif=50`
+* `IMGPROXY_AUTOQUALITY_ALLOWED_ERROR`:  the allowed `IMGPROXY_AUTOQUALITY_TARGET` error. Applicable only to `dssim` and `ml` methods. Default: 0.001
+* `IMGPROXY_AUTOQUALITY_MAX_RESOLUTION`:  when this value is greater then zero and the resultant resolution exceeds the value, autoquality won't be used. Default: 0
+* `IMGPROXY_AUTOQUALITY_JPEG_NET`:  the path to the neural network for JPEG.
+* `IMGPROXY_AUTOQUALITY_WEBP_NET`:  the path to the neural network for WebP.
+* `IMGPROXY_AUTOQUALITY_AVIF_NET`:  the path to the neural network for AVIF.
## AVIF/WebP support detection
@@ -199,10 +199,10 @@ imgproxy can use the `Width`, `Viewport-Width` or `DPR` HTTP headers to determin
imgproxy Pro can extract specific video frames to create thumbnails. This feature is disabled by default, but can be enabled with `IMGPROXY_ENABLE_VIDEO_THUMBNAILS`.
-* `IMGPROXY_ENABLE_VIDEO_THUMBNAILS`: when true, enables video thumbnail generation. Default: `false`
-* `IMGPROXY_VIDEO_THUMBNAIL_SECOND`: the timestamp of the frame (in seconds) that will be used for a thumbnail. Default: 1
-* `IMGPROXY_VIDEO_THUMBNAIL_PROBE_SIZE`: the maximum amount of bytes used to determine the format. Lower values can decrease memory usage but can produce inaccurate data, or even lead to errors. Default: 5000000
-* `IMGPROXY_VIDEO_THUMBNAIL_MAX_ANALYZE_DURATION`: the maximum number of milliseconds used to get the stream info. Lower values can decrease memory usage but can produce inaccurate data, or even lead to errors. When set to 0, the heuristic is used. Default: 0
+* `IMGPROXY_ENABLE_VIDEO_THUMBNAILS`:  when true, enables video thumbnail generation. Default: `false`
+* `IMGPROXY_VIDEO_THUMBNAIL_SECOND`:  the timestamp of the frame (in seconds) that will be used for a thumbnail. Default: 1
+* `IMGPROXY_VIDEO_THUMBNAIL_PROBE_SIZE`:  the maximum amount of bytes used to determine the format. Lower values can decrease memory usage but can produce inaccurate data, or even lead to errors. Default: 5000000
+* `IMGPROXY_VIDEO_THUMBNAIL_MAX_ANALYZE_DURATION`:  the maximum number of milliseconds used to get the stream info. Lower values can decrease memory usage but can produce inaccurate data, or even lead to errors. When set to 0, the heuristic is used. Default: 0
**⚠️Warning:** Though using `IMGPROXY_VIDEO_THUMBNAIL_PROBE_SIZE` and `IMGPROXY_VIDEO_THUMBNAIL_MAX_ANALYZE_DURATION` can lower the memory footprint of video thumbnail generation, they should be used in production only when you know what you're doing.
@@ -212,7 +212,7 @@ imgproxy Pro can extract specific video frames to create thumbnails. This featur
* `IMGPROXY_WATERMARK_PATH`: the path to the locally stored image
* `IMGPROXY_WATERMARK_URL`: the watermark image URL
* `IMGPROXY_WATERMARK_OPACITY`: the watermark's base opacity
-* `IMGPROXY_WATERMARKS_CACHE_SIZE`: custom watermarks cache size. When set to `0`, the watermark cache is disabled. 256 watermarks are cached by default.
+* `IMGPROXY_WATERMARKS_CACHE_SIZE`:  custom watermarks cache size. When set to `0`, the watermark cache is disabled. 256 watermarks are cached by default.
Read more about watermarks in the [Watermark](watermark.md) guide.
@@ -220,23 +220,23 @@ Read more about watermarks in the [Watermark](watermark.md) guide.
imgproxy Pro can apply an unsharpening mask to your images.
-* `IMGPROXY_UNSHARPENING_MODE`: controls when an unsharpenning mask should be applied. The following modes are supported:
+* `IMGPROXY_UNSHARPENING_MODE`:  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`: 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`: 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_UNSHARPENING_WEIGHT`:  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`:  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`
## Object detection
imgproxy can detect objects on the image and use them to perform smart cropping, to blur the detections, or to draw the detections.
-* `IMGPROXY_OBJECT_DETECTION_CONFIG`: the path to the neural network config. Default: blank
-* `IMGPROXY_OBJECT_DETECTION_WEIGHTS`: the path to the neural network weights. Default: blank
-* `IMGPROXY_OBJECT_DETECTION_CLASSES`: the path to the text file with the classes names, one per line. Default: blank
-* `IMGPROXY_OBJECT_DETECTION_NET_SIZE`: the size of the neural network input. The width and the heights of the inputs should be the same, so this config value should be a single number. Default: 416
-* `IMGPROXY_OBJECT_DETECTION_CONFIDENCE_THRESHOLD`: detections with confidences below this value will be discarded. Default: 0.2
-* `IMGPROXY_OBJECT_DETECTION_NMS_THRESHOLD`: non-max supression threshold. Don't change this if you don't know what you're doing. Default: 0.4
+* `IMGPROXY_OBJECT_DETECTION_CONFIG`:  the path to the neural network config. Default: blank
+* `IMGPROXY_OBJECT_DETECTION_WEIGHTS`:  the path to the neural network weights. Default: blank
+* `IMGPROXY_OBJECT_DETECTION_CLASSES`:  the path to the text file with the classes names, one per line. Default: blank
+* `IMGPROXY_OBJECT_DETECTION_NET_SIZE`:  the size of the neural network input. The width and the heights of the inputs should be the same, so this config value should be a single number. Default: 416
+* `IMGPROXY_OBJECT_DETECTION_CONFIDENCE_THRESHOLD`:  detections with confidences below this value will be discarded. Default: 0.2
+* `IMGPROXY_OBJECT_DETECTION_NMS_THRESHOLD`:  non-max supression threshold. Don't change this if you don't know what you're doing. Default: 0.4
## Fallback image
@@ -247,7 +247,7 @@ You can set up a fallback image that will be used in case imgproxy is unable to
* `IMGPROXY_FALLBACK_IMAGE_URL`: the fallback image URL
* `IMGPROXY_FALLBACK_IMAGE_HTTP_CODE`: the HTTP code for the fallback image response. When set to zero, imgproxy will respond with the usual HTTP code. Default: `200`
* `IMGPROXY_FALLBACK_IMAGE_TTL`: a duration (in seconds) sent via the `Expires` and `Cache-Control: max-age` HTTP headers when a fallback image was used. When blank or `0`, the value from `IMGPROXY_TTL` is used.
-* `IMGPROXY_FALLBACK_IMAGES_CACHE_SIZE`: the size of custom fallback images cache. When set to `0`, the fallback image cache is disabled. 256 fallback images are cached by default.
+* `IMGPROXY_FALLBACK_IMAGES_CACHE_SIZE`:  the size of custom fallback images cache. When set to `0`, the fallback image cache is disabled. 256 fallback images are cached by default.
## Skip processing
@@ -425,5 +425,5 @@ imgproxy can send logs to syslog, but this feature is disabled by default. To en
* `IMGPROXY_AUTO_ROTATE`: when `true`, imgproxy will automatically rotate images based on the EXIF Orientation parameter (if available in the image meta data). The orientation tag will be removed from the image in all cases. Default: `true`
* `IMGPROXY_ENFORCE_THUMBNAIL`: when `true` and the source image has an embedded thumbnail, imgproxy will always use the embedded thumbnail instead of the main image. Currently, only thumbnails embedded in `heic` and `avif` are supported. Default: `false`
* `IMGPROXY_RETURN_ATTACHMENT`: when `true`, response header `Content-Disposition` will include `attachment`. Default: `false`
-* `IMGPROXY_HEALTH_CHECK_MESSAGE`: the content of the health check response. Default: `imgproxy is running`
+* `IMGPROXY_HEALTH_CHECK_MESSAGE`:  the content of the health check response. Default: `imgproxy is running`
* `IMGPROXY_HEALTH_CHECK_PATH`: an additional path of the health check. Default: blank
diff --git a/docs/generating_the_url.md b/docs/generating_the_url.md
index 9355d215..c5d8cf86 100644
--- a/docs/generating_the_url.md
+++ b/docs/generating_the_url.md
@@ -62,7 +62,7 @@ Defines how imgproxy will resize the source image. Supported resizing types are:
Default: `fit`
-### Resizing algorithm :id=resizing-algorithm
+### Resizing algorithm :id=resizing-algorithm
```
resizing_algorithm:%algorithm
@@ -200,7 +200,7 @@ Default: `ce:0:0`
**Special gravities**:
* `gravity:sm`: smart gravity. `libvips` detects the most "interesting" section of the image and considers it as the center of the resulting image. Offsets are not applicable here.
-* `gravity:obj:%class_name1:%class_name2:...:%class_nameN`: object-oriented gravity. imgproxy [detects objects](object_detection.md) of provided classes on the image and calculates the resulting image center using their positions. If class names are omited, imgproxy will use all the detected objects.
+* `gravity:obj:%class_name1:%class_name2:...:%class_nameN`:  object-oriented gravity. imgproxy [detects objects](object_detection.md) of provided classes on the image and calculates the resulting image center using their positions. If class names are omited, imgproxy will use all the detected objects.
* `gravity:fp:%x:%y`: the gravity focus point . `x` and `y` are floating point numbers between 0 and 1 that define the coordinates of the center of the resulting image. Treat 0 and 1 as right/left for `x` and top/bottom for `y`.
### Crop
@@ -296,7 +296,7 @@ With no arguments provided, disables any background manipulations.
Default: disabled
-### Background alpha :id=background-alpha
+### Background alpha :id=background-alpha
```
background_alpha:%alpha
@@ -307,7 +307,7 @@ Adds an alpha channel to `background`. The value of `alpha` is a positive floati
Default: 1
-### Adjust :id=adjust
+### Adjust :id=adjust
```
adjust:%brightness:%contrast:%saturation
@@ -316,7 +316,7 @@ a:%brightness:%contrast:%saturation
This is a meta-option that defines the [brightness](#brightness), [contrast](#contrast), and [saturation](#saturation). All arguments are optional and can be omitted to use their default values.
-### Brightness :id=brightness
+### Brightness :id=brightness
```
brightness:%brightness
@@ -327,7 +327,7 @@ When set, imgproxy will adjust brightness of the resulting image. `brightness` i
Default: 0
-### Contrast :id=contrast
+### Contrast :id=contrast
```
contrast:%contrast
@@ -338,7 +338,7 @@ When set, imgproxy will adjust the contrast of the resulting image. `contrast` i
Default: 1
-### Saturation :id=saturation
+### Saturation :id=saturation
```
saturation:%saturation
@@ -384,7 +384,7 @@ When set, imgproxy will apply the pixelate filter to the resulting image. The va
Default: disabled
-### Unsharpening :id=unsharpening
+### Unsharpening :id=unsharpening
```
unsharpening:%mode:%weight:%dividor
@@ -393,7 +393,7 @@ ush:%mode:%weight:%dividor
Allows redefining unsharpening options. All arguments have the same meaning as [Unsharpening](configuration.md#unsharpening) configs. All arguments are optional and can be omitted.
-### Blur detections :id=blur-detections
+### Blur detections :id=blur-detections
```
blur_detections:%sigma:%class_name1:%class_name2:...:%class_nameN
@@ -404,7 +404,7 @@ imgproxy [detects objects](object_detection.md) of the provided classes and blur
The value of `sigma` defines the size of the mask imgproxy will use.
-### Draw detections :id=draw-detections
+### Draw detections :id=draw-detections
```
draw_detections:%draw:%class_name1:%class_name2:...:%class_nameN
@@ -439,7 +439,7 @@ Places a watermark on the processed image.
Default: disabled
-### Watermark URL :id=watermark-url
+### Watermark URL :id=watermark-url
```
watermark_url:%url
@@ -450,7 +450,7 @@ When set, imgproxy will use the image from the specified URL as a watermark. `ur
Default: blank
-### Watermark text :id=watermark-text
+### Watermark text :id=watermark-text
```
watermark_text:%text
@@ -465,7 +465,7 @@ If you want to use a custom font, you need to put it in `/usr/share/fonts` insid
Default: blank
-### Watermark Size :id=watermark-size
+### Watermark Size :id=watermark-size
```
watermark_size:%width:%height
@@ -482,7 +482,7 @@ When `%height` is set to `0`, imgproxy will calculate the height using the defin
Default: `0:0`
-### Style :id=style
+### Style :id=style
```
style:%style
@@ -558,7 +558,7 @@ fq:%format1:%quality1:%format2:%quality2:...:%formatN:%qualityN
Adds or redefines `IMGPROXY_FORMAT_QUALITY` values.
-### Autoquality :id=autoquality
+### Autoquality :id=autoquality
```
autoquality:%method:%target:%min_quality:%max_quality:%allowed_error
@@ -584,7 +584,7 @@ When set, imgproxy automatically degrades the quality of the image until the ima
Default: 0
-### JPEG options :id=jpeg-options
+### JPEG options :id=jpeg-options
```
jpeg_options:%progressive:%no_subsample:%trellis_quant:%overshoot_deringing:%optimize_scans:%quant_table
@@ -593,7 +593,7 @@ jpgo:%progressive:%no_subsample:%trellis_quant:%overshoot_deringing:%optimize_sc
Allows redefining JPEG saving options. All arguments have the same meaning as the [Advanced JPEG compression](configuration.md#advanced-jpeg-compression) configs. All arguments are optional and can be omitted.
-### PNG options :id=png-options
+### PNG options :id=png-options
```
png_options:%interlaced:%quantize:%quantization_colors
@@ -602,7 +602,7 @@ pngo:%interlaced:%quantize:%quantization_colors
Allows redefining PNG saving options. All arguments have the same meaning as with the [Advanced PNG compression](configuration.md#advanced-png-compression) configs. All arguments are optional and can be omitted.
-