简体   繁体   English

在客户端裁剪图片并上传裁剪的图片

[英]Crop Image on client side and upload cropped image

I'm looking for crop and upload plugin in AngularJs, scenario is: 我正在AngularJs中寻找裁剪和上传插件,场景是:

  1. Browse an Image 浏览图像
  2. Crop the image 裁剪图像
  3. Upload the cropped image not the original image 上传裁剪后的图片而不是原始图片

Is there any optimized way to implement this on client side? 有没有优化的方法可以在客户端实现此功能?

Based on your tags I can see you're using angularjs for your client side app. 根据您的标签,我可以看到您正在为客户端应用程序使用angularjs The are many cropping modules out there, but I am personally using this ng-img-cropper by Allan Bishop for cropping and ng-file-upload for uploading. 那里有很多裁剪模块,但是我个人使用Allan Bishop的ng-img-cropper进行裁剪,并使用ng-file-upload进行上传。 Easy to use and straight forward. 易于使用和直接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM