String
返回当前图像的字符串。
参数
无
返回值
string
例子
package main
import (
"fmt"
"github.com/fishtailstudio/imgo"
)
func main() {
img := imgo.Load("gopher.png")
fmt.Println(img)
}
输出:
Extension: .png
Mimetype: image/png
Width: 189
Height: 256
最后更新于