Documentation ¶
Index ¶
- func AddImgBase64Header(img string) string
- func Compress(data []byte, width int, format imaging.Format) ([]byte, error)
- func ConvertToBase64(img []byte) string
- func ConvertToImage(data string) ([]byte, error)
- func RemoveImgBase64Header(img string) string
- func SplitBase64HeaderData(img string) (t, d string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddImgBase64Header ¶
func ConvertToBase64 ¶
func ConvertToImage ¶
func RemoveImgBase64Header ¶
func SplitBase64HeaderData ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.