适用于iPad的Default-Portrait.png:任何可以缩小文件大小的方法吗? [英] Default-Portrait.png for iPad: any way to make the file size smaller?

查看:138
本文介绍了适用于iPad的Default-Portrait.png:任何可以缩小文件大小的方法吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用MonoTouch制作通用应用程序,我正在添加我的Default-Portrait.png文件。单独该文件(一个768x1004 .png文件)正在增加711k到应用程序的大小。我的应用程序本身只有大约7兆,所以它只是为启动画面增加了10%。

I'm making a Universal App using MonoTouch, and I'm adding my Default-Portrait.png file. That file alone (a 768x1004 .png file) is adding 711k to the size of the app. My app itself is only about 7 megs, so it's adding 10% just for the splash screen.

我可以轻松地将这个东西变成80k jpg文件而不是png,但设备似乎没有找到.jpg文件。有没有人有减少这种发射艺术尺寸的技巧?

I could easily make this thing an 80k jpg file instead of a png, but the device doesn't seem to look for a .jpg file. Does anyone have tips for reducing the size of this launch art?

在这一点上,我想我可能会把发布艺术留下来加载我自己的jpg并在我有能力的时候立即显示它。这将使我的应用程序大小下降,但它不像大多数应用程序那样立即具有启动艺术规模。

At this point, I'm thinking I might just leave the launch art out and load my own jpg and display it as soon as I have the ability to. That'll keep my app size down, but it's not as nice as having the launch art scale in immediately like most apps do.

推荐答案

<嗯...考虑到iPad的屏幕和用户期待的视觉质量,我就这样离开了。

Hmmm...given the screen of the iPad and the visual quality users are expecting, I'd just leave it like that.

但是如果你想减少磁盘空间,请尝试进入项目>编辑项目设置>构建(顶部的选项卡),然后搜索名为压缩PNG文件。确保已选中。在将文件加载到磁盘之前,它将运行pngcrush实用程序(检查IPA存档的大小,看它是否有任何影响)。

But if you do want to reduce the disk space, try going to Project > Edit Project Settings > Build (tab at top), and searching for a parameter called "Compress PNG Files." Make sure that's checked. It'll run the pngcrush utility before loading the file onto disk (check the size of your IPA archive after to see if it had any effect).

这篇关于适用于iPad的Default-Portrait.png:任何可以缩小文件大小的方法吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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