graphics

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2017 License: Apache-2.0, Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ImageCopy

func ImageCopy(src image.Image, x, y, w, h int) (image.Image, error)

func ImageCopyFromFile

func ImageCopyFromFile(p string, x, y, w, h int) (image.Image, error)

func ImageResize

func ImageResize(src image.Image, w, h int) image.Image

func ImageResizeSaveFile

func ImageResizeSaveFile(src image.Image, width, height int, p string) error

func SaveImage

func SaveImage(p string, src image.Image) error

将图片保存到指定的路径

Types

This section is empty.

Jump to

Keyboard shortcuts

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