Moderators: TaylorH, RokuDouglas, RokuTom, RokuKen, RokuRyan, RokuJamesL, RokuChris, RokuJoel
SDPosterURL="tmp:/myimageSD.png"
HDPosterURL="tmp:/myimageHD.png"
RokuJoel wrote:Just checked, looks like setbytearray has not yet been implemented, so it would appear that librokudev is the only option, other than pushing the raw data to a server, converting it and downloading again.
EnTerr wrote:1. Did you mean getByteArray() from the documentation is not implemented? (And if it's not implemented, how can i even convert text&font to a raw bitmap?!)
EnTerr wrote:2. Can you put a feature request for this to be done? I.e. allow saving image locally in a format which is both easy to implement and roGridScreen&co will feel comfortable as poster (i seem to remember it may take PNG/GIF but will convert to JPG) - or alternatively have a way to provide TEXT as poster blot
RokuJoel wrote:No, just that there is no (fast) way to reverse the process of converting a byte array to a bitmap... at least that is my understanding.
RokuJoel wrote:The request is already in the system, just followed up, the more really useful use-cases for this sort of thing there are, the higher likelihood of it actually happening.
EnTerr wrote:RokuJoel wrote:The request is already in the system, just followed up, the more really useful use-cases for this sort of thing there are, the higher likelihood of it actually happening.
For my case any of the two things will do: a) ability to overlay text on top (or instead) of poster image background or b) ability to save bitmaps to PNG/JPG (or whatever pleases poster screens). In my particular scenario this is to browse file system but i suppose others can chime in with other cases when it was needed.
RokuJoel wrote:Hmm - seems like you could just pop an ImageCanvas on top of your posterscreen and display whatever you want there - text etc.
- Joel
RokuJoel wrote:Hmm - seems like you could just pop an ImageCanvas on top of your posterscreen and display whatever you want there - text etc.
RokuJoel wrote:No, the control shifts to the screen that is on "top" so you would have to capture the remote input in your image canvas, close the canvas, make your move on the grid with setFocusedListItem and then pop the canvas back up over the grid.
RokuJoel wrote:So, what you probably need to do is create your own ui using the 2D Api's - roScreen/roBitmap etc.
Return to Roku Developer Program
Users browsing this forum: No registered users and 3 guests