是否有在IE和Webkit移动的最大图像像素大小任意的限制? [英] Are there any arbitrary restrictions on maximum image pixel size in IE and Webkit mobile?

查看:149
本文介绍了是否有在IE和Webkit移动的最大图像像素大小任意的限制?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近的一个项目利用非常像素大(〜5e3px2),但仍字节小(〜100KB - GIF)图像,IE8和iOS的Safari都不肯来呈现。双方似乎都意识到了图像大小,但根本就没有渲染它们。一个实际的解决方案是切片图像,但是否有针对这些浏览器上的最大图像像素大小的任何记载任意限制?

A recent project made use of very pixel-large (~5e3px2) but still byte-small (~100kb — GIF) images, which both IE8 and iOS Safari refused to render. Both seem aware of the image size, but simply do not render them. A practical solution is to slice the image, but are there any documented arbitrary restrictions on maximum image pixel size for these browsers?

推荐答案

移动Safari浏览器具有非JPG图像的3兆缓存。任何大于将不显示。计算尺寸= W * H * 8的GIF。

Mobile Safari has a 3-megabit buffer for non JPG images. Anything larger than that will not display. Calculate size = w * h * 8 for GIFs.

在IE8中使用CSS过滤器任元会无法显示与超过4096像素大尺寸东西。

Any element using CSS "Filters" on IE8 will fail to display on anything with a dimension bigger than 4096 pixels.

这篇关于是否有在IE和Webkit移动的最大图像像素大小任意的限制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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