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

x/imagescript/ImageScript.js>Image#scale

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

Resizes the image by the given factor

Parameters

factor

The factor to resize the image with

optional
mode = [UNSUPPORTED]