img

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2025 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Blur

func Blur(content []byte, blur float64, format imaging.Format) ([]byte, error)

func Grayscale

func Grayscale(content []byte, format imaging.Format) ([]byte, error)

func ImgToBase64Url

func ImgToBase64Url(filePath string) string

ImgToBase64Url converts an image file to Base64 encoded URL string

func Resize

func Resize(content []byte, width, height int, format imaging.Format) ([]byte, error)

func ToBase64Url

func ToBase64Url(imgBytes []byte) string

ToBase64Url converts a byte slice to Base64 encoded URL string

Types

This section is empty.

Jump to

Keyboard shortcuts

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