This commit is contained in:
Kovid Goyal 2007-10-07 18:28:07 +00:00
parent 7d083926f2
commit 4914a064c0

View File

@ -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()