From c41fab363258acc4864983b57cfdfe72ef00a704 Mon Sep 17 00:00:00 2001 From: asonix Date: Mon, 17 Jul 2023 17:47:16 -0500 Subject: [PATCH] Add quality settings to dev.toml --- dev.toml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/dev.toml b/dev.toml index a2d1eb0..d2e1fe7 100644 --- a/dev.toml +++ b/dev.toml @@ -21,15 +21,37 @@ path = 'data/' max_file_size = 40 filters = ['blur', 'crop', 'identity', 'resize', 'thumbnail'] +[media.image.quality] +avif = 50 +png = 50 +jpeg = 75 +jxl = 50 +webp = 60 + [media.animation] max_width = 2000 max_height = 2000 max_area = 2000000 +[media.animation.quality] +apng = 50 +avif = 50 +webp = 60 + [media.video] enable = true allow_audio = true +[media.video.quality] +crf_240 = 37 +crf_360 = 36 +crf_480 = 33 +crf_720 = 32 +crf_1080 = 31 +crf_1440 = 24 +crf_2160 = 15 +crf_max = 12 + [repo] type = 'sled' path = 'data/sled-repo-local'