Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

after addImageObject function ,image cannot resize. #913

Open
HeiYanjing opened this issue Mar 12, 2024 · 0 comments
Open

after addImageObject function ,image cannot resize. #913

HeiYanjing opened this issue Mar 12, 2024 · 0 comments
Labels

Comments

@HeiYanjing
Copy link

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant