ImageUtils

优质
小牛编辑
139浏览
2023-12-01

A class containing utility functions for images.

Methods

.getDataURL ( image : HTMLCanvasElement | image : HTMLImageElement | image : ImageBitmap ) : String

image -- The image object.

Returns a data URI containing a representation of the given image.

Source

src/extras/ImageUtils.js