Returns the Base64 binary encoding of a png or bmp image file as a text string. The first argument can be a full file path name to the image, a directory path, or left blank. The latter two options will prompt a user with a dialog to choose the desired png or bmp file.
Number | Type | Compulsory | Default | Description |
1 | String | No | File path name of png or bmp file |
Full file path name, file directory path, or empty.
Return type: String
Integer Error Code | Description |
0 | File doesn't exist |
1 | Incorrect file format - supported formats are PNG and BMP |
2 | Failed to convert file |
▲Function Summary▲ | ||
◄ ElementProps | EnterTextDialog ▶ |