<div class="container">
  <img src="http://tympanus.net/codrops-playground/assets/images/cssref/properties/clip-path/beach.jpg" alt="Beach">
</div>
<svg>
  <defs>
    <clipPath id="thePath" clipPathUnits="objectBoundingBox">
      <polygon fill="none" stroke="#000" stroke-miterlimit="10" points=".3,0 .5,.3 .7,0 .8,.4 1,.8 .5,.7 .4,.9 0,.6"/>
    </clipPath>
  </defs>
</svg>
body {
  background-color: #F5F5F5;
  color: #555;
  font-size: 1.1em;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.container {
  margin: 40px auto 0;
  width: 90%;
  border: 1px dotted #eee;
  background-color: #fff;
}

img {
  max-width: 100%;
  -webkit-clip-path: url(#thePath);
  clip-path: url(#thePath);
}