feihu_roger wrote: > 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.
a nearest-neighbour resampling can in fact make the image harder to compress with a non-lossy algorithm, but it's probably mostly because PIL doesn't use a full LZW compressor, originally for legal reasons, but these days mostly because people have better things to do than to write code for a 20-year old crap format designed by a dead company using a patent owned by a bunch of utter nincompoops. are you sure you cannot use JPEG (for photographic images) or PNG (for graphics) instead? </F> _______________________________________________ Image-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/image-sig
