Documentation
¶
Index ¶
- Constants
- func Decode(r io.Reader) (image.Image, error)
- func DecodeConfig(r io.Reader) (image.Config, error)
- func GetImageFromURL(ctx context.Context, url string) (string, string, error)
- func GetImageSize(image string) (width int, height int, err error)
- func GetImageSizeFromBase64(encoded string) (width int, height int, err error)
- func GetImageSizeFromURL(url string) (width int, height int, err error)
- func IsImageURL(resp *http.Response) bool
Constants ¶
View Source
const (
MaxImageSize = 1024 * 1024 * 5 // 5MB
)
Variables ¶
This section is empty.
Functions ¶
func GetImageFromURL ¶
func GetImageSizeFromBase64 ¶
func IsImageURL ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.