mirror of
https://github.com/mon/ifstools.git
synced 2025-02-25 21:58:21 +01:00
Fix bbox bug
This commit is contained in:
parent
06c2b338d2
commit
9004fef5d7
@ -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)
|
||||||
|
|
||||||
|
2
setup.py
2
setup.py
@ -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',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user