-
Notifications
You must be signed in to change notification settings - Fork 18.6k
Closed
Labels
Description
Feature request. Requested on golang-nuts: https://groups.google.com/d/msg/golang-nuts/rL1ATqYBECU/3UYlNCBgEaUJ By: Alberto García Hierro: >> There are many different resizing algorithms and approaches. I would >> imagine that pure Go image resizing can and should be done by a "go >> get"table third party library. Not everything has to be in the >> standard library. I totally agree, resizing algorithms should be pluggable. However, I think the standard library should provide a basic framework for them, so users could write only the code for the interpolation. e.g. type Interpolator interface... or type Interpolator func... for better performance func Resize(im Image, width, height int, inter Interpolator) (Image, error) Best regards, Dobrosław Żybort