Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
ChrisDP
Level 7

Combining image files into one local file

Hi, we are currently using set of three images (png's) as part of a intro animation in our app. We are placing the three Posters as different layers on top of each other. Our channel is built using the Scene Graph SDK. The three images have their own Poster node and each one is rotated during the intro. After the main intro is complete we are running into memory problems related to graphics memory. The problems presents it self as image tearing and ripping when animating Poster translations.

I just want to say that we are aware some of the things we are doing in our channel is really pushing the bounds of what we expect from a Roku.

We have found that moving the three posters off the visible bounds of the screen helps free up a lot of the graphics memory. Using this we would like to generate a local png that is visually the same as the three posters after they finish rotating. We can then replace the three posters with one that looks the same when the intro completes.

We need to be able to create this image locally as it is posable the three images it is based off of could change.

We haven't been able to find a way to do this and couldn't find any discussions of anyone else trying to do something like this in Scene Graph. Any ideas would be appreciated.

Thanks.
Christopher Dwyer-Perkins
Developer, REDspace
redspace.com
0 Kudos
2 Replies
EnTerr
Level 8

Re: Combining image files into one local file

This is not SG unique, the need to save to local file arrises on differ occasions.

There is proposal on this, please add your voice in support here viewtopic.php?f=34&t=47658
0 Kudos
EnTerr
Level 8

Re: Combining image files into one local file

Good news, now you can getPng() viewtopic.php?f=34&t=47658#p537040
0 Kudos