nhn / tui.image-editor

🍞🎨 Full-featured photo image editor using canvas. It is really easy, and it comes with great filters.
http://ui.toast.com/tui-image-editor
MIT License
6.94k stars 1.28k forks source link

Cannot read property 'getCenterPoint' of null #625

Open xlei1123 opened 3 years ago

xlei1123 commented 3 years ago

Describe the bug addImageObject. error ==> Cannot read property 'getCenterPoint' of null

react: import ImageEditor from '@toast-ui/react-image-editor'; imageEditorInstance.addImageObject(url).then(()=> {}).catch();

error: Cannot read property 'getCenterPoint' of null

lja1018 commented 3 years ago

@xlei1123 Thank you for the report. I'll fix this bug.

eomttt commented 2 years ago

when i call addImageObject() always this error fied. how to if add image object? another way?

eomttt commented 2 years ago

http://nhn.github.io/tui.image-editor/latest/ImageEditor#loadImageFromURL

i use this

mohamedabdelmoniem10 commented 2 years ago

Is there any solution?!

lja1018 commented 2 years ago

@mohamedabdelmoniem10 There is no solution yet. I'm sorry.