String
Return the image as a string.

Parameters

None

Return Values

string

Examples

package main
​
import (
"fmt"
"github.com/fishtailstudio/imgo"
)
​
func main() {
img := imgo.Load("gopher.png")
fmt.Println(img)
}
Output:
Extension: .png
Mimetype: image/png
Width: 189
Height: 256
Copy link
On this page
Parameters
Return Values
Examples