Documentation ¶ Index ¶ func Clone(src image.Image) draw.Image func Encode(img image.Image, quality int, typ string) ([]byte, error) func ReadFile(filePath string) (image.Image, error) func WriteFile(img image.Image, quality int, filename string) (err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Clone ¶ func Clone(src image.Image) draw.Image func Encode ¶ func Encode(img image.Image, quality int, typ string) ([]byte, error) func ReadFile ¶ func ReadFile(filePath string) (image.Image, error) 读取图片 func WriteFile ¶ func WriteFile(img image.Image, quality int, filename string) (err error) 写入文件 Types ¶ This section is empty. Source Files ¶ View all Source files image.go Directories ¶ Show internal Expand all Path Synopsis qrcode text Click to show internal directories. Click to hide internal directories.