From 3de79e66cd01ce673422b940d9c5bfe0b7b1f57d Mon Sep 17 00:00:00 2001 From: mattiasgullstrand Date: Mon, 8 Dec 2025 19:42:45 +0100 Subject: [PATCH] Add missing AUTO_* config variables --- thumbor/conf/thumbor.conf.tpl | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/thumbor/conf/thumbor.conf.tpl b/thumbor/conf/thumbor.conf.tpl index 8c7f09d4..3f45d341 100644 --- a/thumbor/conf/thumbor.conf.tpl +++ b/thumbor/conf/thumbor.conf.tpl @@ -86,6 +86,26 @@ PNG_COMPRESSION_LEVEL = {{ PNG_COMPRESSION_LEVEL | default(6) }} ## Defaults to: False AUTO_WEBP = {{ AUTO_WEBP | default(False) }} +## Specifies whether AVIF format should be used automatically if the request +## accepts it (via Accept header) and pillow-avif-plugin is enabled +## Defaults to: False +AUTO_AVIF = {{ AUTO_AVIF | default(False) }} + +## Specifies whether JPG format should be used automatically if the request +## accepts it (via Accept header) +## Defaults to: False +AUTO_JPG = {{ AUTO_JPG | default(False) }} + +## Specifies whether PNG format should be used automatically if the request +## accepts it (via Accept header) +## Defaults to: False +AUTO_PNG = {{ AUTO_PNG | default(False) }} + +## Specifies whether HEIF format should be used automatically if the request +## accepts it (via Accept header) and pillow-heif is enabled +## Defaults to: False +AUTO_HEIF = {{ AUTO_HEIF | default(False) }} + ## Specifies whether non-transparent PNG images should be automatically converted to JPEG ## Defaults to: False AUTO_PNG_TO_JPG = {{ AUTO_PNG_TO_JPG | default(False) }}