Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Screenshot HTML5

Author
Message
marvin944
11
Years of Service
User Offline
Joined: 27th Aug 2013
Location:
Posted: 10th Oct 2022 20:48
I would like to *programmatically* save a screenshot of my entire screen with all elements to the phone it runs on. Is this possible in HTML5?
Dutch
MikeHart
AGK Bronze Backer
21
Years of Service
User Offline
Joined: 9th Jun 2003
Location:
Posted: 3rd Dec 2022 13:14
Not in AGK(s)
PartTimeCoder
AGK Tool Maker
9
Years of Service
User Offline
Joined: 9th Mar 2015
Location: London UK
Posted: 3rd Dec 2022 15:44 Edited at: 3rd Dec 2022 15:56
GetImage + SaveImage

something like this should work

Open Source plugins
Cl - DnD Plugin
Buy Me A Coffee
Virtual Nomad
Moderator
18
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 3rd Dec 2022 16:33 Edited at: 3rd Dec 2022 16:44
Quote: "GetImage + SaveImage"

GetImage can work but the OP asked about HTML so SaveImage won't.

Prime had demo'd HTML File Access HERE (with Save) with some changes to AGKPlayer.js which may help.

meanwhile, OP also asked for the "entire screen with all elements to the phone" implying the HTML canvas wasn't occupying the full screen of the device, so... basically, as i understand it, they want to access the OS "Screenshot" function from within AppGameKit and that's not going to happen any kind of "natively" as far as i know.

Quote: "click on the toolbar button (or press Alt+Shift+D combination)"

do phones have those/buttons keys where you're from?
PartTimeCoder
AGK Tool Maker
9
Years of Service
User Offline
Joined: 9th Mar 2015
Location: London UK
Posted: 3rd Dec 2022 17:18
Quote: "GetImage can work but the OP asked"


oh dang yea I missed that

Quote: " implying the HTML canvas wasn't occupying the full screen of the device"


if his app was taking a pic of areas outside its own client I would be kicking off, even if I could do this I would not share how!

Open Source plugins
Cl - DnD Plugin
Buy Me A Coffee

Login to post a reply

Server time is: 2024-11-21 13:04:17
Your offset time is: 2024-11-21 13:04:17