Documentation
¶
Index ¶
- func Blur(content []byte, blur float64, format imaging.Format) ([]byte, error)
- func Grayscale(content []byte, format imaging.Format) ([]byte, error)
- func ImgToBase64Url(filePath string) string
- func Resize(content []byte, width, height int, format imaging.Format) ([]byte, error)
- func ToBase64Url(imgBytes []byte) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImgToBase64Url ¶
ImgToBase64Url converts an image file to Base64 encoded URL string
func ToBase64Url ¶
ToBase64Url converts a byte slice to Base64 encoded URL string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.