GithubHelp home page GithubHelp logo

ozirissp / ui-cropper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from crackerakiua/ui-cropper

1.0 1.0 0.0 3.59 MB

Image Crop directive for AngularJS

Home Page: http://crackerakiua.github.io/ui-cropper/

License: MIT License

CSS 2.09% JavaScript 93.58% HTML 4.33%

ui-cropper's Introduction

uiCropper

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

We just moved this lib to new name, before you add it to your please do tests.

Contribution

If you want to contribute, please join our gitter chat.

Installing

Download directly

Download ngImgCropExtended files from GitHub

Bower

bower install ui-cropper

NPM

npm install ui-cropper

Meteor

meteor add crackeraki:ui-cropper

How to Use

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>

Documentation

You can checkout all options under our wiki page

License

See the LICENSE file

ui-cropper's People

Contributors

alexk111 avatar alexswensen avatar andidev avatar cedriceugeni avatar crackerakiua avatar dallanq avatar drmikecrowe avatar einarstubhaug avatar evdoks avatar firstvertex avatar francirp avatar fs02 avatar gitter-badger avatar hotas2k avatar ignacio-chiazzo avatar keycat avatar komachi avatar luaks avatar mandeepm91 avatar mcodev1 avatar neftedollar avatar omarciovsena avatar omichelsen avatar rickerd avatar semonte avatar simison avatar thetathaurus avatar thibserot avatar timoperplex avatar vogloblinsky avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.