Twitter PNG upload somehow converted to JPEG?

Having an issue where I’m uploading a PNG via Twitter social pop-up.  It’s definitely a PNG and I’ve checked the file.

By the time it appears on the Twitter time-line it’s a fairly degraded JPG image. My game is quite flat with gradients, so the image looks pretty poor with the JPG artefacts.

[lua]

native.showPopup( “social”,

{

    service = “twitter”,

    message = “I beat level 10!”,

    listener = listener,

    image = { filename=“twitter.png”, baseDir=system.DocumentsDirectory },

})

[/lua]

If I upload a .png from my Photos album using the iOS twitter functionality, it’s a PNG still.

Is this a Corona thing? Or is Twitter auto-converting to jpegs somewhere?

I’ve even tried uploading a high quality jpeg, but it ends up still coming out as a lower quality one.

Appreciate any guidance :slight_smile:

-Mark

Corona is just passing whatever image you pick  to Twitter.  We are not doing any conversion on the process.

Rob

I thought/assumed that was probably the case.

Wonder why it converts from the game, but doesn’t convert from Photo album.

Corona is just passing whatever image you pick  to Twitter.  We are not doing any conversion on the process.

Rob

I thought/assumed that was probably the case.

Wonder why it converts from the game, but doesn’t convert from Photo album.