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

add formats to dev.toml

This commit is contained in:
asonix 2023-07-17 22:20:41 -05:00
parent 496bcc5dc1
commit 42c801f0fe

View file

@ -21,6 +21,9 @@ path = 'data/'
max_file_size = 40 max_file_size = 40
filters = ['blur', 'crop', 'identity', 'resize', 'thumbnail'] filters = ['blur', 'crop', 'identity', 'resize', 'thumbnail']
[media.image]
format = "webp"
[media.image.quality] [media.image.quality]
avif = 50 avif = 50
png = 50 png = 50
@ -32,6 +35,7 @@ webp = 60
max_width = 2000 max_width = 2000
max_height = 2000 max_height = 2000
max_area = 2000000 max_area = 2000000
format = "webp"
[media.animation.quality] [media.animation.quality]
apng = 50 apng = 50
@ -41,6 +45,8 @@ webp = 60
[media.video] [media.video]
enable = true enable = true
allow_audio = true allow_audio = true
video_codec = "vp9"
max_area = 884000000
[media.video.quality] [media.video.quality]
crf_240 = 37 crf_240 = 37