pixelapp icon indicating copy to clipboard operation
pixelapp copied to clipboard

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

Open shellvon opened this issue 4 years ago • 0 comments

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 https://github.com/alenaksu/pixelapp/blob/d56f0ccf466f7e6e8f5044203ffbb0a3f902d267/src/ui/components/App/index.ts#L135 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)

shellvon avatar Aug 05 '21 09:08 shellvon