img

package
v0.0.0-...-709eff3 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckImage

func CheckImage(imageName string) (string, error)

CheckImage 检查图片后缀

func Encode

func Encode(imageName string, w io.Writer, m image.Image) error

Encode 编码图片到io.Writer

func Gray

func Gray(ir io.Reader) image.Image

Gray 输出的

func WriteImage

func WriteImage(outputName string, image image.Image)

WriteImage image写入图片文件

Types

This section is empty.

Jump to

Keyboard shortcuts

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