tadipatri
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2018
01:33 PM
How to capture Roku screenshot using java code
I am working on Roku Automation and I need to take screenshot to compare images.
Manually - We can use web browser and login and go to Utilities and click on "Scrennshot" button to take a snapshot.
How to do the above using java code or any other program.
Is there a way to do the same using http protocol.and java, If so can some one help.
Manually - We can use web browser and login and go to Utilities and click on "Scrennshot" button to take a snapshot.
How to do the above using java code or any other program.
Is there a way to do the same using http protocol.and java, If so can some one help.
4 REPLIES 4

Komag
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2018
02:45 AM
Re: How to capture Roku screenshot using java code
Have you tried GetPNG()?
https://sdkdocs.roku.com/display/sdkdoc/ifDraw2D
https://sdkdocs.roku.com/display/sdkdoc/ifDraw2D
tadipatri
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2018
08:47 AM
Re: How to capture Roku screenshot using java code
Thanks for the reply, But I do not have access to channel/app code. I need to rely on HTTP request to get the screenshot .
smart09
Newbie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2020
03:11 PM
Re: How to capture Roku screenshot using java code
@tadipatri how to get the screenshot over the http request?
renojim
Community Streaming Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2020
07:03 PM
Re: How to capture Roku screenshot using java code
It's not clear what you're trying to do, but you can only do a screen capture if the channel is side-loaded or if you do it within the channel code.
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.