title: How can I cut custom shape from an Image with PIL?
body: <p>I want to cut a picture, let's say:</p>
  <p><a href="https://i.stack.imgur.com/h2s1G.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/h2s1G.png" alt="enter image description here" /></a></p>
  <p>Using another picture that has transparent background, like this one:</p>
  <p><a href="https://i.stack.imgur.com/ilTIu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ilTIu.png" alt="enter image description here" /></a></p>
  <p>And get the following result:</p>
  <p><a href="https://i.stack.imgur.com/fq1Fv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fq1Fv.png" alt="enter image description here" /></a></p>
  <p>How can I achieve this using Python PIL/Pillow? Or any other library, but it has to be in Python.</p>