image

package
v0.0.0-...-5564d8a Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TransformToWebP

func TransformToWebP(format string, b []byte, width int, height int) ([]byte, error)

Types

type ImageProperties

type ImageProperties struct {
	Width  int `json:"width"`
	Height int `json:"height"`
}

func GetProperties

func GetProperties(format string, b []byte) (*ImageProperties, error)

Jump to

Keyboard shortcuts

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