convertImageToBase64
Last updated
Last updated
Converts an image to base64 format.
Mobile
Web
Name | Description | Input Type | Default | Options | Required |
---|---|---|---|---|---|
Description | Output Type |
---|---|
The function to be executed when the image is successfully converted to base64 format.
There is no parameter 'extra'.
There is a parameter 'extra'.
Object
Description | Output Type |
---|---|
Description | Output Type |
---|---|
Key | Description | Output Type |
---|---|---|
image
The image to be converted, it can be a asset icon name, local file path or url. If the image is a url must not block CORS.
Text/List
-
-
Yes
extra
Extra parameters stored and passed to callback.
Any
-
-
No
Returns 'true' if the image was passed and if not it will return 'false'.
Boolean
The base64 of the image, it will return text or list based on the parameter 'image' passed.
Text/List
Contains the result and extra of the function.
Object
data
The base64 of the image, it will return text or list based on the parameter 'image' passed.
Text/List
extra
The extra value.
Any