Documentation ¶
Index ¶
- Variables
- func EncodeImg(writer io.Writer, img image.Image, imgf string) (err error)
- func SaveThumbnail(imgr io.ReadSeeker, maxw, maxh int, dir, fname string) (name string, err error)
- func SaveThumbnailAndImage(imgr io.ReadSeeker, maxw, maxh int, tdir, dir, fname string) (tname, name string, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrImageExceedSize = errors.New("image size too large")
Functions ¶
func SaveThumbnail ¶
func SaveThumbnailAndImage ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.