Last updated 2 years ago
Load an image from a image URL. It is recommended to use the Load method to load an image.
The instance of *imgo.Image .
*imgo.Image
package main import ( "github.com/fishtailstudio/imgo" ) func main() { url := "https://www.baidu.com/img/flexible/logo/pc/result.png" imgo.LoadFromUrl(url). Save("out.png") }
url
string
Image URL.