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

x/imagescript/ImageScript.js>Image#cropCircle

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

Crops the image into a circle

Parameters

optional
max = [UNSUPPORTED]

Whether to use the larger dimension for the size

optional
feathering = [UNSUPPORTED]

How much feathering to apply to the edges