LoadFromImgo
Last updated
Last updated
Load an image from an instance of *imgo.Image
. It is recommended to use the Load method to load an image.
i
*imgo.Image
The instance of *imgo.Image
.
The instance of *imgo.Image
.
package main
import (
"github.com/fishtailstudio/imgo"
)
func main() {
img := imgo.Load("gopher.png")
imgo.LoadFromImgo(img).
Save