Skip to main content
Module

x/imagescript/mod.ts>Image#scale

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

Resizes the image by the given factor

Parameters

factor

The factor to resize the image with

optional
mode = [UNSUPPORTED]

The resizing mode to use