image

package
v0.0.0-...-96288a7 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidType = errors.New("image: invalid type")

Functions

func JPEG

func JPEG(w io.Writer, r io.Reader, width, height, quality int, crop bool) error

func Validate

func Validate(img *multipart.FileHeader) error

Validate validates is file header an image

Types

This section is empty.

Jump to

Keyboard shortcuts

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