Chcę zmienić rozmiar obrazu w poduszkę-python, ale mam 2 funkcje z wyboru, aby użyć:Jaka jest różnica między Image.resize i Image.thumbnail w Pillow-python
Image.resize
http://pillow.readthedocs.org/en/latest/reference/Image.html#PIL.Image.Image.resize
i
Image.thumbnail
http://pillow.readthedocs.org/en/latest/reference/Image.html#PIL.Image.Image.thumbnail
Obie definicje wskazać rozmiaru IMA ge, Którego powinienem użyć?
'thumbnail' również nie powiększa obrazu. Np. obraz o rozmiarze 150x150 zachowa ten wymiar, jeśli wywołany zostanie 'Image.thumb ([512,512], PIL.Image.ANTIALIAS)'. –