-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Clear canvas and UI #383
Comments
Thank you for raising an issue. Please make sure you have filled out issue respecting our form in English and given us as much context as possible. If not, the issue will be closed or not replied. |
This issue has been automatically marked as inactive because there hasn’t been much going on it lately. It is going to be closed after 7 days. Thanks! |
@superstar1128 The only way to remove loaded image is destroy and create new ImageEditor instance for now. As you know, I'll discuss adding API for clear ImageEditor with initial instance state with my team. Thanks. |
This issue has been automatically marked as inactive because there hasn’t been much going on it lately. It is going to be closed after 7 days. Thanks! |
This issue will be closed due to inactivity. Thanks for your contribution! |
How to clear image on canvas? Please help Thank you in advance |
I have tried many ways sir but still no success. imageEditorInst.loadImageFromURL("null", "image").then(() => { OR
OR imageEditorInst.ui.initCanvas(); |
i have same problem can i claer image? |
Also wondering how to clear an image from the canvas. UI can get laggy when a large image is there, I want to get rid of it once the user has saved the result without destroying the entire canvas |
@dano1066 |
How can I clear all objects from canvas and UI?
When load img, menu is activated automatically.
I want to add "Clear" button, so when click "clear", clear canvas and hide menu.
How can I do it?
I called imageEditor.clearObjects(), but loaded image is remained on the canvas.
The text was updated successfully, but these errors were encountered: