diff --git a/pict-rs.toml b/pict-rs.toml index e612d83..00ff868 100644 --- a/pict-rs.toml +++ b/pict-rs.toml @@ -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