Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

display.save bug?
Started by carloscosta Jan 23 2019 04:58 AM

- - - - -
2 replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

carloscosta

[GLOBAL: userInfoPane.html]
carloscosta
  • Contributor

  • 636 posts
  • Corona SDK

I've an old code (1 year) that never had a problem.

 

I upgraded corona to last version (2019.3459) and made a new build.

 

I'm sending a screenshot in a email. I use:

display.save( group, { filename="image.jpg", baseDir=system.DocumentsDirectory, captureOffscreenArea=true, backgroundColor={0,0,0,0} } )

On android it works great.

 

Tested on old iPad with IOS 10.3.3. and the image is just black. All elements I put in group it will not show. Like I said this code worked fine 1 year ago. Now it doesn't. Only work on Android.

I tried put a timer but with no success.

 

Is this a bug or IOS 10.3.3 is not supported anymore?

 

Regards,

 

Carlos.



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,788 posts
  • Enterprise

Can you create a small project that demos this issue, drop it in a .zip file (include your config.lua and main.lua) and share it with us?

 

Rob



[TOPIC: post.html]
#3

carloscosta

[GLOBAL: userInfoPane.html]
carloscosta
  • Contributor

  • 636 posts
  • Corona SDK

sorry the late responde, I was sick, well i'm still not ok, but good enough for a quick reply.

 

The problem was image size. I forgot I upgraded the images to better quallity. On ipad it was bigger than the texture buffer so i went black.

I reduced the image size and went all ok. so no bug here.




[topic_controls]
[/topic_controls]