title: Resizing an image in python
body: <p>I have an image of size (288, 352). I want to resize it to (160, 240).
  I tried the following code:</p>
  
  <pre><code>im = imread('abc.png')
  img = im.resize((160, 240), Image.ANTIALIAS)
  </code></pre>
  
  <p>But it gives an error <code>TypeError: an integer is required</code>
  Please tell me the best way to do it.</p>