如何将 32 位 PNG 转换为 RGB565? [英] How to convert 32 bit PNG to RGB565?

查看:90
本文介绍了如何将 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?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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