nfnt / resize

Pure golang image resizing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ability to crop with a rectangle argument

peterbe opened this issue · comments

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.

Wow! I didn't know that. I'll look into this SubImage() thing.