How to use this cropperjs #926
Answered
by
jafarpagerjaya
jafarpagerjaya
asked this question in
Q&A
-
I want to get crop result with certain width, lets said the image natural width is 1520px with the same natural height after select area to be crop i want to have 1296px width and 386 px height but the problem is when console.log result from the images got some blank |
Beta Was this translation helpful? Give feedback.
Answered by
jafarpagerjaya
Mar 22, 2022
Replies: 1 comment
-
Oh i got it, we should set toDataURL() into toDataURL('image/jpeg') |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jafarpagerjaya
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Oh i got it, we should set toDataURL() into toDataURL('image/jpeg')