Save
Save the current image to a filesystem.
Parameters
Parameter
Type
Description
path
string
quality
int
The quality of the image. Optional parameter. Only when the extension on path is jpg
or jpeg
, this parameter works. The valid range is (0, 100), and the default is 100.
Return Values
The instance of *imgo.Image
.
Examples
PNG
JPEG
BMP
TIFF
Last updated