media
import {...} from "@motion-canvas/core/lib/media";
Multi-media management.
Classes
Interfaces
Type Aliases
ImageDataSource
type ImageDataSource = CanvasImageSourceheight: numberwidth: number
Functions
getImageData
public getImageDataimage: ImageDataSource: ImageData
Parameters
loadAnimation
public loadAnimationsources: string[]: PromiseHTMLImageElement[]
Parameters
sources: string[]
loadImage
public loadImagesource: string: PromiseHTMLImageElement
Parameters
source: string