This PR will add a config parameter called EXTRA_PARAMS_CROP_INTERESTING in config.json, and WEBP_EXTRA_PARAMS_CROP_INTERESTING in environment variable.
Available options for EXTRA_PARAMS_CROP_INTERESTING are:
InterestingNone
InterestingCentre
InterestingEntropy
InterestingAttention
InterestingLow
InterestingHigh
InterestingAll
This will allow users to select what kind of crop interest when using EXTRA_PARAMS and both width and height are supplied.
Related to: https://github.com/webp-sh/webp_server_go/issues/327
This PR will add a config parameter called
EXTRA_PARAMS_CROP_INTERESTING
inconfig.json
, andWEBP_EXTRA_PARAMS_CROP_INTERESTING
in environment variable.Available options for
EXTRA_PARAMS_CROP_INTERESTING
are:This will allow users to select what kind of crop interest when using EXTRA_PARAMS and both width and height are supplied.
More about Extra Parameters: https://docs.webp.sh/usage/extra-params/#extra-parameters More examples about different Interesting: https://blog.webp.se/vips-crop-en/