toDataUrl

abstract fun toDataUrl(imageFileFormat: ImageFileFormat = ImageFileFormat.JPG): String(source)

return a base64 data url representation