Last updated 3 years ago
Return the image as a string.
None
string
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