Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colors are inverted on Motorola Droid #1

Closed
GoogleCodeExporter opened this issue Mar 18, 2016 · 4 comments
Closed

Colors are inverted on Motorola Droid #1

GoogleCodeExporter opened this issue Mar 18, 2016 · 4 comments

Comments

@GoogleCodeExporter
Copy link


Colors are inverted on Motorola Droid.  Works perfectly on the Nexus One.  
Attached file shows 3 layers of screenshots.  The middle layer, which is a 
screenshot-of-a-screenshot, has correct colors.

What version of the product are you using? On what operating system?
ASL 1.1 on Motorola Droid running Android 2.2.1



Original issue reported on code.google.com by stanal...@gmail.com on 14 Dec 2010 at 6:16

Attachments:

@GoogleCodeExporter
Copy link
Author


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

@GoogleCodeExporter
Copy link
Author

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

  • Changed state: Started

@GoogleCodeExporter
Copy link
Author


Great, I downloaded 1.2 and that fixed the problem!  Thanks.

Original comment by stanal...@gmail.com on 3 Jan 2011 at 5:51

@GoogleCodeExporter
Copy link
Author

Original comment by karol.ku...@polidea.pl on 14 Jun 2011 at 1:22

  • Changed state: Verified

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant