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.83k stars 1.26k forks source link

after addImageObject function ,image cannot resize. #913

Open HeiYanjing opened 3 months ago

HeiYanjing commented 3 months ago

Summary when I load mask Image in canvas , image cannot resize ,but it can be move. image

in vue3

    const blobToUrl = URL.createObjectURL(blobToFile)

    console.log(blobToUrl, blobToFile)
    instance.value.loadImageFromURL(instance.value.toDataURL(), 'FilterImage').then(function () {
        instance.value.addImageObject(blobToUrl).then(function (objectProps) {
            URL.revokeObjectURL(blobToFile)
            console.log(objectProps)
        })
        instance.value.loadMaskTailOpe()
    })

Version newest

so ,what happened . how can i fix