Skip to content
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

after addImageObject function ,image cannot resize. #913

Open
HeiYanjing opened this issue Mar 12, 2024 · 1 comment
Open

after addImageObject function ,image cannot resize. #913

HeiYanjing opened this issue Mar 12, 2024 · 1 comment
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

@StaburovAlexey
Copy link

@HeiYanjing hi. did you manage to solve the problem? I ran into it and I can't find a solution.

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

No branches or pull requests

2 participants