Creating Facebook app for Android - quesiton

the stride issue is reproducible with the following devices too
they are using GPU Adreno 200/320. Please look into it as soon as possible.
I am involved in a commercial project which display.save is an important feature and encountered the stride problem while beta testing.

IS04
http://android-data.blogspot.jp/2011/05/is04.html

Optimus G LGL21
http://gadgetian.com/42720/japans-kddi-announces-lg-optimus-g-in-white-blue-coming-november-2/
[import]uid: 190 topic_id: 32551 reply_id: 145033[/import]

This is something we hope to address properly with Graphics 2.0 (it’s hard to be definitive about subtle differences between GPUs).  In the meantime, I was able to work around the issue on the HTC One (the only device I have that reproduces the problem) by adjusting the size of the object group slightly when taking the capture.

Like so:

objectGroup.width = objectGroup.width - 2 display.save( objectGroup, "screenshot.jpg" ) objectGroup.width = objectGroup.width + 2

In the test case we were given, subtracting 2 makes the width of the display group divisible by 4 and thus avoids the stride issue.  It’s not a perfect solution but with the emailed screenshots that were being generated using it the image was not noticeably affected.  The width adjustment didn’t affect the devices that didn’t have the problem in the first place.

I understand that this isn’t a real fix but hopefully it will unblock people for now.

@Perry, unfortunately that was not a solution for me.  Still has a skewed image on my Galaxy S3.

This is something we hope to address properly with Graphics 2.0 (it’s hard to be definitive about subtle differences between GPUs).  In the meantime, I was able to work around the issue on the HTC One (the only device I have that reproduces the problem) by adjusting the size of the object group slightly when taking the capture.

Like so:

objectGroup.width = objectGroup.width - 2 display.save( objectGroup, "screenshot.jpg" ) objectGroup.width = objectGroup.width + 2

In the test case we were given, subtracting 2 makes the width of the display group divisible by 4 and thus avoids the stride issue.  It’s not a perfect solution but with the emailed screenshots that were being generated using it the image was not noticeably affected.  The width adjustment didn’t affect the devices that didn’t have the problem in the first place.

I understand that this isn’t a real fix but hopefully it will unblock people for now.

@Perry, unfortunately that was not a solution for me.  Still has a skewed image on my Galaxy S3.