function getSvgAsImage(
  editor: Editor,
  svgString: string,
  options: {
    height: number
    quality: number
    scale: number
    type: 'jpeg' | 'png' | 'webp'
    width: number
  }
): Promise<Blob | null>
Parameters
NameDescription

editor

Editor

svgString

string

options

{
  height: number
  quality: number
  scale: number
  type: 'jpeg' | 'png' | 'webp'
  width: number
}
Returns
Promise<Blob | null>
getPerfectDashPropsparseTldrawJsonFile