From: Prakhar V. <pra...@gm...> - 2006-05-31 04:43:46
|
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>=C3=B5<8c>^U<8d>=C3<8c><8c>c<86>2^D"=C3(c)^Y=C3=AD2=C3*uC[\<9c>d=C3^\m= ^\u]u|}\}}}<9d><85>^?<8^?<85>=C2=BF<8d>=C3<8d>=C3=BE<95>=C3<95>=C3=BD<95>= =C3=BD<95>=C3=BF<9d>=C3=BF<9d>^_<9e>^_<9e>^_<9e>?<9e>><9e>9d><98>=C2=A5p And could you please tell me how to get the RGB data from framebuffer. Thanks And Regards Prakhar On 5/30/06, Antonino A. Daplas <ad...@gm...> wrote: > > Prakhar Vig wrote: > > Hi All, > > > > I would like to read a Image data already present in the framebuffer, a= s > > I am new to this , I am finding it difficult to read. I have written on= e > > small application where I want to read Image pixels value which are > > present in Frame buffer. > > > > You can simply open and read /dev/fb0 and it will dump the framebuffer > in raw format. > > cat /dev/fb0 will also do the trick. > > Google for a screenshot program for the framebuffer. fbgrab is an example= . > > Tony > |