1
0
mirror of https://github.com/mon/ifstools.git synced 2024-11-27 18:40:48 +01:00

Fix bbox bug

This commit is contained in:
Will Toohey 2018-05-06 19:39:33 +10:00
parent 06c2b338d2
commit 9004fef5d7
2 changed files with 2 additions and 1 deletions

View File

@ -39,6 +39,7 @@ class ImageCanvas(GenericFile):
This could be far speedier if it copied raw pixels, but that would
take far too much time to write vs using Image inbuilts '''
im = Image.new('RGBA', self.img_size)
draw = None
if self.bbox:
draw = ImageDraw.Draw(im)

View File

@ -11,7 +11,7 @@ requires = [
if sys.version_info < (3,0):
requires.append('future')
version = '1.5'
version = '1.5a'
setup(
name='ifstools',
description='Extractor/repacker for Konmai IFS files',