mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Increase size of cover rendered from HTML
This commit is contained in:
parent
03cc258c25
commit
0941278e93
@ -94,7 +94,7 @@ def extract_calibre_cover(raw, base, log):
|
|||||||
return return_raster_image(img)
|
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
|
from calibre.ebooks.oeb.base import SVG_NS
|
||||||
with open(path_to_html, 'rb') as f:
|
with open(path_to_html, 'rb') as f:
|
||||||
raw = f.read()
|
raw = f.read()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user