XCode png压缩问题 [英] XCode png compression issue

查看:72
本文介绍了XCode png压缩问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在测试过程中,我发现Xcode中有些奇怪的东西.我有一个大小为2.2 mb的png,并且在存档设置解压缩后,在构建设置中png压缩为是",我提取了该构建,并发现Xcode将png转换为3.8 mb.然后使用相同的测试,并且在构建设置中png压缩为否",则图像的大小为2.2 mb. Xcode是否会在压缩后扩展PNG的大小?

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 ??

推荐答案

在我自己的所有应用中,我都将PNG压缩设置为 OFF ,因为苹果传统上在处理压缩的应用图标时遇到问题( PNG格式)在应用商店提交过程中无法识别.

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.

由于您看到自己应用程序的PNG压缩非常糟糕,因此最好将PNG压缩设置为禁用.

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

PNG压缩 可能对内置了许多PNG图形(尤其是较大的PNG文件)的应用很有用.

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

这篇关于XCode png压缩问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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