一个用于裁剪图像/视频的 React 组件,支持简便的交互操作。
## 演示 查看托管示例: - [基本示例](https://ValentinH.github.io/react-easy-crop/docs/examples/basic) - [裁剪图像输出的示例](https://ValentinH.github.io/react-easy-crop/docs/examples/output) - [用户选择的图片示例](https://ValentinH.github.io/react-easy-crop/docs/examples/upload) - [圆形裁剪区域且无网格的示例](https://ValentinH.github.io/react-easy-crop/docs/examples/round) - [带视频的示例](https://ValentinH.github.io/react-easy-crop/docs/examples/video) - [裁剪保存/加载的示例](https://ValentinH.github.io/react-easy-crop/docs/examples/restore) ## 功能特性 - 支持拖拽、缩放和旋转操作 - 提供以像素和百分比为单位的裁剪尺寸 - 支持任何图片格式(JPEG、PNG,甚至 GIF),可通过 URL 或 base 64 字符串传入 - 支持 HTML5 支持的任何视频格式 - 移动端友好 **如果 React-easy-crop 无法满足您的需求,我们建议您查看 [Pintura](https://pqina.nl/pintura/?ref=reacteasycrop)** Pintura 提供裁剪、旋转、翻转、滤镜、标注以及大量附加功能,全面满足您在移动端和桌面端的所有图片和视频编辑需求。 **[了解更多关于 Pintura 的信息](https://pqina.nl/pintura/?ref=reacteasycrop)** ## 社区视频教程 - [使用实时裁剪创建图像图集](https://www.youtube.com/watch?v=E_AHkWHhUz4) 由 [Coding With Adam](https://youtube.com/c/codingwithadam) 提供
暂无开放 Issues,或尚未同步最近议题。