Last updated 2 years ago
Load an image from file path. 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() { imgo.LoadFromPath("gopher.png"). Save("out.png") }
path
string
Path of the image in filesystem.