image

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToWebp

func ConvertToWebp(imageData []byte) ([]byte, error)

ConvertToWebp converts an image to webp format

func IsSizeValid

func IsSizeValid(imageData []byte, width, height int) (bool, error)

IsSizeValid checks if an image is within the specified dimensions

func ProcessImage

func ProcessImage(imageData []byte, height, quality int) ([]byte, error)

ProcessImage processes an image to a specified height and quality

Types

This section is empty.

Jump to

Keyboard shortcuts

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