Revert "Fix saving images with added transparency"

This reverts commit cc439099c1.
This commit is contained in:
Alex Clark 2013-02-06 09:25:03 -05:00
parent c6b484affa
commit cb4f0f2b3c

View File

@ -364,11 +364,6 @@ def getheader(im, palette=None, info=None):
for i in range(maxcolor):
s.append(o8(i) * 3)
if im.info.has_key('transparency'):
transparentIndex = im.info['transparency']
s.append('!' + o8(0xf9) + o8(4) + o8(1) + o8(0) + o8(0) +
o8(transparentIndex) + o8(0))
return s
def getdata(im, offset = (0, 0), **params):