This commit is contained in:
Kovid Goyal 2010-07-29 21:49:18 -06:00
parent b887d6a414
commit 1b3a799d0d

View File

@ -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: