<错误&gt ;: ImageIO:PNG无效的PNG文件:iDOT和IDAT之间的多余块 [英] <Error>: ImageIO: PNG invalid PNG file: extra chunks between iDOT and IDAT

查看:131
本文介绍了<错误&gt ;: ImageIO:PNG无效的PNG文件:iDOT和IDAT之间的多余块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的快速项目调试器中遇到了一个看起来很滑稽的错误.

Just got this funny looking error in my swift project debugger.

某处图像的名称可能无效,但是我不确定extra chunks between iDOT and IDAT是什么意思.

There is probably an invalid name of an image somewhere, but I am not sure what extra chunks between iDOT and IDAT mean.

你知道是什么原因造成的吗?

Do you have any idea what causes it?

推荐答案

这个问题是完全随机的,并且在我身上出现了一些图像.可能是另一个Xcode错误.

This issue is completely random and happened to me too with a few images. Probably another Xcode bug.

  1. 我的图片叫做"back2@2x.png"
  2. 我将其重命名为"back2.png"
  3. 运行该项目(图像将被拉伸)
  4. 将其更改回"back2@2x.png"
  5. Ran项目
  6. 已修复?!

祝您好运!

这篇关于<错误&gt ;: ImageIO:PNG无效的PNG文件:iDOT和IDAT之间的多余块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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