Simple Image Crop directive for AngularJS. Enables to crop a circle, a square or a rectangle out of an image.
Codepen: Circle + Chargement Crop
Codepen: Square + Init Url Crop + Maximum rendered image
Codepen: Rectangle Crop
Codepen: Rectangle Crop + Crop info
Codepen: Rectangle With Aspect Crop and Max Init
Codepen: Rectangle + Aspect + Array Crop
On update 0.5.4 i have fixed resize of the circle, it's looks not perfect, but it's better then bugged we had. If you believe you can fix algorithm of the circle resize, check the line 74 of the crop-area.js
If you want to contribute, please join our gitter chat and trello board for better organisation. To join trello write reply HERE.
You have four options to get the files:
- Download ngImgCropExtended files from GitHub.
- Use Bower to download the files. Just run
bower install ngImgCropFullExtended
. - Use Npm to download the files. Just run
npm i ng-img-crop-full-extended
. - Use Meteor to download the files. Just run
meteor add correpw:ng-img-crop-full-extended
.
You can checkout all options under our wiki page
See the LICENSE file.