Documentation ¶
Overview ¶
Package util contain some reused tool functions
Index ¶
- func ConvertHexToRGB(hexStr string) (color.RGBA, error)
- func GetIPList() (IPList []string, err error)
- func IsGif(filename string) bool
- func IsJPG(filename string) bool
- func IsPng(filename string) bool
- func IsSupportedImage(filename string) bool
- func SaveImageToFile(images []image.Image, filenamePrefix string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertHexToRGB ¶
ConvertHexToRGB convert a color hex string to RGB color object
func IsSupportedImage ¶
IsSupportedImage check if the image type is supported type
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.