Ability to crop with a rectangle argument
peterbe opened this issue · comments
Peter Bengtsson commented
I like this: https://code.google.com/p/appengine-go/source/browse/example/moustachio/resize/resize.go
because I can supply a rectangle to crop the image.
Jan Schlicht commented
In my opinion that's not necessary. An image.Image
provides that rectangle (and other metadata like color space information). By using the SubImage()
command of any image type you can crop images without having to rely on a third-party package to do so.
Peter Bengtsson commented
Wow! I didn't know that. I'll look into this SubImage()
thing.