mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-02-12 11:46:10 +02:00
Remove WebP, AVIF, and ICO from preferred formats
This commit is contained in:
parent
27bf8505e1
commit
3f9a0641f1
@ -4,6 +4,7 @@
|
||||
### Change
|
||||
- Change `IMGPROXY_FORMAT_QUALITY` default value to `avif=65`.
|
||||
- Change `IMGPROXY_AVIF_SPEED` default value to `8`.
|
||||
- Change `IMGPROXY_PREFERRED_FORMATS` default value to `jpeg,png,gif`;
|
||||
|
||||
## [3.11.0] - 2022-11-17
|
||||
### Add
|
||||
|
@ -245,9 +245,6 @@ func Reset() {
|
||||
imagetype.JPEG,
|
||||
imagetype.PNG,
|
||||
imagetype.GIF,
|
||||
imagetype.WEBP,
|
||||
imagetype.AVIF,
|
||||
imagetype.ICO,
|
||||
}
|
||||
|
||||
SkipProcessingFormats = make([]imagetype.Type, 0)
|
||||
|
@ -259,7 +259,7 @@ You can set up a fallback image that will be used in case imgproxy is unable to
|
||||
|
||||
When the resulting image format is not explicitly specified in the imgproxy URL via the extension or the `format` processing option, imgproxy will choose one of the preferred formats:
|
||||
|
||||
* `IMGPROXY_PREFERRED_FORMATS`: a list of preferred formats, comma divided. Default: `jpeg,png,gif,webp,avif,ico`
|
||||
* `IMGPROXY_PREFERRED_FORMATS`: a list of preferred formats, comma divided. Default: `jpeg,png,gif`
|
||||
|
||||
imgproxy is guided by the following rules when choosing the resulting format:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user