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

can't perform the filter on a big resolution image: GL_INVALID_VALUE : glCopySubTextureCHROMIUM: source texture bad dimensions #9

Open
shellvon opened this issue Aug 5, 2021 · 0 comments

Comments

@shellvon
Copy link

shellvon commented Aug 5, 2021

I have a 7096x4720 white picture. After adjusting any filter and exporting the picture, I will find that a black border appears on the right and bottom, and the following error appears in web web console:
GL_INVALID_VALUE : glCopySubTextureCHROMIUM: source texture bad dimensions! occured

Screenshot below:
image

Steps to reproduce

you have two way to reproduce:

  1. you can change this line
    loadImage(this.imageSrc, Math.min(window.screen.width, window.screen.height)).then(

    to loadImage(this.imageSrc).then... (delete Math.min(window.screen.width, window.screen.height)) and upload this file(this file created by imagemagick:create-blank-image-in-imagemagick) to reproduce

2 . or just upload the file, apply any filter and then download it.

it effects version Chrome 92.0.4515.131 (arm64) and Edge 90.0.818.46 (64bit) But it works on my Safari Version 14.0.3 (16610.4.3.1.7)

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

No branches or pull requests

1 participant