Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface BufferOptions
import { type BufferOptions } from "https://deno.land/x/canvaseno@v1.0.2/types.ts";

Properties

optional
codec: string

image/png by default; image/jpeg also supported.

optional
quality: number

Image quality for jpeg encoding

optional
buffer: boolean

If it should return buffer instead of Uint8Array