Donaldcwl / browser-image-compression

Image compression in web browser
MIT License
1.31k stars 161 forks source link

Corrupted Images in Firefox 131 #224

Open KenCorma opened 1 month ago

KenCorma commented 1 month ago

Using the latest version of Firefox on the sample website, both Main and Webworker return corrupted images. Using Edge and Chrome with the same image produces the correct results. I checked my firefox and it does have OffscreenCanvas enabled. There are no errors in the browser console or the page's console. Image used: img_1200x1200_3x8bit_B01R01_RGB_flowers

Below is what is returned: img_1200x1200_3x8bit_B01R01_RGB_flowers

img_1200x1200_3x8bit_B01R01_RGB_flowers(1)