imgtool

package
v0.90.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2025 License: AGPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompressImage added in v0.90.0

func CompressImage(inputPath, outputPath, format string, maxEdgeLength int) error

func CompressImageForTelegram added in v0.90.0

func CompressImageForTelegram(input []byte) ([]byte, error)

func GetImagePhash

func GetImagePhash(img image.Image) (string, error)

func GetImagePhashFromReader

func GetImagePhashFromReader(r io.Reader) (string, error)

func GetImageSize

func GetImageSize(img image.Image) (int, int, error)

func GetImageThumbHash

func GetImageThumbHash(img image.Image) (string, error)

func Init added in v0.90.0

func Init()

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL