Re: Screen Shots?

From: Nils Faerber <nils.a.t.kernelconcepts.de>
Date: Mon Mar 10 2003 - 07:40:42 EST

On Mon, 10 Mar 2003 12:16:02 +0000 (GMT)
Paul Jakma <paulj@alphyra.ie> wrote:
> On Sun, 9 Mar 2003, Len Moskowitz wrote:
> > We're using Familar/GPE 0.6.1 on an iPAQ. Is there a way to save a
> > screen image to a file and not have the image be public (as on
> > www.handhelds.org/scap)?
> look at what the scap script does, its extremely simple (on the ipaq
> side). you can do the same. ie
>
> cat /dev/fb0 > /var/tmp/screenshot
>
> its a relatively simple format, but i'm not 100% sure if it
> corresponds directly to xpm or some other pixmap format. google for
> linux framebuffer and i'm sure you'll find more info.

What you will get from the iPaq here is a binary image, turned by 90
degrees in a 16bpp format RGB:565 (i.e. 5 bits red, 6 bits green, 5 bits
blue), in raw format. You should be able to convert this using
image-magick or similar by specifying this along with 320x240 as
resolution (not 240x320 because it is turned by 90 degrees).

> > Len M.
> Paul Jakma Sys Admin Alphyra
CU
  nils faerber

-- 
kernel concepts          Tel: +49-271-771091-12
Dreisbachstr. 24         Fax: +49-271-771091-19
D-57250 Netphen          D1 : +49-170-2729106
--
Received on Mon Mar 10 12:41:15 2003

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:41:31 EDT