toDataURL

open fun toDataURL(mimeType: String, quality: Number): String