title: Cropping and creating thumbnails with Go
body: <p>Is there a way for me to crop an image with Go by giving dimensions and offsets?</p>
  
  <p>I'm thinking of something flexible like this php function:
  <a href="http://php.net/manual/en/function.imagecopyresampled.php" rel="noreferrer">http://php.net/manual/en/function.imagecopyresampled.php</a></p>
  
  <p>I found this: <a href="https://github.com/nfnt/resize" rel="noreferrer">https://github.com/nfnt/resize</a>
  But that library does not seem to have an offset option.</p>
  
  <p>I need to be able to crop any area of the original image. Not just scaling down, but also a different positioning of the cropped image.</p>
  
  <p>Any suggestions on how I can achieve this?</p>