giacomocerquone / react-perspective-cropper

React component performing border detection, perspective correction and simple image filters over a provided image 📲 📸
MIT License
44 stars 21 forks source link

Provide maxHeight and maxWidth props #2

Closed giacomocerquone closed 3 years ago

giacomocerquone commented 3 years ago

As of now both the image to crop and the resulting cropped image are presented with a maxHeight and maxWidth based on the height and width of the uploaded image.

This is a problem for two reasons:

giacomocerquone commented 3 years ago

done in https://github.com/giacomocerquone/react-perspective-cropper/commit/40f95b07a666ce41f19730dbbcb8538b72e31c95