linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Screen Capturing
       [not found] <005401c2ad82$cef8c9c0$bd00000a@abhilash>
@ 2002-12-27 11:33 ` Geert Uytterhoeven
  2002-12-30 11:50   ` Abhilash
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2002-12-27 11:33 UTC (permalink / raw)
  To: Abhilash; +Cc: Linux Frame Buffer Device Development

On Fri, 27 Dec 2002, Abhilash wrote:
> I need to capture the screen .For that I use mirror driver in Windows for
> capturing screen.
> ie, its basically overloading the driver functions.
> 
> So in case of Linux, is there any method like this or which is the best
> method?
> In Xlib there are some functions to capture screen and also heard abt VESA
> which is better?

If you are using a frame buffer device, you can capture the contents of
/dev/fb*. Either read from /dev/fb*, or mmap() it. The data you receive are in
the native format of the graphics chip. For CLUT modes, you have to use an
ioctl() to get the colormap.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Screen Capturing
  2002-12-27 11:33 ` Screen Capturing Geert Uytterhoeven
@ 2002-12-30 11:50   ` Abhilash
  0 siblings, 0 replies; 2+ messages in thread
From: Abhilash @ 2002-12-30 11:50 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: Linux Frame Buffer Device Development

Hello,

Thank you very much.
Let me check this.

Thank you,
Abhilash.

----- Original Message -----
From: "Geert Uytterhoeven" <geert@linux-m68k.org>
To: "Abhilash" <abhilash@avenir.net>
Cc: "Linux Frame Buffer Device Development"
<linux-fbdev-devel@lists.sourceforge.net>
Sent: Friday, December 27, 2002 5:03 PM
Subject: Re: [Linux-fbdev-devel] Screen Capturing


> On Fri, 27 Dec 2002, Abhilash wrote:
> > I need to capture the screen .For that I use mirror driver in Windows
for
> > capturing screen.
> > ie, its basically overloading the driver functions.
> >
> > So in case of Linux, is there any method like this or which is the best
> > method?
> > In Xlib there are some functions to capture screen and also heard abt
VESA
> > which is better?
>
> If you are using a frame buffer device, you can capture the contents of
> /dev/fb*. Either read from /dev/fb*, or mmap() it. The data you receive
are in
> the native format of the graphics chip. For CLUT modes, you have to use an
> ioctl() to get the colormap.
>
> Gr{oetje,eeting}s,
>
> Geert
>
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 --
geert@linux-m68k.org
>
> In personal conversations with technical people, I call myself a hacker.
But
> when I'm talking to journalists I just say "programmer" or something like
that.
>     -- Linus Torvalds
>




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-12-30 11:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <005401c2ad82$cef8c9c0$bd00000a@abhilash>
2002-12-27 11:33 ` Screen Capturing Geert Uytterhoeven
2002-12-30 11:50   ` Abhilash

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).