From: "Antonino A. Daplas" <adaplas@gmail.com>
To: Prakhar Vig <prakharv@gmail.com>
Cc: linux-fbdev-devel@lists.sourceforge.net
Subject: Re: How to use ISRAm as a frame buffer in Linux
Date: Wed, 31 May 2006 12:49:14 +0800 [thread overview]
Message-ID: <447D204A.60007@gmail.com> (raw)
In-Reply-To: <dbee5b5a0605302143l7b0b4d24kdf0d77685b7ad4d9@mail.gmail.com>
Prakhar Vig wrote:
> Hi Antonino,
>
> I tried reading the data from framebuffer using cat as u have told, I
> wrote the following command:
>
> cat /dev/fb0 > image.txt
>
> Is the command correct or not, as I am getting some corrupted data......
> Below is the some part of data, which I am getting:
>
> W<8d>õ<8c>^U<8d>Ã<8c><8c>c<86>2^D"é^YÃ2Ã*uC[\<9c>dÃ^\m^\u]u|}\}}}<9d><85>^?<8^?<85>¿<8d>Ã<8d>þ<95>Ã<95>ý<95>ý<95>ÿ<9d>ÿ<9d>^_<9e>^_<9e>^_<9e>?<9e>><9e>9d><98>Â¥p
>
>
> And could you please tell me how to get the RGB data from framebuffer.
>
What you get is raw framebuffer format. If you 'cat image.txt > /dev/fb0',
you'll get the same image you dumped previously.
In order for it to be read by an image viewer, you have to convert it
into a standard format.
Try searching for fbshot or fbgrab and look at the source.
Tony
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
next prev parent reply other threads:[~2006-05-31 4:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-30 9:32 How to use ISRAm as a frame buffer in Linux Prakhar Vig
2006-05-30 12:33 ` Antonino A. Daplas
2006-05-31 4:43 ` Prakhar Vig
2006-05-31 4:49 ` Antonino A. Daplas [this message]
2006-05-31 9:40 ` Prakhar Vig
2006-05-31 11:39 ` Antonino A. Daplas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=447D204A.60007@gmail.com \
--to=adaplas@gmail.com \
--cc=linux-fbdev-devel@lists.sourceforge.net \
--cc=prakharv@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).