
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@codemotion/ui-cropper
Advanced tools
Image crop directive for AngularJS, square, circle and rectangle areas. Working aspect. Features like export array and more comming.
Simple Image Crop directive for AngularJS. Enables to crop a circle, square or rectangle from of an image.
Test it yourself, upload or choose an image from url in our amazing Online test suite
or pick a Codepen to play around with it
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
Codepen: Rectangle + CSS Crop
Codepen: Different sizes
We just moved this lib to new name, before you add it to your please do tests.
If you want to contribute, please join our gitter chat.
Download ui-cropper files from GitHub
bower install ui-cropper
npm install ui-cropper
meteor npm install --save ui-cropper
angular.module('app', ['uiCropper'])
.controller(function($scope){
$scope.myImage = 'https://raw.githubusercontent.com/CrackerakiUA/ui-cropper/master/screenshots/live.jpg';
$scope.myCroppedImage = ''; // in this variable you will have dataUrl of cropped area.
});
<ui-cropper image="myImage" result-image="myCroppedImage"></ui-cropper>
You can checkout all options under our wiki page
See the LICENSE file
FAQs
Image crop directive for AngularJS, square, circle and rectangle areas. Working aspect. Features like export array and more comming.
We found that @codemotion/ui-cropper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.