title: Resize multiple images in a folder (Python)
body: <p>I already saw the examples suggested but some of them don't work.</p>
  
  <p>So, I have this code which seems to work fine for one image:</p>
  
  <pre><code>im = Image.open('C:\\Users\\User\\Desktop\\Images\\2.jpg') # image extension *.png,*.jpg
  new_width  = 1200
  new_height = 750
  im = im.resize((new_width, new_height), Image.ANTIALIAS)
  im.save('C:\\Users\\User\\Desktop\\resized.tif') # .jpg is deprecated and raise error....
  </code></pre>
  
  <p>How can I iterate it and resize more than one image ? Aspect ration need to be maintained.</p>
  
  <p>Thank you</p>