8 Star 40 Fork 10

Gitee 极速下载 / Caire

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/esimov/caire
克隆/下载
doc.go 734 Bytes
一键复制 编辑 原始数据 按行查看 历史
esimov 提交于 2018-03-05 12:48 . Modify doc.go
/*
Package caire is a content aware image resize library, which can rescale the source image seamlessly
both vertically and horizontally by eliminating the less important parts of the image.
The package provides a command line interface, supporting various flags for different types of rescaling operations.
To check the supported commands type:
$ caire --help
In case you wish to integrate the API in a self constructed environment here is a simple example:
package main
import (
"fmt"
"github.com/esimov/caire"
)
func main() {
p := &caire.Processor{
// Initialize struct variables
}
if err := p.Process(in, out); err != nil {
fmt.Printf("Error rescaling image: %s", err.Error())
}
}
*/
package caire
Go
1
https://gitee.com/mirrors/Caire.git
git@gitee.com:mirrors/Caire.git
mirrors
Caire
Caire
master

搜索帮助