Hi-res PNG file in ipad's safari
I have some asp.net site that shows png images that converted from hi-res开发者_如何学Python tiff files. The image is shown via simple img tag. The problem is that wneh png has a big resolution - it does not shown properly in ipad's safari browser, but the most of png files are ok. What it can be? Thank you
The iPad cannot display images with a w*h larger than 3*1024*1024 (3145728)
So if your image is 2048x2048 then w*h = 4194304 which is larger than 3145728.
Source: https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariWebContent/CreatingContentforSafarioniPhone/CreatingContentforSafarioniPhone.html#//apple_ref/doc/uid/TP40006482-SW15
精彩评论