image-transfer-util1
v1.0.2
Published
> 图像处理 打码
Downloads
2
Readme
🌈 简介:
图像处理 打码
🔧 使用:
import { Masek } from "image-transfer-util"
let canvas = document.querySelector(".canvas")
let ctx = canvas.getContext("2d", {willReadFrequently: true})
let masek = new Masek({ctx, imgUrl: "/nba.jpeg", x:220, y: 50, height: 100, width: 350, fuzziness: 5})
masek.download('filename')