在ipad的safari中使用高分辨率PNG文件 [英] Hi-res PNG file in ipad's safari

查看:480
本文介绍了在ipad的safari中使用高分辨率PNG文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些asp.net网站,显示从hi-res tiff文件转换的png图像。
图像通过简单的img标签显示。问题是wneh png有很大的分辨率 - 它在ipad的safari浏览器中没有正确显示,但大多数png文件都可以。
它可以是什么?
谢谢

I have some asp.net site that shows png images that converted from hi-res 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

推荐答案

iPad无法显示aw * h大于3 * 1024 * 1024(3145728)的图像

The iPad cannot display images with a w*h larger than 3*1024*1024 (3145728)

因此,如果您的图像是2048x2048,则w * h = 4194304,大于3145728.

So if your image is 2048x2048 then w*h = 4194304 which is larger than 3145728.

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

这篇关于在ipad的safari中使用高分辨率PNG文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆