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
Last updated 2 years ago