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?


基础教程推荐
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
- 如何从 logcat 中删除旧数据? 2022-01-01
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- AdMob 广告未在模拟器中显示 2022-01-01
- NSString intValue 不能用于检索电话号码 2022-01-01