0.0.12 • Published 2 years ago

@ldoliang/effect-clip v0.0.12

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@ldoliang/effect-clip

Clip the image's effect part. Get the coordinates of the opaque part of the picture.

issues forks stars license download

env

browser

install

npm install @ldoliang/effect-clip

Usage

import { getClipInfo } from '@ldoliang/effect-clip';

getClipInfo(imgUrl).then(info => {
  const { x, y, w, h } = info
});
0.0.12

2 years ago

0.0.9

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago