Skip to contentSkip to conversation

Screen Capturing

DISCUSSION Geert Uytterhoeven 2 participants 2 messages Dec 27, 2002 – Dec 30, 2002 1 message not in the archive Framebuffer layer

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 8 lines · Abhilash

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 -- [email protected]

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

#2 lore raw

Hello,

Thank you very much.
Let me check this.

Thank you,
Abhilash.

----- Original Message -----
From: "Geert Uytterhoeven" <[email protected]>
To: "Abhilash" <[email protected]>
Cc: "Linux Frame Buffer Device Development" <[email protected]>
Sent: Friday, December 27, 2002 5:03 PM
Subject: Re: [Linux-fbdev-devel] Screen Capturing

Quoted 2 lines · Abhilash
Quoted 1 line

I need to capture the screen .For that I use mirror driver in Windows

for

Quoted 6 lines
Quoted 6 lines

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

Quoted 4 lines
Quoted 1 line

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

Quoted 9 lines

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

[email protected]

Quoted 2 lines

In personal conversations with technical people, I call myself a hacker.

But

Quoted 1 line

when I'm talking to journalists I just say "programmer" or something like

that.

Quoted 2 lines

-- Linus Torvalds

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