Roku 有时会改变静态图像的颜色
Roku sometime changes the color of static images
我正在开发 Roku 应用程序并将静态图像发送到 Roku 以显示天气信息。
代码:
If this.content.WeatherImagePath <> Invalid
this.bitmaps[this.content.WeatherImagePath] = {
request: Invalid,
tries: 1,
bitmap: CreateObject("roBitmap", this.content.WeatherImagePath),
done: True
}
End If
我正在使用此图像来显示:
但我在不同的时间得到不同的回应
喜欢:
而且有时候图片显示没有问题。
喜欢:
设备内存详细信息如下:
Available memory 14927808 used 24072192 max 39000000
有什么问题?
这不是 BrightSCript 代码的问题。
这是 ROKU 固件问题,下一个固件版本解决了这个问题。
我正在开发 Roku 应用程序并将静态图像发送到 Roku 以显示天气信息。
代码:
If this.content.WeatherImagePath <> Invalid
this.bitmaps[this.content.WeatherImagePath] = {
request: Invalid,
tries: 1,
bitmap: CreateObject("roBitmap", this.content.WeatherImagePath),
done: True
}
End If
我正在使用此图像来显示:
但我在不同的时间得到不同的回应 喜欢:
而且有时候图片显示没有问题。 喜欢:
设备内存详细信息如下:
Available memory 14927808 used 24072192 max 39000000
有什么问题?
这不是 BrightSCript 代码的问题。
这是 ROKU 固件问题,下一个固件版本解决了这个问题。