Generate thumbnails。
The instance of *imgo.Image .
*imgo.Image
package main import ( "github.com/fishtailstudio/imgo" ) func main() { imgo.Load("gopher.png"). Thumbnail(50, 50). Save("out.png") }
Last updated 1 year ago
width
int
Width of the thumbnails.
height
Height of the thumbnails.