How to convert 32 bit PNG to RGB565?(如何将 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?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何将 32 位 PNG 转换为 RGB565?


- 使用自定义动画时在 iOS9 上忽略 edgesForExtendedLayout 2022-01-01
- Android viewpager检测滑动超出范围 2022-01-01
- 用 Swift 实现 UITextFieldDelegate 2022-01-01
- Android - 我如何找出用户有多少未读电子邮件? 2022-01-01
- 如何检查发送到 Android 应用程序的 Firebase 消息的传递状态? 2022-01-01
- 在测试浓缩咖啡时,Android设备不会在屏幕上启动活动 2022-01-01
- MalformedJsonException:在第1行第1列路径中使用JsonReader.setLenient(True)接受格式错误的JSON 2022-01-01
- 想使用ViewPager,无法识别android.support.*? 2022-01-01
- Android - 拆分 Drawable 2022-01-01
- android 4中的android RadioButton问题 2022-01-01