Can you try it? it is about me or it is a bug?
In [1]: import Image
In [2]: im = Image.open("r.png")
In [3]: type(im)
Out[3]:
In [4]: thm = im.thumbnail((200,200))
In [5]: type(thm)
Out[5]:
--
Mirat Can Bayrak
--
http://mail.python.org/mailman/listinfo/python-list
Hrvoje Niksic wrote:
Mirat Can Bayrak writes:
Can you try it? it is about me or it is a bug?
Neither. im.thumbnail() modifies the existing image object by
converting it to a thumbnail. In Python such methods by convention
return None.
The documentation explicitly mentions that:
Also
Mirat Can Bayrak writes:
> Can you try it? it is about me or it is a bug?
Neither. im.thumbnail() modifies the existing image object by
converting it to a thumbnail. In Python such methods by convention
return None.
The documentation explicitly mentions that:
Also note that this function