0.0.12 • Published 3 years ago

@ldoliang/effect-clip v0.0.12

Weekly downloads
-
License
MIT
Repository
github
Last release
3 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

3 years ago

0.0.9

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago