mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-12-23 03:41:23 +00:00
Add quality settings to dev.toml
This commit is contained in:
parent
b1bbc6b159
commit
c41fab3632
1 changed files with 22 additions and 0 deletions
22
dev.toml
22
dev.toml
|
@ -21,15 +21,37 @@ path = 'data/'
|
||||||
max_file_size = 40
|
max_file_size = 40
|
||||||
filters = ['blur', 'crop', 'identity', 'resize', 'thumbnail']
|
filters = ['blur', 'crop', 'identity', 'resize', 'thumbnail']
|
||||||
|
|
||||||
|
[media.image.quality]
|
||||||
|
avif = 50
|
||||||
|
png = 50
|
||||||
|
jpeg = 75
|
||||||
|
jxl = 50
|
||||||
|
webp = 60
|
||||||
|
|
||||||
[media.animation]
|
[media.animation]
|
||||||
max_width = 2000
|
max_width = 2000
|
||||||
max_height = 2000
|
max_height = 2000
|
||||||
max_area = 2000000
|
max_area = 2000000
|
||||||
|
|
||||||
|
[media.animation.quality]
|
||||||
|
apng = 50
|
||||||
|
avif = 50
|
||||||
|
webp = 60
|
||||||
|
|
||||||
[media.video]
|
[media.video]
|
||||||
enable = true
|
enable = true
|
||||||
allow_audio = 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]
|
[repo]
|
||||||
type = 'sled'
|
type = 'sled'
|
||||||
path = 'data/sled-repo-local'
|
path = 'data/sled-repo-local'
|
||||||
|
|
Loading…
Reference in a new issue