[Image-SIG] resize gif in PIL
feihu_roger
feihu_roger at yahoo.com.cn
Sat Oct 28 07:58:09 CEST 2006
I use PIL to thumbnail or resizegif.
the original gif file :838*462. 38.75KB
resize to 600*345, after save as new file.
The new file is 86KB.
Why is the small gif Larger then original gif file.
>>> import Image
>>> im = Image.open('e:/1.gif')
>>> b=im.resize((600, 345,))
>>> b.show()
>>> b.save('e:/13.gif', 'GIF',)
__________________________________________________
¸Ï¿ì×¢²áÑÅ»¢³¬´óÈÝÁ¿Ãâ·ÑÓÊÏä?
http://cn.mail.yahoo.com
More information about the Image-SIG
mailing list