-
Is there any way to get the cropped Image just like getting the Rect ?I was hoping if there was anyway to get the cropped image. The cropper works fine. It returns the position of the cropper. But is it possible to get the image where the cropper is situated ? |
Beta Was this translation helpful? Give feedback.
Answered by
raminious
Nov 16, 2023
Replies: 1 comment 1 reply
-
Yes, you need to call const editor = new Pikaso()
// do your crop
const image = editor.export.toImage() |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
fzsf163
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, you need to call
export.toImage
https://pikaso.app/api/classes/Export.html#toImage