mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 19:02:37 +02:00
Fix #232
This commit is contained in:
parent
7d083926f2
commit
4914a064c0
1 changed files with 1 additions and 1 deletions
|
|
@ -1482,7 +1482,7 @@ def process_file(path, options, logger=None):
|
|||
th = Device.THUMBNAIL_HEIGHT
|
||||
im = PILImage.open(os.path.join(cwd, cpath))
|
||||
cim = im.resize((options.profile.screen_width,
|
||||
options.profile.screen_height),
|
||||
options.profile.screen_height - options.profile.fudge),
|
||||
PILImage.BICUBIC).convert('RGB')
|
||||
cf = PersistentTemporaryFile(prefix=__appname__+"_", suffix=".jpg")
|
||||
cf.close()
|
||||
|
|
|
|||
Loading…
Reference in a new issue