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 - Printimage not saving image to gallery on Android.

Author
Message
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 4th May 2016 08:01
printimage isn't saving an image to the galley, but instead is saving a blank (black) image.
V2 T1 (Mostly)
Phone Tap!
Uzmadesign
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 4th May 2016 16:20
Fixed for the next version. It only affected images created with SetRenderToImage as the pixel data has to be retrieved in a different way for them
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 4th May 2016 21:25
Thanks Paul. The test I created to confirm this bug was through drawing some boxes, then using GetImage. I made sure the "got" image worked by creating a sprite with it, and then tried to print the image but only got a black pic in the gallery. Will your fix also work for GetImage images?
V2 T1 (Mostly)
Phone Tap!
Uzmadesign
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 5th May 2016 13:33
From what I can tell GetImage should work already. Make sure you are calling Render() before using GetImage or it will have nothing to get. For example



Login to post a reply

Server time is: 2024-11-25 08:19:44
Your offset time is: 2024-11-25 08:19:44