Closed GoogleCodeExporter closed 8 years ago
After some testing, it seems the RED and BLUE components are the ones being
reversed. If I reverse these in ScreenshotService.writeImageFile, then the
file is written correctly on the Droid (now the Nexus One would be reversed).
Since it seems that the ScreenShotService is retrieving the raw data already
reversed, so the issue is probably in the lower level asl-native binary or
fbshot.c code. Unfortunately, I do not know enough about this to figure out a
solution for all phones.
Original comment by stanal...@gmail.com
on 14 Dec 2010 at 7:00
It seems that Motorola Droid has a different frame buffer format, essentially
BGR instead of usual RGB found on most phones. Unfortunately, I don't have this
device around so I cannot verify the hyphothesis.
Nevertheless, I have deployed a new version of the library (1.2) which now
takes the framebuffer format into account. Please check whether it fixes the
issue.
Original comment by xion.dev@gmail.com
on 3 Jan 2011 at 1:41
Great, I downloaded 1.2 and that fixed the problem! Thanks.
Original comment by stanal...@gmail.com
on 3 Jan 2011 at 5:51
Original comment by karol.ku...@polidea.pl
on 14 Jun 2011 at 1:22
Original issue reported on code.google.com by
stanal...@gmail.com
on 14 Dec 2010 at 6:16Attachments: