如何将 32 位 PNG 转换为 RGB565?

2024-08-12移动开发问题
21

本文介绍了如何将 32 位 PNG 转换为 RGB565?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

我怎样才能做到这一点?程序化解决方案(Objective-c)很棒,但即使是非程序化解决方案也很好.

How can I accomplish this? A programmatic solution (Objective-c) is great, but even a non-progarmmatic one is good.

我有 pixelmator -> 但这并没有给你选择.我似乎也无法使用预览来做到这一点.

I have pixelmator -> But that doesn't give you the option. I can't seem to do it with Preview either.

我试过谷歌搜索,但到目前为止还没有找到解决方案.我能够使用的唯一工具是 TexturePacker,但它会创建一个精灵表.

I have tried googling, but haven't been able to find a solution so far. The only tool I have been able to use to do this is TexturePacker, but that creates a sprite sheet.

推荐答案

我从纹理打包器的创建者那里得到了这个答案:

I received this answer from the creator of texture packer:

you can do it from command line - see

http://www.texturepacker.com/uncategorized/batch-converting-images-to-pvr-or-pvr-ccz/

Just adjust the opt and set output to .png instead of pvr.ccz
Make sure that you do not overwrite your source images.

这篇关于如何将 32 位 PNG 转换为 RGB565?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

The End

相关推荐

硬件音量按钮更改应用程序音量
Hardware Volume buttons change in app volume(硬件音量按钮更改应用程序音量)...
2024-08-12 移动开发问题
10

Cocos2d - 如何检查不同层中对象之间的交集
Cocos2d - How to check for Intersection between objects in different layers(Cocos2d - 如何检查不同层中对象之间的交集)...
2024-08-12 移动开发问题
8

突出显示朗读文本(在 iPhone 的故事书类型应用程序中)
Highlight Read-Along Text (in a storybook type app for iPhone)(突出显示朗读文本(在 iPhone 的故事书类型应用程序中))...
2024-08-12 移动开发问题
9

Cocos2D + 仅禁用 Retina iPad 图形
Cocos2D + Disabling only Retina iPad Graphics(Cocos2D + 仅禁用 Retina iPad 图形)...
2024-08-12 移动开发问题
10

如何将 32 位 PNG 转换为 RGB565?
How to convert 32 bit PNG to RGB565?(如何将 32 位 PNG 转换为 RGB565?)...
2024-08-12 移动开发问题
21

正确的 cocos2d 场景重启?
Proper cocos2d scene restart?(正确的 cocos2d 场景重启?)...
2024-08-12 移动开发问题
7