New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crop zone exceeds natural image size #24
Comments
Could you check what version of react-cropper are you using? The latest version of recat-cropper is using https://www.npmjs.com/package/cropperjs not https://www.npmjs.com/package/cropper. If you use the latest version of react-cropper 0.6.2 and still have this problem, would you please attach the screenshot to this discussion? |
React code where I call react-cropper: `var ReactAddAndCropImages = React.createClass({
1 I add a jpeg image but cropper returns a png; |
Any suggestions? |
It turns out that the issue is the image, not the cropper. |
@ClaudiuHar may I ask how you handled the uploading of multiple images and getting rid of the background sizing? |
Is the problem solved?@ClaudiuHar |
It seems that the problem is still there, and it is related to the picture, sometimes it is 10 times larger, sometimes only 2 times larger |
The image returned by cropper is much larger than the original image.
It seems that fengyuanchen cropper had this issue, but it is fixed now. See issue:
fengyuanchen/cropper#34
Can you confirm witch version of fengyuanchen is used by react-cropper?
Also I still have this problem, so when uploading a 300kb file it become 1.9Mb after cropping; the difference is huge.
The text was updated successfully, but these errors were encountered: