Groups
Groups
Sign in
Groups
Groups
iOS开发
Conversations
About
Send feedback
Help
IOS加入图片报错,但是图片能正常显示
21 views
Skip to first unread message
小浪花
unread,
Jul 23, 2013, 9:36:35 PM
7/23/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to iOSDe...@googlegroups.com
ImageIO: PNG invalid PNG file: iDOT doesn't point to valid IDAT chunk
加了图片之后。在显示这张图片的时候会报
ImageIO: PNG invalid PNG file: iDOT doesn't point to valid IDAT chunk
但是图片能正常显示
图片都是带带有xxxx.png和
xx...@2x.png
的
这个是啥子原因啊?谢谢大家了
demon42111915
unread,
Jul 25, 2013, 9:37:12 AM
7/25/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to iOSDe...@googlegroups.com
StackOverFlow了一下,大致有两种那个原因
1、你项目中图片存在duplicate
2、有可能是jpg格式的图片被你简单改了下扩展名拿来用了(fix:尝试在将报错的图片使用工具重新编码保存一次)
希望能帮到你
http://stackoverflow.com/questions/15788880/imageio-error-html-not-displaying-images-taken-from-iphone-in-web-view
http://stackoverflow.com/questions/15788880/imageio-error-html-not-displaying-images-taken-from-iphone-in-web-view
在 2013年7月24日星期三UTC+8上午9时36分35秒,小浪花写道:
小浪花
unread,
Aug 3, 2013, 11:39:30 AM
8/3/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to iOSDe...@googlegroups.com
谢谢了,我知道原因了。。。
Reply all
Reply to author
Forward
0 new messages