mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #232
This commit is contained in:
parent
7d083926f2
commit
4914a064c0
@ -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…
x
Reference in New Issue
Block a user