Return the Bounds of the image.
None
image.Rectangle
package main import ( "fmt" "github.com/fishtailstudio/imgo" ) func main() { img := imgo.Load("gopher.png") fmt.Println(img.Bounds()) }
Output:
(0,0)-(189,256)
Last updated 2 years ago