更新时间:2022-05-12 05:50:22
我没有在网上看到有关如何手动构建PVRTC图像的任何信息,据我所知,iPhone内置的内容不支持(并且它不会'需要读取PVRTC文件。)
I haven't seen any information on the net regarding how to construct PVRTC images manually and to the best of my knowledge there is no support for this built into the iPhone (and it wouldn't be needed to read the PVRTC files).
对于大多数应用程序,包含或构建两个版本的文件几乎没有意义。在***条件下,PVRTC版本几乎与PNG版本无法区分,实际上只是为了直接流入视频内存而优化的文件的预处理版本。
For most applications, there is little sense to include or construct both versions of the files. Under optimal conditions, the PVRTC versions should be virtually indistinguishable from the PNG versions and are really just "pre-processed" versions of the files optimized for direct streaming into the video memory.
通常***通过所有图像并决定如何***地打包图像以平衡所有用户的内存保护和质量,而不仅仅是在特定的受限内存情况下。
It is generally best to go through all of your images and make decisions regarding how to best package the image to balance memory conservation and quality for all users, not just under specific restricted memory situations.
需要考虑的一些事项(如果这是多余的知识,请道歉):
A few things to consider (apologies if this is redundant knowledge):
值得注意的是,因为您的应用程序将是唯一运行的(除了系统应用程序) ),唯一真正的内存开销将是有限数量的磁盘空间。制作所有图像文件的第二份副本实际上会对你起作用而不是帮助。
It's also worth noting that since your application will be the only thing running (other than system applications), the only real memory overhead is going to be a limited amount of "disk" space. Making a second copy of all the image files will actually be working against you instead of helping.
Barney