Save
Save the current image to a filesystem.
Parameters
Return Values
The instance of *imgo.Image
.
Examples
PNG
JPEG
BMP
TIFF
Last updated
Save the current image to a filesystem.
The instance of *imgo.Image
.
Last updated
Parameter | Type | Description |
---|---|---|
path
string
Path to the file where to write the image data. See Output as a file for supported formats.
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.