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

x/imagescript/ImageScript.js>Image#scale

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

Resizes the image by the given factor

Parameters

factor

The factor to resize the image with

optional
mode = [UNSUPPORTED]

The resizing mode to use