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 / BUG: Android and memblocks / render images

Author
Message
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 15th Aug 2015 15:26 Edited at: 15th Aug 2015 15:26
On Android, saving a render image to a memblock, and then creating an image from the memblock doesn't work.

This is another demo (Paul's demo written for SpectrePaul) tweaked to demonstrate the problem. The numbers on the screen show that all the pixels are saved in the memblock as 0, after the header which is intact.

Run on Windows and you will see lots of data after clicking the text
Run on Android and you will see zeros.
It then displays the grabbed image - good on windows and black on Android.

Could somebody else please confirm? I tried on 2 Android devices.



Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 15th Aug 2015 15:27
setting mailback

Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 15th Aug 2015 20:04 Edited at: 15th Aug 2015 20:05
I have a Huawei MediaPad running Android 4.4.2 And I get the same issue. Fine on windows, the following on device.


Attachments

Login to view attachments
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 16th Aug 2015 00:07
Thanks for confirming my suspicions, I thought I was going mad.

Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt

Login to post a reply

Server time is: 2024-09-29 03:24:34
Your offset time is: 2024-09-29 03:24:34