如何为Pebble.js(CloudPebble)准备PNG文件?

时间:2015-12-16 12:43:40

标签: png pebble-sdk cloudpebble pebble-js

每个上传的png文件到CloudPebble都会在应用运行时出现Uncaught Error: Incomplete or corrupt PNG file错误。 我试图以不同的格式保存png文件,压缩,无压缩,灰度,索引的Pebble颜色等。 不能让它工作。 PNG文件是简单的黑白图标。图像资源文档中的以下提示。 什么可能是错的?

1 个答案:

答案 0 :(得分:0)

在我的情况下,似乎已经修复了CloudPebble错误。我的应用程序现在编译没问题。

有关卵石检查图像的提示https://developer.getpebble.com/blog/2014/10/29/Displaying-remote-images/