I have got a problems with using Pillow by calling standard methods resize, load
integer argument expected, got float
/usr/local/lib/python3.2/dist-packages/Pillow-2.1.0-py3.2-linux-x86_64.egg/PIL/Image.py in load, line 1702
this code throw type error:
img = img.resize((dst_width, dst_height), pil.ANTIALIAS)
but dst_width and dst_height are integers, i tried to convert variables like this but the problem is still the same
img = img.resize((int(dst_width), int(dst_height)), pil.ANTIALIAS)
Log in to post a comment.