asset2base64 - Convert Asset into Base64 String
Converts an uploaded asset (image, zip, audio, video, pdf, ...) or loads and converts the asset from the given URL to a base64 string.
urlstring
The URL of the asset to be converted into a base64 string.
Example:
https://api.1001fx.com/testdata/image.pngaddPrefixboolean
Specifies if the prefix 'data:MimeType;base64,' should be added to the result string. Default is true.
Example:
filebinary
Asset file to be processed.
