XCode png compression issue

安稳与你 提交于 2020-01-16 19:49:59

问题


During testing i found some thing strange in Xcode. I have a png of size 2.2 mb and the png compression is "YES" in the build setting after archive i extract the build and found that Xcode converted the png to 3.8 mb. Then with same test and png compression is "NO" in build settings then the image have same size of 2.2 mb. Is Xcode extend the size of PNG afte compression ??


回答1:


In all of my own apps, I keep PNG compression set to OFF as Apple has traditionally had problems dealing with compressed app icons (in PNG format) not being recognized during the app store submission process.

And since you're seeing pretty wretched PNG compression for your own app, you might as well keep PNG compression set to disabled.

PNG compress may be useful for apps that have a LOT of PNG graphics (especially larger PNG files) built into it.



来源:https://stackoverflow.com/questions/13524058/xcode-png-compression-issue

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!