Are there any arbitrary restrictions on maximum image pixel size in IE and Webkit mobile?

前端 未结 1 1843
日久生厌
日久生厌 2021-01-23 01:26

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

相关标签:
1条回答
  • 2021-01-23 01:49

    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.

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

    0 讨论(0)
提交回复
热议问题