title: Bending an image in SVG
body: <p>In my SVG application, I have images which the user can extend. I'd like to give controls to the user so they can bend them from the edges as well.</p>
  
  <p>Here is a visual example of what a user could do.</p>
  
  <p><img src="https://i.stack.imgur.com/8lgoe.png" alt="Bending a lace - before &amp; after"></p>
  
  <p>Would love to hear suggestions on how to go about doing this.</p>
  
  <p>One possible idea is that I put the image inside a path &amp; add controls for stretching the edges of the path. However, I wonder how to stretch the image inside the path so that it consumes the whole available space.</p>