mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-07 13:38:16 -08:00
10 lines
256 B
Go
10 lines
256 B
Go
// +build !go1.7
|
|
|
|
package bimg
|
|
|
|
// Resize is used to transform a given image as byte buffer
|
|
// with the passed options.
|
|
// Used as proxy to resizer() only in Go <= 1.6 versions
|
|
func Resize(buf []byte, o Options) ([]byte, error) {
|
|
return resizer(buf, o)
|
|
}
|