An open API service indexing awesome lists of open source software.

https://github.com/dnnsk/js-cropper

Pure JavaScript image cropper
https://github.com/dnnsk/js-cropper

crop-image cropper cropperjs cropping image-manipulation javascript-library pure-javascript

Last synced: 3 months ago
JSON representation

Pure JavaScript image cropper

Awesome Lists containing this project

README

        

# js-cropper

> Quick and easy way to add image cropping functionality to your web application without dependencies

## Features
* Promise API
* Supports Touch Events
* Multiple callbacks
* No dependencies (pure JavaScript code)
* Excellent [Browser support](docs/BROWSER_SUPPORT.md)
* Based on canvas technology
* Available Zooming (Setting/Resetting/UI input)
* Exports cropped image in Base64
* Gets position/zoom in JSON data
* Sets position/zoom from JSON data
* Dynamically changing dimensions of cropping area via available public methods
* Loads image by URL
* and many others...

## Docs

* [Browser support](docs/BROWSER_SUPPORT.md)
* [Getting started](docs/GETTING_STARTED.md)
* [API docs](docs/API.md)
* [Changelog](CHANGELOG.md)

## Tests
In order to test this module - run `npm test`

## License
MIT © [Denis Kalinichenko](https://kalinichenko.me)