From 0941278e93263a83b8ef42ed178ebba1113fc7a6 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 19 Feb 2025 19:30:56 +0530 Subject: [PATCH] Increase size of cover rendered from HTML --- src/calibre/ebooks/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/ebooks/__init__.py b/src/calibre/ebooks/__init__.py index a6db1bd73f..ea39200234 100644 --- a/src/calibre/ebooks/__init__.py +++ b/src/calibre/ebooks/__init__.py @@ -94,7 +94,7 @@ def extract_calibre_cover(raw, base, log): return return_raster_image(img) -def render_html_svg_workaround(path_to_html, log, width=590, height=750, root=''): +def render_html_svg_workaround(path_to_html, log, width=1200, height=1600, root=''): from calibre.ebooks.oeb.base import SVG_NS with open(path_to_html, 'rb') as f: raw = f.read()