Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/skia_canvas/mod.ts>SvgCanvas#encode

Fast HTML Canvas API implementation for Deno using Google Skia
Latest
method SvgCanvas.prototype.encode
import { SvgCanvas } from "https://deno.land/x/skia_canvas@0.5.8/mod.ts";

Encode and return buffer containing SVG data

Returns

Uint8Array