From f57f8d0d67739c78189cab1bc5061536ea1666fe Mon Sep 17 00:00:00 2001 From: kramo <93832451+kra-mo@users.noreply.github.com> Date: Mon, 13 Mar 2023 20:58:35 +0100 Subject: [PATCH] Update cover image size --- src/utils/save_cover.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/save_cover.py b/src/utils/save_cover.py index c681313..ec52744 100644 --- a/src/utils/save_cover.py +++ b/src/utils/save_cover.py @@ -31,7 +31,7 @@ def save_cover(game, parent_widget, file_path, pixbuf = None, game_id = None): cover_path = os.path.join(covers_dir, game_id + ".dat") if pixbuf == None: - pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(file_path, 600, 900, False) + pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(file_path, 400, 600, False) open_file = open((cover_path), "wb") open_file.write(bytes(pixbuf.get_pixels()))