Skip to content

KBE3D / KBCore / utils / image2Base64

函数: image2Base64()

image2Base64(img: HTMLImageElement): string

图片对象 转 Base64编码

参数

img

HTMLImageElement

返回

string

KBE3D @3.0.0 Copyright © 2024-present KBE3D