img

package
v0.0.0-...-50176c9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ErrUnsupportedImageType 不支持的图片格式
	ErrUnsupportedImageType = errors.ConstError("unsupported image type")
)

Variables

This section is empty.

Functions

func Crop

func Crop(r io.Reader, x, y, width, height int) (*bytes.Buffer, error)

Crop 剪切图片

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL