如何将 32 位 PNG 转换为 RGB565?转换为、如何将、PNG

2023-09-06 10:00:08 作者:南巷挽清风

我怎样才能做到这一点?程序化解决方案(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

https://m.xsw88.com/allimgs/daicuo/20230906/2008.png instead of pvr.ccz Make sure that you do not overwrite your source images.