Skip to content

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

@shellvon

Description

@shellvon

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions