|
@@ -64,7 +64,7 @@ Defines how imgproxy will resize the source image. Supported resizing types are:
|
|
|
|
|
|
Default: `fit`
|
|
Default: `fit`
|
|
|
|
|
|
-#### Resizing algorithm<img class='pro-badge' src='assets/pro.svg' alt='pro' />
|
|
|
|
|
|
+#### Resizing algorithm<img class='pro-badge' src='assets/pro.svg' alt='pro' /> :id=resizing-algorithm
|
|
|
|
|
|
```
|
|
```
|
|
resizing_algorithm:%algorithm
|
|
resizing_algorithm:%algorithm
|
|
@@ -266,7 +266,7 @@ With no arguments provided, disables any background manipulations.
|
|
|
|
|
|
Default: disabled
|
|
Default: disabled
|
|
|
|
|
|
-#### Background alpha<img class='pro-badge' src='assets/pro.svg' alt='pro' />
|
|
|
|
|
|
+#### Background alpha<img class='pro-badge' src='assets/pro.svg' alt='pro' /> :id=background-alpha
|
|
|
|
|
|
```
|
|
```
|
|
background_alpha:%alpha
|
|
background_alpha:%alpha
|
|
@@ -277,7 +277,7 @@ Adds alpha channel to `background`. `alpha` is a positive floating point number
|
|
|
|
|
|
Default: 1
|
|
Default: 1
|
|
|
|
|
|
-#### Adjust<img class='pro-badge' src='assets/pro.svg' alt='pro' />
|
|
|
|
|
|
+#### Adjust<img class='pro-badge' src='assets/pro.svg' alt='pro' /> :id=adjust
|
|
|
|
|
|
```
|
|
```
|
|
adjust:%brightness:%contrast:%saturation
|
|
adjust:%brightness:%contrast:%saturation
|
|
@@ -286,7 +286,7 @@ a:%brightness:%contrast:%saturation
|
|
|
|
|
|
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.
|
|
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<img class='pro-badge' src='assets/pro.svg' alt='pro' />
|
|
|
|
|
|
+#### Brightness<img class='pro-badge' src='assets/pro.svg' alt='pro' /> :id=brightness
|
|
|
|
|
|
```
|
|
```
|
|
brightness:%brightness
|
|
brightness:%brightness
|
|
@@ -297,7 +297,7 @@ When set, imgproxy will adjust brightness of the resulting image. `brightness` i
|
|
|
|
|
|
Default: 0
|
|
Default: 0
|
|
|
|
|
|
-#### Contrast<img class='pro-badge' src='assets/pro.svg' alt='pro' />
|
|
|
|
|
|
+#### Contrast<img class='pro-badge' src='assets/pro.svg' alt='pro' /> :id=contrast
|
|
|
|
|
|
```
|
|
```
|
|
contrast:%contrast
|
|
contrast:%contrast
|
|
@@ -308,7 +308,7 @@ When set, imgproxy will adjust contrast of the resulting image. `contrast` is a
|
|
|
|
|
|
Default: 1
|
|
Default: 1
|
|
|
|
|
|
-#### Saturation<img class='pro-badge' src='assets/pro.svg' alt='pro' />
|
|
|
|
|
|
+#### Saturation<img class='pro-badge' src='assets/pro.svg' alt='pro' /> :id=saturation
|
|
|
|
|
|
```
|
|
```
|
|
saturation:%saturation
|
|
saturation:%saturation
|
|
@@ -343,7 +343,7 @@ As an approximate guideline, use 0.5 sigma for 4 pixels/mm (display resolution),
|
|
|
|
|
|
Default: disabled
|
|
Default: disabled
|
|
|
|
|
|
-#### Pixelate<img class='pro-badge' src='assets/pro.svg' alt='pro' />
|
|
|
|
|
|
+#### Pixelate<img class='pro-badge' src='assets/pro.svg' alt='pro' /> :id=pixelate
|
|
|
|
|
|
```
|
|
```
|
|
pixelate:%size
|
|
pixelate:%size
|
|
@@ -354,7 +354,7 @@ When set, imgproxy will apply the pixelate filter to the resulting image. `size`
|
|
|
|
|
|
Default: disabled
|
|
Default: disabled
|
|
|
|
|
|
-#### Unsharpening<img class='pro-badge' src='assets/pro.svg' alt='pro' />
|
|
|
|
|
|
+#### Unsharpening<img class='pro-badge' src='assets/pro.svg' alt='pro' /> :id=unsharpening
|
|
|
|
|
|
```
|
|
```
|
|
unsharpening:%mode:%weight:%dividor
|
|
unsharpening:%mode:%weight:%dividor
|
|
@@ -389,7 +389,7 @@ Puts watermark on the processed image.
|
|
|
|
|
|
Default: disabled
|
|
Default: disabled
|
|
|
|
|
|
-#### Watermark URL<img class='pro-badge' src='assets/pro.svg' alt='pro' />
|
|
|
|
|
|
+#### Watermark URL<img class='pro-badge' src='assets/pro.svg' alt='pro' /> :id=watermark
|
|
|
|
|
|
```
|
|
```
|
|
watermark_url:%url
|
|
watermark_url:%url
|
|
@@ -400,7 +400,7 @@ When set, imgproxy will use the image from the specified URL as a watermark. `ur
|
|
|
|
|
|
Default: blank
|
|
Default: blank
|
|
|
|
|
|
-#### Style<img class='pro-badge' src='assets/pro.svg' alt='pro' />
|
|
|
|
|
|
+#### Style<img class='pro-badge' src='assets/pro.svg' alt='pro' /> :id=style
|
|
|
|
|
|
```
|
|
```
|
|
style:%style
|
|
style:%style
|
|
@@ -411,7 +411,7 @@ When set, imgproxy will prepend `<style>` node with provided content to the `<sv
|
|
|
|
|
|
Default: blank
|
|
Default: blank
|
|
|
|
|
|
-#### JPEG options<img class='pro-badge' src='assets/pro.svg' alt='pro' />
|
|
|
|
|
|
+#### JPEG options<img class='pro-badge' src='assets/pro.svg' alt='pro' /> :id=jpeg-options
|
|
|
|
|
|
```
|
|
```
|
|
jpeg_options:%progressive:%no_subsample:%trellis_quant:%overshoot_deringing:%optimize_scans:%quant_table
|
|
jpeg_options:%progressive:%no_subsample:%trellis_quant:%overshoot_deringing:%optimize_scans:%quant_table
|
|
@@ -420,7 +420,7 @@ jpgo:%progressive:%no_subsample:%trellis_quant:%overshoot_deringing:%optimize_sc
|
|
|
|
|
|
Allows redefining JPEG saving options. All arguments have the same meaning as [Advanced JPEG compression](configuration.md#advanced-jpeg-compression) configs. All arguments are optional and can be omitted.
|
|
Allows redefining JPEG saving options. All arguments have the same meaning as [Advanced JPEG compression](configuration.md#advanced-jpeg-compression) configs. All arguments are optional and can be omitted.
|
|
|
|
|
|
-#### PNG options<img class='pro-badge' src='assets/pro.svg' alt='pro' />
|
|
|
|
|
|
+#### PNG options<img class='pro-badge' src='assets/pro.svg' alt='pro' /> :id=png-options
|
|
|
|
|
|
```
|
|
```
|
|
png_options:%interlaced:%quantize:%quantization_colors
|
|
png_options:%interlaced:%quantize:%quantization_colors
|
|
@@ -429,7 +429,7 @@ pngo:%interlaced:%quantize:%quantization_colors
|
|
|
|
|
|
Allows redefining PNG saving options. All arguments have the same meaning as [Advanced PNG compression](configuration.md#advanced-png-compression) configs. All arguments are optional and can be omitted.
|
|
Allows redefining PNG saving options. All arguments have the same meaning as [Advanced PNG compression](configuration.md#advanced-png-compression) configs. All arguments are optional and can be omitted.
|
|
|
|
|
|
-#### GIF options<img class='pro-badge' src='assets/pro.svg' alt='pro' />
|
|
|
|
|
|
+#### GIF options<img class='pro-badge' src='assets/pro.svg' alt='pro' /> :id=gif-options
|
|
|
|
|
|
```
|
|
```
|
|
gif_options:%optimize_frames:%optimize_transparency
|
|
gif_options:%optimize_frames:%optimize_transparency
|
|
@@ -438,7 +438,7 @@ gifo:%optimize_frames:%optimize_transparency
|
|
|
|
|
|
Allows redefining GIF saving options. All arguments have the same meaning as [Advanced GIF compression](configuration.md#advanced-gif-compression) configs. All arguments are optional and can be omitted.
|
|
Allows redefining GIF saving options. All arguments have the same meaning as [Advanced GIF compression](configuration.md#advanced-gif-compression) configs. All arguments are optional and can be omitted.
|
|
|
|
|
|
-#### Page<img class='pro-badge' src='assets/pro.svg' alt='pro' />
|
|
|
|
|
|
+#### Page<img class='pro-badge' src='assets/pro.svg' alt='pro' /> :id=page
|
|
|
|
|
|
```
|
|
```
|
|
page:%page
|
|
page:%page
|
|
@@ -449,7 +449,7 @@ When source image supports pagination (PDF, TIFF) or animation (GIF, WebP), this
|
|
|
|
|
|
Default: 0
|
|
Default: 0
|
|
|
|
|
|
-#### Video thumbnail second<img class='pro-badge' src='assets/pro.svg' alt='pro' />
|
|
|
|
|
|
+#### Video thumbnail second<img class='pro-badge' src='assets/pro.svg' alt='pro' /> :id=video-thumbnail-second
|
|
|
|
|
|
```
|
|
```
|
|
video_thumbnail_second:%second
|
|
video_thumbnail_second:%second
|