使用概览
基本用法
链式调用(推荐)
package main
import "github.com/fishtailstudio/imgo"
func main() {
imgo.Load("background.png").
Resize(250, 350).
Insert("gopher.png", 50, 50).
Save("out.png")
}非链式调用
package main
import "github.com/fishtailstudio/imgo"
func main() {
background := imgo.Load("background.png")
background.Resize(250, 350)
background.Insert("gopher.png", 50, 50)
background.Save("out.png")
}读取图像
创建图像
编辑图像
图像输出
输出为文件
格式
Mimetype
HTTP响应
最后更新于