image

package
v0.0.0-...-adb56df Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalcToResizeHeight

func CalcToResizeHeight[T ~int64 | ~int](srcWidth, srcHeight, dstHeight T) T

func CalcToResizeWidth

func CalcToResizeWidth[T ~int64 | ~int](srcWidth, srcHeight, dstWidth T) T

func FlipHJPEG

func FlipHJPEG(srcDate []byte) ([]byte, error)

func FlipVJPEG

func FlipVJPEG(srcDate []byte) ([]byte, error)

func GetSize

func GetSize(srcData []byte) (int64, int64, error)

func ResizeJPEG

func ResizeJPEG(srcData []byte, width, height int64) ([]byte, error)

func Rotate180JPEG

func Rotate180JPEG(srcDate []byte) ([]byte, error)

func Rotate270JPEG

func Rotate270JPEG(srcDate []byte) ([]byte, error)

func Rotate90JPEG

func Rotate90JPEG(srcDate []byte) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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