Mosaic
Mosaic the image.
Parameters
Parameter
Type
Description
size
int
Size of mosaic pixels.
x1
int
X-Coordinate of the top-left corner of the mosaic rectangular.
y1
int
Y-Coordinate of the top-left corner of the mosaic rectangular.
x2
int
X-Coordinate of the bottom-right corner of the mosaic rectangular.
y2
int
Y-Coordinate of the bottom-right corner of the mosaic rectangular.
Return Values
The instance of *imgo.Image
.
Examples
Last updated