@mocanvas/mocanvas · class
declare class ImageAssetUtil extends BuiltInAssetUtil<ImageAsset>Image files: raster and SVG, downsized to the configured maximum.
Methods · 4
getAssetFromFile(file: File, assetId: Asset["id"]): Promise<ImageAsset | null>getDefaultProps(): ImageAssetPropsgetShapeType(): stringgetSupportedMimeTypes(): readonly string[]Properties · 2
static options: AssetUtilOptions & {static type: "image"mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.