title: Pysimplegui resizing images
body: <p>I'm trying to resize images in <a href="https://pysimplegui.readthedocs.io/" rel="nofollow noreferrer">pysimplegui</a> however it crops the images instead of resizing.</p>
  <p>My image element is written as:</p>
  <pre class="lang-py prettyprint-override"><code>ui.Image('{filename}'), size=(50,50)))
  </code></pre>
  <p>Which results to something like:</p>
  <p><a href="https://i.stack.imgur.com/QEYHl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QEYHl.png" alt="enter image description here" /></a></p>
  <p>While the original looks like:</p>
  <p><a href="https://i.stack.imgur.com/3FqEx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3FqEx.png" alt="enter image description here" /></a></p>
  <p>I've seen somewhere else that suggests PIL (<a href="https://stackoverflow.com/a/67080573/17714994">link</a>). However, this looks a lot longer than i liked and was wondering if there is an easier way to do this.</p>