2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-11-10 06:25:00 +00:00

Add quality settings to dev.toml

This commit is contained in:
asonix 2023-07-17 17:47:16 -05:00
parent b1bbc6b159
commit c41fab3632

View file

@ -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'