Using high resolution PNG files in the iPad Safari

I have some asp.net websites that display png images converted from high-resolution tiff files.
The images are displayed through simple img tags. The problem is that wneh png is very big Resolution – It is not displayed correctly in the safari browser of the ipad, but most png files are fine.
What can it be?
Thank you
iPad cannot display images with w * h greater than 3 * 1024 * 1024 (3145728)

So, if your image is 2048×2048, then w * h = 4194304, which is greater than 3145728.

Source: https://developer.apple.com/library/ safari/documentation/AppleApplications/Reference/SafariWebContent/CreatingContentforSafarioniPhone/CreatingContentforSafarioniPhone.html#//apple_ref/doc/uid/TP40006482-SW15

I have some asp.net websites, Display a png image converted from a high resolution tiff file.
The image is displayed through a simple img tag. The problem is that the wneh png has a large resolution – it does not display correctly in the safari browser on the ipad, but most pngs The file is fine.
What can it be?
Thank you

iPad cannot display images with w * h greater than 3 * 1024 * 1024 (3145728)

So if your The image is 2048×2048, then w * h = 4194304, which is greater than 3145728.

Source: https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariWebContent/CreatingContentforSafarioniPhone/ CreatingContentforSafarioniPhone.html#//apple_ref/doc/uid/TP40006482-SW15

Leave a Comment

Your email address will not be published.