'size' already contains the thumbnail dimensions (set in line 1515), so I
get the correct behavior here.
Are you perhaps using an older buggy library? 1.1.6 is the current stable
and 1.1.7 is in the works.
----- Original Message -----
From: "Michał Swat" <michals...@gmail.com>
To: <image-sig@python.org>
Sent: Sunday, July 19, 2009 00:41
Subject: [Image-SIG] PIL thumbnail method
Hi, I think there is a bug in thumbnail() method in PIL library.
In line 1533 is:
self.size = size
in my opinion this should be:
self.size = im.size
becouse now after calling thumbnail() method on an image object when I
want get dimentions of image(size property) i still gets old values,
exactly the same like before thumbnail() calls.Realy should be like
that?
Michal
_______________________________________________
Image-SIG maillist - Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig
_______________________________________________
Image-SIG maillist - Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig