"EnTerr" wrote:
Bump!
Any update on this one, Roku*?
Probably best to add a roBitmap (ifDraw2D formally and better) method saveAsPNG(filePath as String) as Boolean
(PNG because of faster compression and preserving transparency. And btw the first iteration can be an oddball, no problema - e.g. no compression, as long as it can be loaded by components)
"RokuKC" wrote:
You can use ifDraw2D getPng for this:
https://sdkdocs.roku.com/display/sdkdoc/ifDraw2D#ifDraw2D-GetPng(xasInteger,yasInteger,widthasIntege...
"EnTerr" wrote:"RokuKC" wrote:
You can use ifDraw2D getPng for this:
https://sdkdocs.roku.com/display/sdkdoc/ifDraw2D#ifDraw2D-GetPng(xasInteger,yasInteger,widthasIntege...
Sweet!!!
Just documented but seems valid since fw 7.0 ("retroactively").
This can liven up both ro-channels and sg-channels. E.g. player app can prep posters while browsing media on USB/NAS drive
"squirreltown" wrote:you are getting greedy :). but yeah, sure... in another four years, perhaps.
It works great. Now, if we can just compress it so I could send it somewhere ( err..conveniently). 😄
Add a file type to AsyncPostFromFile? ( it already works, it just sends it uncompressed)no, not there. Compression would have to be optional param to getPng(). I recon, very low priority if ever. The real important part is to be able to generate temp images ASAP (speed vs compression ratio are inversely related)
We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. You will not be able to log in or post new comments or kudos during this time. Read more here.
Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 12 and you may notice reduced functionality.
In the meantime, for additional assistance, visit our Support Site.
Thanks for your patience — we’re excited to share what’s next!