Skip to content
Projects

About

全网唯一支持裁剪图片任意角度旋转、交互体验媲美原生客户端的全平台图片裁剪组件。

Design & Media

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README-en.md

Original

SimpleCrop

The only full-platform picture cropping component that supports cropping pictures at any angle and interacts with the interaction experience comparable to that of native clients.

中文

Features

Compared with the currently popular Web picture cropping components, its advantages are as follows:

  • Picture supports rotation at any angle.
  • Supports Script, React, Vue, Wechat.
  • Supports mobile and PC.
  • Supports border judgment. When there is a blank in the crop box, the picture is automatically absorbed to completely fill the crop box.
  • Touch scaling is based on the center of two fingers.
  • Has an interactive experience comparable to native clients.

Installation

npm install simple-crop

Examples

Wechat Example

WeChat example

Mobile Example

Mobile example

On the left is the picture cropping example in the IOS system album, and on the right is the SimpleCrop mobile example.

Scan the QR code:

QR code for mobile example

Visit the following links:

https://newbieyoung.github.io/Simple-Crop/examples/test-2.html

PC Example

PC example

https://newbieyoung.github.io/Simple-Crop/examples/test-1.html

Usage

Document

License

This content is released under the MIT License.

Explore related projects

Loading…