browser-image-compression icon indicating copy to clipboard operation
browser-image-compression copied to clipboard

Image Compression On Ipad Safari Browser Results In Black Image When Image Is Over 10MB

Open s3venvials opened this issue 2 years ago • 3 comments

Hello, when using the latest version of your library 2.0.2 with in the Safari browser to compress an image the image displays as a black image on some versions of IOS when the image is over 10MB.

IOS Versions that display compressed image as black: 15.7.7 and 16.4.1 Both of these versions are from an IPad. Seems to work fine on the Iphone with IOS 16.5.1 (c)

Image used https://www.learningcontainer.com/wp-content/uploads/2020/07/Large-Sample-Image-download-for-Testing.jpg

How I have the options set

var imgOptions = {
    maxSizeMB: 10,
    maxWidthOrHeight: 1920,
    useWebWorker: true,
}

s3venvials avatar Jul 19 '23 14:07 s3venvials

@s3venvials Can you please access the website https://on690.codesandbox.io/ using your iPad, click on the "test" button, and then share the results with me?

Donaldcwl avatar Aug 08 '23 02:08 Donaldcwl

hi, any solution for this issue?

Pablito203 avatar Jan 23 '24 19:01 Pablito203