Skip to content

haakenlid/photocrop

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

npm version License: MIT awesomeness

React photo cropping widget

React photo cropper with svg controls.

what it looks like

Used for parametric image cropping with multiple / unknown output image size.

Demo

storybook demos

Documentation

nope

Tests

nope

Known issues

Uses the pointer events api, which is supported by most browsers, but not Safari. So it requires pointer events polyfill to work on apple devices.

Also uses some svg and css features that might not be fully supported by all browsers. With the PEP polyfill, I think it should work in Chrome and Firefox on most platforms.