Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageHandler ¶ added in v0.0.17
func NewImageHandler ¶ added in v0.0.17
func (*ImageHandler) Clip ¶ added in v0.0.17
func (h *ImageHandler) Clip(rect image.Rectangle, quality int) (err error)
图片裁剪
func (*ImageHandler) Scale ¶ added in v0.0.17
func (h *ImageHandler) Scale(width, height, quality int) error
缩略图
Click to show internal directories.
Click to hide internal directories.