From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Abhilash" Subject: Re: Screen Capturing Date: Mon, 30 Dec 2002 17:20:31 +0530 Sender: linux-fbdev-devel-admin@lists.sourceforge.net Message-ID: <021201c2aff9$ac6da6e0$bd00000a@abhilash> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Received: from [205.242.250.76] (helo=avenir1.avenir.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18SyKn-0006Wz-00 for ; Mon, 30 Dec 2002 03:43:53 -0800 Errors-To: linux-fbdev-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" 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" To: "Abhilash" Cc: "Linux Frame Buffer Device Development" 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