optimize images

This commit is contained in:
zefie
2026-04-26 22:47:21 -04:00
parent 2232beacb7
commit 23e06fc2c0
5 changed files with 182 additions and 170 deletions

View File

@@ -117,6 +117,7 @@
"shenanigans": false,
"image_decoder": {
"enabled": true,
"gif_type": "ALP", // "ALP" or "ALF", see WTVImage.js for details.
"jpg_quality": 75,
"image_formats": [
"image/png",
@@ -125,6 +126,12 @@
"image/tiff",
"image/webp"
],
"png_opts": {
"quality": 80,
"compressionLevel": 9,
"palette": true,
"effort": 10
},
"max_height": 2048,
"max_width": 640,
"max_file_size": 524288,