display.save cropping screen capture

Im having some issues with the display.save feature on iOS. What I am doing is saving the screen capture and then uploading + emailing the saved image. In the simulator this performs correctly. When on the device (iPad + iphone4s) the image is cropped to about 80% of what it should be. The app is always in landscape mode…

Now I have seen there are some posts about display.save not performing as expect but then saying latest daily builds should fix this. I have been using the latest daily build. Is this a known bug or am I doing something incorrect?

[import]uid: 21298 topic_id: 19967 reply_id: 319967[/import]

josh_pixel,

just to know: what are the settings of your config.lua?

I use it in a business app to email the screenshot, and never had a problem before.

My screenshots that I take on the iPad2 are 1024 * 768 (same as in config.lua), the ones in the simulator are of less width and heigth, but this is normal.

Code I use

... local pictureDir = system.DocumentsDirectory display.save(localGroup,"test.png",pictureDir) native.showPopup("mail", {attachment = {baseDir=pictureDir, filename="test.png" , type= "image"}}) ... [import]uid: 19590 topic_id: 19967 reply_id: 77755[/import]

My config setting are

application =   
{  
 content =   
 {   
 width = 1024,  
 --height = 768,   
 --scale = "zoomStrech"  
  
 }  
}  

Build.settings

orientation =   
 {  
 default = "landscapeLeft",  
 supported =   
 {  
 "landscapeRight",  
 "landscapeLeft",  
 },  
  
 },  

METHOD CALL IN APP

  
 screenCapImg = display.captureScreen( false )  
 imgTemp:insert(screenCapImg)  
  
  
local baseDir = system.DocumentsDirectory  
display.save( imgTemp, "uploadImage.jpg", baseDir )  
  

Any ideas? [import]uid: 21298 topic_id: 19967 reply_id: 77799[/import]

Can you try just to take a screenshot of the most parent displayGroup wich covers the whole screen and see what it gives?

e.g. use the code I copy pasted above. [import]uid: 19590 topic_id: 19967 reply_id: 77816[/import]