0.0.12 • Published 4 years ago

@ldoliang/effect-clip v0.0.12

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

4 years ago

0.0.9

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago