You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
firstly, thanks for making this great library. I am trying to use it to crop images taken by react-webcam (npm library). The images taken by the library don't seem get stored to local, so I'm thinking this is the reason I'm running into a problem. In this component <ReactCrop src={imgSrc} crop={crop} onChange={newCrop => setCrop(newCrop)} /> I insert the imgSrc, which is the image taken by the webcam. It is displayed on the site in the ReactCrop component, however, once I try to crop the photo the canvas doesn't show anything. Just the dimension of canvas changes, when I change the dimension of the crop. Could this be happening because the photo is taken with webcam and not stored?
Hello,
firstly, thanks for making this great library. I am trying to use it to crop images taken by react-webcam (npm library). The images taken by the library don't seem get stored to local, so I'm thinking this is the reason I'm running into a problem. In this component
<ReactCrop src={imgSrc} crop={crop} onChange={newCrop => setCrop(newCrop)} />
I insert the imgSrc, which is the image taken by the webcam. It is displayed on the site in the ReactCrop component, however, once I try to crop the photo the canvas doesn't show anything. Just the dimension of canvas changes, when I change the dimension of the crop. Could this be happening because the photo is taken with webcam and not stored?Any help would be appreciated!
Here is my full code:
The text was updated successfully, but these errors were encountered: