mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 03:59:24 +02:00
Increase image quality of downscaled images from 70 to 95
This commit is contained in:
parent
5d2e72e69e
commit
609dd3b495
7 changed files with 89 additions and 3 deletions
|
@ -1211,7 +1211,10 @@ VERSATILEIMAGEFIELD_RENDITION_KEY_SETS = {
|
|||
("medium_square_crop", "crop__200x200"),
|
||||
],
|
||||
}
|
||||
VERSATILEIMAGEFIELD_SETTINGS = {"create_images_on_demand": False}
|
||||
VERSATILEIMAGEFIELD_SETTINGS = {
|
||||
"create_images_on_demand": False,
|
||||
"jpeg_resize_quality": env.int("THUMBNAIL_JPEG_RESIZE_QUALITY", default=95),
|
||||
}
|
||||
RSA_KEY_SIZE = 2048
|
||||
# for performance gain in tests, since we don't need to actually create the
|
||||
# thumbnails
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue