Closed n0vad3v closed 5 months ago
This is PR contains the following changes:
jxl
debian
max_height
max_width
ENABLE_AVIF
"CONVERT_TYPES": ["webp","avif","jxl"],
IMG_PATH
IMG_MAP
STRIP_METADATA
For the config.json part, the new config.json will be in the following format:
config.json
{ "HOST": "127.0.0.1", "PORT": "3333", "QUALITY": "80", "IMG_PATH": "./pics", "EXHAUST_PATH": "./exhaust", "IMG_MAP": {}, "ALLOWED_TYPES": ["jpg","png","jpeg","bmp","svg","heic","nef"], "CONVERT_TYPES": ["webp","avif","jxl"], "STRIP_METADATA": true, "ENABLE_EXTRA_PARAMS": false "READ_BUFFER_SIZE": 4096, "CONCURRENCY": 262144, "DISABLE_KEEPALIVE": false, "CACHE_TTL": 259200, }
Note: STRIP_METADATA, CONVERT_TYPES are newly added, ENABLE_AVIF is removed.
CONVERT_TYPES
ghcr.io/webp-sh/webp_server_go (debian 12.5) ============================================ Total: 0 (HIGH: 0, CRITICAL: 0)
This is PR contains the following changes:
Changes
jxl
indebian
is still in old version 0.7.0, we need 0.10.0+, some references on new version of JXL here: https://cloudinary.com/blog/jpeg-xl-and-the-pareto-frontmax_height
andmax_width
parameters, fills the need in https://github.com/webp-sh/webp_server_go/issues/305Config file changes
ENABLE_AVIF
support and change to"CONVERT_TYPES": ["webp","avif","jxl"],
to specify wanted convert typesIMG_PATH
to fully migrate toIMG_MAP
formatSTRIP_METADATA
defaults to trueSTRIP_METADATA
For the
config.json
part, the newconfig.json
will be in the following format:Note:
STRIP_METADATA
,CONVERT_TYPES
are newly added,ENABLE_AVIF
is removed.