Is there any angular2 image crop directive like ngImgCrop
Yes we can use ng2-img-cropper
component for the same, you just have to install the package named as ng2-img-cropper from the node
using
npm install ng2-img-cropper --save
than just use the component by importing
import {ImageCropperComponent, CropperSettings, Bounds} from 'ng2-img-
cropper';
Working plunker here For more info see here,
来源:https://stackoverflow.com/questions/38149250/any-angular2-image-crop-directive-available