image saved by display.save() become black when posted onto facebook (or share on other app)

Hi,

I use display.save() to save image to DocumentsDirectory then from there I post that saved image to facebook. I could see the image when it is in facebook app but after I post, the image become black on timeline. So I do another test. I save the image with display.save() onto computer (using Corona simulator), then I copied the image to ResourceDirectory and I share that image to facebook, the result is the same. Its black, I can’t see anything. I test with both png and jpg file.

If I use any other images that were not saved with display.save(), I can see the image normally on facebook timeline.

I’m using build 2646 and my android version is 4.4.

Anyone face such an issue before?

Thanks,

So Lin

I haven’t heard of this before. What are the pixel dimensions of the files you’re saving via display.save() versus the “normal” images you’re testing?

Hi Brent,

The dimension varies because I save from display.newText object. I can see the image in Simulator project sandbox.I want to check the DocumentsDirectory on devive too, where is it stored?

Thanks,
So Lin

Hi Brent,

I think I found my problem. My text color is black and the image was saved with black background thats why I couldn’t see anything.

Thanks,

So Lin 

I haven’t heard of this before. What are the pixel dimensions of the files you’re saving via display.save() versus the “normal” images you’re testing?

Hi Brent,

The dimension varies because I save from display.newText object. I can see the image in Simulator project sandbox.I want to check the DocumentsDirectory on devive too, where is it stored?

Thanks,
So Lin

Hi Brent,

I think I found my problem. My text color is black and the image was saved with black background thats why I couldn’t see anything.

Thanks,

So Lin