The framebuffer has two screens worth of data, stacked vertically. You can 
use Irfanview to look at the data and find the actual dimensions.

On Thursday, November 15, 2012 4:14:12 PM UTC-5, bob wrote:
>
> I'm trying to figure out how to read screen data on Android:
>
> So, I did this on Google Nexus:
>
> cat /dev/graphics/fb0 > hmm
>
> Then, I looked at the file hmm:
>
> -rw-rw-rw- root     root      9437184 2012-11-15 15:05 hmm
>
> I was hoping the size would be something like 1280*800*4, or 4,096,000.
>
> But, it's 9,437,184.
>
> Groan.
>
> Any idea what format this could be in?
>
> Thanks.
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to