graphics

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 4, 2017 License: MIT 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