Add '[media] format' to pict-rs.toml
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
asonix 2023-06-19 13:33:27 -05:00
parent 5a3d46845b
commit 0833271281

View file

@ -184,6 +184,16 @@ audio_codec = "aac"
# default: ['blur', 'crop', 'identity', 'resize', 'thumbnail']
filters = ['blur', 'crop', 'identity', 'resize', 'thumbnail']
## Optional: set file type for all uploads
# environment variable: PICTRS__MEDIA__FORMAT
# default: empty
#
# available options: png, jpeg, webp
# When set, all uploaded still images will be converted to this file type. If you care about file
# size, setting this to 'webp' is probably the best option. By default, images are stored in their
# original file type.
format = "webp"
## Optional: whether to validate images uploaded through the `import` endpoint
# environment variable: PICTRS__MEDIA__SKIP_VALIDATE_IMPORTS
# default: false