Skip to content

✂️ A demo that uses canvas to crop a picture. 一个使用canvas裁剪图片的demo。

License

Notifications You must be signed in to change notification settings

shinn-lancelot/clip-pic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clip-pic

Netlify Status

A demo that uses canvas to crop a picture. 一个使用canvas裁剪图片的demo。

TODO

1. 基本实现裁剪功能

  1. 裁剪框可伸缩

3. 通过键盘方向键移动裁剪框

4. 手机端实现裁剪框调整

  1. 裁剪框伸缩抖动,长度异常

  2. 比例不精确,导致裁剪后图片有黑边。

About

✂️ A demo that uses canvas to crop a picture. 一个使用canvas裁剪图片的demo。

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published