Forum Discussion

usman_itsreleva's avatar
usman_itsreleva
Streaming Star
9 years ago

Change in color of static image on ROKU

I am working on Roku application and sending static images to Roku for display of weather info.

If this.content.WeatherImagePath <> Invalid
this.bitmaps[this.content.WeatherImagePath] = {
       request: Invalid,
tries: 1,
       bitmap: CreateObject("roBitmap", this.content.WeatherImagePath),
done: True
   }
End If

I am using this images to display:

But I getting color of sun in Blue.
 for details of images (http://stackoverflow.com/questions/42413659/roku-sometime-changes-the-color-of-static-images

Memory detail is:

Available memory 14927808 used 24072192 max 39000000
What can be issue ?

15 Replies

  • "squirreltown" wrote:
    it does appear that the white/grey of the clouds is correct which rules out any bizarre channel swapping in the file or the Roku.


    Well, yellow is the inverse of blue if you subtract each component from 255 (yellow = ffff00, blue = 0000ff), while gray is approximately a self inverse if it's close to 808080.  White is harder to explain, that should change to black under this theory.

    Or it could have something to do with the last verse of Scarlet Begonias๐Ÿ™‚

    --Mark
  • "RokuMarkn" wrote:

    Well, yellow is the inverse of blue if you subtract each component from 255 (yellow = ffff00, blue = 0000ff), while gray is approximately a self inverse if it's close to 808080.  White is harder to explain, that should change to black under this theory.

    Or it could have something to do with the last verse of Scarlet Begonias.   ๐Ÿ™‚

    --Mark

    Exactly! I did check the inverse and it's a considerably darker shade that what's showing. 
  • "squirreltown" wrote:
    Exactly! I did check the inverse and it's a considerably darker shade that what's showing. 

    can alfalpha channel affect that?
  • "EnTerr" wrote:
    "squirreltown" wrote:
    Exactly! I did check the inverse and it's a considerably darker shade that what's showing. 

    can alfalpha channel affect that?

    I think the alfalpha channel is normally for knocking out any photo-bombing cows, so I don't see a connection just yet. Really, the only clue I can find is that if you rotate the hue 180ยบ you get the result shown in the stackoverflow photos. That seems like something, being exactly 180 instead of some arbitrary amount.