Re: FWD: RE: [XFree86] read directly from the video card framebuffer

2003-07-11 Thread james amen atayi
Am Freitag, 11. Juli 2003 14:16 schrieben Sie:
 [EMAIL PROTECTED]
well,

The thing is that I know it must be possible to do it. Commercial products do 
the same job. Camtasia for example records on windows the screen. I can 
allready do it using xwd or other tools to make the screenshots. The problem 
is that with these tools the mousepointer disappears when
a screenshot is made. The user can no more work properly. So I'm thinking in 
the way to do it as the VESA driver refresh the screen.Just send the 
framebuffer output, in this case  not to the display but into a file with a 
very simple command like  cp framebuffer file. I want to use
for this example the VESA framebuffer that is fb0. (path /dev/fb0). But it is 
not working properly.
The file I create is very big a can't be displayed.

here how I'm processing.

[begin of code]
[EMAIL PROTECTED] cp /dev/fb0 t1
[EMAIL PROTECTED] dir t1
-rw-r-1 userusers33554432 2003-07-11 14:35 t1
[EMAIL PROTECTED] display t1
display: Incorrect image header in file (t1).
[end of code]

Any idea or comment?


thanks


James

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


RE: FWD: RE: [XFree86] read directly from the video card framebuffer

2003-07-11 Thread Oli Comber
There doesn't seem to be any info out there on the output format of an FB 
dump,  apart from people saving the files with a .raw extension.  Maybe do 
this and try it in gimp?

Came across this, may be of use: http://www.sfires.net/fbshot/

-Oli

= Original Message From james amen atayi [EMAIL PROTECTED] =
Am Freitag, 11. Juli 2003 14:16 schrieben Sie:
 [EMAIL PROTECTED]
well,

The thing is that I know it must be possible to do it. Commercial products do
the same job. Camtasia for example records on windows the screen. I can
allready do it using xwd or other tools to make the screenshots. The problem
is that with these tools the mousepointer disappears when
a screenshot is made. The user can no more work properly. So I'm thinking in
the way to do it as the VESA driver refresh the screen.Just send the
framebuffer output, in this case  not to the display but into a file with a
very simple command like  cp framebuffer file. I want to use
for this example the VESA framebuffer that is fb0. (path /dev/fb0). But it is
not working properly.
The file I create is very big a can't be displayed.

here how I'm processing.

[begin of code]
[EMAIL PROTECTED] cp /dev/fb0 t1
[EMAIL PROTECTED] dir t1
-rw-r-1 userusers33554432 2003-07-11 14:35 t1
[EMAIL PROTECTED] display t1
display: Incorrect image header in file (t1).
[end of code]

Any idea or comment?


thanks


James

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: FWD: RE: [XFree86] read directly from the video card framebuffer

2003-07-11 Thread Peter \Firefly\ Lund
On Fri, 11 Jul 2003, james amen atayi wrote:

 the same job. Camtasia for example records on windows the screen. I can
 allready do it using xwd or other tools to make the screenshots. The problem
 is that with these tools the mousepointer disappears when

Why on Earth didn't you say so at first instead of wasting everybody's
time?

It seemed you only knew how to make manual screenshots!

The request for a screen shot operation that leaves the mouse pointer in
the image has come up several times on the XFree86 mailing lists (please
google for it).  AFAIR the discussions can be summed up as:  no, you can't
currently do it with a vanilla XFree86, yes, some X servers have an
extension to do, yes XFree86 could also conceivably get such an extension,
no, nobody has written one yet, yes, there are in principle other
solutions but they are hacks too -- and anyway, you have the source code,
you can do whatever you like.

Please google now.

-Peter
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: FWD: RE: [XFree86] read directly from the video card framebuffer

2003-07-11 Thread Alan Coopersmith
Peter \Firefly\ Lund wrote:
The request for a screen shot operation that leaves the mouse pointer in
the image has come up several times on the XFree86 mailing lists (please
google for it).  AFAIR the discussions can be summed up as:  no, you can't
currently do it with a vanilla XFree86, yes, some X servers have an
extension to do, yes XFree86 could also conceivably get such an extension,
no, nobody has written one yet, yes, there are in principle other
solutions but they are hacks too -- and anyway, you have the source code,
you can do whatever you like.
Actually someone has written one and it's in the XFree86 CVS tree, if you
look in the attic directories and CVS history files for the remains of
Keith Packard's rejected X-Fixes extension.
--
-Alan Coopersmith-  [EMAIL PROTECTED]
 Sun Microsystems, Inc. - Sun Software Group
 Quality / User Experience (QUE)   -   Globalization
 Platform Globalization Engineering: X11 Development
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: FWD: RE: [XFree86] read directly from the video card framebuffer

2003-07-11 Thread Peter \Firefly\ Lund
On Fri, 11 Jul 2003, Alan Coopersmith wrote:

 Actually someone has written one and it's in the XFree86 CVS tree, if you

Wonderful! :)

 look in the attic directories and CVS history files for the remains of
 Keith Packard's rejected X-Fixes extension.

It was merely puzzled for some months why it was rejected.  Now I'm
bewildered.

Thank you, Alan :)

-Peter

 I'm going to explain this as well as I can, given the limits of my space
  and your attention span.
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86