Make webp default format for images

This commit is contained in:
DariusIII
2026-07-16 15:57:20 +02:00
parent 17be0e11d2
commit b27fb8d86b
60 changed files with 1154 additions and 1136 deletions
+13
View File
@@ -220,6 +220,19 @@ ITEMS_PER_PAGE=50
ITEMS_PER_COVER_PAGE=25
# Image processing driver. Use gd when the Imagick PHP extension is unavailable.
IMAGE_DRIVER=imagick
# Format used for newly processed covers and samples. Supported: webp, jpg.
IMAGE_OUTPUT_FORMAT=webp
# Encoder quality for newly processed covers and samples (1-100).
IMAGE_OUTPUT_QUALITY=82
# Maximum compressed source size accepted by image processing (20 MiB).
IMAGE_MAX_SOURCE_BYTES=20971520
# Maximum decoded source area accepted by image processing (40 megapixels).
IMAGE_MAX_SOURCE_PIXELS=40000000
# Remote image connection and total request timeouts, in seconds.
IMAGE_FETCH_CONNECT_TIMEOUT=5
IMAGE_FETCH_TIMEOUT=30
# Maximum number of redirects followed while downloading a remote image.
IMAGE_FETCH_MAX_REDIRECTS=5
MAX_PAGER_RESULTS=125000
ECHOCLI=true
RENAME_PAR2=false