mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
...
This commit is contained in:
parent
b887d6a414
commit
1b3a799d0d
@ -223,7 +223,7 @@ def create_cover_page(top_lines, logo_path, width=590, height=750,
|
|||||||
def save_cover_data_to(data, path, bgcolor='white'):
|
def save_cover_data_to(data, path, bgcolor='white'):
|
||||||
'''
|
'''
|
||||||
Saves image in data to path, in the format specified by the path
|
Saves image in data to path, in the format specified by the path
|
||||||
extension. Composes the image onto a blank cancas so as to
|
extension. Composes the image onto a blank canvas so as to
|
||||||
properly convert transparent images.
|
properly convert transparent images.
|
||||||
'''
|
'''
|
||||||
with open(path, 'wb') as f:
|
with open(path, 'wb') as f:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user