Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/shapes_plus/mod.ts>Shapes#toSave

Used canvas library to make shapes
Latest
method Shapes.prototype.toSave
import { Shapes } from "https://deno.land/x/shapes_plus@v0.0.5.1/mod.ts";

Parameters

path: string
optional
mimeType: "jpeg" | "png" | "webp"
optional
quality: number