- Old code again.
This commit is contained in:
parent
6ee0a36360
commit
50ebab504d
@ -90,9 +90,8 @@ class AttackDisplay(wx.ScrolledWindow):
|
|||||||
self.Image.SetBitmap(wx.BitmapFromImage(bmp))
|
self.Image.SetBitmap(wx.BitmapFromImage(bmp))
|
||||||
elif self.attack.filetype == "ps":
|
elif self.attack.filetype == "ps":
|
||||||
pil = self.original.copy()
|
pil = self.original.copy()
|
||||||
(H,W) = (sh,sw)
|
(H,W) = pil.size
|
||||||
# (H,W) = pil.size
|
(H,W) = makefit(H,W)
|
||||||
# (H,W) = makefit(H,W)
|
|
||||||
# we really only want antialias when it's smaller
|
# we really only want antialias when it's smaller
|
||||||
pil.thumbnail((H,W),Image.ANTIALIAS)
|
pil.thumbnail((H,W),Image.ANTIALIAS)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user