开发者

UIWebview can not display some large size image?

what's biggest size image can UIWebvi开发者_C百科ew handle? the origin image size is: width 700 pixels, height 6900 pixels, And uiwebview display nothing.


iOS has the 3MB size limitation. the image size (width x height) must less than 3 * 1024*1024


I've discovered from some testing a limit on my html5 canvasses of 768*4096, or 3MB at 1 byte per pixel. The same resolution is enforced for images, as its not the original image size that matters, but the size of the bitmap that is rendered on the screen..

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜