Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/imagescript/ImageScript.js>Image#encode

zero-dependency JavaScript image manipulation
Extremely Popular
Latest
method Image.prototype.encode
import { Image } from "https://deno.land/x/imagescript@1.3.0/ImageScript.js";

Encodes the image into a PNG

Parameters

optional
compression = [UNSUPPORTED]

The compression level to use (0-3)