From bfe3767b6895d8169c905c0b96a8e82361381e95 Mon Sep 17 00:00:00 2001 From: Eva Date: Fri, 28 Mar 2025 14:51:07 +0100 Subject: [PATCH] server/users: disable transparency and seeking on user avatars --- server/szurubooru/func/users.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/szurubooru/func/users.py b/server/szurubooru/func/users.py index 5cbe3cc0..a2e21da6 100644 --- a/server/szurubooru/func/users.py +++ b/server/szurubooru/func/users.py @@ -311,6 +311,8 @@ def update_user_avatar( image.resize_fill( int(config.config["thumbnails"]["avatar_width"]), int(config.config["thumbnails"]["avatar_height"]), + keep_transparency=False, + seek=False, ) files.save(avatar_path, image.to_png()) else: