Closed gregorymaertens closed 2 years ago
I can not reproduce. Can you attach image as zip? Is it PNG?
it's a jpg Arte-primitiva-el-1-950x701.jpg.zip
IMO that's something Chrome version or hardware specific. I tried demo with Chrome 87.0.4280.66 on Ubuntu, and still could not reproduce problem (but i belive you have it).
They break something from time to time, and problem self-fix in next versions. Pica does no use anything special in js api.
I'd suggest try Chrome 87 & different PC to localize problem.
I experienced this same issue - setting alpha:true seems to fix it.
The issue is only present for very specific versions of Chrome.
Same issue on MacOS Chrome Canary version 93.0.4567.0, used via the image-blob-reduce wrapper.
When alpha is set to false I get random black rectangular splats. Attached example input file was JPG so no alpha channel.
They appear randomly on different images but always in the same spot for the same image. Seen here on the right side:
@boberbober Same problem. Setting alpha to true seems to fix it.
Try v9. It has fixes for transparency and does not use .alpha
option anymore.
Hello,
the following image is corrupted when using Chrome (Version 86.0.4240.183 (Official Build) (x86_64)). Ok on Safari (Version 14.0 (15610.1.28.1.9, 15610)) and Firefox too (82.0.3 (64-bit)).
While investigating this issue I have noticed that setting alpha: true in the options fixes the issue. Is it expected?
You can see with the demo app the pica resize is all black (only in Chrome, ok in Safari, Firefox).
Sometime the image is corrupted like so: