npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ng-img-crop-full-extended

v0.6.2

Published

Image crop directive for AngularJS, square, circle and rectangle areas. Working aspect. Features like export array and more comming.

Downloads

4,596

Readme

Important Notes

We are going to move this lib to new repo. We will accept here Pull Requests until 16 October. After move we will leave this lib as it is, so on your projects it will work forever, just without updates, deprecated. 17 October you will have access to new repo.

ngImgCropFullExtended

Build Status GitHub release Join the chat at https://gitter.im/CrackerakiUA/ngImgCropFullExtended

Simple Image Crop directive for AngularJS. Enables to crop a circle, square or rectangle from of an image.

Live demo

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

News

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

Contribution

If you want to contribute, please join our gitter chat and trello board for better organisation. To join trello write reply HERE.

Installing

Download directly

Download ngImgCropExtended files from GitHub

Bower

bower install ngImgCropFullExtended

NPM

npm install ng-img-crop-full-extended

Meteor

meteor add correpw:ng-img-crop-full-extended

JSPM

import "ng-img-crop-full-extended/compile/unminified/ng-img-crop.js";

How to Use

angular.module('app', ['ngImgCrop'])
.controller(function($scope){
	$scope.myImage = 'https://raw.githubusercontent.com/CrackerakiUA/ngImgCropFullExtended/master/screenshots/live.jpg';
	$scope.myCroppedImage = ''; // in this variable you will have dataUrl of cropped area.
});
<img-crop image="myImage" result-image="myCroppedImage"></img-crop>

Documentation

You can checkout all options under our wiki page

License

See the LICENSE file