Documentation ¶
Index ¶
- Constants
- func Crush(filePath string) error
- func CutEdge(uri string, position string, step uint) (image.Image, error)
- func DoCrush(do bool, filePath string) error
- func ImageDecode(r io.Reader) (image.Image, string, error)
- func Info(uri string) (map[color.Color]int, error)
- func Invert(uri string) (image.Image, error)
- func IsDir(path string) (bool, error)
- func OpenURI(uri string) (rc io.ReadCloser, err error)
- func Resize(uri string, w, h uint) (image.Image, error)
- func SaveImage(img image.Image, savePath string, imageType int) (err error)
- func Transparent(uri string, red, green, blue uint32, transparentWhiteDirect bool) (image.Image, error)
- type Circle
Constants ¶
View Source
const ( IT_png = iota IT_jpeg IT_gif IT_webp IT_tiff IT_icns IT_ico IT_bmp )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.