Is there a way for me to crop an image with Go by giving dimensions and offsets?
I'm thinking of something flexible like this php function: http://php.net/manual/en/function.imagecopyresampled.php
I found this: https://github.com/nfnt/resize But that library does not seem to have an offset option.
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.
Any suggestions on how I can achieve this?