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 / GetCapturedImage() Still Not working?

Author
Message
Thade!
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: Austria
Posted: 11th Nov 2017 23:46 Edited at: 12th Nov 2017 00:13
I have an AppGameKit from 2012 and GetCapturedImage() works quite well - not 100 % - before its captured the image dimensions are wrong the width is crunched to 50% - but it catches the image 100% ok height and width
Now I have downloaded the newest AppGameKit trial version
The Example ImageFromCamera does not capture the image as it should. The width is ok but the height is one pixel.

See also
https://forum.thegamecreators.com/thread/217738#postHolder
That's why in my Headline is "still Not"
.
No soul in there!
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 12th Nov 2017 08:52
i tested is with
AGK 2017.09.25 (Tier1 Basic)
Android Player Sep 22 2017
Works with Android 4.x & 6.x

AGK (Steam) V2017.09.25 : Windows 10 Pro 64 Bit : AMD (17.9.3) Radeon R7 265 : Mac mini OS High Sierra (10.13)
Thade!
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: Austria
Posted: 12th Nov 2017 12:54 Edited at: 12th Nov 2017 13:47
Doesn't work here on Windows 7 - not on Windows 10 - not the original - not your demo, Markus
After hitting the capture button it displays the top first line of the captured image.
I saved the image as a png. The image is 640x480, but only the upper first line is there, the rest ist transparent.

Maybe it is because it's the Trial Version.
.
No soul in there!
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 12th Nov 2017 14:35
@paul & Thade,
i can agree this at windows 10 started from ide, i see my camera pic and after click capture not in window as sprite.
AGK (Steam) V2017.09.25 : Windows 10 Pro 64 Bit : AMD (17.9.3) Radeon R7 265 : Mac mini OS High Sierra (10.13)
RickV
TGC Development Director
24
Years of Service
User Offline
Joined: 27th Apr 2000
Location: United Kingdom
Posted: 14th Nov 2017 08:43
Thanks guys, I have sent this info to Paul.

Rick
Development Director
TGC Team
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 14th Nov 2017 15:29
The old camera commands have been deprecated in favour of the SetDeviceCameraToImage command. I'll make a note of this in the help files.
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 14th Nov 2017 16:57
@paul, for windows should pop up a deprecated message and a quick tip in ide.


example
AGK (Steam) V2017.09.25 : Windows 10 Pro 64 Bit : AMD (17.9.3) Radeon R7 265 : Mac mini OS High Sierra (10.13)

Login to post a reply

Server time is: 2024-11-24 06:14:56
Your offset time is: 2024-11-24 06:14:56