LoadFromImage
Load an image from an instance of image.Image
. It is recommended to use the Load method to load an image.
Parameters
Parameter | Type | Description |
---|---|---|
img |
| The instance of the types that implement the image.Image interface |
Return Values
The instance of *imgo.Image
.
Examples
Last updated