- Old code again.

This commit is contained in:
ccremers 2006-08-04 23:29:52 +00:00
parent 6ee0a36360
commit 50ebab504d

View File

@ -90,9 +90,8 @@ class AttackDisplay(wx.ScrolledWindow):
self.Image.SetBitmap(wx.BitmapFromImage(bmp))
elif self.attack.filetype == "ps":
pil = self.original.copy()
(H,W) = (sh,sw)
# (H,W) = pil.size
# (H,W) = makefit(H,W)
(H,W) = pil.size
(H,W) = makefit(H,W)
# we really only want antialias when it's smaller
pil.thumbnail((H,W),Image.ANTIALIAS)