Documentation
¶
Index ¶
- func CompressImage(inputPath, outputPath, format string, maxEdgeLength int) error
- func CompressImageForTelegram(input []byte) ([]byte, error)
- func GetImagePhash(img image.Image) (string, error)
- func GetImagePhashFromReader(r io.Reader) (string, error)
- func GetImageSize(img image.Image) (int, int, error)
- func GetImageThumbHash(img image.Image) (string, error)
- func Init()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompressImage ¶ added in v0.90.0
func CompressImageForTelegram ¶ added in v0.90.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.