image

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(buf []byte, ext string) (image.Image, error)

func ExtractImgExt

func ExtractImgExt(fileId string) string

func Thumbnail

func Thumbnail(i image.Image, ext string, height, width int) ([]byte, error)

制作缩略图

func ThumbnailGif

func ThumbnailGif(buf []byte, height, width int) ([]byte, error)

ThumbnailGif 制作 Gif 的缩略图

Types

This section is empty.

Jump to

Keyboard shortcuts

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