optimizer

package
v0.0.0-...-07816c9 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Image

type Image struct {
	// contains filtered or unexported fields
}

func ByteToImage

func ByteToImage(byte []byte) (*Image, error)

func (*Image) ImageToJPEGByte

func (m *Image) ImageToJPEGByte() ([]byte, error)

func (*Image) Resize

func (m *Image) Resize(width int, height int) *Image

func (*Image) ResizeWithHeight

func (m *Image) ResizeWithHeight(height int) *Image

func (*Image) ResizeWithWidth

func (m *Image) ResizeWithWidth(width int) *Image

Jump to

Keyboard shortcuts

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