mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-21 14:05:47 +02:00
...
This commit is contained in:
parent
b887d6a414
commit
1b3a799d0d
1 changed files with 1 additions and 1 deletions
|
|
@ -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'):
|
||||
'''
|
||||
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.
|
||||
'''
|
||||
with open(path, 'wb') as f:
|
||||
|
|
|
|||
Loading…
Reference in a new issue