1
0
mirror of https://github.com/mon/ifstools.git synced 2025-02-25 13:55:01 +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 This could be far speedier if it copied raw pixels, but that would
take far too much time to write vs using Image inbuilts ''' take far too much time to write vs using Image inbuilts '''
im = Image.new('RGBA', self.img_size) im = Image.new('RGBA', self.img_size)
draw = None
if self.bbox: if self.bbox:
draw = ImageDraw.Draw(im) draw = ImageDraw.Draw(im)

View File

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